{ "description": null, "_filename": "KBV_PR_ERP_PracticeSupply.json", "package_name": "kbv.ita.erp", "date": "2022-09-30", "derivation": "constraint", "publisher": "Kassenärztliche Bundesvereinigung", "fhirVersion": "4.0.1", "name": "KBV_PR_ERP_PracticeSupply", "mapping": [ { "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern", "identity": "workflow" } ], "abstract": false, "type": "SupplyRequest", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "1.1.1", "status": "active", "id": "6ca61f0e-d619-47e0-8954-981e42b7a9ba", "kind": "resource", "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply", "version": "1.1.0", "differential": { "element": [ { "id": "SupplyRequest", "path": "SupplyRequest", "constraint": [ { "key": "-erp-begrenzungDate", "human": "Begrenzung der Datumsangabe auf 10 Zeichen JJJJ-MM-TT", "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply", "severity": "error", "expression": "authoredOn.toString().length()=10" } ], "mustSupport": true }, { "id": "SupplyRequest.id", "min": 1, "path": "SupplyRequest.id", "mustSupport": true }, { "id": "SupplyRequest.meta", "min": 1, "path": "SupplyRequest.meta", "mustSupport": true }, { "id": "SupplyRequest.meta.versionId", "max": "0", "path": "SupplyRequest.meta.versionId" }, { "id": "SupplyRequest.meta.lastUpdated", "max": "0", "path": "SupplyRequest.meta.lastUpdated" }, { "id": "SupplyRequest.meta.source", "max": "0", "path": "SupplyRequest.meta.source" }, { "id": "SupplyRequest.meta.profile", "max": "1", "min": 1, "path": "SupplyRequest.meta.profile", "mustSupport": true, "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply|1.1.0" }, { "id": "SupplyRequest.meta.security", "max": "0", "path": "SupplyRequest.meta.security" }, { "id": "SupplyRequest.meta.tag", "max": "0", "path": "SupplyRequest.meta.tag" }, { "id": "SupplyRequest.implicitRules", "max": "0", "path": "SupplyRequest.implicitRules" }, { "id": "SupplyRequest.language", "max": "0", "path": "SupplyRequest.language" }, { "id": "SupplyRequest.text", "max": "0", "path": "SupplyRequest.text" }, { "id": "SupplyRequest.contained", "max": "0", "path": "SupplyRequest.contained" }, { "id": "SupplyRequest.extension", "min": 1, "path": "SupplyRequest.extension", "slicing": { "rules": "closed", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "SupplyRequest.extension:Kostentraeger", "max": "1", "min": 1, "path": "SupplyRequest.extension", "type": [ { "code": "Extension", "profile": [ "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_PracticeSupply_Payor" ] } ], "sliceName": "Kostentraeger", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension", "min": 2, "path": "SupplyRequest.extension.extension", "slicing": { "rules": "closed", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "SupplyRequest.extension:Kostentraeger.extension:IK", "min": 0, "path": "SupplyRequest.extension.extension", "sliceName": "IK", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:IK.value[x]:valueIdentifier", "path": "SupplyRequest.extension.extension.value[x]", "sliceName": "valueIdentifier" }, { "id": "SupplyRequest.extension:Kostentraeger.extension:IK.value[x]:valueIdentifier.system", "path": "SupplyRequest.extension.extension.value[x].system", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:IK.value[x]:valueIdentifier.value", "path": "SupplyRequest.extension.extension.value[x].value", "constraint": [ { "key": "-erp-laengeIK", "human": "Die IK-Nummer muss 9-stellig sein.", "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply", "severity": "error", "expression": "length()=9" } ], "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Name", "min": 1, "path": "SupplyRequest.extension.extension", "sliceName": "Name", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Name.value[x]", "path": "SupplyRequest.extension.extension.value[x]", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Name.value[x]:valueString", "path": "SupplyRequest.extension.extension.value[x]", "sliceName": "valueString", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Kostentraegertyp", "min": 1, "path": "SupplyRequest.extension.extension", "sliceName": "Kostentraegertyp", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Kostentraegertyp.value[x]", "path": "SupplyRequest.extension.extension.value[x]", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Kostentraegertyp.value[x]:valueCoding", "path": "SupplyRequest.extension.extension.value[x]", "sliceName": "valueCoding", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Kostentraegertyp.value[x]:valueCoding.system", "path": "SupplyRequest.extension.extension.value[x].system", "mustSupport": true }, { "id": "SupplyRequest.extension:Kostentraeger.extension:Kostentraegertyp.value[x]:valueCoding.code", "path": "SupplyRequest.extension.extension.value[x].code", "mustSupport": true }, { "id": "SupplyRequest.identifier", "max": "0", "path": "SupplyRequest.identifier" }, { "id": "SupplyRequest.status", "max": "0", "path": "SupplyRequest.status" }, { "id": "SupplyRequest.category", "max": "0", "path": "SupplyRequest.category" }, { "id": "SupplyRequest.priority", "max": "0", "path": "SupplyRequest.priority" }, { "id": "SupplyRequest.item[x]", "path": "SupplyRequest.item[x]", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0" ] } ], "slicing": { "rules": "closed", "discriminator": [ { "path": "$this", "type": "type" } ] }, "mustSupport": true }, { "id": "SupplyRequest.item[x]:itemReference", "min": 1, "path": "SupplyRequest.item[x]", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0", "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient|1.1.0" ] } ], "sliceName": "itemReference", "mustSupport": true }, { "id": "SupplyRequest.item[x]:itemReference.reference", "min": 1, "path": "SupplyRequest.item[x].reference", "mustSupport": true }, { "id": "SupplyRequest.item[x]:itemReference.type", "max": "0", "path": "SupplyRequest.item[x].type" }, { "id": "SupplyRequest.item[x]:itemReference.identifier", "max": "0", "path": "SupplyRequest.item[x].identifier" }, { "id": "SupplyRequest.item[x]:itemReference.display", "max": "0", "path": "SupplyRequest.item[x].display" }, { "id": "SupplyRequest.quantity", "path": "SupplyRequest.quantity", "constraint": [ { "key": "-erp-begrenzungValue", "human": "Die Anzahl der verordneten Packungen darf aus maximal 6 Zeichen bestehen.", "source": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply", "severity": "error", "expression": "value.toString().length() <= 6" } ], "mustSupport": true }, { "id": "SupplyRequest.quantity.value", "min": 1, "path": "SupplyRequest.quantity.value", "short": "Anzahl der verordneten Packungen", "definition": "Anzahl der verordneten Packungen", "mustSupport": true }, { "id": "SupplyRequest.quantity.comparator", "max": "0", "path": "SupplyRequest.quantity.comparator" }, { "id": "SupplyRequest.quantity.unit", "max": "0", "path": "SupplyRequest.quantity.unit" }, { "id": "SupplyRequest.quantity.system", "min": 1, "path": "SupplyRequest.quantity.system", "fixedUri": "http://unitsofmeasure.org", "mustSupport": true }, { "id": "SupplyRequest.quantity.code", "min": 1, "path": "SupplyRequest.quantity.code", "fixedCode": "{Package}", "mustSupport": true }, { "id": "SupplyRequest.parameter", "max": "0", "path": "SupplyRequest.parameter" }, { "id": "SupplyRequest.occurrence[x]", "max": "0", "path": "SupplyRequest.occurrence[x]" }, { "id": "SupplyRequest.authoredOn", "min": 1, "path": "SupplyRequest.authoredOn", "short": "Ausstellungsdatum", "definition": "Ausstellungsdatum der Verordnung", "mustSupport": true }, { "id": "SupplyRequest.requester", "min": 1, "path": "SupplyRequest.requester", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0" ] } ], "mustSupport": true }, { "id": "SupplyRequest.requester.reference", "min": 1, "path": "SupplyRequest.requester.reference", "mustSupport": true }, { "id": "SupplyRequest.requester.type", "max": "0", "path": "SupplyRequest.requester.type" }, { "id": "SupplyRequest.requester.identifier", "max": "0", "path": "SupplyRequest.requester.identifier" }, { "id": "SupplyRequest.requester.display", "max": "0", "path": "SupplyRequest.requester.display" }, { "id": "SupplyRequest.supplier", "max": "0", "path": "SupplyRequest.supplier" }, { "id": "SupplyRequest.reasonCode", "max": "0", "path": "SupplyRequest.reasonCode" }, { "id": "SupplyRequest.reasonReference", "max": "0", "path": "SupplyRequest.reasonReference" }, { "id": "SupplyRequest.deliverFrom", "max": "0", "path": "SupplyRequest.deliverFrom" }, { "id": "SupplyRequest.deliverTo", "max": "0", "path": "SupplyRequest.deliverTo" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/SupplyRequest" }