{
  "resourceType": "StructureDefinition",
  "id": "Coverage",
  "meta": {
    "lastUpdated": "2021-03-23T10:05:24.184+00:00"
  },
  "url": "http://dedalus-group.com/fhir/StructureDefinition/Coverage",
  "name": "Coverage",
  "status": "draft",
  "date": "2020-12-11T08:51:41.5804036+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "cdanetv4",
      "uri": "http://www.cda-adc.ca/en/services/cdanet/",
      "name": "Canadian Dental Association eclaims standard"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "cpha3pharm",
      "uri": "http://www.pharmacists.ca/",
      "name": "Canadian Pharmacy Associaiton eclaims standard"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coverage",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage.extension",
        "path": "Coverage.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coverage.extension:einlesedatum-karte",
        "path": "Coverage.extension",
        "sliceName": "einlesedatum-karte",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/gkv/einlesedatum-karte"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-29"
          }
        ]
      },
      {
        "id": "Coverage.identifier",
        "path": "Coverage.identifier",
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-49"
          }
        ]
      },
      {
        "id": "Coverage.identifier.value",
        "path": "Coverage.identifier.value",
        "min": 1
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "min": 1,
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-2"
          }
        ]
      },
      {
        "id": "Coverage.type.coding",
        "path": "Coverage.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Coverage.type.coding.system",
        "path": "Coverage.type.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/versicherungsart-de-basis"
      },
      {
        "id": "Coverage.type.coding.version",
        "path": "Coverage.type.coding.version",
        "max": "0"
      },
      {
        "id": "Coverage.type.coding.code",
        "path": "Coverage.type.coding.code",
        "min": 1
      },
      {
        "id": "Coverage.type.coding.userSelected",
        "path": "Coverage.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Coverage.policyHolder",
        "path": "Coverage.policyHolder",
        "max": "0"
      },
      {
        "id": "Coverage.subscriber",
        "path": "Coverage.subscriber",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dedalus-group.com/fhir/StructureDefinition/Patient",
              "http://dedalus-group.com/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ]
      },
      {
        "id": "Coverage.subscriber.reference",
        "path": "Coverage.subscriber.reference",
        "min": 1
      },
      {
        "id": "Coverage.subscriber.type",
        "path": "Coverage.subscriber.type",
        "max": "0"
      },
      {
        "id": "Coverage.subscriber.identifier",
        "path": "Coverage.subscriber.identifier",
        "max": "0"
      },
      {
        "id": "Coverage.subscriberId",
        "path": "Coverage.subscriberId",
        "max": "0"
      },
      {
        "id": "Coverage.beneficiary",
        "path": "Coverage.beneficiary",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dedalus-group.com/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Coverage.beneficiary.reference",
        "path": "Coverage.beneficiary.reference",
        "min": 1
      },
      {
        "id": "Coverage.beneficiary.type",
        "path": "Coverage.beneficiary.type",
        "max": "0"
      },
      {
        "id": "Coverage.beneficiary.identifier",
        "path": "Coverage.beneficiary.identifier",
        "max": "0"
      },
      {
        "id": "Coverage.dependent",
        "path": "Coverage.dependent",
        "max": "0"
      },
      {
        "id": "Coverage.relationship",
        "path": "Coverage.relationship",
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-17"
          }
        ]
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coverage.payor:Patient",
        "path": "Coverage.payor",
        "sliceName": "Patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dedalus-group.com/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Coverage.payor:Patient.reference",
        "path": "Coverage.payor.reference",
        "min": 1
      },
      {
        "id": "Coverage.payor:Patient.type",
        "path": "Coverage.payor.type",
        "max": "0"
      },
      {
        "id": "Coverage.payor:Patient.identifier",
        "path": "Coverage.payor.identifier",
        "max": "0"
      },
      {
        "id": "Coverage.payor:RelatedPerson",
        "path": "Coverage.payor",
        "sliceName": "RelatedPerson",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dedalus-group.com/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-16"
          }
        ]
      },
      {
        "id": "Coverage.payor:RelatedPerson.reference",
        "path": "Coverage.payor.reference",
        "min": 1
      },
      {
        "id": "Coverage.payor:RelatedPerson.type",
        "path": "Coverage.payor.type",
        "max": "0"
      },
      {
        "id": "Coverage.payor:RelatedPerson.identifier",
        "path": "Coverage.payor.identifier",
        "max": "0"
      },
      {
        "id": "Coverage.payor:Organization",
        "path": "Coverage.payor",
        "sliceName": "Organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://dedalus-group.com/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Coverage.payor:Organization.reference",
        "path": "Coverage.payor.reference",
        "min": 1
      },
      {
        "id": "Coverage.payor:Organization.type",
        "path": "Coverage.payor.type",
        "max": "0"
      },
      {
        "id": "Coverage.payor:Organization.identifier",
        "path": "Coverage.payor.identifier",
        "max": "0"
      },
      {
        "id": "Coverage.class",
        "path": "Coverage.class",
        "max": "0"
      },
      {
        "id": "Coverage.order",
        "path": "Coverage.order",
        "mapping": [
          {
            "identity": "v2",
            "map": "IN1-22"
          }
        ]
      },
      {
        "id": "Coverage.network",
        "path": "Coverage.network",
        "max": "0"
      },
      {
        "id": "Coverage.contract",
        "path": "Coverage.contract",
        "max": "0"
      }
    ]
  }
}