<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-PharmaceuticalProduct" />
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-PharmaceuticalProduct" />
  <name value="HdBePharmaceuticalProduct" />
  <title value="HdBe PharmaceuticalProduct" />
  <status value="draft" />
  <date value="2022-10-17T09:09:13.9562003+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="**Concept**&#xD;&#xA;The prescribed substance is usually medication. However, medical aids and bandages can also be prescribed and supplied via the pharmacy. Food and blood products do not strictly belong in the medication category, but can be prescribed and supplied by a pharmacy as well. &#xD;&#xA;&#xD;&#xA;A type of medication can be indicated with **a single code**. Entering multiple ingredients will enable you to display a compound product. If one of the composite parts is liquid, the dosage will be given in milliliters; otherwise it will be given in ‘units’. &#xD;&#xA;&#xD;&#xA;In that case, the **composition of the medication** can be specified implicitly (with the use of a medication code) or explicitly, for example by listing the (active) ingredient(s) of the medication. &#xD;&#xA;&#xD;&#xA;**Magistral prescriptions** can be entered as well. This can be done by means of the option listed above to enter coded ingredients and/or by entering the composition and preparation method as free text. &#xD;&#xA;This is a partial information model" />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
    <uri value="https://zibs.nl/wiki/PharmaceuticalProduct-v2.1.2(2020EN)" />
    <name value="zib PharmaceuticalProduct-v2.1.2(2020EN)" />
  </mapping>
  <mapping>
    <identity value="HdBe-PharmaceuticalProduct" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-PharmaceuticalProduct" />
    <name value="HdBe logical model PharmaceuticalProduct" />
  </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="PharmaceuticalProduct" />
      <alias value="FarmaceutischProduct" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19926" />
        <comment value="PharmaceuticalProduct" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct" />
      </mapping>
    </element>
    <element id="Medication.extension">
      <path value="Medication.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Medication.extension:description">
      <path value="Medication.extension" />
      <sliceName value="description" />
      <min value="0" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.healthdata.be/StructureDefinition/ext-PharmaceuticalProduct.Description" />
      </type>
    </element>
    <element id="Medication.extension:description.value[x]">
      <path value="Medication.extension.value[x]" />
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Description" />
      </mapping>
    </element>
    <element id="Medication.code">
      <path value="Medication.code" />
      <short value="MedicationCode" />
      <definition value="Code of the Medication." />
      <alias value="ProductCode" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/ProductCode" />
      </binding>
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19927" />
        <comment value="MedicationCode" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.MedicationCode" />
      </mapping>
    </element>
    <element id="Medication.code.text">
      <path value="Medication.code.text" />
      <short value="Medication" />
      <definition value="For medication that has no code, enter the complete name of the pharmaceutical product here." />
      <alias value="ProductNaam" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19929" />
        <comment value="Medication" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Medication" />
      </mapping>
    </element>
    <element id="Medication.form">
      <path value="Medication.form" />
      <short value="PharmaceuticalForm" />
      <definition value="The pharmaceutical form indicates the form of the medication. Examples include: tablet, suppository, infusion liquid, ointment. For products without a code (free text, preparation by the pharmacy), the means of administration can be entered." />
      <alias value="FarmaceutischeVorm" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/PharmaceuticalForm" />
      </binding>
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19931" />
        <comment value="PharmaceuticalForm" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.PharmaceuticalForm" />
      </mapping>
    </element>
    <element id="Medication.ingredient">
      <path value="Medication.ingredient" />
      <short value="Ingredient" />
      <definition value="A product contains one or more active substances and excipients. These are usually determined by the product code. For medication prepared or compounded by the local pharmacy, each ingredient must be entered separately.&#xD;&#xA;&#xD;&#xA;The active substances play an important role, as they: a) determine the pharmacotherapeutic effect of the medication and b) serve as the basis for the indication of the strength of the medication (e.g. 200mg)." />
      <alias value="Ingredient" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19932" />
        <comment value="Ingredient" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Ingredient" />
      </mapping>
    </element>
    <element id="Medication.ingredient.item[x]">
      <path value="Medication.ingredient.item[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Medication.ingredient.item[x]:itemCodeableConcept">
      <path value="Medication.ingredient.item[x]" />
      <sliceName value="itemCodeableConcept" />
      <short value="SubstanceCode" />
      <definition value="Active substance or excipient." />
      <alias value="SubstanceCode" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/SubstanceCode" />
      </binding>
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19934" />
        <comment value="SubstanceCode" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Ingredient.SubstanceCode" />
      </mapping>
    </element>
    <element id="Medication.ingredient.strength">
      <path value="Medication.ingredient.strength" />
      <short value="Concentration" />
      <definition value="The relative amount of this ingredient in this product.&#xD;&#xA;Calculation of Concentration = Ingredient Amount ÷ Product Amount.&#xD;&#xA;&#xD;&#xA;This could be a concentration if the medication is dissolved in liquid, for example." />
      <alias value="Sterkte" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.19933" />
        <comment value="Concentration" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Ingredient.Concentration" />
      </mapping>
    </element>
    <element id="Medication.ingredient.strength.numerator">
      <path value="Medication.ingredient.strength.numerator" />
      <short value="IngredientAmount" />
      <definition value="The amount and unit of this ingredient. This is the numerator for the calculation of the concentration." />
      <alias value="IngredientHoeveelheid" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.22277" />
        <comment value="IngredientAmount" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Ingredient.Concentration.IngredientAmount" />
      </mapping>
    </element>
    <element id="Medication.ingredient.strength.denominator">
      <path value="Medication.ingredient.strength.denominator" />
      <short value="ProductAmount" />
      <definition value="Amount of the product. This is the denominator for the calculation of the concentration." />
      <alias value="ProductHoeveelheid" />
      <mapping>
        <identity value="zib-pharmaceuticalproduct-v2.1.2-2020EN" />
        <map value="NL-CM:9.7.22278" />
        <comment value="ProductAmount" />
      </mapping>
      <mapping>
        <identity value="HdBe-PharmaceuticalProduct" />
        <map value="PharmaceuticalProduct.ProductSpecifications.Ingredient.Concentration.ProductAmount" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>