{
  "resourceType": "StructureDefinition",
  "id": "il-core-coverage",
  "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-coverage",
  "version": "0.21.0",
  "name": "ILCoreCoverage",
  "title": "ILCore Coverage 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 Coverage Resource",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coverage",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage",
        "path": "Coverage",
        "short": "ILCore Coverage Profile",
        "definition": "Israel Core proposed constraints and extensions on the Coverage resource profile."
      },
      {
        "id": "Coverage.identifier",
        "path": "Coverage.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-identifier"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "binding": {
          "strength": "preferred",
          "valueSet": "http://fhir.health.gov.il/ValueSet/il-core-coverage-type"
        }
      },
      {
        "id": "Coverage.policyHolder",
        "path": "Coverage.policyHolder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
              "http://fhir.health.gov.il/StructureDefinition/il-core-related-person",
              "http://fhir.health.gov.il/StructureDefinition/il-core-organization"
            ]
          }
        ]
      },
      {
        "id": "Coverage.subscriber",
        "path": "Coverage.subscriber",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
              "http://fhir.health.gov.il/StructureDefinition/il-core-related-person"
            ]
          }
        ]
      },
      {
        "id": "Coverage.beneficiary",
        "path": "Coverage.beneficiary",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient"
            ]
          }
        ]
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient",
              "http://fhir.health.gov.il/StructureDefinition/il-core-related-person",
              "http://fhir.health.gov.il/StructureDefinition/il-core-organization"
            ]
          }
        ]
      },
      {
        "id": "Coverage.class",
        "path": "Coverage.class",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "type"
            }
          ],
          "rules": "open",
          "ordered": false,
          "description": "הסדרת סלייס לטובת ביטוי של פוליסת ביטוח ספציפית, לדוגמה \"כללית פלטינום\" או \"הפניקס חברה לביטוח - קו ראשון\""
        }
      },
      {
        "id": "Coverage.class.type",
        "path": "Coverage.class.type",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://fhir.health.gov.il/ValueSet/il-core-coverage-class"
        }
      },
      {
        "id": "Coverage.class:insurance-policy",
        "path": "Coverage.class",
        "sliceName": "insurance-policy",
        "definition": "סלייס לטובת ביטוי של פוליסת ביטוח ספציפית, לדוגמה: 'כללית פלטינום' או 'הפניקס חברה לביטוח - קו ראשון'",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Coverage.class:insurance-policy.type.coding.system",
        "path": "Coverage.class.type.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/coverage-class"
      },
      {
        "id": "Coverage.class:insurance-policy.type.coding.code",
        "path": "Coverage.class.type.coding.code",
        "min": 1,
        "fixedCode": "plan"
      },
      {
        "id": "Coverage.class:insurance-policy.value",
        "path": "Coverage.class.value",
        "definition": "מזהה עבור הפוליסה. אלמנט זה יוסב בגרסה 5 ל identifier"
      },
      {
        "id": "Coverage.class:insurance-policy.name",
        "path": "Coverage.class.name",
        "definition": "שם הפוליסה"
      }
    ]
  }
}