<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-AdministrationSchedule" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-AdministrationSchedule" />
  <version value="2.1.6" />
  <name value="Zib AdministrationSchedule" />
  <title value="HCIM AdministrationSchedule" />
  <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 (HCIM) models (Dutch: Zorginformatiebouwsteen or ZIB) InstructionsForUse-AdministeringSchedule version 1.1, year 2017." />
  <purpose value="InstructionsForUse-AdministeringSchedule 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>
  <mapping>
    <identity value="hcim-range-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/Range-v1.0(2017EN)" />
    <name value="HCIM Range-v1.0(2017EN)" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Timing" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Timing" />
  <derivation value="constraint" />
  <differential>
    <element id="Timing">
      <path value="Timing" />
      <short value="AdministeringSchedule" />
      <definition value="Specifications of the times at which the medication is to be administered. This is indicated as follows: &#xD;&#xA;Time(s) (16:00) or indications (“before meals”) at which the medication is to be taken each day.&#xD;&#xA;A specific number of times the medication is to be taken each day (&quot;3x a day&quot;), indicated with the frequency&#xD;&#xA;A time interval between consecutive doses (“Every 2 hours”, “every 3 days”), indicated with the word Interval.&#xD;&#xA;Combined periods with an interval and duration (“1 daily for three out of four weeks: the pill schedule”)&#xD;&#xA;&#xD;&#xA;If a certain medication is not to be taken daily, the aforementioned can be combined with daily indications: &#xD;&#xA;One or more week days on which the medication is to be administered (e.g. “Monday, Wednesday, Friday”)&#xD;&#xA;”3x a week”, “2x a month”.&#xD;&#xA;&#xD;&#xA;The specified administration “infinite” is automatically to be repeated until: &#xD;&#xA;The end date and time has been reached&#xD;&#xA;The total administration duration has been reached (14 days)&#xD;&#xA;&#xD;&#xA;A specific amount of administrations has been reached (“20 doses”, “one-time only”), to be entered in the NumberOfDoses concept." />
      <alias value="Toedieningsschema" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19948" />
        <comment value="AdministeringSchedule" />
      </mapping>
    </element>
    <element id="Timing.repeat.bounds[x]">
      <path value="Timing.repeat.bounds[x]" />
      <short value="DoseDuration" />
      <definition value="The intended time duration for these dosing instructions." />
      <alias value="Doseerduur" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.22506" />
        <comment value="DoseDuration" />
      </mapping>
    </element>
    <element id="Timing.repeat.duration">
      <path value="Timing.repeat.duration" />
      <short value="Duration of administration" />
      <definition value="Defines the amount of time during which medication is being administered. This is used especially in the context of administering liquids." />
      <alias value="Toedieninsgduur" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.23141" />
        <comment value="DurationOfAdministration" />
      </mapping>
    </element>
    <element id="Timing.repeat.durationUnit">
      <path value="Timing.repeat.durationUnit" />
      <short value="Duration unit of administration" />
      <definition value="Defines the unit for the amount of time during which medication is being administered. This is used especially in the context of administering liquids." />
      <alias value="Toedieninsgduur" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.23141" />
        <comment value="DurationOfAdministration" />
      </mapping>
    </element>
    <element id="Timing.repeat.frequency">
      <path value="Timing.repeat.frequency" />
      <short value="Frequency" />
      <definition value="The frequency indicates the number of dose moments per time unit, usually per day. If this frequency is included, then the Interval will not have been included. Usually, frequency comprises both amount and time unit (3 times a day), but it can occur without the time unit (single use).          In that case, a reasonable distribution over the day is expected, but exact times are not given. This is left to the patient. It is the most common manner of extramural prescription. In the case of Baxter packs and intramural care, such a prescription is used to draw up a (location-specific) outline for distribution times (logistics).          The time unit of the frequency must be the same as how it is indicated in the textual description of the dose.                   Example:          for a '2x a day...' dose:         amount = 2         time unit = 'day'.                          for a '3x a week...' dose:         amount = 3         time unit = 'week'." />
      <alias value="frequentie" />
      <alias value="frequentie vaste waarde" />
      <alias value="frequentie min" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19949" />
        <comment value="Frequency" />
      </mapping>
      <mapping>
        <identity value="hcim-range-v1.0-2017EN" />
        <map value="NL-CM:20.1.2" />
        <comment value="Minimal frequency" />
      </mapping>
      <mapping>
        <identity value="hcim-range-v1.0-2017EN" />
        <map value="NL-CM:20.1.4" />
        <comment value="nominalValue. Nominal frequency: This element can not be used in combination with a minimum and maximum value" />
      </mapping>
    </element>
    <element id="Timing.repeat.frequencyMax">
      <path value="Timing.repeat.frequencyMax" />
      <short value="maximumValue" />
      <definition value="If present, indicates that the frequency is a range - so to repeat between [frequency (min)] and [frequencyMax] times within the period or period range." />
      <alias value="maximumWaarde" />
      <mapping>
        <identity value="hcim-range-v1.0-2017EN" />
        <map value="NL-CM:20.1.3" />
        <comment value="maximumValue" />
      </mapping>
    </element>
    <element id="Timing.repeat.period">
      <path value="Timing.repeat.period" />
      <short value="Interval" />
      <definition value="Interval indicates the time between dose times. If this is included, then the &lt;i&gt;Frequency &lt;/i&gt;will not have been included. &#xD;&#xA; &#xD;&#xA;Examples: every 4 hours, every 3 weeks. &#xD;&#xA;&#xD;&#xA;The times can now be chosen freely, but distribution throughout the day is more precise, and the interval between times is important (e.g. in the case of antibiotics) &#xD;&#xA;In the case of Baxter packs and intramural care, such a prescription is used to draw up a (location-specific) outline for distribution times (logistics)" />
      <comment value="In FHIR, the HCIM concepts Interval and Frequency are represented with the elements Timing.repeat.frequency, Timing.repeat.period and Timing.repeat.periodUnit." />
      <alias value="Interval" />
      <alias value="Frequentie" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19949" />
        <comment value="Frequency. When frequency is used, set &quot;exact&quot; to false" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19950" />
        <comment value="Interval. When interval is used, set &quot;exact&quot; to true" />
      </mapping>
    </element>
    <element id="Timing.repeat.periodUnit">
      <path value="Timing.repeat.periodUnit" />
      <definition value="Interval indicates the time between dose times. If this is included, then the &lt;i&gt;Frequency &lt;/i&gt;will not have been included. &#xD;&#xA; &#xD;&#xA;Examples: every 4 hours, every 3 weeks. &#xD;&#xA;&#xD;&#xA;The times can now be chosen freely, but distribution throughout the day is more precise, and the interval between times is important (e.g. in the case of antibiotics) &#xD;&#xA;In the case of Baxter packs and intramural care, such a prescription is used to draw up a (location-specific) outline for distribution times (logistics)" />
      <comment value="The unit of time for the information given in Timing.repeat.period. In FHIR, the HCIM concepts Interval and Frequency are represented with the elements Timing.repeat.frequency, Timing.repeat.period and Timing.repeat.periodUnit." />
      <alias value="Interval" />
      <alias value="Frequentie" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19949" />
        <comment value="Frequency. When frequency is used, set &quot;exact&quot; to false" />
      </mapping>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19950" />
        <comment value="Interval. When interval is used, set &quot;exact&quot; to true" />
      </mapping>
    </element>
    <element id="Timing.repeat.dayOfWeek">
      <path value="Timing.repeat.dayOfWeek" />
      <short value="WeekDay" />
      <definition value="WeekDay indicates a pattern of doses on fixed week days." />
      <comment value="Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday." />
      <alias value="Weekdagen" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <extension url="http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap">
            <valueReference>
              <reference value="http://nictiz.nl/fhir/ConceptMap/WeekdagCodelijst-to-days-of-week" />
              <display value="WeekdagCodelijst-to-days-of-week" />
            </valueReference>
          </extension>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19952" />
        <comment value="WeekDay.See for details ConceptMap (http://nictiz.nl/fhir/ConceptMap/WeekdagCodelijst-to-days-of-week)" />
      </mapping>
    </element>
    <element id="Timing.repeat.timeOfDay">
      <path value="Timing.repeat.timeOfDay" />
      <short value="AdministrationTime" />
      <comment value="If there's a timeOfDay, there cannot be a when, or vice versa." />
      <alias value="Toedientijd" />
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19951" />
        <comment value="AdministrationTime" />
      </mapping>
    </element>
    <element id="Timing.repeat.when">
      <path value="Timing.repeat.when" />
      <short value="TimeOfDay" />
      <definition value="Time of day: morning, afternoon, evening, night." />
      <alias value="Dagdeel" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <extension url="http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap">
            <valueReference>
              <reference value="http://nictiz.nl/fhir/ConceptMap/DagdeelCodelijst-to-EventTiming" />
              <display value="DagdeelCodelijst-to-EventTiming" />
            </valueReference>
          </extension>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-instructionsforuse-v1.1-2017EN" />
        <map value="NL-CM:9.12.19953" />
        <comment value="TimeOfDay. See for details the ConceptMap (http://nictiz.nl/fhir/ConceptMap/DagdeelCodelijst-to-EventTiming)" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>