{
  "resourceType": "StructureDefinition",
  "id": "il-core-bp",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "draft"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0
    }
  ],
  "url": "http://fhir.health.gov.il/StructureDefinition/il-core-bp",
  "version": "0.21.0",
  "name": "ILCoreBP",
  "title": "ILCore Blood Pressure Profile",
  "status": "active",
  "date": "2026-03-23",
  "publisher": "Israel Core Team",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "tal.primak@moh.gov.il"
        }
      ]
    }
  ],
  "description": "Israel Core proposed constraints and extensions on the Observation Resource for use in Blood Pressure measurements.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://fhir.health.gov.il/StructureDefinition/il-core-vital-signs",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "ILCore Blood Pressure Profile"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "Code specifying blood pressure measurement type",
        "min": 1
      },
      {
        "id": "Observation.code.coding:ilcore",
        "path": "Observation.code.coding",
        "sliceName": "ilcore",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding:ilcore.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:ilcore.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "85354-9"
      },
      {
        "id": "Observation.code.coding:ilcore.display",
        "path": "Observation.code.coding.display",
        "fixedString": "Blood pressure panel with all children optional"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "comment": "Should be filled in the 'component' elements",
        "max": "0"
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "max": "0",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.value[x]",
        "sliceName": "valueCodeableConcept",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueString",
        "path": "Observation.value[x]",
        "sliceName": "valueString",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "comment": "Should be filled in the 'component' elements",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.system"
            },
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "open",
          "ordered": false
        },
        "min": 2
      },
      {
        "id": "Observation.component:SystolicBP",
        "path": "Observation.component",
        "sliceName": "SystolicBP",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:SystolicBP.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open",
          "ordered": false
        },
        "min": 1
      },
      {
        "id": "Observation.component:SystolicBP.code.coding:SBPCode",
        "path": "Observation.component.code.coding",
        "sliceName": "SBPCode",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:SystolicBP.code.coding:SBPCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.code.coding:SBPCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8480-6",
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueQuantity",
        "path": "Observation.component.value[x]",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueQuantity.value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueQuantity.unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueQuantity.system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueQuantity.code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mm[Hg]",
        "mustSupport": true
      },
      {
        "id": "Observation.component:SystolicBP.value[x]:valueCodeableConcept",
        "path": "Observation.component.value[x]",
        "sliceName": "valueCodeableConcept",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.component:DiastolicBP",
        "path": "Observation.component",
        "sliceName": "DiastolicBP",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:DiastolicBP.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open",
          "ordered": false
        },
        "min": 1
      },
      {
        "id": "Observation.component:DiastolicBP.code.coding:DBPCode",
        "path": "Observation.component.code.coding",
        "sliceName": "DBPCode",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:DiastolicBP.code.coding:DBPCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.code.coding:DBPCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8462-4",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueQuantity",
        "path": "Observation.component.value[x]",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueQuantity.value",
        "path": "Observation.component.value[x].value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueQuantity.unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueQuantity.system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueQuantity.code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mm[Hg]",
        "mustSupport": true
      },
      {
        "id": "Observation.component:DiastolicBP.value[x]:valueCodeableConcept",
        "path": "Observation.component.value[x]",
        "sliceName": "valueCodeableConcept",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      }
    ]
  }
}