<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://interopsante.org/fhir/StructureDefinition/FrMedicationUcdPart" />
  <version value="1.0.0" />
  <name value="FrMedicationUcdPart" />
  <title value="French Ucd Part Medication" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2021-10-18" />
  <publisher value="InterOp'Santé - FRANCE" />
  <contact>
    <telecom>
      <system value="email" />
      <value value="fhir@interopsante.org" />
    </telecom>
  </contact>
  <description value="Part of a multipart branded medication." />
  <purpose value="Description of each multipart proprietary named medication part." />
  <copyright value="InterOp'Santé 2021" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="script10.6" />
    <uri value="http://ncpdp.org/SCRIPT10_6" />
    <name value="Mapping to NCPDP SCRIPT 10.6" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Medication" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Medication" />
  <derivation value="constraint" />
  <differential>
    <element id="Medication">
      <path value="Medication" />
      <short value="Definition of a branded Medication part" />
      <definition value="This resource is primarily used for the identification and definition of a branded medication part for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use." />
    </element>
    <element id="Medication.code">
      <path value="Medication.code" />
      <short value="Short text that identifies this branded medication part" />
      <definition value="A short relevant text to discern each part." />
      <comment value="No code assigned by the regultory authorities, use a short relevant text to discern each part." />
    </element>
    <element id="Medication.code.coding">
      <path value="Medication.code.coding" />
      <definition value="Code for the part : no code assigned by the regultory authorities" />
      <comment value="No code but a short text depicting the part. For instance, white tablet for a proprietary named medication made of white tablets and blue tablets" />
      <requirements value="No code but a text descripting the part." />
      <max value="0" />
    </element>
    <element id="Medication.code.text">
      <path value="Medication.code.text" />
      <short value="Short plain text representation of the part" />
      <definition value="No regulatory authority label but a text descripting the part. It is a short text, relevant enough to discern the different parts of the medication." />
      <comment value="A short text, relevant enough to discern the different parts of the medication." />
      <requirements value="This is the only way for identifing the part to the medication. However it is not an absolute idenfication." />
      <min value="1" />
    </element>
    <element id="Medication.manufacturer">
      <path value="Medication.manufacturer" />
      <definition value="No distinct manufacturer for each part of the medication" />
      <comment value="No distinct manufacturer for each part. Each part inherits the whole medication manufacturer." />
      <max value="0" />
    </element>
    <element id="Medication.form">
      <path value="Medication.form" />
      <comment value="This is the defined dose form of this part of the branded medication." />
      <requirements value="The dose form of the part is always defined and SHALL be provided." />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/ValueSet/fr-mp-dose-form" />
      </binding>
    </element>
    <element id="Medication.ingredient">
      <path value="Medication.ingredient" />
      <comment value="For the active ingedients, the medication contains ALL the ingredients and ONLY the ingredients." />
    </element>
    <element id="Medication.ingredient.item[x]">
      <path value="Medication.ingredient.item[x]" />
      <short value="The actual substance or sub-part of the part" />
      <definition value="The actual substance or sub-part of the part of the branded medication." />
      <comment value="Most of the few multi-part branded medication have a single level of parts with no sub-parts. For instance, a white tablet and a bue tablet. The item[x].refeence(FrMedicationUcdPart) is intende to describe the very few more complex multipart branded medications." />
      <requirements value="Support of french multi-part branded medication identfied by a code UDC." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrMPSubstanceActive" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/StructureDefinition/FrMedicationUcdPart" />
      </type>
    </element>
    <element id="Medication.ingredient.strength">
      <path value="Medication.ingredient.strength" />
      <definition value="Specifies how much subtance of the item[x]:codeableConcept(snomedSubstance) or how many of the item[x]:refernce(FrMedciationUcdPart) there are in this FrMedicationUcdPart" />
      <comment value="The quantity of this ingredient defining the medication. For instance, 50 mg/mL defining the glucose quantity for the glucose 5% or 500 mg medicine and 30 mg respectively defining the paracetamol and the codeine quantity for the association paracetamol+codeine 500 mg+30 mg medicine." />
      <type>
        <code value="Ratio" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrRatioUcum" />
      </type>
    </element>
    <element id="Medication.batch">
      <path value="Medication.batch" />
      <definition value="This applies for the proprietary named medication involved in a MedicationDispense, MedicationAdministration or a MedicationUse." />
      <comment value="WARNING: it is the batch number of the part.&#xD;&#xA;If it is not discerned for each part, it SHALL NOT be provided here but at the grouping level where it is defined, most often the UCD." />
    </element>
  </differential>
</StructureDefinition>