<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-InstructionsForUse" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-InstructionsForUse" />
  <version value="2.0.5" />
  <name value="Zib InstructionsForUse" />
  <title value="HCIM InstructionsForUse" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="url" />
      <value value="https://www.nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="This profile is based on the Dutch Health and Care Information model (Dutch: Zorginformatiebouwsteen or ZIB) InstructionsForUse version 1.1, year 2017. Instructions for the use or administration of the medication, e.g. dose and route of administration. In the event of medication use, this is the pattern of use established by the patient or which the patient followed." />
  <purpose value="InstructionsForUse gives an insight into the manner a drug is to be used." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-instructionsforuse-v1.1-2017EN" />
    <uri value="https://zibs.nl/wiki/InstructionsForUse-v1.1(2017EN)" />
    <name value="HCIM InstructionsForUse-v1.1(2017EN)" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Dosage" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Dosage" />
  <derivation value="constraint" />
  <snapshot>
    <element id="Dosage">
      <path value="Dosage" />
      <short value="InstructionsForUse" />
      <definition value="Instructions for the use of the medication, e.g. dose and route of administration. In the event of medication use, this is the pattern of use established by the patient or which the patient followed" />
      <comment value="The wiki page https://informatiestandaarden.nictiz.nl/wiki/mp:V9.0_Voorbeelden_doseringen provides dosage instruction examples. These examples consists of functional data and their representation in FHIR and CDA." />
      <alias value="Gebruiksinstructie" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element" />
        <min value="0" />
        <max value="*" />
      </base>
      <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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT]" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22504" />
        <comment value="InstructionsForUse" />
      </mapping>
    </element>
    <element id="Dosage.id">
      <path value="Dosage.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." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Dosage.extension">
      <path value="Dosage.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>
      <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://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Dosage.sequence">
      <path value="Dosage.sequence" />
      <short value="SequenceNumber" />
      <definition value="This indicates the sequence of the dosing instructions within the medication agreement." />
      <comment value="32 bit number; for values larger than this, use decimal" />
      <requirements value="If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent.  If the sequence number is different, then the Dosages are intended to be sequential." />
      <alias value="Volgnummer" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.sequence" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="integer" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22503" />
        <comment value="SequenceNumber" />
      </mapping>
    </element>
    <element id="Dosage.text">
      <path value="Dosage.text" />
      <short value="Description" />
      <definition value="Textual description of the complete instructions for use including the period of use." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <requirements value="Free text dosage instructions can be used for cases where the instructions are too complex to code.  The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated.  If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing." />
      <alias value="Omschrijving" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.9581" />
        <comment value="Description" />
      </mapping>
    </element>
    <element id="Dosage.additionalInstruction">
      <path value="Dosage.additionalInstruction" />
      <short value="AdditionalInstructions" />
      <definition value="The additional instructions contain extra information on the use of or considerations for the current prescription. This can also include all instructions for use. The text can come from the original 'paper' medication prescription, but can also be generated from the coded information. This concept may contain more information than what is structurally coded in the information below, but may not conflict with it.                  The instructions may not conflict with other components of the request for administration. The instructions can also refer to an existing protocol.                                  The G standard contains many texts that can support this attribute, in for example G standard table 362, which contains texts from the general practitioners’ standard WCIA table 25. If desired, these texts can be used to structure this concept." />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <requirements value="Additional instruction such as &quot;Swallow with plenty of water&quot; which may or may not be coded." />
      <alias value="AanvullendeInstructie" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Dosage.additionalInstruction" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdditionalInstruction" />
        </extension>
        <strength value="extensible" />
        <description value="A coded concept identifying additional instructions such as &quot;take with water&quot; or &quot;avoid operating heavy machinery&quot;." />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.9--20160407000000" />
          <display value="AanvullendeGebruiksinstructie" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19944" />
        <comment value="AdditionalInstructions" />
      </mapping>
    </element>
    <element id="Dosage.patientInstruction">
      <path value="Dosage.patientInstruction" />
      <short value="Patient or consumer oriented instructions" />
      <definition value="Instructions in terms that are understood by the patient or consumer." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.patientInstruction" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="Dosage.timing">
      <path value="Dosage.timing" />
      <short value="AdministeringSchedule" />
      <definition value="Specifications of the times at which the medication is to be administered. This is indicated as follows:                  Time(s) (16:00) or indications (“before meals”) at which the medication is to be taken each day.                 A specific number of times the medication is to be taken each day (“3x a day“), indicated with the frequency                 A time interval between consecutive doses (“Every 2 hours”, “every 3 days”), indicated with the word Interval.                 Combined periods with an interval and duration (“1 daily for three out of four weeks: the pill schedule”)                                                   If a certain medication is not to be taken daily, the aforementioned can be combined with daily indications:                  One or more week days on which the medication is to be administered (e.g. “Monday, Wednesday, Friday”)                 ”3x a week”, “2x a month”.                                                   The specified administration “infinite” is automatically to be repeated until:                  The end date and time has been reached                 The total administration duration has been reached (14 days)                                                   A specific amount of administrations has been reached (“20 doses”, “one-time only”), to be entered in the NumberOfDoses concept." />
      <comment value="A timing schedule can be either a list of events - intervals on which the event occurs, or a single event with repeating criteria or just repeating criteria with no actual event.  When both event and a repeating specification are provided, the list of events should be understood as an interpretation of the information in the repeat structure." />
      <requirements value="The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions. For example: &quot;Every 8 hours&quot;; &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.  Sometimes, a rate can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." />
      <alias value="Toedieningsschema" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.timing" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Timing" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-AdministrationSchedule" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="QSET&lt;TS&gt; (GTS)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".effectiveTime" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19948" />
        <comment value="AdministeringSchedule" />
      </mapping>
    </element>
    <element id="Dosage.asNeeded[x]:asNeededCodeableConcept">
      <path value="Dosage.asNeededCodeableConcept" />
      <sliceName value="asNeededCodeableConcept" />
      <short value="AsNeeded" />
      <definition value="As needed means that the dose is only to be administered under certain conditions." />
      <comment value="Using the term 'as needed' or a specific reason (eg 'in case of pain') to use medication leads to ambiguity. It is not always clear whether the whole dose is 'as needed' or only part of the dose. For example: 1x daily 1-2 tablets as needed. This can mean: 1 tablet fixed per day and 1 tablet as needed or, as needed, a maximum of 2 tablets.As needed medication is not included in GDS. In the first situation, 1 tablet comes in the GDS (drug dispensing systems) and 1 tablet is delivered separately. In the second situation there is only separate delivery.The system must make sufficiently clear whether the entire instruction or part of the dose is necessary. The HCIM supports both options described above." />
      <alias value="Zo nodig" />
      <alias value="Criterium" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.asNeeded[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAsNeededReason" />
        </extension>
        <strength value="extensible" />
        <description value="ZonodigCriteriumCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.12.4--20171231000000" />
          <display value="ZonodigCriteriumCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=&quot;as needed&quot;].value=boolean or codable concept" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22512" />
        <comment value="AsNeeded" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19945" />
        <comment value="Condition" />
      </mapping>
    </element>
    <element id="Dosage.site">
      <path value="Dosage.site" />
      <short value="Body site to administer to" />
      <definition value="Body site to administer to." />
      <comment value="If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html).  May be a summary code, or a reference to a very precise definition of the location, or both." />
      <requirements value="A coded specification of the anatomic site where the medication first enters the body." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.site" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationSite" />
        </extension>
        <strength value="example" />
        <description value="A coded concept describing the site location the medicine enters into or onto the body." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/approach-site-codes" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".approachSiteCode" />
      </mapping>
    </element>
    <element id="Dosage.route">
      <path value="Dosage.route" />
      <short value="RouteOfAdministration" />
      <definition value="The route through which the medication is administered (oral, nasal, intravenous, etc.)" />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <requirements value="A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body." />
      <alias value="Toedieningsweg" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.route" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <example>
        <label value="Example of RouteOfAdministration" />
        <valueCodeableConcept>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.2.4.4.9" />
            <code value="oraal" />
            <display value="Oraal" />
          </coding>
        </valueCodeableConcept>
      </example>
      <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>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="RouteOfAdministration" />
        </extension>
        <strength value="extensible" />
        <description value="ToedieningswegCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.12.1--20171231000000" />
          <display value="ToedieningswegCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".routeCode" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19941" />
        <comment value="RouteOfAdministration" />
      </mapping>
    </element>
    <element id="Dosage.method">
      <path value="Dosage.method" />
      <short value="Technique for administering medication" />
      <definition value="Technique for administering medication." />
      <comment value="Terminologies used often pre-coordinate this term with the route and or form of administration." />
      <requirements value="A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections.  For examples, Slow Push; Deep IV." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.method" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </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>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAdministrationMethod" />
        </extension>
        <strength value="example" />
        <description value="A coded concept describing the technique by which the medicine is administered." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/administration-method-codes" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".doseQuantity" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]">
      <path value="Dosage.dose[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Dose" />
      <definition value="The dose indicates the dose amount per administration. &#xA; &#xA;The dosage is described in the unit accompanying the product; usually, this is just a number of units or doses. Liquids and other divisible products will usually include a unit of volume (preferably &quot;ml&quot;). &#xA; &#xA;In many cases, the prescriber will want to indicate the dose in units of weight of the active ingredient.  &#xA; &#xA;If only the ingredient is included and not the product, then the amount of that ingredient will be given. Paracetamol 1000mg is equivalent to 2 Paracetamol 500mg tablets or units. &#xA; &#xA;The dosage is sometimes given as a calculation, in which the patient’s body weight or body surface area is used as a parameter. The calculation is however no more than an aid in reaching a decision. &#xA; &#xA;In the event of constant administration, sometimes the dose is given in addition to the administration speed (infusion rate) (e.g. 20ml in a syringe or 500ml in a bag), but it is often also omitted. &#xA; &#xA;A general dosage recommendation such as ‘Use according to protocol’ or ‘See instructions’ can be sufficient. In that case, no dose is given." />
      <comment value="Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours." />
      <requirements value="The amount of therapeutic or other substance given at one administration event." />
      <alias value="Keerdosis" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.dose[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".doseQuantity" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19940" />
        <comment value="Dose" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseQuantity">
      <path value="Dosage.dose[x]" />
      <sliceName value="doseQuantity" />
      <short value="A fixed quantity (no comparator)" />
      <definition value="The comparator is not used on a SimpleQuantity" />
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." />
      <requirements value="The amount of therapeutic or other substance given at one administration event." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.dose[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".doseQuantity" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseRange">
      <path value="Dosage.dose[x]" />
      <sliceName value="doseRange" />
      <short value="Amount of medication per dose" />
      <definition value="Amount of medication per dose." />
      <comment value="Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours." />
      <requirements value="The amount of therapeutic or other substance given at one administration event." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.dose[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Range" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".doseQuantity" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseRange.id">
      <path value="Dosage.dose[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." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseRange.extension">
      <path value="Dosage.dose[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>
      <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://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseRange.low">
      <path value="Dosage.dose[x].low" />
      <short value="Low limit" />
      <definition value="The low limit. The boundary is inclusive." />
      <comment value="If the low element is missing, the low boundary is not known." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.low" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="rng-2" />
      <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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./low" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseRange.high">
      <path value="Dosage.dose[x].high" />
      <short value="High limit" />
      <definition value="The high limit. The boundary is inclusive." />
      <comment value="If the high element is missing, the high boundary is not known." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.high" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="rng-2" />
      <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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./high" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod">
      <path value="Dosage.maxDosePerPeriod" />
      <short value="MaximumDose" />
      <definition value="A maximum dose indicates the maximum duration a product can be used with an ‘as needed’ prescription.&#xD;&#xA;&#xD;&#xA;For example:&#xD;&#xA;- Max 6 units per day&#xD;&#xA;- Max 200ml per week" />
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.  For example &quot;2 tablets every 4 hours to a maximum of 8/day&quot;." />
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time.  For example, 1000mg in 24 hours." />
      <alias value="Maximale dosering" />
      <alias value="Maximale dosis (per dag enz.)" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.maxDosePerPeriod" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </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="rat-1" />
        <severity value="error" />
        <human value="Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present" />
        <expression value="(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())" />
        <xpath value="(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) &gt; 0) or (count(f:extension) &gt; 0))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Ratio" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="RTO" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".maxDoseQuantity" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19946" />
        <comment value="MaximumDose" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod.id">
      <path value="Dosage.maxDosePerPeriod.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." />
      <comment value="Note that FHIR strings may not exceed 1MB in size" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </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>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod.extension">
      <path value="Dosage.maxDosePerPeriod.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>
      <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://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod.numerator">
      <path value="Dosage.maxDosePerPeriod.numerator" />
      <short value="Numerator value" />
      <definition value="The value of the numerator." />
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Ratio.numerator" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".numerator" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod.denominator">
      <path value="Dosage.maxDosePerPeriod.denominator" />
      <short value="Denominator value" />
      <definition value="The value of the denominator." />
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Ratio.denominator" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".denominator" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerAdministration">
      <path value="Dosage.maxDosePerAdministration" />
      <short value="Upper limit on medication per administration" />
      <definition value="Upper limit on medication per administration." />
      <comment value="This is intended for use as an adjunct to the dosage when there is an upper cap.  For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg." />
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered to a subject per administration." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.maxDosePerAdministration" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="not supported" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerLifetime">
      <path value="Dosage.maxDosePerLifetime" />
      <short value="Upper limit on medication per lifetime of the patient" />
      <definition value="Upper limit on medication per lifetime of the patient." />
      <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." />
      <requirements value="The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.maxDosePerLifetime" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </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="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="not supported" />
      </mapping>
    </element>
    <element id="Dosage.rate[x]">
      <path value="Dosage.rate[x]" />
      <short value="AdministeringSpeed" />
      <definition value="The administering speed is used in slow administration of liquid. In practice, the measuring unit is almost always ml/hour. Entering an interval (such as 0-10 ml/hour) is also a commonly used option. For example, with an administering speed of 10ml/hour: amount = 10, dose unit = ml                 time unit = hour" />
      <comment value="It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate." />
      <requirements value="Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours.   Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours.  Sometimes, a rate can imply duration when expressed as total volume / duration (e.g.  500mL/2 hours implies a duration of 2 hours).  However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period." />
      <alias value="Toedieningssnelheid" />
      <alias value="Inloopsnelheid" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Dosage.rate[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </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>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".rateQuantity" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19942" />
        <comment value="AdministeringSpeed" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="Dosage">
      <path value="Dosage" />
      <short value="InstructionsForUse" />
      <definition value="Instructions for the use of the medication, e.g. dose and route of administration. In the event of medication use, this is the pattern of use established by the patient or which the patient followed" />
      <comment value="The wiki page https://informatiestandaarden.nictiz.nl/wiki/mp:V9.0_Voorbeelden_doseringen provides dosage instruction examples. These examples consists of functional data and their representation in FHIR and CDA." />
      <alias value="Gebruiksinstructie" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22504" />
        <comment value="InstructionsForUse" />
      </mapping>
    </element>
    <element id="Dosage.sequence">
      <path value="Dosage.sequence" />
      <short value="SequenceNumber" />
      <definition value="This indicates the sequence of the dosing instructions within the medication agreement." />
      <alias value="Volgnummer" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22503" />
        <comment value="SequenceNumber" />
      </mapping>
    </element>
    <element id="Dosage.text">
      <path value="Dosage.text" />
      <short value="Description" />
      <definition value="Textual description of the complete instructions for use including the period of use." />
      <alias value="Omschrijving" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.9581" />
        <comment value="Description" />
      </mapping>
    </element>
    <element id="Dosage.additionalInstruction">
      <path value="Dosage.additionalInstruction" />
      <short value="AdditionalInstructions" />
      <definition value="The additional instructions contain extra information on the use of or considerations for the current prescription. This can also include all instructions for use. The text can come from the original 'paper' medication prescription, but can also be generated from the coded information. This concept may contain more information than what is structurally coded in the information below, but may not conflict with it.                  The instructions may not conflict with other components of the request for administration. The instructions can also refer to an existing protocol.                                  The G standard contains many texts that can support this attribute, in for example G standard table 362, which contains texts from the general practitioners’ standard WCIA table 25. If desired, these texts can be used to structure this concept." />
      <alias value="AanvullendeInstructie" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AdditionalInstruction" />
        </extension>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.9--20160407000000" />
          <display value="AanvullendeGebruiksinstructie" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19944" />
        <comment value="AdditionalInstructions" />
      </mapping>
    </element>
    <element id="Dosage.timing">
      <path value="Dosage.timing" />
      <definition value="Specifications of the times at which the medication is to be administered. This is indicated as follows:                  Time(s) (16:00) or indications (“before meals”) at which the medication is to be taken each day.                 A specific number of times the medication is to be taken each day (“3x a day“), indicated with the frequency                 A time interval between consecutive doses (“Every 2 hours”, “every 3 days”), indicated with the word Interval.                 Combined periods with an interval and duration (“1 daily for three out of four weeks: the pill schedule”)                                                   If a certain medication is not to be taken daily, the aforementioned can be combined with daily indications:                  One or more week days on which the medication is to be administered (e.g. “Monday, Wednesday, Friday”)                 ”3x a week”, “2x a month”.                                                   The specified administration “infinite” is automatically to be repeated until:                  The end date and time has been reached                 The total administration duration has been reached (14 days)                                                   A specific amount of administrations has been reached (“20 doses”, “one-time only”), to be entered in the NumberOfDoses concept." />
      <type>
        <code value="Timing" />
        <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-AdministrationSchedule" />
      </type>
    </element>
    <element id="Dosage.asNeeded[x]:asNeededCodeableConcept">
      <path value="Dosage.asNeededCodeableConcept" />
      <sliceName value="asNeededCodeableConcept" />
      <short value="AsNeeded" />
      <definition value="As needed means that the dose is only to be administered under certain conditions." />
      <comment value="Using the term 'as needed' or a specific reason (eg 'in case of pain') to use medication leads to ambiguity. It is not always clear whether the whole dose is 'as needed' or only part of the dose. For example: 1x daily 1-2 tablets as needed. This can mean: 1 tablet fixed per day and 1 tablet as needed or, as needed, a maximum of 2 tablets.As needed medication is not included in GDS. In the first situation, 1 tablet comes in the GDS (drug dispensing systems) and 1 tablet is delivered separately. In the second situation there is only separate delivery.The system must make sufficiently clear whether the entire instruction or part of the dose is necessary. The HCIM supports both options described above." />
      <alias value="Zo nodig" />
      <alias value="Criterium" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MedicationAsNeededReason" />
        </extension>
        <strength value="extensible" />
        <description value="ZonodigCriteriumCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.12.4--20171231000000" />
          <display value="ZonodigCriteriumCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22512" />
        <comment value="AsNeeded" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19945" />
        <comment value="Condition" />
      </mapping>
    </element>
    <element id="Dosage.route">
      <path value="Dosage.route" />
      <short value="RouteOfAdministration" />
      <definition value="The route through which the medication is administered (oral, nasal, intravenous, etc.)" />
      <alias value="Toedieningsweg" />
      <example>
        <label value="Example of RouteOfAdministration" />
        <valueCodeableConcept>
          <coding>
            <system value="urn:oid:2.16.840.1.113883.2.4.4.9" />
            <code value="oraal" />
            <display value="Oraal" />
          </coding>
        </valueCodeableConcept>
      </example>
      <binding>
        <strength value="extensible" />
        <description value="ToedieningswegCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.12.1--20171231000000" />
          <display value="ToedieningswegCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19941" />
        <comment value="RouteOfAdministration" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]">
      <path value="Dosage.dose[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Dose" />
      <definition value="The dose indicates the dose amount per administration. &#xA; &#xA;The dosage is described in the unit accompanying the product; usually, this is just a number of units or doses. Liquids and other divisible products will usually include a unit of volume (preferably &quot;ml&quot;). &#xA; &#xA;In many cases, the prescriber will want to indicate the dose in units of weight of the active ingredient.  &#xA; &#xA;If only the ingredient is included and not the product, then the amount of that ingredient will be given. Paracetamol 1000mg is equivalent to 2 Paracetamol 500mg tablets or units. &#xA; &#xA;The dosage is sometimes given as a calculation, in which the patient’s body weight or body surface area is used as a parameter. The calculation is however no more than an aid in reaching a decision. &#xA; &#xA;In the event of constant administration, sometimes the dose is given in addition to the administration speed (infusion rate) (e.g. 20ml in a syringe or 500ml in a bag), but it is often also omitted. &#xA; &#xA;A general dosage recommendation such as ‘Use according to protocol’ or ‘See instructions’ can be sufficient. In that case, no dose is given." />
      <alias value="Keerdosis" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19940" />
        <comment value="Dose" />
      </mapping>
    </element>
    <element id="Dosage.dose[x]:doseQuantity">
      <path value="Dosage.dose[x]" />
      <sliceName value="doseQuantity" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </type>
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Dosage.dose[x]:doseRange">
      <path value="Dosage.dose[x]" />
      <sliceName value="doseRange" />
      <type>
        <code value="Range" />
      </type>
    </element>
    <element id="Dosage.dose[x]:doseRange.low">
      <path value="Dosage.dose[x].low" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Dosage.dose[x]:doseRange.high">
      <path value="Dosage.dose[x].high" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Dosage.maxDosePerPeriod">
      <path value="Dosage.maxDosePerPeriod" />
      <short value="MaximumDose" />
      <definition value="A maximum dose indicates the maximum duration a product can be used with an ‘as needed’ prescription.&#xD;&#xA;&#xD;&#xA;For example:&#xD;&#xA;- Max 6 units per day&#xD;&#xA;- Max 200ml per week" />
      <alias value="Maximale dosering" />
      <alias value="Maximale dosis (per dag enz.)" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19946" />
        <comment value="MaximumDose" />
      </mapping>
    </element>
    <element id="Dosage.maxDosePerPeriod.numerator">
      <path value="Dosage.maxDosePerPeriod.numerator" />
      <binding>
        <strength value="required" />
        <description value="GstdTabel902" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.20.77.11.27--20160830202453" />
          <display value="GstdTabel902" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Dosage.rate[x]">
      <path value="Dosage.rate[x]" />
      <short value="AdministeringSpeed" />
      <definition value="The administering speed is used in slow administration of liquid. In practice, the measuring unit is almost always ml/hour. Entering an interval (such as 0-10 ml/hour) is also a commonly used option. For example, with an administering speed of 10ml/hour: amount = 10, dose unit = ml                 time unit = hour" />
      <alias value="Toedieningssnelheid" />
      <alias value="Inloopsnelheid" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19942" />
        <comment value="AdministeringSpeed" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>