PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-bloodpressure
description: Finnish PHR profile for blood pressure measurement
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDBloodpressure
type: Observation
elements:
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-bloodpressure'}
        index: 0
  code:
    elements:
      coding:
        index: 1
        elements:
          code:
            short: Code of Blood pressure panel with all children optional in Loinc
            pattern: {type: Code, value: 85354-9}
            index: 2
  value:
    choices: []
    index: 4
  dataAbsentReason: {index: 5}
  component:
    array: true
    min: 2
    max: 2
    index: 6
    slicing:
      rules: closed
      discriminator:
      - {path: code.coding.code, type: value}
      min: 2
      max: 2
      slices:
        systolic:
          match:
            code:
              coding: {code: 8480-6}
          schema:
            _required: true
            index: 7
            elements:
              code:
                index: 8
                elements:
                  coding:
                    elements:
                      code:
                        pattern: {type: Code, value: 8480-6}
                        index: 9
              value:
                choices: [valueQuantity]
                index: 11
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 11
                      min: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 12
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 12}
                      min: 1
              value[x]:
                elements:
                  value: {short: Numerical value (with implicit precision) for systolic, index: 13}
                  comparator: {index: 14}
                  unit:
                    short: Unit representation for systolic
                    pattern: {type: String, value: 'mm[Hg]'}
                    index: 15
                  system:
                    short: System that defines coded unit form for systolic
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    index: 16
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    index: 17
                required: [value, unit, system, code]
            required: [value, valueQuantity]
        diastolic:
          match:
            code:
              coding: {code: 8462-4}
          schema:
            _required: true
            index: 18
            elements:
              code:
                index: 19
                elements:
                  coding:
                    elements:
                      code:
                        pattern: {type: Code, value: 8462-4}
                        index: 20
              value:
                choices: [valueQuantity]
                index: 22
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        choices: [valueQuantity]
                        _required: true
                        index: 22
                      min: 1
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 23
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, _required: true, index: 23}
                      min: 1
              value[x]:
                elements:
                  value: {short: Numerical value (with implicit precision)  for diastolic, index: 24}
                  comparator: {index: 25}
                  unit:
                    short: Unit representation for diastolic
                    pattern: {type: String, value: 'mm[Hg]'}
                    index: 26
                  system:
                    short: System that defines coded unit form  for diastolic
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    index: 27
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    index: 28
                required: [value, unit, system, code]
            required: [value, valueQuantity]
package_version: 3.0.0
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-bloodpressure
base: http://phr.kanta.fi/StructureDefinition/fiphr-sd-vitalsigns
version: '0.1'