<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="UKCore-Observation-VitalSigns-BloodPressure" />
  <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns-BloodPressure" />
  <version value="0.1.1" />
  <name value="UKCoreObservationVitalSignsBloodPressure" />
  <title value="UK Core Observation Vital Signs Blood Pressure" />
  <status value="draft" />
  <date value="2025-11-06" />
  <publisher value="HL7 UK" />
  <contact>
    <name value="HL7 UK" />
    <telecom>
      <system value="email" />
      <value value="ukcore@hl7.org.uk" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="Defines the additional constraints and extensions on the UK Core Observation Vital Signs profile, for the recording of blood pressure observations" />
  <purpose value="To provide implementers with additional support when implementing blood pressure monitoring and to provide a consistent structure to how the data is presented." />
  <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.code">
      <path value="Observation.code" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure" />
      </binding>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <max value="0" />
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-MeasurementMethod" />
      </binding>
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <max value="0" />
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric" />
        <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device-BloodPressure" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code.text" />
        </discriminator>
        <rules value="closed" />
      </slicing>
      <min value="1" />
      <max value="2" />
    </element>
    <element id="Observation.component:SystolicBP">
      <path value="Observation.component" />
      <sliceName value="SystolicBP" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Observation.component:SystolicBP.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-Systolic" />
      </binding>
    </element>
    <element id="Observation.component:SystolicBP.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.component:SystolicBP.value[x].unit">
      <path value="Observation.component.value[x].unit" />
      <fixedString value="millimeter of mercury" />
    </element>
    <element id="Observation.component:SystolicBP.value[x].system">
      <path value="Observation.component.value[x].system" />
      <fixedUri value="http://unitsofmeasure.org" />
    </element>
    <element id="Observation.component:SystolicBP.value[x].code">
      <path value="Observation.component.value[x].code" />
      <fixedCode value="mm[Hg]" />
    </element>
    <element id="Observation.component:DiastolicBP">
      <path value="Observation.component" />
      <sliceName value="DiastolicBP" />
      <max value="1" />
    </element>
    <element id="Observation.component:DiastolicBP.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-Diastolic" />
      </binding>
    </element>
    <element id="Observation.component:DiastolicBP.value[x]">
      <path value="Observation.component.value[x]" />
      <min value="1" />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Observation.component:DiastolicBP.value[x].unit">
      <path value="Observation.component.value[x].unit" />
      <fixedString value="millimeter of mercury" />
    </element>
    <element id="Observation.component:DiastolicBP.value[x].system">
      <path value="Observation.component.value[x].system" />
      <fixedUri value="http://unitsofmeasure.org" />
    </element>
    <element id="Observation.component:DiastolicBP.value[x].code">
      <path value="Observation.component.value[x].code" />
      <fixedCode value="mm[Hg]" />
    </element>
  </differential>
</StructureDefinition>