<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="BloodPressureObservation" />
  <url value="http://hl7.org/fhir/us/bser/StructureDefinition/BloodPressureObservation" />
  <name value="BSeR Blood Pressure Observation" />
  <status value="draft" />
  <publisher value="Hi3 Solutions" />
  <contact>
    <name value="AbdulMalik Shakir" />
    <telecom>
      <system value="phone" />
      <value value="6266444491" />
      <use value="work" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="abdulmalik.shakir@hi3solutions.com" />
      <use value="work" />
    </telecom>
  </contact>
  <kind value="resource" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Observation" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
    </element>
    <element id="Observation.id">
      <path value="Observation.id" />
      <short value="id" />
      <definition value="MAY contain zero or one [0..1] id (CONF:4383-866)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.meta">
      <path value="Observation.meta" />
      <short value="meta" />
      <definition value="MAY contain zero or one [0..1] meta (CONF:4383-865)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.meta.profile">
      <path value="Observation.meta.profile" />
      <short value="profile" />
      <definition value="The meta, if present, SHALL contain exactly one [1..1] profile=&quot;http://hl7.org/fhir/us/bser/StructureDefinition/BloodPressureObservation&quot; (CONF:4383-867)." />
      <min value="1" />
      <max value="1" />
      <patternString value="http://hl7.org/fhir/us/bser/StructureDefinition/BloodPressureObservation" />
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="status" />
      <definition value="SHALL contain exactly one [1..1] status=&quot;&quot;Final&quot;&quot; (CONF:4383-275)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedString value="&quot;Final&quot;" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <short value="category" />
      <definition value="SHALL contain exactly one [1..1] category=&quot;&quot;vital-signs&quot;&quot; (CONF:4383-276)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;vital-signs&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="code" />
      <definition value="SHALL contain exactly one [1..1] code=&quot;&quot;85354-9&quot;&quot; (CONF:4383-277)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;85354-9&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="subject" />
      <definition value="SHALL contain exactly one [1..1] =&quot;BSeR Patient&quot;BSeR Patient (identifier: http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole) (CONF:4383-637)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole" />
      </type>
      <patternString value="BSeR Patient" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="effective[x]" />
      <definition value="SHALL contain exactly one [1..1] effective[x], where effective[x] is (CONF:4383-270)" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.effective[x]:effectiveDateTime">
      <path value="Observation.effectiveDateTime" />
      <sliceName value="effectiveDateTime" />
      <short value="effectiveDateTime" />
      <definition value="effectiveDateTime (CONF:4383-278)" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="SHOULD contain zero or one [0..1] component (CONF:4383-563) such that it" />
    </element>
    <element id="Observation.component:component1">
      <path value="Observation.component" />
      <sliceName value="component1" />
      <short value="component" />
      <definition value="SHALL contain exactly one [1..1] component (CONF:4383-559) such that it" />
      <comment value="Systolic" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:component1.code">
      <path value="Observation.component.code" />
      <sliceName value="component1" />
      <short value="code" />
      <definition value="SHALL contain exactly one [1..1] code=&quot;&quot;8480-6&quot;&quot; (CONF:4383-561)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;8480-6&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.component:component1.value[x]">
      <path value="Observation.component.value[x]" />
      <sliceName value="component1" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="value[x]" />
      <definition value="SHALL contain exactly one [1..1] value[x], where value[x] is (CONF:4383-560)" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:component1.value[x]:valueQuantity">
      <path value="Observation.component.valueQuantity" />
      <sliceName value="valueQuantity" />
      <short value="valueQuantity" />
      <definition value="SHALL contain exactly one [1..1] valueQuantity (CONF:4383-562)." />
    </element>
    <element id="Observation.component:component1.value[x]:valueQuantity.value">
      <path value="Observation.component.valueQuantity.value" />
      <sliceName value="valueQuantity" />
      <short value="value" />
      <definition value="SHALL contain exactly one [1..1] value (CONF:4383-568)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:component1.value[x]:valueQuantity.unit">
      <path value="Observation.component.valueQuantity.unit" />
      <sliceName value="valueQuantity" />
      <short value="unit" />
      <definition value="SHALL contain exactly one [1..1] unit=&quot;&quot;mm[Hg]&quot;&quot; (CONF:4383-569)." />
      <min value="1" />
      <max value="1" />
      <patternString value="&quot;mm[Hg]&quot;" />
    </element>
    <element id="Observation.component:component1.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <sliceName value="component1" />
      <short value="dataAbsentReason" />
      <definition value="MAY contain zero or one [0..1] dataAbsentReason, which SHALL be selected from ValueSet Observation-valueabsentreason http://hl7.org/fhir/ValueSet/observation-valueabsentreason DYNAMIC (CONF:4383-571)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/observation-valueabsentreason" />
          <display value="Observation-valueabsentreason" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Observation.component:component2">
      <path value="Observation.component" />
      <sliceName value="component2" />
      <short value="component" />
      <definition value="SHOULD contain zero or one [0..1] component (CONF:4383-563) such that it" />
      <comment value="Diastolic" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Observation.component:component2.code">
      <path value="Observation.component.code" />
      <sliceName value="component2" />
      <short value="code" />
      <definition value="SHALL contain exactly one [1..1] code=&quot;&quot;8462-4&quot;&quot;   (CONF:4383-566)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <fixedCodeableConcept>
        <coding>
          <code value="&quot;8462-4&quot;" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.component:component2.value[x]">
      <path value="Observation.component.value[x]" />
      <sliceName value="component2" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="value[x]" />
      <definition value="SHALL contain exactly one [1..1] value[x], where value[x] is (CONF:4383-564)" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:component2.value[x]:valueQuantity">
      <path value="Observation.component.valueQuantity" />
      <sliceName value="valueQuantity" />
      <short value="valueQuantity" />
      <definition value="SHALL contain exactly one [1..1] valueQuantity (CONF:4383-565)." />
    </element>
    <element id="Observation.component:component2.value[x]:valueQuantity.value">
      <path value="Observation.component.valueQuantity.value" />
      <sliceName value="valueQuantity" />
      <short value="value" />
      <definition value="SHALL contain exactly one [1..1] value (CONF:4383-570)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:component2.value[x]:valueQuantity.unit">
      <path value="Observation.component.valueQuantity.unit" />
      <sliceName value="valueQuantity" />
      <short value="unit" />
      <definition value="SHALL contain exactly one [1..1] unit=&quot;&quot;mm[Hg]&quot;&quot; (CONF:4383-567)." />
      <min value="1" />
      <max value="1" />
      <fixedString value="&quot;mm[Hg]&quot;" />
    </element>
    <element id="Observation.component:component2.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <sliceName value="component2" />
      <short value="dataAbsentReason" />
      <definition value="MAY contain zero or one [0..1] dataAbsentReason, which SHALL be selected from ValueSet Observation-valueabsentreason http://hl7.org/fhir/ValueSet/observation-valueabsentreason DYNAMIC (CONF:4383-572)." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/observation-valueabsentreason" />
          <display value="Observation-valueabsentreason" />
        </valueSetReference>
      </binding>
    </element>
  </differential>
</StructureDefinition>