From b8d78f56288e815bf6609b80207e5b571d4b08e0 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 20 Aug 2024 13:26:58 +0200 Subject: [PATCH] Set PZN as identifier for DiGA --- ...Example-MedicationDispense-DiGA-DeepLink.json | 16 ++++++++-------- ...ple-MedicationDispense-DiGA-Name-And-PZN.json | 16 ++++++++-------- ...ExampleOperationCloseInputParametersDiGA.json | 16 ++++++++-------- ...ition-GEM-ERP-PR-MedicationDispense-DiGA.json | 4 +++- Resources/input/fsh/aliases.fsh | 3 ++- .../examples/Example_MedicationDispense_DiGA.fsh | 6 +++--- .../examples/Example_Medication_Kombipackung.fsh | 2 +- .../GEM_ERP_PR_MedicationDispense_DiGA.fsh | 6 +++--- 8 files changed, 36 insertions(+), 33 deletions(-) diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json index 4fc18fcb..473a54a9 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json @@ -13,6 +13,13 @@ } ], "status": "completed", + "medicationReference": { + "identifier": { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "value": "12345678" + }, + "display": "Gematico Diabetestherapie" + }, "subject": { "identifier": { "system": "http://fhir.de/sid/gkv/kvid-10", @@ -39,12 +46,5 @@ "valueUrl": "https://gematico.de?redeemCode=DE12345678901234" } ], - "whenHandedOver": "2024-04-03", - "medicationReference": { - "display": "Gematico Diabetestherapie", - "identifier": { - "system": "https://example.de/fhir/identifier-for-diga", - "value": "12345678" - } - } + "whenHandedOver": "2024-04-03" } diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json index c298ae42..c49b8bb6 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json @@ -13,6 +13,13 @@ } ], "status": "completed", + "medicationReference": { + "identifier": { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "value": "12345678" + }, + "display": "Gematico Diabetestherapie" + }, "subject": { "identifier": { "system": "http://fhir.de/sid/gkv/kvid-10", @@ -35,12 +42,5 @@ "valueString": "DE12345678901234" } ], - "whenHandedOver": "2024-04-03", - "medicationReference": { - "display": "Gematico Diabetestherapie", - "identifier": { - "system": "https://example.de/fhir/identifier-for-diga", - "value": "12345678" - } - } + "whenHandedOver": "2024-04-03" } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json index fa6bd50e..817740fa 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json @@ -27,6 +27,13 @@ } ], "status": "completed", + "medicationReference": { + "identifier": { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "value": "12345678" + }, + "display": "Gematico Diabetestherapie" + }, "subject": { "identifier": { "system": "http://fhir.de/sid/gkv/kvid-10", @@ -49,14 +56,7 @@ "valueString": "DE12345678901234" } ], - "whenHandedOver": "2024-04-03", - "medicationReference": { - "display": "Gematico Diabetestherapie", - "identifier": { - "system": "https://example.de/fhir/identifier-for-diga", - "value": "12345678" - } - } + "whenHandedOver": "2024-04-03" } } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json index 2f4c8198..96df9c29 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json @@ -118,7 +118,7 @@ { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", - "definition": "Information about the medication that is being dispensed. To include are name and the identifier of a DiGA prescription unit." + "definition": "Information about the medication that is being dispensed. To include are name and the PZN-identifier of a DiGA prescription unit." }, { "id": "MedicationDispense.medication[x].extension:data-absent-reason", @@ -149,11 +149,13 @@ "id": "MedicationDispense.medication[x].identifier.system", "path": "MedicationDispense.medication[x].identifier.system", "min": 1, + "fixedUri": "http://fhir.de/CodeSystem/ifa/pzn", "mustSupport": true }, { "id": "MedicationDispense.medication[x].identifier.value", "path": "MedicationDispense.medication[x].identifier.value", + "short": "Unique identification number for a prescription unit of a DiGA (PZN).", "min": 1, "mustSupport": true }, diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index fd745144..5e9a765e 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -23,7 +23,8 @@ Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt // Codings -Alias: $pzn = http://fhir.de/CodeSystem/ifa/pzn +Alias: $cs-pzn = http://fhir.de/CodeSystem/ifa/pzn + // ePA Medication Alias: $ePAMedicationDispense = https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense Alias: $ePAMedication = https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication diff --git a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh index fb45c30d..563af9a2 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh @@ -12,7 +12,7 @@ Description: "Example of a Medication Dispense for DiGAs only stating the name o * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = "https://example.de/fhir/identifier-for-diga" //TODO: Set correct system +* medicationReference.identifier.system = $cs-pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-DeepLink @@ -30,7 +30,7 @@ Description: "Example of a Medication Dispense for DiGAs which states a deep lin * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = "https://example.de/fhir/identifier-for-diga" //TODO: Set correct system +* medicationReference.identifier.system = $cs-pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-NoRedeemCode @@ -106,7 +106,7 @@ Description: "When a redeem code is provided, the name of the DiGA is mandatory. * performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" -* medicationReference.identifier.system = $pzn //TODO: Set correct system +* medicationReference.identifier.system = $cs-pzn * medicationReference.identifier.value = "12345678" Instance: INVALID-Example-MedicationDispense-Missing-DiGA-PZN diff --git a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh index 262b1e33..c18623a8 100644 --- a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh +++ b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh @@ -9,7 +9,7 @@ Usage: #example * extension[isVaccine].valueBoolean = false * extension[drugCategory].valueCoding = EPADrugCategoryCS#00 * extension[drugCategory].valueCoding.display = "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" -* code.coding[pzn] = $pzn#1746517 "CROMO-RATIOPHARM Kombipackung" +* code.coding[pzn] = $cs-pzn#1746517 "CROMO-RATIOPHARM Kombipackung" * status = #active * form.coding[kbvDarreichungsform].code = #KPG * form.text = "Kombipackung" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh index 7311d89b..65875cde 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh @@ -23,14 +23,14 @@ Description: "Handles information about the dispensed DiGA" * medication[x] only Reference * medication[x] MS -* medication[x] ^definition = "Information about the medication that is being dispensed. To include are name and the identifier of a DiGA prescription unit." //TODO: Identifier benennen +* medication[x] ^definition = "Information about the medication that is being dispensed. To include are name and the PZN-identifier of a DiGA prescription unit." * medicationReference.display 0..1 MS * ^short = "Name of the DiGA prescription unit." * medicationReference.identifier 0..1 MS * medicationReference.identifier.system 1..1 MS -// * medicationReference.identifier.system = $pzn (exactly) //TODO: Festlegen, welches System genutzt werden soll +* medicationReference.identifier.system = $cs-pzn (exactly) * medicationReference.identifier.value 1..1 MS - // * ^short = "Unique identification number for a prescription unit of a DiGA (PZN)." + * ^short = "Unique identification number for a prescription unit of a DiGA (PZN)." // Extension, falls die DiGA vom Kostenträger nicht bezahlt wird * medicationReference.extension contains DataAbsentReason named data-absent-reason 0..1