{
  "resourceType": "StructureDefinition",
  "id": "ie-core-coverage",
  "url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-coverage",
  "name": "IECoreCoverage",
  "title": "IE Core Coverage",
  "status": "draft",
  "description": "The IE Core Coverage profile sets minimum expectations for the Coverage resource to record, search, and fetch insurance or medical scheme coverage associated with a patient, based on Irish requirements.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coverage",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage.status",
        "path": "Coverage.status",
        "mustSupport": true
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-payer-type"
        }
      },
      {
        "id": "Coverage.subscriberId",
        "path": "Coverage.subscriberId",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Coverage.beneficiary",
        "path": "Coverage.beneficiary",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Coverage.relationship",
        "path": "Coverage.relationship",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Coverage.period",
        "path": "Coverage.period",
        "mustSupport": true
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "mustSupport": true
      },
      {
        "id": "Coverage.class",
        "path": "Coverage.class",
        "mustSupport": true
      }
    ]
  }
}