Skip to content

Commit

Permalink
Set PZN as identifier for DiGA
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Aug 20, 2024
1 parent ee82ad4 commit b8d78f5
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
},
Expand Down
3 changes: 2 additions & 1 deletion Resources/input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d78f5

Please sign in to comment.