PackagesCanonicalsLogsProblems
    Packages
    il.core.fhir.r4@0.17.5
    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:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            ilcore:
              match: {system: 'http://loinc.org'}
              schema:
                index: 1
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 2
                  code:
                    pattern: {type: Code, value: 85354-9}
                    index: 3
                  display:
                    pattern: {type: String, value: Blood pressure panel with all children optional}
                    index: 4
                required: [system]
  value:
    choices: [valueCodeableConcept]
    index: 11
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 11
          max: 0
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 9
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 9}
          max: 0
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 12
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 12}
          max: 0
  referenceRange: {index: 13}
  component:
    array: true
    min: 2
    index: 14
    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: 15
            elements:
              code:
                elements:
                  coding:
                    index: 16
                    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: 17
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 18
                              code:
                                pattern: {type: Code, value: 8480-6}
                                mustSupport: true
                                index: 19
                            required: [system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 31
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 31
                      max: 0
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 25
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, index: 25}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 26}
                  unit: {mustSupport: true, index: 27}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    mustSupport: true
                    index: 28
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    mustSupport: true
                    index: 29
                required: [value, unit, code]
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 32
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 32}
                      max: 0
        DiastolicBP:
          match:
            code:
              coding: {system: null, code: null}
          schema:
            _required: true
            index: 33
            elements:
              code:
                elements:
                  coding:
                    index: 34
                    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: 35
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://loinc.org'}
                                mustSupport: true
                                index: 36
                              code:
                                pattern: {type: Code, value: 8462-4}
                                mustSupport: true
                                index: 37
                            required: [system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 49
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 49
                      max: 0
              valueQuantity:
                type: Quantity
                choiceOf: value
                index: 43
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema: {type: Quantity, choiceOf: value, index: 43}
              value[x]:
                elements:
                  value: {mustSupport: true, index: 44}
                  unit: {mustSupport: true, index: 45}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    mustSupport: true
                    index: 46
                  code:
                    pattern: {type: Code, value: 'mm[Hg]'}
                    mustSupport: true
                    index: 47
                required: [value, unit, code]
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 50
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 50}
                      max: 0
package_version: 0.17.5
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