{
  "resourceType": "StructureDefinition",
  "id": "CL-PR-ERP-DeviceDispense",
  "url": "https://fhir.carelogic.de/StructureDefinition/CL_PR_ERP_DeviceDispense",
  "version": "0.4.0",
  "name": "CL_PR_ERP_DeviceDispense",
  "status": "draft",
  "date": "2024-01-15T15:04:01.8615906+00:00",
  "publisher": "carelogic GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Claim",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Claim",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Claim.meta",
        "path": "Claim.meta",
        "min": 1
      },
      {
        "id": "Claim.meta.id",
        "path": "Claim.meta.id",
        "max": "0"
      },
      {
        "id": "Claim.meta.versionId",
        "path": "Claim.meta.versionId",
        "max": "0"
      },
      {
        "id": "Claim.meta.lastUpdated",
        "path": "Claim.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Claim.meta.source",
        "path": "Claim.meta.source",
        "max": "0"
      },
      {
        "id": "Claim.meta.profile",
        "path": "Claim.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.carelogic.de/StructureDefinition/CL_PR_ERP_DeviceDispense|0.2.0"
      },
      {
        "id": "Claim.meta.security",
        "path": "Claim.meta.security",
        "max": "0"
      },
      {
        "id": "Claim.meta.tag",
        "path": "Claim.meta.tag",
        "max": "0"
      },
      {
        "id": "Claim.implicitRules",
        "path": "Claim.implicitRules",
        "max": "0"
      },
      {
        "id": "Claim.language",
        "path": "Claim.language",
        "max": "0"
      },
      {
        "id": "Claim.text",
        "path": "Claim.text",
        "max": "0"
      },
      {
        "id": "Claim.contained",
        "path": "Claim.contained",
        "max": "0"
      },
      {
        "id": "Claim.identifier",
        "path": "Claim.identifier",
        "short": "ePrescription identifier",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.status",
        "path": "Claim.status",
        "fixedCode": "active",
        "mustSupport": true
      },
      {
        "id": "Claim.type",
        "path": "Claim.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/claim-type",
              "version": "4.3.0",
              "code": "professional"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Claim.type.coding",
        "path": "Claim.type.coding",
        "max": "1"
      },
      {
        "id": "Claim.subType",
        "path": "Claim.subType",
        "max": "0"
      },
      {
        "id": "Claim.use",
        "path": "Claim.use",
        "fixedCode": "claim"
      },
      {
        "id": "Claim.patient",
        "path": "Claim.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.0.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.patient.id",
        "path": "Claim.patient.id",
        "max": "0"
      },
      {
        "id": "Claim.patient.reference",
        "path": "Claim.patient.reference",
        "max": "0"
      },
      {
        "id": "Claim.patient.type",
        "path": "Claim.patient.type",
        "max": "0"
      },
      {
        "id": "Claim.patient.identifier",
        "path": "Claim.patient.identifier",
        "min": 1
      },
      {
        "id": "Claim.patient.display",
        "path": "Claim.patient.display",
        "max": "0"
      },
      {
        "id": "Claim.enterer",
        "path": "Claim.enterer",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.0.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.enterer.id",
        "path": "Claim.enterer.id",
        "max": "0"
      },
      {
        "id": "Claim.enterer.reference",
        "path": "Claim.enterer.reference",
        "max": "0"
      },
      {
        "id": "Claim.enterer.type",
        "path": "Claim.enterer.type",
        "max": "0"
      },
      {
        "id": "Claim.enterer.identifier",
        "path": "Claim.enterer.identifier",
        "min": 1
      },
      {
        "id": "Claim.enterer.display",
        "path": "Claim.enterer.display",
        "max": "0"
      },
      {
        "id": "Claim.insurer",
        "path": "Claim.insurer",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.0.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.provider",
        "path": "Claim.provider",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Claim.provider.id",
        "path": "Claim.provider.id",
        "max": "0"
      },
      {
        "id": "Claim.provider.reference",
        "path": "Claim.provider.reference",
        "max": "0"
      },
      {
        "id": "Claim.provider.type",
        "path": "Claim.provider.type",
        "max": "0"
      },
      {
        "id": "Claim.provider.identifier",
        "path": "Claim.provider.identifier",
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-telematik-id"
            ]
          }
        ]
      },
      {
        "id": "Claim.provider.display",
        "path": "Claim.provider.display",
        "max": "0"
      },
      {
        "id": "Claim.priority",
        "path": "Claim.priority",
        "fixedCodeableConcept": {
          "text": "normal"
        }
      },
      {
        "id": "Claim.priority.coding",
        "path": "Claim.priority.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Claim.priority.coding.id",
        "path": "Claim.priority.coding.id",
        "max": "0"
      },
      {
        "id": "Claim.priority.coding.system",
        "path": "Claim.priority.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/process-priority"
      },
      {
        "id": "Claim.priority.coding.version",
        "path": "Claim.priority.coding.version",
        "max": "0"
      },
      {
        "id": "Claim.priority.coding.code",
        "path": "Claim.priority.coding.code",
        "min": 1,
        "fixedCode": "normal"
      },
      {
        "id": "Claim.priority.coding.userSelected",
        "path": "Claim.priority.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Claim.fundsReserve",
        "path": "Claim.fundsReserve",
        "max": "0"
      },
      {
        "id": "Claim.related",
        "path": "Claim.related",
        "max": "0"
      },
      {
        "id": "Claim.prescription",
        "path": "Claim.prescription",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.carelogic.de/StructureDefinition/CL_PR_ERP_Prescription_Device"
            ]
          }
        ]
      },
      {
        "id": "Claim.prescription.type",
        "path": "Claim.prescription.type",
        "max": "0"
      },
      {
        "id": "Claim.prescription.identifier",
        "path": "Claim.prescription.identifier",
        "max": "0"
      },
      {
        "id": "Claim.prescription.display",
        "path": "Claim.prescription.display",
        "max": "0"
      },
      {
        "id": "Claim.originalPrescription",
        "path": "Claim.originalPrescription",
        "max": "0"
      },
      {
        "id": "Claim.payee",
        "path": "Claim.payee",
        "max": "0"
      },
      {
        "id": "Claim.referral",
        "path": "Claim.referral",
        "max": "0"
      },
      {
        "id": "Claim.facility",
        "path": "Claim.facility",
        "max": "0"
      },
      {
        "id": "Claim.careTeam",
        "path": "Claim.careTeam",
        "max": "0"
      },
      {
        "id": "Claim.supportingInfo",
        "path": "Claim.supportingInfo",
        "max": "0"
      },
      {
        "id": "Claim.diagnosis",
        "path": "Claim.diagnosis",
        "max": "0"
      },
      {
        "id": "Claim.procedure",
        "path": "Claim.procedure",
        "max": "0"
      },
      {
        "id": "Claim.insurance.id",
        "path": "Claim.insurance.id",
        "max": "0"
      },
      {
        "id": "Claim.insurance.identifier",
        "path": "Claim.insurance.identifier",
        "max": "0"
      },
      {
        "id": "Claim.insurance.coverage",
        "path": "Claim.insurance.coverage",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.0.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.insurance.coverage.id",
        "path": "Claim.insurance.coverage.id",
        "max": "0"
      },
      {
        "id": "Claim.insurance.coverage.reference",
        "path": "Claim.insurance.coverage.reference",
        "max": "0"
      },
      {
        "id": "Claim.insurance.coverage.type",
        "path": "Claim.insurance.coverage.type",
        "max": "0"
      },
      {
        "id": "Claim.insurance.coverage.identifier",
        "path": "Claim.insurance.coverage.identifier",
        "min": 1
      },
      {
        "id": "Claim.insurance.businessArrangement",
        "path": "Claim.insurance.businessArrangement",
        "max": "0"
      },
      {
        "id": "Claim.insurance.preAuthRef",
        "path": "Claim.insurance.preAuthRef",
        "max": "1"
      },
      {
        "id": "Claim.insurance.claimResponse",
        "path": "Claim.insurance.claimResponse",
        "max": "0"
      },
      {
        "id": "Claim.accident",
        "path": "Claim.accident",
        "max": "0"
      },
      {
        "id": "Claim.item.careTeamSequence",
        "path": "Claim.item.careTeamSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.diagnosisSequence",
        "path": "Claim.item.diagnosisSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.procedureSequence",
        "path": "Claim.item.procedureSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.informationSequence",
        "path": "Claim.item.informationSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.revenue",
        "path": "Claim.item.revenue",
        "max": "0"
      },
      {
        "id": "Claim.item.category",
        "path": "Claim.item.category",
        "max": "0"
      },
      {
        "id": "Claim.item.productOrService.id",
        "path": "Claim.item.productOrService.id",
        "max": "0"
      },
      {
        "id": "Claim.item.productOrService.coding.id",
        "path": "Claim.item.productOrService.coding.id",
        "max": "0"
      },
      {
        "id": "Claim.item.productOrService.coding.system",
        "path": "Claim.item.productOrService.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.de/sid/gkv/hmnr"
      },
      {
        "id": "Claim.item.productOrService.coding.version",
        "path": "Claim.item.productOrService.coding.version",
        "max": "0"
      },
      {
        "id": "Claim.item.productOrService.coding.code",
        "path": "Claim.item.productOrService.coding.code",
        "min": 1
      },
      {
        "id": "Claim.item.productOrService.coding.userSelected",
        "path": "Claim.item.productOrService.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Claim.item.modifier",
        "path": "Claim.item.modifier",
        "max": "0"
      },
      {
        "id": "Claim.item.programCode",
        "path": "Claim.item.programCode",
        "max": "0"
      },
      {
        "id": "Claim.item.location[x]",
        "path": "Claim.item.location[x]",
        "max": "0"
      },
      {
        "id": "Claim.item.quantity",
        "path": "Claim.item.quantity",
        "max": "0"
      },
      {
        "id": "Claim.item.unitPrice",
        "path": "Claim.item.unitPrice",
        "max": "0"
      },
      {
        "id": "Claim.item.factor",
        "path": "Claim.item.factor",
        "max": "0"
      },
      {
        "id": "Claim.item.net",
        "path": "Claim.item.net",
        "max": "0"
      },
      {
        "id": "Claim.item.udi",
        "path": "Claim.item.udi",
        "max": "0"
      },
      {
        "id": "Claim.item.bodySite",
        "path": "Claim.item.bodySite",
        "max": "0"
      },
      {
        "id": "Claim.item.subSite",
        "path": "Claim.item.subSite",
        "max": "0"
      },
      {
        "id": "Claim.item.encounter",
        "path": "Claim.item.encounter",
        "max": "0"
      },
      {
        "id": "Claim.item.detail",
        "path": "Claim.item.detail",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.revenue",
        "path": "Claim.item.detail.revenue",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.category",
        "path": "Claim.item.detail.category",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.productOrService.coding.system",
        "path": "Claim.item.detail.productOrService.coding.system",
        "fixedUri": "http://fhir.de/sid/gkv/hmnr"
      },
      {
        "id": "Claim.item.detail.modifier",
        "path": "Claim.item.detail.modifier",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.programCode",
        "path": "Claim.item.detail.programCode",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.unitPrice",
        "path": "Claim.item.detail.unitPrice",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.factor",
        "path": "Claim.item.detail.factor",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.net",
        "path": "Claim.item.detail.net",
        "max": "0"
      },
      {
        "id": "Claim.item.detail.subDetail",
        "path": "Claim.item.detail.subDetail",
        "max": "0"
      },
      {
        "id": "Claim.total",
        "path": "Claim.total",
        "max": "0"
      }
    ]
  }
}