{
  "resourceType": "StructureDefinition",
  "id": "il-core-claim-response",
  "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-claim-response",
  "version": "0.21.0",
  "name": "ILCoreClaimResponse",
  "title": "ILCore ClaimResponse 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 ClaimResponse Resource",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ClaimResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ClaimResponse",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ClaimResponse",
        "path": "ClaimResponse",
        "short": "ILCore ClaimResponse Profile",
        "definition": "Israel Core proposed constraints and extensions on the ClaimResponse resource profile."
      },
      {
        "id": "ClaimResponse.identifier",
        "path": "ClaimResponse.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-identifier"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.patient",
        "path": "ClaimResponse.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-patient"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.insurer",
        "path": "ClaimResponse.insurer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-organization"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.requestor",
        "path": "ClaimResponse.requestor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner",
              "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role",
              "http://fhir.health.gov.il/StructureDefinition/il-core-organization"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.addItem.provider",
        "path": "ClaimResponse.addItem.provider",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner",
              "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role",
              "http://fhir.health.gov.il/StructureDefinition/il-core-organization"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.addItem.location[x]",
        "path": "ClaimResponse.addItem.location[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "ClaimResponse.addItem.location[x]:locationReference",
        "path": "ClaimResponse.addItem.location[x]",
        "sliceName": "locationReference",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-location"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.communicationRequest",
        "path": "ClaimResponse.communicationRequest",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-communication-request"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.insurance.coverage",
        "path": "ClaimResponse.insurance.coverage",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-coverage"
            ]
          }
        ]
      },
      {
        "id": "ClaimResponse.insurance.claimResponse",
        "path": "ClaimResponse.insurance.claimResponse",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.health.gov.il/StructureDefinition/il-core-claim-response"
            ]
          }
        ]
      }
    ]
  }
}