<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="zib-PulseRate" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/zib-PulseRate" />
  <version value="1.1.4" />
  <name value="Zib PulseRate" />
  <title value="HCIM PulseRate" />
  <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 derived from the HL7 Vital Signs profile for pulse rate in order to add mappings from the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) PulseRate, version 3.1 and to provide extensions for missing concepts." />
  <purpose value="The pulse rate is expressed in the number of tangible pulsations of an artery per minute, usually the a. radialis, a. carotis or a. femoralis." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="hcim-pulserate-v3.1-2017EN" />
    <uri value="https://zibs.nl/wiki/PulseRate-v3.1(2017EN)" />
    <name value="HCIM PulseRate-v3.1(2017EN)" />
    <comment value="Known issue: due to missing terminology, there's no component mapping for NL-CM:12.7.5 (https://bits.nictiz.nl/projects/ZIB/issues/ZIB-689)" />
  </mapping>
  <mapping>
    <identity value="hcim-basicelements-v1.0-2017EN" />
    <uri value="https://zibs.nl/wiki/BasicElements-v1.0(2017EN)" />
    <name value="HCIM BasicElements-v1.0(2017EN)" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-VitalSigns" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="PulseRate" />
      <definition value="This profile defines how to represent Pulse Rate observations in FHIR using a standard LOINC code and UCUM units of measure.&#xD;&#xA;The element contains the value of the pulse rate measured. The pulse rate is expressed in the number of tangible pulsations of an artery per minute, usually the a. radialis, a. carotis or a. femoralis." />
      <alias value="Polsfrequentie" />
      <mapping>
        <identity value="hcim-pulserate-v3.1-2017EN" />
        <map value="NL-CM:12.7.1" />
        <comment value="PulseRate" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="PulseRate" />
      <definition value="The element contains the value of the pulse rate measured. The pulse rate is expressed in the number of tangible pulsations of an artery per minute, usually the a. radialis, a. carotis or a. femoralis." />
      <comment value="Additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system." />
      <alias value="Polsfrequentie" />
    </element>
    <element id="Observation.code.coding">
      <path value="Observation.code.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.code.coding:PulseRate">
      <path value="Observation.code.coding" />
      <sliceName value="PulseRate" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.code.coding:PulseRate.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="Observation.code.coding:PulseRate.code">
      <path value="Observation.code.coding.code" />
      <min value="1" />
      <fixedCode value="8893-0" />
    </element>
    <element id="Observation.code.coding:PulseRate.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Observation.code.coding.display" />
      <defaultValueString value="Heart rate Peripheral artery by Palpation" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="Patient" />
      <alias value="Patiënt" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <short value="PulseRateDateTime" />
      <definition value="Date and time of the pulse frequency measurement." />
      <alias value="PolsfrequentieDatumTijd" />
      <mapping>
        <identity value="hcim-pulserate-v3.1-2017EN" />
        <map value="NL-CM:12.7.3" />
        <comment value="PulseRateDateTime" />
      </mapping>
    </element>
    <element id="Observation.valueQuantity:valueQuantity">
      <path value="Observation.valueQuantity" />
      <sliceName value="valueQuantity" />
      <short value="PulseRateValue" />
      <definition value="The pulse frequency measured as the number of tangible pulsations of an artery per minute." />
      <alias value="PolsfrequentieWaarde" />
      <min value="1" />
      <mapping>
        <identity value="hcim-pulserate-v3.1-2017EN" />
        <map value="NL-CM:12.7.2" />
        <comment value="PulseRateValue" />
      </mapping>
    </element>
    <element id="Observation.comment">
      <path value="Observation.comment" />
      <short value="Explanation" />
      <definition value="Explanation of any problems or factors that may influence the measurement. Further explanation can be provided here as well." />
      <alias value="Toelichting" />
      <mapping>
        <identity value="hcim-pulserate-v3.1-2017EN" />
        <map value="NL-CM:12.7.4" />
        <comment value="Comment" />
      </mapping>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code.coding.code" />
        </discriminator>
        <discriminator>
          <type value="value" />
          <path value="code.coding.system" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Observation.component:PulseRegularity">
      <path value="Observation.component" />
      <sliceName value="PulseRegularity" />
      <short value="PulseRegularity" />
      <max value="1" />
    </element>
    <element id="Observation.component:PulseRegularity.code">
      <path value="Observation.component.code" />
      <comment value="Additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system." />
      <alias value="Component Test" />
      <alias value="Component Name" />
    </element>
    <element id="Observation.component:PulseRegularity.code.coding">
      <path value="Observation.component.code.coding" />
      <min value="1" />
    </element>
    <element id="Observation.component:PulseRegularity.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <fixedUri value="http://loinc.org" />
    </element>
    <element id="Observation.component:PulseRegularity.code.coding.code">
      <path value="Observation.component.code.coding.code" />
      <definition value="Heart rate rhythm palpation" />
      <fixedCode value="44969-4" />
    </element>
    <element id="Observation.component:PulseRegularity.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="PulseRegularity" />
      <definition value="Regular or irregular rhythm." />
      <alias value="PolsRegelmatigheid" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <description value="PolsRegelmatigheidCodelijst" />
        <valueSetReference>
          <reference value="http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.12.7.1--20171231000000" />
          <display value="PolsRegelmatigheidCodelijst" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="hcim-pulserate-v3.1-2017EN" />
        <map value="NL-CM:12.7.5" />
        <comment value="PulseRegularity. See also issue that fixes the missing terminology association: https://bits.nictiz.nl/projects/ZIB/issues/ZIB-689" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>