RIVO-Noord Zorgviewer Implementation Guide
1.21.0 - CI build

RIVO-Noord Zorgviewer Implementation Guide, published by RIVO-NN HL7NL. This guide is not an authorized publication; it is the continuous build for version 1.21.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/RIVO-Noord/zorgviewer-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: Medication - XML Profile

Active as of 2025-10-28

XML representation of the Medication resource profile.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="Medication"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition Medication</b></p><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-Medication-definitions.html#Medication">Medication</a><a name="Medication"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://simplifier.net/resolve?scope=nictiz.fhir.nl.stu3.zib2017@2.3.1&amp;canonical=http://nictiz.nl/fhir/StructureDefinition/zib-Product">Zib PharmaceuticalProduct(2.0.7)</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Product</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Medication-definitions.html#Medication.form">form</a><a name="Medication.form"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">PharmaceuticalForm</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Medication-definitions.html#Medication.form.coding">coding</a><a name="Medication.form.coding"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Code defined by a terminology system</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Medication-definitions.html#Medication.form.coding.display">display</a><a name="Medication.form.coding.display"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Representation defined by the system</span></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <url value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/Medication"/>
      <version value="1.21.0"/>
      <name value="Medication"/>
      <title value="Medication"/>
      <status value="active"/>
      <date value="2025-10-28T13:36:22+00:00"/>
      <publisher value="RIVO-NN HL7NL"/>
      <contact>
        <name value="RIVO-NN"/>
        <telecom>
          <system value="url"/>
          <value value="https://rivo-noord.nl"/>
        </telecom>
      </contact>
      <contact>
        <name value="HL7NL"/>
        <telecom>
          <system value="url"/>
          <value value="https://hl7.nl"/>
        </telecom>
      </contact>
      <description value="Medicatie"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="NL"/>
        </coding>
      </jurisdiction>
      <fhirVersion value="3.0.2"/>
      <mapping>
        <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
        <uri value="https://zibs.nl/wiki/PharmaceuticalProduct-v2.0(2017EN)"/>
        <name value="HCIM PharmaceuticalProduct-v2.0(2017EN)"/>
      </mapping>
      <kind value="resource"/>
      <abstract value="false"/>
      <type value="Medication"/>
      <baseDefinition
                      value="http://nictiz.nl/fhir/StructureDefinition/zib-Product"/>
      <derivation value="constraint"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="2.0.7"/>
        </extension>
        <element id="Medication">
          <path value="Medication"/>
          <short value="Product"/>
          <definition
                      value="The prescribed product is usually a medicine. However, medical aids and bandages can also be prescribed and supplied via the pharmacy. Strictly speaking, food and blood products do not belong in the medication category, but can be prescribed and supplied by a pharmacy as well.

    A type of medication can be indicated with a single code. That code can be chosen from several possible coding systems (concretely: GPK, PRK, HPK or article numbers). Correct use of these codes in the software systems will sufficiently record the composition of the product used, making a complete product specification unnecessary.

    In addition to a primary code, alternative codes from other coding systems can also be entered (so that the GPK can be sent along in the event that the patient was registered based on PRK, for example).

    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’.

    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) substance(s) of the medication.
    Prescriptions to be prepared by the pharmacy 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."/>
          <alias value="Geneesmiddel"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Resource"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <constraint>
            <key value="dom-2"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
            <expression value="contained.contained.empty()"/>
            <xpath value="not(parent::f:contained and f:contained)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-1"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
            <expression value="contained.text.empty()"/>
            <xpath value="not(parent::f:contained and f:text)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-4"/>
            <severity value="error"/>
            <human
                   value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
            <expression
                        value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
            <xpath
                   value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-3"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
            <expression
                        value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
            <xpath
                   value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="Entity. Role, or Act"/>
          </mapping>
          <mapping>
            <identity value="script10.6"/>
            <map
                 value="NewRx/MedicationPrescribed
    -or-
    RxFill/MedicationDispensed
    -or-
    RxHistoryResponse/MedicationDispensed
    -or-
    RxHistoryResponse/MedicationPrescribed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="ManufacturedProduct[classCode=ADMM]"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="clinical.medication"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19926"/>
            <comment value="FarmaceuticalProduct"/>
          </mapping>
        </element>
        <element id="Medication.id">
          <path value="Medication.id"/>
          <short value="Logical id of this artifact"/>
          <definition
                      value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
          <comment
                   value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="id"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Medication.meta">
          <path value="Medication.meta"/>
          <short value="Metadata about the resource"/>
          <definition
                      value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.meta"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Meta"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Medication.implicitRules">
          <path value="Medication.implicitRules"/>
          <short value="A set of rules under which this content was created"/>
          <definition
                      value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
          <comment
                   value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element.

    This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.implicitRules"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
        </element>
        <element id="Medication.language">
          <path value="Medication.language"/>
          <short value="Language of the resource content"/>
          <definition
                      value="The base language in which the resource is written."/>
          <comment
                   value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
              <valueReference>🔗
                <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
              </valueReference>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="Language"/>
            </extension>
            <strength value="extensible"/>
            <description value="A human language."/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/languages"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Medication.text">
          <path value="Medication.text"/>
          <short value="Text summary of the resource, for human interpretation"/>
          <definition
                      value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
          <comment
                   value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
          <alias value="narrative"/>
          <alias value="html"/>
          <alias value="xhtml"/>
          <alias value="display"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Narrative"/>
          </type>
          <condition value="dom-1"/>
          <mapping>
            <identity value="rim"/>
            <map value="Act.text?"/>
          </mapping>
        </element>
        <element id="Medication.contained">
          <path value="Medication.contained"/>
          <short value="Contained, inline Resources"/>
          <definition
                      value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
          <comment
                   value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
          <alias value="inline resources"/>
          <alias value="anonymous resources"/>
          <alias value="contained resources"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.contained"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Resource"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.extension">
          <path value="Medication.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <ordered value="false"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.extension:description">
          <path value="Medication.extension"/>
          <sliceName value="description"/>
          <short value="Description"/>
          <definition
                      value="A textual description of the type of medication (including relevant properties of the composition and preparation method if possible), which is only used if no coded indication from the G Standard is available (magistral preparation)."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="Omschrijving"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://nictiz.nl/fhir/StructureDefinition/zib-Product-Description"/>
          </type>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
            <source
                    value="http://nictiz.nl/fhir/StructureDefinition/zib-Product-Description"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19784"/>
            <comment value="Description"/>
          </mapping>
        </element>
        <element id="Medication.modifierExtension">
          <path value="Medication.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.code">
          <path value="Medication.code"/>
          <short value="Codes that identify this medication"/>
          <definition
                      value="A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems."/>
          <comment
                   value="Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true.  As described in the coding datatype: &quot;A coding may be marked as a &quot;userSelected&quot; if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <example>
            <label value="Example of Medication code"/>
            <valueCodeableConcept>
              <coding>
                <system value="urn:oid:2.16.840.1.113883.2.4.4.8"/>
                <code value="13610554"/>
                <display value="Carbasalaatcalcium Sandoz 600 30 sac"/>
              </coding>
            </valueCodeableConcept>
          </example>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="MedicationFormalRepresentation"/>
            </extension>
            <strength value="example"/>
            <description
                         value="A coded concept that defines the type of a medication"/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/medication-codes"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="script10.6"/>
            <map
                 value="coding.code = //element(*,MedicationType)/DrugCoded/ProductCode

    coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier

    coding.display = //element(*,MedicationType)/DrugDescription"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".code"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="class"/>
          </mapping>
        </element>
        <element id="Medication.code.id">
          <path value="Medication.code.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.extension">
          <path value="Medication.code.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding">
          <path value="Medication.code.coding"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="system"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short value="MedicationCode"/>
          <definition
                      value="Coding medication in the Netherlands is done on the basis of the G standard (issued by Z-index), which is filled under the direction of KNMP.

    The coded medication can be expressed as:

     - GTIN International Article Number
     - KNMP article number = ATKODE (2.16.840.1.113883.2.4.4.8)
     - Trade product code (HPK)
     - Prescription code (PRK)
     - Generic product code (GPK)
     - Anatomic Therapeutic Classification code (ATC)
     - SNOMED CT code
     - Substance Name Code (SNK)
     - Substance Name Code, in combination with Route of Administration (SSK)
     - 90.000.000 number (individual code setting) (or similar from the facility)

    The GTIN enables identification of the product including its origin with a barcode.
    The ATKODE is the number with which wholesalers link the article to pharmacy systems (e.g. a box with 3 strips of 10 tablets).
    The HPK is the code for the trade product (with the brand name) as used per dose/per time the medication is taken (1 pill, 1 puff, 1ml)
    The PRK codes for the same product as the HPK does, but is not linked to a manufacturer (no brand name, no characteristics such as color, geometrical shape etc.). This code will enable a generic prescription, while still defining which trade product can be taken (e.g. a 200ml bag).
    The generic product code defines the composition of a product, and is sufficient for recording the prescription, but not the order.
    The prescription code (PRK) was developed and added to the older generic (GPK) and supplier-specific (HPK, ATKODE) coding to enable a generic product to be entered without listing a specific brand on the one hand, and to enable providing enough information to support the pharmacy supplying it on the other.

    The Substance Name Code (SNK) and the Substance Name Code, in combination with Route of Administration (SSK) are used to prescribe at a more generic level.

    The GTIN coding is used for the implementation of a barcode scanning standard and to be able to trace the origin of the product.

    The 90.000.000 number is used in accordance with national agreements."/>
          <comment
                   value="It is possible to capture multiple product codes with .coding elements. These product codes need to be related to each other. It should not be possible that two different product codes result in two medication products: only more generic product codes are allowed next to the original product code."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <alias value="ProductCode"/>
          <alias value="Geneesmiddel code"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19927"/>
            <comment value="MedicationCode"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodeZICodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodeZICodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.1--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.8"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeZICodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodeHPKCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodeHPKCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.5--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.7"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeHPKCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.code.coding:productCodeHPKCodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodeGTINCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodeGTINCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.2--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:1.3.160"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGTINCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.code.coding:productCodeGTINCodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodeGPKCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodeGPKCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.6--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.1"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeGPKCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.code.coding:productCodeGPKCodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodePRKCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodePRKCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.3--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.10"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodePRKCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.code.coding:productCodePRKCodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst">
          <path value="Medication.code.coding"/>
          <sliceName value="productCodeATCCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="ProductCodeATCCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.7--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.id">
          <path value="Medication.code.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.extension">
          <path value="Medication.code.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.system">
          <path value="Medication.code.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="http://www.whocc.no/atc"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.version">
          <path value="Medication.code.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.code">
          <path value="Medication.code.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.code.coding:productCodeATCCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.code.coding:productCodeATCCodelijst.userSelected">
          <path value="Medication.code.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.code.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.code.text"/>
          <short value="Medication"/>
          <definition
                      value="There is no code for medication entered in free text. In these cases, enter the complete description."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <alias value="ProductNaam"/>
          <alias value="Geneesmiddel"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <example>
            <label value="Example of Medication as free text"/>
            <valueString value="PARACETAMOL 500MG TABLET"/>
          </example>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19929"/>
            <comment value="Medication"/>
          </mapping>
        </element>
        <element id="Medication.status">
          <path value="Medication.status"/>
          <short value="active | inactive | entered-in-error"/>
          <definition
                      value="A code to indicate if the medication is in active use."/>
          <comment
                   value="This status is not intended to specify if a medication is part of a formulary."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.status"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="MedicationStatus"/>
            </extension>
            <strength value="required"/>
            <description
                         value="A coded concept defining if the medication is in active use"/>
            <valueSetReference>🔗
              <reference value="http://hl7.org/fhir/ValueSet/medication-status"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value=".statusCode"/>
          </mapping>
        </element>
        <element id="Medication.isBrand">
          <path value="Medication.isBrand"/>
          <short value="True if a brand"/>
          <definition
                      value="Set to true if the item is attributable to a specific manufacturer."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.isBrand"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="true if .player.scopingRole[typeCode=MANU] exists"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="class"/>
          </mapping>
        </element>
        <element id="Medication.isOverTheCounter">
          <path value="Medication.isOverTheCounter"/>
          <short value="True if medication does not require a prescription"/>
          <definition
                      value="Set to true if the medication can be obtained without an order from a prescriber."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.isOverTheCounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="NA"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="class"/>
          </mapping>
        </element>
        <element id="Medication.manufacturer">
          <path value="Medication.manufacturer"/>
          <short value="Manufacturer of the item"/>
          <definition
                      value="Describes the details of the manufacturer of the medication product.  This is not intended to represent the distributor of a medication product."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.manufacturer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Organization"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".player.scopingRole[typeCode=MANU].scoper"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="who.actor"/>
          </mapping>
        </element>
        <element id="Medication.form">
          <path value="Medication.form"/>
          <short value="PharmaceuticalForm"/>
          <definition
                      value="The pharmaceutical form indicates the form of the medication in accordance with the route of administration. Examples include: tablet, suppository, infusion liquid, ointment. If the product has a generic code in the G standard, the form will be known in the G standard. For products without a code (free text, preparation by the pharmacy), the means of administration can be entered."/>
          <comment
                   value="When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form."/>
          <alias value="FarmaceutischeVorm"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.form"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <example>
            <label value="Example of Pharmaceutical form"/>
            <valueCodeableConcept>
              <coding>
                <system value="urn:oid:2.16.840.1.113883.2.4.4.11"/>
                <code value="230"/>
                <display value="TABLET"/>
              </coding>
            </valueCodeableConcept>
          </example>
          <mustSupport value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="MedicationForm"/>
            </extension>
            <strength value="required"/>
            <description value="FarmaceutischeVormCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.8--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="script10.6"/>
            <map
                 value="coding.code =  //element(*,DrugCodedType)/FormCode

    coding.system = //element(*,DrugCodedType)/FormSourceCode"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".formCode"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19931"/>
            <comment value="PharmaceuticalForm"/>
          </mapping>
        </element>
        <element id="Medication.form.id">
          <path value="Medication.form.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.form.extension">
          <path value="Medication.form.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.form.coding">
          <path value="Medication.form.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.id">
          <path value="Medication.form.coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.extension">
          <path value="Medication.form.coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.system">
          <path value="Medication.form.coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.version">
          <path value="Medication.form.coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.code">
          <path value="Medication.form.coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.form.coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element id="Medication.form.coding.userSelected">
          <path value="Medication.form.coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.form.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.form.text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Medication.ingredient">
          <path value="Medication.ingredient"/>
          <short value="Ingredient"/>
          <definition
                      value="Container of the Ingredient concept. This container contains all data elements of the Ingredient concept.

    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.

    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)."/>
          <comment
                   value="The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients. If the Medication.code does not fully specify the Medication (i.e. own preparation), all known ingredients by the source system must be conveyed."/>
          <alias value="Ingredient"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Medication.ingredient"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value=".scopesRole[typeCode=INGR]"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19932"/>
            <comment value="Ingredient"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.id">
          <path value="Medication.ingredient.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.extension">
          <path value="Medication.ingredient.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.modifierExtension">
          <path value="Medication.ingredient.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.item[x]">
          <path value="Medication.ingredient.item[x]"/>
          <short value="Substance"/>
          <definition
                      value="Active substance or excipient.
    Here, the same codes can be used as for the ProductCode (for dilutions and compounds in particular), but now, the ATC, SSK and SNK codes can also be used to indicate a substance (to list ingredients of local products prepared by the pharmacy).
    - GTIN International Article Number
    - KNMP article number
    - Trade product code (HPK)
    - Prescription code (PRK)
    - Generic product code (GPK)
    - ATC (anatomic therapeutic classification)
    - SSK (substance name code with route of administration)
    - SNK (substance name code)

    The ATC is an international classification of pharmaceutical substances without a reference to specific products on the market. Therefore, the ATC code of a generic product will not contain a reference to a certain dose, pharmaceutical form or route of administration; it will only contain a reference to the ingredients (not the amount/concentration/strength)."/>
          <alias value="IngredientCode"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Medication.ingredient.item[x]"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <example>
            <label value="Example of Ingredient substance"/>
            <valueCodeableConcept>
              <coding>
                <system value="http://www.whocc.no/atc"/>
                <code value="B01AC08"/>
                <display value="carbasalate calcium"/>
              </coding>
            </valueCodeableConcept>
          </example>
          <mapping>
            <identity value="script10.6"/>
            <map
                 value="coding.code = //element(*,MedicationType)/DrugCoded/ProductCode

    coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier

    coding.display = //element(*,MedicationType)/DrugDescription"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXC-2-Component Code  if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".player"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19934"/>
            <comment value="SubstanceCode"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.item[x].id">
          <path value="Medication.ingredient.item[x].id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.item[x].extension">
          <path value="Medication.ingredient.item[x].extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.item[x].coding">
          <path value="Medication.ingredient.item[x].coding"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="system"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeZICodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeZICodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.12--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.8"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeZICodelijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeGTINCodeLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeGTINCodeLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.16--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:1.3.160"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGTINCodeLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeATCCodelijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeATCCodelijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.13--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="http://www.whocc.no/atc"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeATCCodelijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeHPKLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeHPKLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.10--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.7"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeHPKLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeGPKLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeGPKLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.9--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.1"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeGPKLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeSNKLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeSNKLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.14--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.1.750"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSNKLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodePRKLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodePRKLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.11--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.10"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodePRKLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst">
          <path value="Medication.ingredient.item[x].coding"/>
          <sliceName value="ingredientCodeSSKLijst"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <strength value="required"/>
            <description value="IngredientCodeSSKLijst"/>
            <valueSetReference>🔗
              <reference
                         value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.7.15--20171231000000"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.id">
          <path value="Medication.ingredient.item[x].coding.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.extension">
          <path value="Medication.ingredient.item[x].coding.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.system">
          <path value="Medication.ingredient.item[x].coding.system"/>
          <short value="Identity of the terminology system"/>
          <definition
                      value="The identification of the code system that defines the meaning of the symbol in the code."/>
          <comment
                   value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously."/>
          <requirements
                        value="Need to be unambiguous about the source of the definition of the symbol."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Coding.system"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="urn:oid:2.16.840.1.113883.2.4.4.1.725"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.3"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystem"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.version">
          <path value="Medication.ingredient.item[x].coding.version"/>
          <short value="Version of the system - if relevant"/>
          <definition
                      value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
          <comment
                   value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.7"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./codeSystemVersion"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.code">
          <path value="Medication.ingredient.item[x].coding.code"/>
          <short value="Symbol in syntax defined by the system"/>
          <definition
                      value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
          <requirements
                        value="Need to refer to a particular code in the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="./code"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.display">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].coding.display"/>
          <short value="Representation defined by the system"/>
          <definition
                      value="A representation of the meaning of the code in the system, following the rules of the system."/>
          <requirements
                        value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.display"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.2 - but note this is not well followed"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CV.displayName"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
          </mapping>
        </element>
        <element
                 id="Medication.ingredient.item[x].coding:ingredientCodeSSKLijst.userSelected">
          <path value="Medication.ingredient.item[x].coding.userSelected"/>
          <short value="If this coding was chosen directly by the user"/>
          <definition
                      value="Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays)."/>
          <comment
                   value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
          <requirements
                        value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Coding.userSelected"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Sometimes implied by being first"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CD.codingRationale"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.item[x].text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Medication.ingredient.item[x].text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.isActive">
          <path value="Medication.ingredient.isActive"/>
          <short value="Active ingredient indicator"/>
          <definition
                      value="Indication of whether this ingredient affects the therapeutic action of the drug."/>
          <requirements
                        value="True indicates that the ingredient affects the therapeutic action of the drug (i.e. active).
    False indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.ingredient.isActive"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="NA"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.amount">
          <path value="Medication.ingredient.amount"/>
          <short value="Concentration"/>
          <definition
                      value="The relative amount of this ingredient in this product.
    Calculation of Concentration = Ingredient Amount ÷ Product Amount.

    This could be a concentration if the medication is dissolved in liquid, for example: 25mg/tablet or 50IE/ml of 200mg/500ml."/>
          <alias value="Sterkte"/>
          <alias value="Concentratie"/>
          <alias value="Hoeveelheid"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.ingredient.amount"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Ratio"/>
          </type>
          <example>
            <label value="Example of Concentration"/>
            <valueRatio>
              <numerator>
                <value value="5"/>
                <unit value="ml"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="mL"/>
              </numerator>
              <denominator>
                <value value="200"/>
                <unit value="ml"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="mL"/>
              </denominator>
            </valueRatio>
          </example>
          <mapping>
            <identity value="script10.6"/>
            <map value="//element(*,DrugCodedType)/Strength"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXC-3-Component Amount &amp; RXC-4-Component Units  if medication: RXO-2-Requested Give Amount - Minimum &amp; RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum &amp; RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount &amp; RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum &amp; RXE-5-Give Units / RXE-4-Give Amount - Maximum &amp; RXE-5-Give Units / RXE-10-Dispense Amount &amp; RXE-10-Dispense Units"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".quantity"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.19933"/>
            <comment value="Concentration"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.amount.id">
          <path value="Medication.ingredient.amount.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.amount.extension">
          <path value="Medication.ingredient.amount.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.amount.numerator">
          <path value="Medication.ingredient.amount.numerator"/>
          <short value="IngredientAmount"/>
          <definition
                      value="The amount of this ingredient. This is the numerator for the calculation of the concentration. The unit should be selected from the G-Standard (Table 902)"/>
          <alias value="IngredientHoeveelheid"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Ratio.numerator"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".numerator"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.22277"/>
            <comment value="IngredientAmount"/>
          </mapping>
        </element>
        <element id="Medication.ingredient.amount.denominator">
          <path value="Medication.ingredient.amount.denominator"/>
          <short value="ProductAmount"/>
          <definition
                      value="Amount of the product. This is the denominator for the calculation of the concentration"/>
          <alias value="ProductHoeveelheid"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Ratio.denominator"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".denominator"/>
          </mapping>
          <mapping>
            <identity value="hcim-pharmaceuticalproduct-v2.0-2017EN"/>
            <map value="NL-CM:9.7.22278"/>
            <comment value="ProductAmount"/>
          </mapping>
        </element>
        <element id="Medication.package">
          <path value="Medication.package"/>
          <short value="Details about packaged medications"/>
          <definition
                      value="Information that only applies to packages (not products)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.package"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".player[classCode=CONT]"/>
          </mapping>
        </element>
        <element id="Medication.package.id">
          <path value="Medication.package.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.extension">
          <path value="Medication.package.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.modifierExtension">
          <path value="Medication.package.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.package.container">
          <path value="Medication.package.container"/>
          <short value="E.g. box, vial, blister-pack"/>
          <definition value="The kind of container that this package comes as."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.package.container"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="MedicationContainer"/>
            </extension>
            <strength value="example"/>
            <description
                         value="A coded concept defining the kind of container a medication package is packaged in"/>
            <valueSetReference>🔗
              <reference
                         value="http://hl7.org/fhir/ValueSet/medication-package-form"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".code"/>
          </mapping>
        </element>
        <element id="Medication.package.content">
          <path value="Medication.package.content"/>
          <short value="What is  in the package"/>
          <definition
                      value="A set of components that go to make up the described item."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Medication.package.content"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".scopesRole[typeCode=CONT]"/>
          </mapping>
        </element>
        <element id="Medication.package.content.id">
          <path value="Medication.package.content.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.content.extension">
          <path value="Medication.package.content.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.content.modifierExtension">
          <path value="Medication.package.content.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.package.content.item[x]">
          <path value="Medication.package.content.item[x]"/>
          <short value="The item in the package"/>
          <definition value="Identifies one of the items in the package."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Medication.package.content.item[x]"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://nictiz.nl/fhir/StructureDefinition/zib-Product"/>
          </type>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".player"/>
          </mapping>
        </element>
        <element id="Medication.package.content.amount">
          <path value="Medication.package.content.amount"/>
          <short value="Quantity present in the package"/>
          <definition value="The amount of the product that is in the package."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.package.content.amount"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Quantity"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
          </type>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".quantity"/>
          </mapping>
        </element>
        <element id="Medication.package.batch">
          <path value="Medication.package.batch"/>
          <short value="Identifies a single production run"/>
          <definition
                      value="Information about a group of medication produced or packaged from one production run."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Medication.package.batch"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"/>
          </mapping>
        </element>
        <element id="Medication.package.batch.id">
          <path value="Medication.package.batch.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.batch.extension">
          <path value="Medication.package.batch.extension"/>
          <short value="Additional Content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Medication.package.batch.modifierExtension">
          <path value="Medication.package.batch.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Medication.package.batch.lotNumber">
          <path value="Medication.package.batch.lotNumber"/>
          <short value="Identifier assigned to batch"/>
          <definition
                      value="The assigned lot number of a batch of the specified product."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.package.batch.lotNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXA-15 Substance Lot Number / RXG-19 Substance Lot Number"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
        </element>
        <element id="Medication.package.batch.expirationDate">
          <path value="Medication.package.batch.expirationDate"/>
          <short value="When batch will expire"/>
          <definition value="When this specific batch of product will expire."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Medication.package.batch.expirationDate"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
          <mapping>
            <identity value="script10.6"/>
            <map value="no mapping"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map
                 value="RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"/>
          </mapping>
        </element>
        <element id="Medication.image">
          <path value="Medication.image"/>
          <short value="Picture of the medication"/>
          <definition
                      value="Photo(s) or graphic representation(s) of the medication."/>
          <requirements
                        value="Note that &quot;image&quot; is only applicable when the medication.code represents a physical item (e.g. Amoxil 250 mg capsule) and not an abstract item (e.g. amoxicillin 250 mg)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Medication.image"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Attachment"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map
                 value=".participation[typeCode=SUBJ].role[classCode=MANU],source[classCode=OBS,moodCode=EVN,code=&quot;type of image&quot;].value(ED.image)"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="Medication">
          <path value="Medication"/>
        </element>
        <element id="Medication.form">
          <path value="Medication.form"/>
          <mustSupport value="true"/>
        </element>
        <element id="Medication.form.coding">
          <path value="Medication.form.coding"/>
          <mustSupport value="true"/>
        </element>
        <element id="Medication.form.coding.display">
          <path value="Medication.form.coding.display"/>
          <mustSupport value="true"/>
        </element>
      </differential>
    </StructureDefinition>