PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.17.3
    http://fhir.health.gov.il/StructureDefinition/il-core-bp
description: Israel Core proposed constraints and extensions on the Observation Resource for use in Blood Pressure measurments.
package_name: il.core.fhir.r4
derivation: constraint
name: ILCoreBP
type: Observation
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 85354-9, system: 'http://loinc.org'}
    index: 0
  value:
    choices: [valueCodeableConcept]
    index: 7
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 7
          max: 0
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 5
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 5}
          max: 0
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 8
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 8}
          max: 0
  referenceRange: {index: 9}
  component:
    array: true
    min: 2
    index: 10
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: code.coding.system, type: value}
      - {path: code.coding.code, type: value}
      min: 2
      slices:
        SystolicBP:
          match:
            code:
              coding: {system: null, code: null}
          schema:
            _required: true
            index: 11
            elements:
              code:
                elements:
                  coding:
                    index: 12
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: system, type: value}
                      - {path: code, type: value}
                      min: 1
                      slices:
                        SBPCode:
                          match: {system: 'http://loinc.org', code: 8480-6}
                          schema:
                            _required: true
                            index: 13
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 14
                              code:
                                pattern: {type: Code, value: 8480-6}
                                mustSupport: true
                                index: 15
                            required: [system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 27
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 27
                      max: 0
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 21
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, index: 21}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 22}
                  unit: {mustSupport: true, index: 23}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    mustSupport: true
                    index: 24
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    mustSupport: true
                    index: 25
                required: [value, unit, code]
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 28
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 28}
                      max: 0
        DiastolicBP:
          match:
            code:
              coding: {system: null, code: null}
          schema:
            _required: true
            index: 29
            elements:
              code:
                elements:
                  coding:
                    index: 30
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: system, type: value}
                      - {path: code, type: value}
                      min: 1
                      slices:
                        DBPCode:
                          match: {system: 'http://loinc.org', code: 8462-4}
                          schema:
                            _required: true
                            index: 31
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 32
                              code:
                                pattern: {type: Code, value: 8462-4}
                                mustSupport: true
                                index: 33
                            required: [system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 45
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 45
                      max: 0
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 39
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, index: 39}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 40}
                  unit: {mustSupport: true, index: 41}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    mustSupport: true
                    index: 42
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    mustSupport: true
                    index: 43
                required: [value, unit, code]
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 46
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 46}
                      max: 0
package_version: 0.17.3
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-bp
base: http://fhir.health.gov.il/StructureDefinition/il-core-vital-signs
version: 0.17.0