<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Ingredient" />
  <meta>
    <lastUpdated value="2020-12-31T07:32:20.021+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Specialized.Medication Definition" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="anonymous" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="brr" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value=".status=entered-in-error" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/Ingredient" />
  <version value="4.6.0" />
  <name value="Ingredient" />
  <status value="draft" />
  <date value="2020-12-31T07:32:20+11:00" />
  <publisher value="Health Level Seven International (Biomedical Research and Regulation)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/rcrim/index.cfm" />
    </telecom>
  </contact>
  <description value="An ingredient of a manufactured item or pharmaceutical product." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="idmp" />
    <uri value="https://en.wikipedia.org/wiki/Identification_of_medicinal_products" />
    <name value="IDMP Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Ingredient" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="Ingredient">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="0,100" />
        <!-- was 0,120 -->
      </extension>
      <path value="Ingredient" />
      <short value="An ingredient of a manufactured item or pharmaceutical product" />
      <definition value="An ingredient of a manufactured item or pharmaceutical product." />
      <min value="0" />
      <max value="*" />
      <constraint>
        <key value="ing-1" />
        <severity value="error" />
        <human value="If an ingredient is noted as an allergen (allergenicIndicator) then its substance should be a code. If the substance is a SubstanceDefinition, then the allegen information should be documented in that resource" />
        <expression value="(Ingredient.allergenicIndicator.where(value='true').count() + Ingredient.substance.code.reference.count())  &lt; 2" />
        <xpath value="count(f:Ingredient.f:allergenicIndicator[@value='true']|f:Ingredient.f:substance.f:code.f:reference) &lt; 2" />
        <source value="http://hl7.org/fhir/StructureDefinition/Ingredient" />
      </constraint>
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="administrative.medication" />
      </mapping>
    </element>
    <element id="Ingredient.identifier">
      <path value="Ingredient.identifier" />
      <short value="An identifier or code by which the ingredient can be referenced" />
      <definition value="The identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.status">
      <path value="Ingredient.status" />
      <short value="draft | active | retired | unknown" />
      <definition value="The status of this ingredient. Enables tracking the life-cycle of the content." />
      <comment value="Allows filtering of ingredient that are appropriate for use versus not." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PublicationStatus" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The lifecycle status of an artifact." />
        <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|4.6.0" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.for">
      <path value="Ingredient.for" />
      <short value="The product which this ingredient is a constituent part of" />
      <definition value="The product which this ingredient is a constituent part of." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.role">
      <path value="Ingredient.role" />
      <short value="Purpose of the ingredient within the product, e.g. active, inactive" />
      <definition value="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IngredientRole" />
        </extension>
        <strength value="example" />
        <description value="A classification of the ingredient identifying its purpose within the product, e.g. active, inactive." />
        <valueSet value="http://hl7.org/fhir/ValueSet/ingredient-role" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.Ingredient Role" />
      </mapping>
    </element>
    <element id="Ingredient.function">
      <path value="Ingredient.function" />
      <short value="Precise action within the drug product, e.g. antioxidant, alkalizing agent" />
      <definition value="A classification of the ingredient identifying its precise purpose(s) in the drug product. This extends the Ingredient.role to add more detail. Example: antioxidant, alkalizing agent." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IngredientFunction" />
        </extension>
        <strength value="example" />
        <description value="A classification of the ingredient identifying its precise purpose(s) in the drug product (beyond e.g. active/inactive)." />
        <valueSet value="http://hl7.org/fhir/ValueSet/ingredient-function" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.group">
      <path value="Ingredient.group" />
      <short value="A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink" />
      <definition value="A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.allergenicIndicator">
      <path value="Ingredient.allergenicIndicator" />
      <short value="If the ingredient is a known or suspected allergen" />
      <definition value="If the ingredient is a known or suspected allergen. Note that this is a property of the substance, so if a reference to a SubstanceDefinition is used to decribe that (rather than just a code), the allergen information should go there, not here." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <meaningWhenMissing value="If this value is not present, there is no statement being made about whether this is an allergen or not. No inference can be made" />
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.Allergenic Indicator" />
      </mapping>
    </element>
    <element id="Ingredient.manufacturer">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="160,280" />
      </extension>
      <path value="Ingredient.manufacturer" />
      <short value="An organization that manufactures this ingredient" />
      <definition value="The organization(s) that manufacture this ingredient. Can be used to indicate:         1) Organizations we are aware of that manufacture this ingredient         2) Specific Manufacturer(s) currently being used         3) Set of organisations allowed to manufacture this ingredient for this product         Users must be clear on the application of context relevant to their use case." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.manufacturer" />
      </mapping>
    </element>
    <element id="Ingredient.manufacturer.role">
      <path value="Ingredient.manufacturer.role" />
      <short value="allowed | possible | actual" />
      <definition value="The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="IngredientManufacturerRole" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true" />
        </extension>
        <strength value="required" />
        <description value="The way in which this manufacturer is associated with the ingredient." />
        <valueSet value="http://hl7.org/fhir/ValueSet/ingredient-manufacturer-role" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.Manufacturer / Establishment (Organisation)" />
      </mapping>
    </element>
    <element id="Ingredient.manufacturer.manufacturer">
      <path value="Ingredient.manufacturer.manufacturer" />
      <short value="An organization that manufactures this ingredient" />
      <definition value="An organization that manufactures this ingredient." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.Manufacturer / Establishment (Organisation)" />
      </mapping>
    </element>
    <element id="Ingredient.substance">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="160,0" />
      </extension>
      <path value="Ingredient.substance" />
      <short value="The substance that comprises this ingredient" />
      <definition value="The substance that comprises this ingredient." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Ingredient.Substance" />
      </mapping>
    </element>
    <element id="Ingredient.substance.code">
      <path value="Ingredient.substance.code" />
      <short value="A code or full resource that represents the ingredient substance" />
      <definition value="A code or full resource that represents the ingredient's substance." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SNOMEDCTSubstanceCodes" />
        </extension>
        <strength value="example" />
        <description value="This value set includes all substance codes from SNOMED CT - provided as an exemplar value set." />
        <valueSet value="http://hl7.org/fhir/ValueSet/substance-codes" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Substance.Substance" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="350,106" />
      </extension>
      <path value="Ingredient.substance.strength" />
      <short value="The quantity of substance, per presentation, or per volume or mass, and type of quantity" />
      <definition value="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. The allowed repetitions do not represent different strengths, but are different representations - mathematically equivalent - of a single strength." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Specified Substance.Strength" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.presentation[x]">
      <path value="Ingredient.substance.strength.presentation[x]" />
      <short value="The quantity of substance in the unit of presentation" />
      <definition value="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item. Unit of presentation refers to the quantity that the item occurs in e.g. a strength per tablet size, perhaps 'per 20mg' (the size of the tablet). It is not generally normalized as a unitary unit, which would be 'per mg')." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="RatioRange" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Strength.Strength (Presentation)" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.presentationText">
      <path value="Ingredient.substance.strength.presentationText" />
      <short value="Text of either the whole presentation strength or a part of it (rest being in Strength.presentation as a ratio)" />
      <definition value="A textual represention of either the whole of the presentation strength or a part of it - with the rest being in Strength.presentation as a ratio." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.concentration[x]">
      <path value="Ingredient.substance.strength.concentration[x]" />
      <short value="The strength per unitary volume (or mass)" />
      <definition value="The strength per unitary volume (or mass)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="RatioRange" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Strength.Strength (Concentration)" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.concentrationText">
      <path value="Ingredient.substance.strength.concentrationText" />
      <short value="Text of either the whole concentration strength or a part of it (rest being in Strength.concentration as a ratio)" />
      <definition value="A textual represention of either the whole of the concentration strength or a part of it - with the rest being in Strength.concentration as a ratio." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.basis">
      <path value="Ingredient.substance.strength.basis" />
      <short value="A code that indicates if the strength is, for example, based on the ingredient substance as stated or on the substance base (when the ingredient is a salt)" />
      <definition value="A code that indicates if the strength is, for example, based on the ingredient substance as stated or on the substance base (when the ingredient is a salt)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.measurementPoint">
      <path value="Ingredient.substance.strength.measurementPoint" />
      <short value="When strength is measured at a particular point or distance" />
      <definition value="For when strength is measured at a particular point or distance. There are products where strength is measured at a particular point. For example, the strength of the ingredient in some inhalers is measured at a particular position relative to the point of aerosolization." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Strength.Measurement Point" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.country">
      <path value="Ingredient.substance.strength.country" />
      <short value="Where the strength range applies" />
      <definition value="The country or countries for which the strength range applies." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Country" />
        </extension>
        <strength value="example" />
        <description value="Jurisdiction codes" />
        <valueSet value="http://hl7.org/fhir/ValueSet/country" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Strength.Country" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.referenceStrength">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="700,117" />
      </extension>
      <path value="Ingredient.substance.strength.referenceStrength" />
      <short value="Strength expressed in terms of a reference substance" />
      <definition value="Strength expressed in terms of a reference substance. For when the ingredient strength is additionally expressed as equivalent to the strength of some other closely related substance (e.g. salt vs. base). Reference strength represents the strength (quantitative composition) of the active moiety of the active substance. There are situations when the active substance and active moiety are different, therefore both a strength and a reference strength are needed." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Strength.Reference Strength" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.referenceStrength.substance">
      <path value="Ingredient.substance.strength.referenceStrength.substance" />
      <short value="Relevant reference substance" />
      <definition value="Relevant reference substance." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SNOMEDCTSubstanceCodes" />
        </extension>
        <strength value="example" />
        <description value="This value set includes all substance codes from SNOMED CT - provided as an exemplar value set." />
        <valueSet value="http://hl7.org/fhir/ValueSet/substance-codes" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Reference Strength.Reference Substance" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.referenceStrength.strength[x]">
      <path value="Ingredient.substance.strength.referenceStrength.strength[x]" />
      <short value="Strength expressed in terms of a reference substance" />
      <definition value="Strength expressed in terms of a reference substance." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="RatioRange" />
      </type>
      <type>
        <code value="Quantity" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Reference Strength.Reference Strength" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.referenceStrength.measurementPoint">
      <path value="Ingredient.substance.strength.referenceStrength.measurementPoint" />
      <short value="When strength is measured at a particular point or distance" />
      <definition value="For when strength is measured at a particular point or distance." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="idmp" />
        <map value="Reference Strength.Measurement Point" />
      </mapping>
    </element>
    <element id="Ingredient.substance.strength.referenceStrength.country">
      <path value="Ingredient.substance.strength.referenceStrength.country" />
      <short value="Where the strength range applies" />
      <definition value="The country or countries for which the strength range applies." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Country" />
        </extension>
        <strength value="example" />
        <description value="Jurisdiction codes" />
        <valueSet value="http://hl7.org/fhir/ValueSet/country" />
      </binding>
      <mapping>
        <identity value="idmp" />
        <map value="Reference Strength.Country" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>