<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NursingEncounter" />
  <url value="http://openehr.org/StructureDefinition/NursingEncounter" />
  <version value="0.1.0" />
  <name value="NursingEncounter" />
  <title value="Nursing encounter" />
  <status value="active" />
  <description value="`[openEHR-EHR-COMPOSITION.encounter.v1]`&#xA;                             Interaction, contact or care event between a subject of care and healthcare provider(s).)" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://openehr.org/StructureDefinition/NursingEncounter" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="NursingEncounter">
      <path value="NursingEncounter" />
      <short value="Nursing encounter" />
      <definition value="`[openEHR-EHR-COMPOSITION.encounter.v1]`&#xA;                             Interaction, contact or care event between a subject of care and healthcare provider(s).)" />
    </element>
    <element id="NursingEncounter.category">
      <path value="NursingEncounter.category" />
      <short value="category" />
      <definition value="`[RM]`&#xA;                             Temporal category of this Composition, persistent / episodic or event.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/Category" />
      </binding>
    </element>
    <element id="NursingEncounter.composer">
      <path value="NursingEncounter.composer" />
      <short value="composer" />
      <definition value="`[RM]`&#xA;                             The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of `PARTY_SELF` will be used.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NursingEncounter.context">
      <path value="NursingEncounter.context" />
      <short value="context" />
      <definition value="`[RM]`&#xA;                             `COMPOSITION.context` - Documents the context information of a healthcare event involving the subject of care and the health system. The context information recorded here are independent of the attributes recorded in the version audit, which document the system interaction context, i.e. the context of a user interacting with the health record system. Healthcare events include patient contacts, and any other business activity, such as pathology investigations which take place on behalf of the patient.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NursingEncounter.context.startTime">
      <path value="NursingEncounter.context.startTime" />
      <short value="start_time" />
      <definition value="`[RM]`&#xA;                             COMPOSITION.context.start_time - Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="NursingEncounter.context.setting">
      <path value="NursingEncounter.context.setting" />
      <short value="setting" />
      <definition value="`[RM]`&#xA;                             The setting in which the clinical session took place. Coded using the openEHR Terminology, setting group.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://example.org/ValueSet/Setting" />
      </binding>
    </element>
    <element id="NursingEncounter.BloodPressure">
      <path value="NursingEncounter.BloodPressure" />
      <short value="Blood pressure" />
      <definition value="`[openEHR-EHR-OBSERVATION.blood_pressure.v2]`&#xA;                             The local measurement of arterial blood pressure which is a surrogate for arterial pressure in the systemic circulation.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NursingEncounter.BloodPressure.anyEvent">
      <path value="NursingEncounter.BloodPressure.anyEvent" />
      <short value="Any event" />
      <definition value="`[at0006]`&#xA;                             Default, unspecified point in time or interval event which may be explicitly defined in a template or at run-time.)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NursingEncounter.BloodPressure.anyEvent.systolic">
      <path value="NursingEncounter.BloodPressure.anyEvent.systolic" />
      <short value="Systolic" />
      <definition value="`[at0004  | mm[Hg]]`&#xA;                             Peak systemic arterial blood pressure  - measured in systolic or contraction phase of the heart cycle.)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="NursingEncounter.BloodPressure.anyEvent.time">
      <path value="NursingEncounter.BloodPressure.anyEvent.time" />
      <short value="Time" />
      <definition value="`[RM]`&#xA;                             `OBSERVATION.EVENT.time` - Time of this Observation event. If the width is non-zero, it is the time point of the trailing edge of the event.)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
  </differential>
</StructureDefinition>