PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r6.core@6.0.0-ballot3
    http://hl7.org/fhir/StructureDefinition/bp
description: FHIR Blood Pressure Profile
package_name: hl7.fhir.r6.core
derivation: constraint
name: Observationbp
type: Observation
elements:
  category:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        BPCode:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: 85354-9, system: 'http://loinc.org'}
            _required: true
            index: 1
          min: 1
          max: 1
  code:
    short: Blood Pressure
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-vitalsign-bppanel'}
    index: 2
  value:
    choices: []
    index: 4
  component:
    short: Used when reporting systolic and diastolic blood pressure.
    mustSupport: true
    array: true
    min: 2
    index: 5
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: extension.url, type: value}
      - {path: extension.value, type: pattern}
      min: 2
      slices:
        SystolicBP:
          match:
            extension: {url: null, value: null}
          schema:
            constraint:
              vsp-3-sbp: {human: If the systolic BP component exists and there is no component value a component data absent reason must be present., source: 'http://hl7.org/fhir/StructureDefinition/bp', severity: error, expression: component.value.exists() or component.dataAbsentReason.exists()}
            mustSupport: true
            _required: true
            index: 6
            extensions:
              SBPCode:
                url: http://hl7.org/fhir/StructureDefinition/observation-componentCategory
                type: Extension
                index: 8
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: 8480-6, system: 'http://loinc.org'}
                    choices: []
                    index: 10
                required: [value]
            elements:
              extension:
                index: 7
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  - {path: value, type: pattern}
                  min: 1
                  slices:
                    SBPCode:
                      match:
                        url: null
                        value:
                          coding:
                          - {code: 8480-6, system: 'http://loinc.org'}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/observation-componentCategory
                        index: 8
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: 8480-6, system: 'http://loinc.org'}
                            choices: []
                            index: 10
                        required: [value]
              code:
                short: Systolic Blood Pressure
                binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-vitalsign-systolicbp'}
                index: 11
              value:
                short: Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]
                mustSupport: true
                choices: [valueQuantity]
                index: 16
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 16
              valueQuantity:
                short: Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]
                type: Quantity
                mustSupport: true
                choiceOf: value
                index: 17
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {short: 'Vital Sign Systolic BP Component Value recorded with UCUM mm[Hg]', type: Quantity, mustSupport: true, choiceOf: value, index: 17}
              dataAbsentReason: {mustSupport: true, index: 18}
            required: [extension, code]
        DiastolicBP:
          match:
            extension: {url: null, value: null}
          schema:
            constraint:
              vsp-3-dbp: {human: If the diastolic BP component exists and there is no component value a component data absent reason must be present., source: 'http://hl7.org/fhir/StructureDefinition/vitalsigns', severity: error, expression: component.value.exists() or component.dataAbsentReason.exists()}
            mustSupport: true
            _required: true
            index: 19
            extensions:
              DBPCode:
                url: http://hl7.org/fhir/StructureDefinition/observation-componentCategory
                type: Extension
                index: 21
                elements:
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: 8462-4, system: 'http://loinc.org'}
                    choices: []
                    index: 23
                required: [value]
            elements:
              extension:
                index: 20
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  - {path: value, type: pattern}
                  min: 1
                  slices:
                    DBPCode:
                      match:
                        url: null
                        value:
                          coding:
                          - {code: 8462-4, system: 'http://loinc.org'}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/observation-componentCategory
                        index: 21
                        elements:
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: 8462-4, system: 'http://loinc.org'}
                            choices: []
                            index: 23
                        required: [value]
              code:
                short: Diastolic Blood Pressure
                binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-vitalsign-diastolicbp'}
                index: 24
              value:
                short: Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]
                mustSupport: true
                choices: [valueQuantity]
                index: 29
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        short: Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]
                        mustSupport: true
                        choices: [valueQuantity]
                        index: 29
              valueQuantity:
                short: Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]
                type: Quantity
                mustSupport: true
                choiceOf: value
                index: 30
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {short: 'Vital Sign DiastolicBP BP Component Value recorded with UCUM mm[Hg]', type: Quantity, mustSupport: true, choiceOf: value, index: 30}
              dataAbsentReason: {mustSupport: true, index: 31}
            required: [extension, code]
package_version: 6.0.0-ballot3
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/bp
base: http://hl7.org/fhir/StructureDefinition/vitalsigns
version: 6.0.0-ballot3