PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.21.0-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns-BloodPressure
description: Defines the additional constraints and extensions on the UK Core Observation Vital Signs profile, for the recording of blood pressure observations
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreObservationVitalSignsBloodPressure
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          slices:
            loinc:
              match: {}
              schema:
                index: 0
                elements:
                  code:
                    pattern: {type: code, value: 85354-9}
                    type: code
                    index: 1
            snomedCT:
              match: {}
              schema:
                binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure'}
                index: 2
  value:
    choices: []
    index: 4
  method:
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-MeasurementMethod'}
    index: 5
  specimen: {index: 6}
  device:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/DeviceMetric', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device-BloodPressure']
    index: 7
  component:
    array: true
    min: 1
    max: 2
    index: 8
    elements:
      code:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ObservationVitalSignsType'}
        index: 9
        elements:
          coding:
            index: 10
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                loinc:
                  match: {system: 'http://loinc.org'}
                  schema:
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/observation-vitalsignresult'}
                    _required: true
                    index: 11
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://loinc.org'}
                        type: uri
                        index: 12
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-ObservationVitalSignsType'}
                    _required: true
                    index: 13
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 14
    slicing:
      rules: closed
      discriminator:
      - {path: code.text, type: value}
      min: 1
      max: 2
      slices:
        SystolicBP:
          match:
            code: {text: Systolic blood pressure}
          schema:
            _required: true
            index: 15
            elements:
              code:
                elements:
                  coding:
                    index: 16
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        loinc:
                          match: {system: null}
                          schema:
                            _required: true
                            index: 17
                            elements:
                              code:
                                pattern: {type: code, value: 8480-6}
                                type: code
                                index: 18
                              display:
                                pattern: {type: string, value: Systolic blood pressure}
                                type: string
                                index: 19
                        snomedCT:
                          match: {system: null}
                          schema:
                            binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-Systolic'}
                            _required: true
                            index: 20
                          min: 1
                  text:
                    pattern: {type: string, value: Systolic blood pressure}
                    type: string
                    index: 21
              value:
                choices: [valueQuantity]
                index: 23
              valueQuantity: {type: Quantity, choiceOf: value, index: 24}
              value[x]:
                elements:
                  unit:
                    pattern: {type: string, value: millimeter of mercury}
                    type: string
                    index: 25
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 26
                  code:
                    pattern: {type: code, value: 'mm[Hg]'}
                    type: code
                    index: 27
            required: [value, valueQuantity]
        DiastolicBP:
          match:
            code: {text: Diastolic blood pressure}
          schema:
            index: 28
            elements:
              code:
                elements:
                  coding:
                    index: 29
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        loinc:
                          match: {system: null}
                          schema:
                            _required: true
                            index: 30
                            elements:
                              code:
                                pattern: {type: code, value: 8462-4}
                                type: code
                                index: 31
                              display:
                                pattern: {type: string, value: Diastolic blood pressure}
                                type: string
                                index: 32
                        snomedCT:
                          match: {system: null}
                          schema:
                            binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-BloodPressure-Diastolic'}
                            _required: true
                            index: 33
                          min: 1
                  text:
                    pattern: {type: string, value: Diastolic blood pressure}
                    type: string
                    index: 34
              value:
                choices: [valueQuantity]
                index: 36
              valueQuantity: {type: Quantity, choiceOf: value, index: 37}
              value[x]:
                elements:
                  unit:
                    pattern: {type: string, value: millimeter of mercury}
                    type: string
                    index: 38
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 39
                  code:
                    pattern: {type: code, value: 'mm[Hg]'}
                    type: code
                    index: 40
            required: [value, valueQuantity]
package_version: 0.21.0-pre-release
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns-BloodPressure
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns
version: 1.0.0
required: [component]