diff --git a/API-Examples/2025-01-15/erp_abrufen/06_request_taskClose_rezeptur.xml b/API-Examples/2025-01-15/erp_abrufen/06_request_taskClose_rezeptur.xml new file mode 100644 index 00000000..38c897a1 --- /dev/null +++ b/API-Examples/2025-01-15/erp_abrufen/06_request_taskClose_rezeptur.xml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/05_RezepturVerordnung_PZN.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/05_RezepturVerordnung_PZN.xml new file mode 100644 index 00000000..9e8ac28d --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/05_RezepturVerordnung_PZN.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml new file mode 100644 index 00000000..0f5e7e25 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/06_RezepturVerordnung_PZN_Mapped.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/07_verordnung_wirkstoff.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/07_verordnung_wirkstoff.xml new file mode 100644 index 00000000..36651b6b --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/07_verordnung_wirkstoff.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/08_verordnung_wirkstoff_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/08_verordnung_wirkstoff_Mapped.xml new file mode 100644 index 00000000..5c3ccc02 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/08_verordnung_wirkstoff_Mapped.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/09_verordnung_freitext.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/09_verordnung_freitext.xml new file mode 100644 index 00000000..a08ccc68 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/09_verordnung_freitext.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/API-Examples/2025-01-15/erp_eml-epa-notes/10_verordnung_freitext_Mapped.xml b/API-Examples/2025-01-15/erp_eml-epa-notes/10_verordnung_freitext_Mapped.xml new file mode 100644 index 00000000..82fcd882 --- /dev/null +++ b/API-Examples/2025-01-15/erp_eml-epa-notes/10_verordnung_freitext_Mapped.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/!Misc/GKV_Verordnungsdatensatz.fsh b/API-Examples/FSH-Files/input/fsh/examples/!Misc/GKV_Verordnungsdatensatz.fsh index 27caf24f..231bfb06 100644 --- a/API-Examples/FSH-Files/input/fsh/examples/!Misc/GKV_Verordnungsdatensatz.fsh +++ b/API-Examples/FSH-Files/input/fsh/examples/!Misc/GKV_Verordnungsdatensatz.fsh @@ -1,152 +1,4 @@ Instance: VerordnungsdatensatzGKV InstanceOf: KBV_PR_ERP_Bundle Usage: #example -* insert GKV_VerordnungsDatensatz(160.000.000.000.000.01) - -RuleSet: GKV_VerordnungsDatensatz(task-id) -* insert DateTimeStamp(meta.lastUpdated) -* insert DateTimeStamp(timestamp) -* identifier.value = "{task-id}" -* type = #document -* entry[Dokumenteninformation].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Composition/b0e22b86-e7e9-46c1-80fe-e6e24442d77c" -* entry[Dokumenteninformation].resource = b0e22b86-e7e9-46c1-80fe-e6e24442d77c -* entry[VerordnungArzneimittel].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/f58f4403-7a3a-4a12-bb15-b2fa25b02561" -* entry[VerordnungArzneimittel].resource = f58f4403-7a3a-4a12-bb15-b2fa25b02561 -* entry[RezeptierdatenWirkstoffverordnung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Medication/e3a4efa7-84fc-465b-b14c-720195097783" -* entry[RezeptierdatenWirkstoffverordnung].resource = e3a4efa7-84fc-465b-b14c-720195097783 -* entry[Patient].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-Pat-GKV" -* entry[Patient].resource = 9774f67f-a238-4daf-b4e6-Pat-GKV -* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" -* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = 20597e0e-cb2a-45b3-95f0-dc3dbdb617c3 -* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/d8463daf-258e-4cad-a86a-6fd42fac161c" -* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = d8463daf-258e-4cad-a86a-6fd42fac161c -* entry[Einrichtung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b" -* entry[Einrichtung].resource = cf042e44-086a-4d51-9c77-172f9a972e3b -* entry[Krankenversicherungsverhaeltnis].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-Cov-GKV" -* entry[Krankenversicherungsverhaeltnis].resource = 1b1ffb6e-eb05-43d7-87eb-Cov-GKV - -Instance: b0e22b86-e7e9-46c1-80fe-e6e24442d77c -InstanceOf: KBV_PR_ERP_Composition -Usage: #inline -* extension[Rechtsgrundlage].valueCoding = $KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN#00 -* subject = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) -* insert DateTimeStamp(date) -* author[Arzt] = Reference(d8463daf-258e-4cad-a86a-6fd42fac161c) -* author[Pruefnummer].identifier.value = "Y/400/1910/36/346" -* attester.mode = #legal -* attester.party = Reference(20597e0e-cb2a-45b3-95f0-dc3dbdb617c3) -* custodian = Reference(cf042e44-086a-4d51-9c77-172f9a972e3b) -* section[Verordnung_Arzneimittel].entry = Reference(f58f4403-7a3a-4a12-bb15-b2fa25b02561) -* section[Krankenversicherungsverhaeltnis].entry = Reference(1b1ffb6e-eb05-43d7-87eb-Cov-GKV) - -Instance: f58f4403-7a3a-4a12-bb15-b2fa25b02561 -InstanceOf: KBV_PR_ERP_Prescription -Usage: #inline -* extension[Zuzahlungsstatus].valueCoding = $KBV_CS_FOR_StatusCoPayment#0 -* extension[Notdienstgebuehr].valueBoolean = false -* extension[BVG].valueBoolean = false -* extension[Unfallinformationen].extension[Unfallkennzeichen].valueCoding = $KBV_CS_FOR_Ursache_Type#1 -* insert Date(extension[Unfallinformationen].extension[Unfalltag].valueDate) -* extension[Mehrfachverordnung].extension[Kennzeichen].valueBoolean = true -* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.numerator.value = 2 -* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.denominator.value = 4 -* insert Date(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.start) -* insert DatePlus30days(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.end) -* extension[Mehrfachverordnung].extension[ID].valueIdentifier.system = "urn:ietf:rfc:3986" -* extension[Mehrfachverordnung].extension[ID].valueIdentifier.value = "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0" -* medicationReference = Reference(e3a4efa7-84fc-465b-b14c-720195097783) -* subject = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) -* insert Date(authoredOn) -* requester = Reference(d8463daf-258e-4cad-a86a-6fd42fac161c) -* insurance = Reference(1b1ffb6e-eb05-43d7-87eb-Cov-GKV) -* note.text = "Dummy-Hinweis für die Apotheke" -* dosageInstruction.extension[Dosierungskennzeichen].valueBoolean = false -* dispenseRequest.quantity = 2 '{Package}' - -Instance: e3a4efa7-84fc-465b-b14c-720195097783 -InstanceOf: KBV_PR_ERP_Medication_Ingredient -Usage: #inline -* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 -* extension[Impfstoff].valueBoolean = false -* form.text = "Tabletten" -* amount.numerator.extension[Packungsgroesse].valueString = "2x20" -* amount.numerator.unit = "Stk" -* amount.denominator.value = 1 -* ingredient[+] - * itemCodeableConcept = $ask#Dummy-ASK - * itemCodeableConcept.text = "Ibuprofen" - * strength.numerator.value = 800 - * strength.numerator.unit = "mg" - * strength.denominator.value = 1 - -Instance: 9774f67f-a238-4daf-b4e6-Pat-GKV -InstanceOf: KBV_PR_FOR_Patient -Usage: #inline -* identifier[versichertenId_GKV].value = "X234567890" -* name[name] - * .use = #official - * family.extension[nachname].valueString = "Königsstein" - * family = "Ludger Königsstein" - * given = "Ludger" -* birthDate = "1935-06-22" -* address[Strassenanschrift] - * type = #both - * line = "Musterstr. 1" - * line.extension[Hausnummer].valueString = "1" - * line.extension[Strasse].valueString = "Musterstr." - * city = "Berlin" - * postalCode = "10623" - -// Attester -Instance: 20597e0e-cb2a-45b3-95f0-dc3dbdb617c3 -InstanceOf: KBV_PR_FOR_Practitioner -Usage: #inline -* identifier[ANR].value = "838382202" -* name[name] - * use = #official - * family.extension[nachname].valueString = "Topp-Glücklich" - * family = "Topp-Glücklich" - * given = "Hans" - * prefix = "Dr. med." - * prefix.extension[prefix-qualifier].valueCode = #AC -* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#00 -* qualification[Berufsbezeichnung].code.text = "FA Biochemie" - -// Author -Instance: d8463daf-258e-4cad-a86a-6fd42fac161c -InstanceOf: KBV_PR_FOR_Practitioner -Usage: #inline -* identifier[ANR].value = "838382210" -* name[name] - * use = #official - * family.extension[nachname].valueString = "Meier" - * family = "Meier" - * given = "Jörgen" -* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#03 -* qualification[Berufsbezeichnung].code.text = "FA Onkologie" - -Instance: cf042e44-086a-4d51-9c77-172f9a972e3b -InstanceOf: KBV_PR_FOR_Organization -Usage: #inline -* identifier[Betriebsstaettennummer].value = "031234567" -* name = "Hausarztpraxis Dr. Topp-Glücklich" -* telecom[telefon].value = "0301234567" -* address[Strassenanschrift] - * type = #both - * line = "Musterstr. 2" - * line.extension[Hausnummer].valueString = "2" - * line.extension[Strasse].valueString = "Musterstr." - * city = "Berlin" - * postalCode = "10623" - -Instance: 1b1ffb6e-eb05-43d7-87eb-Cov-GKV -InstanceOf: KBV_PR_FOR_Coverage -Usage: #inline -* extension[BesonderePersonengruppe].valueCoding = $KBV_CS_SFHIR_KBV_PERSONENGRUPPE#00 -* extension[DMPKennzeichen].valueCoding = $KBV_CS_SFHIR_KBV_DMP#00 -* extension[WOP].valueCoding = $KBV_CS_SFHIR_ITA_WOP#03 -* extension[Versichertenart].valueCoding = $KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS#1 -* type = $versicherungsart-de-basis#GKV -* beneficiary = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) -* payor.identifier.value = "104212059" -* payor.display = "AOK Rheinland/Hamburg" +* insert GKV_VerordnungsDatensatz(160.000.000.000.000.01) \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_abrufen/06_request_taskClose_rezeptur.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_abrufen/06_request_taskClose_rezeptur.fsh new file mode 100644 index 00000000..5d7ad66b --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_abrufen/06_request_taskClose_rezeptur.fsh @@ -0,0 +1,67 @@ +Instance: erp-abrufen-06-request-taskClose-rezeptur +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input +Usage: #example +* parameter[rxDispensation] + * part[medicationDispense] + * resource = erp-abrufen-06-request-taskClose-medicationDispense-rezeptur + * part[medication] + * resource = rezeptur-medication + + +Instance: erp-abrufen-06-request-taskClose-medicationDispense-rezeptur +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #inline +* identifier[prescriptionID].value = "160.000.000.000.000.01" +* medicationReference = Reference(rezeptur-medication) +* insert GKV_Identifier(subject.identifier.value) +* insert ApoTelematikID(performer.actor.identifier) +* quantity = 1 '{Package}' +* insert Date(whenHandedOver) +* dosageInstruction.text = "1-0-1-0" + +Instance: rezeptur-medication +InstanceOf: GEM_ERP_PR_Medication +Usage: #example +* contained[0] = MedicationPropanol-close +* contained[+] = MedicationSalicylsaeure-close +* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 +* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" +* extension[isVaccine].valueBoolean = false +* form.text = "Lösung" +* amount.numerator + * extension[totalQuantity].valueString = "100" + * unit = "ml" +* amount.denominator.value = 1 +* ingredient[+] + * itemReference = Reference(MedicationSalicylsaeure-close) + * strength.numerator = 5 'g' + * strength.denominator.value = 1 + * strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown +* ingredient[+] + * itemReference = Reference(MedicationPropanol-close) + * strength.extension[amountText].valueString = "Ad 100 g" + * strength.numerator + * value.extension[+].url = $data-absent-reason + * value.extension[=].valueCode = #unknown + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator + * value.extension[+].url = $data-absent-reason + * value.extension[=].valueCode = #unknown + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown + +Instance: MedicationSalicylsaeure-close +InstanceOf: EPAMedicationPZNIngredient +Usage: #inline +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* code = $pzn-cs#123456789 "Salicylsäure" +* code.text = "Salicylsäure" + +Instance: MedicationPropanol-close +InstanceOf: EPAMedicationPZNIngredient +Usage: #inline +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* code = $pzn-cs#987654321 "2-propanol 70 %" +* code.text = "2-propanol 70 %" \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/05_RezepturVerordnung_PZN.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/05_RezepturVerordnung_PZN.fsh new file mode 100644 index 00000000..79079b93 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/05_RezepturVerordnung_PZN.fsh @@ -0,0 +1,23 @@ +Instance: erp-eml-epa-notes-05-RezepturVerordnung-PZN +InstanceOf: KBV_PR_ERP_Medication_Compounding +Usage: #example +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* extension[Kategorie].valueCodeableConcept.coding.code = #373873005:860781008=362943005 +* code.coding.code = #rezeptur +* form.text = "Lösung" +* amount.numerator.unit = "ml" +* amount.numerator.extension[Gesamtmenge].valueString = "100" +* amount.denominator.value = 1 +* ingredient[0] + * itemCodeableConcept.text = "Salicylsäure" + * itemCodeableConcept.coding.system = $pzn-cs + * itemCodeableConcept.coding.code = #12345678 + * strength.numerator.value = 5 + * strength.numerator.unit = "g" + * strength.denominator.value = 1 +* ingredient[+] + * itemCodeableConcept.text = "2-propanol 70 %" + * itemCodeableConcept.coding.system = $pzn-cs + * itemCodeableConcept.coding.code = #87654321 + * strength.extension[MengeFreitext].valueString = "Ad 100 g" \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/06_RezepturVerordnung_PZN_Mapped.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/06_RezepturVerordnung_PZN_Mapped.fsh new file mode 100644 index 00000000..87a2908e --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/06_RezepturVerordnung_PZN_Mapped.fsh @@ -0,0 +1,46 @@ +Instance: erp-eml-epa-notes-06-RezepturVerordnung-PZN-Mapped +InstanceOf: GEM_ERP_PR_Medication +Usage: #example +* contained[0] = MedicationPropanol +* contained[+] = MedicationSalicylsaeure +* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 +* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" +* extension[isVaccine].valueBoolean = false +* form.text = "Lösung" +* amount.numerator + * extension[totalQuantity].valueString = "100" + * unit = "ml" +* amount.denominator.value = 1 +* ingredient[+] + * itemReference = Reference(MedicationSalicylsaeure) + * strength.numerator = 5 'g' + * strength.denominator.value = 1 + * strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown +* ingredient[+] + * itemReference = Reference(MedicationPropanol) + * strength.extension[amountText].valueString = "Ad 100 g" + * strength.numerator + * value.extension[+].url = $data-absent-reason + * value.extension[=].valueCode = #unknown + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator + * value.extension[+].url = $data-absent-reason + * value.extension[=].valueCode = #unknown + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown + +Instance: MedicationSalicylsaeure +InstanceOf: EPAMedicationPZNIngredient +Usage: #inline +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* code = $pzn-cs#123456789 "Salicylsäure" +* code.text = "Salicylsäure" + +Instance: MedicationPropanol +InstanceOf: EPAMedicationPZNIngredient +Usage: #inline +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* code = $pzn-cs#987654321 "2-propanol 70 %" +* code.text = "2-propanol 70 %" \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/07_Verordnung_Wirkstoff.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/07_Verordnung_Wirkstoff.fsh new file mode 100644 index 00000000..2e9319c7 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/07_Verordnung_Wirkstoff.fsh @@ -0,0 +1,14 @@ +Instance: erp-eml-epa-notes-07-verordnung-wirkstoff +InstanceOf: KBV_PR_ERP_Medication_Ingredient +Usage: #example +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* extension[Normgroesse].valueCode = #N1 +* code = $KBV_CS_ERP_Medication_Type#wirkstoff +* form.text = "Tabletten" +* ingredient + * itemCodeableConcept.text = "Somatropin" + * itemCodeableConcept = $ask#22339 + * strength.numerator.value = 12 + * strength.numerator.unit = "mg" + * strength.denominator.value = 1 \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/08_Verordnung_Wirkstoff_Mapped.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/08_Verordnung_Wirkstoff_Mapped.fsh new file mode 100644 index 00000000..395900d3 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/08_Verordnung_Wirkstoff_Mapped.fsh @@ -0,0 +1,19 @@ +Instance: erp-eml-epa-notes-08-verordnung-wirkstoff-Mapped +InstanceOf: GEM_ERP_PR_Medication +Usage: #example +* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* extension[normSizeCode].valueCode = #N1 +* form.text = "Tabletten" +* ingredient[+] + * itemCodeableConcept.text = "Somatropin" + * itemCodeableConcept = $ask#22339 + * strength.numerator + * value = 12 + * unit = "mg" + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator + * value = 1 + * system.extension[dataAbsentReason].valueCode = #unknown + * code.extension[dataAbsentReason].valueCode = #unknown diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/09_Verordnung_Freitext.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/09_Verordnung_Freitext.fsh new file mode 100644 index 00000000..4fa08226 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/09_Verordnung_Freitext.fsh @@ -0,0 +1,7 @@ +Instance: erp-eml-epa-notes-09-verordnung-freitext +InstanceOf: KBV_PR_ERP_Medication_FreeText +Usage: #example +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* code.text = "Metformin 850mg Tabletten N3" +* code = $KBV_CS_ERP_Medication_Type#freitext \ No newline at end of file diff --git a/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/10_Verordnung_Freitext_Mapped.fsh b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/10_Verordnung_Freitext_Mapped.fsh new file mode 100644 index 00000000..8ce6b69d --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/10_Verordnung_Freitext_Mapped.fsh @@ -0,0 +1,6 @@ +Instance: erp-eml-epa-notes-10-verordnung-freitext-Mapped +InstanceOf: GEM_ERP_PR_Medication +Usage: #example +* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" +* code.text = "Metformin 850mg Tabletten N3" diff --git a/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz.fsh b/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz.fsh new file mode 100644 index 00000000..b5ca1b11 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz.fsh @@ -0,0 +1,147 @@ +RuleSet: GKV_VerordnungsDatensatz(task-id) +* insert DateTimeStamp(meta.lastUpdated) +* insert DateTimeStamp(timestamp) +* identifier.value = "{task-id}" +* type = #document +* entry[Dokumenteninformation].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Composition/b0e22b86-e7e9-46c1-80fe-e6e24442d77c" +* entry[Dokumenteninformation].resource = b0e22b86-e7e9-46c1-80fe-e6e24442d77c +* entry[VerordnungArzneimittel].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/f58f4403-7a3a-4a12-bb15-b2fa25b02561" +* entry[VerordnungArzneimittel].resource = f58f4403-7a3a-4a12-bb15-b2fa25b02561 +* entry[RezeptierdatenWirkstoffverordnung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Medication/e3a4efa7-84fc-465b-b14c-720195097783" +* entry[RezeptierdatenWirkstoffverordnung].resource = e3a4efa7-84fc-465b-b14c-720195097783 +* entry[Patient].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Patient/9774f67f-a238-4daf-b4e6-Pat-GKV" +* entry[Patient].resource = 9774f67f-a238-4daf-b4e6-Pat-GKV +* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/20597e0e-cb2a-45b3-95f0-dc3dbdb617c3" +* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = 20597e0e-cb2a-45b3-95f0-dc3dbdb617c3 +* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/d8463daf-258e-4cad-a86a-6fd42fac161c" +* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = d8463daf-258e-4cad-a86a-6fd42fac161c +* entry[Einrichtung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Organization/cf042e44-086a-4d51-9c77-172f9a972e3b" +* entry[Einrichtung].resource = cf042e44-086a-4d51-9c77-172f9a972e3b +* entry[Krankenversicherungsverhaeltnis].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/1b1ffb6e-eb05-43d7-87eb-Cov-GKV" +* entry[Krankenversicherungsverhaeltnis].resource = 1b1ffb6e-eb05-43d7-87eb-Cov-GKV + +Instance: b0e22b86-e7e9-46c1-80fe-e6e24442d77c +InstanceOf: KBV_PR_ERP_Composition +Usage: #inline +* extension[Rechtsgrundlage].valueCoding = $KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN#00 +* subject = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) +* insert DateTimeStamp(date) +* author[Arzt] = Reference(d8463daf-258e-4cad-a86a-6fd42fac161c) +* author[Pruefnummer].identifier.value = "Y/400/1910/36/346" +* attester.mode = #legal +* attester.party = Reference(20597e0e-cb2a-45b3-95f0-dc3dbdb617c3) +* custodian = Reference(cf042e44-086a-4d51-9c77-172f9a972e3b) +* section[Verordnung_Arzneimittel].entry = Reference(f58f4403-7a3a-4a12-bb15-b2fa25b02561) +* section[Krankenversicherungsverhaeltnis].entry = Reference(1b1ffb6e-eb05-43d7-87eb-Cov-GKV) + +Instance: f58f4403-7a3a-4a12-bb15-b2fa25b02561 +InstanceOf: KBV_PR_ERP_Prescription +Usage: #inline +* extension[Zuzahlungsstatus].valueCoding = $KBV_CS_FOR_StatusCoPayment#0 +* extension[Notdienstgebuehr].valueBoolean = false +* extension[BVG].valueBoolean = false +* extension[Unfallinformationen].extension[Unfallkennzeichen].valueCoding = $KBV_CS_FOR_Ursache_Type#1 +* insert Date(extension[Unfallinformationen].extension[Unfalltag].valueDate) +* extension[Mehrfachverordnung].extension[Kennzeichen].valueBoolean = true +* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.numerator.value = 2 +* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.denominator.value = 4 +* insert Date(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.start) +* insert DatePlus30days(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.end) +* extension[Mehrfachverordnung].extension[ID].valueIdentifier.system = "urn:ietf:rfc:3986" +* extension[Mehrfachverordnung].extension[ID].valueIdentifier.value = "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0" +* medicationReference = Reference(e3a4efa7-84fc-465b-b14c-720195097783) +* subject = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) +* insert Date(authoredOn) +* requester = Reference(d8463daf-258e-4cad-a86a-6fd42fac161c) +* insurance = Reference(1b1ffb6e-eb05-43d7-87eb-Cov-GKV) +* note.text = "Dummy-Hinweis für die Apotheke" +* dosageInstruction.extension[Dosierungskennzeichen].valueBoolean = false +* dispenseRequest.quantity = 2 '{Package}' + +Instance: e3a4efa7-84fc-465b-b14c-720195097783 +InstanceOf: KBV_PR_ERP_Medication_Ingredient +Usage: #inline +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* form.text = "Tabletten" +* amount.numerator.extension[Packungsgroesse].valueString = "2x20" +* amount.numerator.unit = "Stk" +* amount.denominator.value = 1 +* ingredient[+] + * itemCodeableConcept = $ask#Dummy-ASK + * itemCodeableConcept.text = "Ibuprofen" + * strength.numerator.value = 800 + * strength.numerator.unit = "mg" + * strength.denominator.value = 1 + +Instance: 9774f67f-a238-4daf-b4e6-Pat-GKV +InstanceOf: KBV_PR_FOR_Patient +Usage: #inline +* identifier[versichertenId_GKV].value = "X234567890" +* name[name] + * .use = #official + * family.extension[nachname].valueString = "Königsstein" + * family = "Ludger Königsstein" + * given = "Ludger" +* birthDate = "1935-06-22" +* address[Strassenanschrift] + * type = #both + * line = "Musterstr. 1" + * line.extension[Hausnummer].valueString = "1" + * line.extension[Strasse].valueString = "Musterstr." + * city = "Berlin" + * postalCode = "10623" + +// Attester +Instance: 20597e0e-cb2a-45b3-95f0-dc3dbdb617c3 +InstanceOf: KBV_PR_FOR_Practitioner +Usage: #inline +* identifier[ANR].value = "838382202" +* name[name] + * use = #official + * family.extension[nachname].valueString = "Topp-Glücklich" + * family = "Topp-Glücklich" + * given = "Hans" + * prefix = "Dr. med." + * prefix.extension[prefix-qualifier].valueCode = #AC +* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#00 +* qualification[Berufsbezeichnung].code.text = "FA Biochemie" + +// Author +Instance: d8463daf-258e-4cad-a86a-6fd42fac161c +InstanceOf: KBV_PR_FOR_Practitioner +Usage: #inline +* identifier[ANR].value = "838382210" +* name[name] + * use = #official + * family.extension[nachname].valueString = "Meier" + * family = "Meier" + * given = "Jörgen" +* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#03 +* qualification[Berufsbezeichnung].code.text = "FA Onkologie" + +Instance: cf042e44-086a-4d51-9c77-172f9a972e3b +InstanceOf: KBV_PR_FOR_Organization +Usage: #inline +* identifier[Betriebsstaettennummer].value = "031234567" +* name = "Hausarztpraxis Dr. Topp-Glücklich" +* telecom[telefon].value = "0301234567" +* address[Strassenanschrift] + * type = #both + * line = "Musterstr. 2" + * line.extension[Hausnummer].valueString = "2" + * line.extension[Strasse].valueString = "Musterstr." + * city = "Berlin" + * postalCode = "10623" + +Instance: 1b1ffb6e-eb05-43d7-87eb-Cov-GKV +InstanceOf: KBV_PR_FOR_Coverage +Usage: #inline +* extension[BesonderePersonengruppe].valueCoding = $KBV_CS_SFHIR_KBV_PERSONENGRUPPE#00 +* extension[DMPKennzeichen].valueCoding = $KBV_CS_SFHIR_KBV_DMP#00 +* extension[WOP].valueCoding = $KBV_CS_SFHIR_ITA_WOP#03 +* extension[Versichertenart].valueCoding = $KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS#1 +* type = $versicherungsart-de-basis#GKV +* beneficiary = Reference(9774f67f-a238-4daf-b4e6-Pat-GKV) +* payor.identifier.value = "104212059" +* payor.display = "AOK Rheinland/Hamburg" diff --git a/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz_Rezeptur.fsh b/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz_Rezeptur.fsh new file mode 100644 index 00000000..c6104182 --- /dev/null +++ b/API-Examples/FSH-Files/input/fsh/rulesets/RS_GKV_Verordnungsdatensatz_Rezeptur.fsh @@ -0,0 +1,153 @@ +RuleSet: GKV_VerordnungsDatensatz_Rezeptur(task-id) +* insert DateTimeStamp(meta.lastUpdated) +* insert DateTimeStamp(timestamp) +* identifier.value = "{task-id}" +* type = #document +* entry[Dokumenteninformation].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Composition/df0538d0-77dd-4266-a4fe-1664fe907751" +* entry[Dokumenteninformation].resource = df0538d0-77dd-4266-a4fe-1664fe907751 +* entry[VerordnungArzneimittel].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/MedicationRequest/4e8c932a-bef5-443d-9e85-64bca6d53d53" +* entry[VerordnungArzneimittel].resource = 4e8c932a-bef5-443d-9e85-64bca6d53d53 +* entry[RezeptierdatenWirkstoffverordnung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Medication/746a8246-4b21-43a2-a422-9821cdc7caf3" +* entry[RezeptierdatenWirkstoffverordnung].resource = 746a8246-4b21-43a2-a422-9821cdc7caf3 +* entry[Patient].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Patient/17b0721b-d538-4455-b1bb-2c2dfc19d234" +* entry[Patient].resource = 17b0721b-d538-4455-b1bb-2c2dfc19d234 +* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/5caad17d-d3a1-4d01-8ebe-3889dcac30cc" +* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = 5caad17d-d3a1-4d01-8ebe-3889dcac30cc +* entry[AusstellendeVerschreibendeVerantwortlichePerson][+].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Practitioner/407974ea-b5c7-47e5-be09-9310a00afb31" +* entry[AusstellendeVerschreibendeVerantwortlichePerson][=].resource = 407974ea-b5c7-47e5-be09-9310a00afb31 +* entry[Einrichtung].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Organization/94662b9e-af55-4206-b52a-7e086d0d4d82" +* entry[Einrichtung].resource = 94662b9e-af55-4206-b52a-7e086d0d4d82 +* entry[Krankenversicherungsverhaeltnis].fullUrl = "http://pvs.praxis-topp-gluecklich.local/fhir/Coverage/a2ef1193-0739-46de-bc77-65f13feaa7d3" +* entry[Krankenversicherungsverhaeltnis].resource = a2ef1193-0739-46de-bc77-65f13feaa7d3 + +Instance: df0538d0-77dd-4266-a4fe-1664fe907751 +InstanceOf: KBV_PR_ERP_Composition +Usage: #inline +* extension[Rechtsgrundlage].valueCoding = $KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN#00 +* subject = Reference(17b0721b-d538-4455-b1bb-2c2dfc19d234) +* insert DateTimeStamp(date) +* author[Arzt] = Reference(407974ea-b5c7-47e5-be09-9310a00afb31) +* author[Pruefnummer].identifier.value = "Y/400/1910/36/346" +* attester.mode = #legal +* attester.party = Reference(5caad17d-d3a1-4d01-8ebe-3889dcac30cc) +* custodian = Reference(94662b9e-af55-4206-b52a-7e086d0d4d82) +* section[Verordnung_Arzneimittel].entry = Reference(4e8c932a-bef5-443d-9e85-64bca6d53d53) +* section[Krankenversicherungsverhaeltnis].entry = Reference(a2ef1193-0739-46de-bc77-65f13feaa7d3) + +Instance: 4e8c932a-bef5-443d-9e85-64bca6d53d53 +InstanceOf: KBV_PR_ERP_Prescription +Usage: #inline +* extension[Zuzahlungsstatus].valueCoding = $KBV_CS_FOR_StatusCoPayment#0 +* extension[Notdienstgebuehr].valueBoolean = false +* extension[BVG].valueBoolean = false +* extension[Unfallinformationen].extension[Unfallkennzeichen].valueCoding = $KBV_CS_FOR_Ursache_Type#1 +* insert Date(extension[Unfallinformationen].extension[Unfalltag].valueDate) +* extension[Mehrfachverordnung].extension[Kennzeichen].valueBoolean = true +* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.numerator.value = 2 +* extension[Mehrfachverordnung].extension[Nummerierung].valueRatio.denominator.value = 4 +* insert Date(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.start) +* insert DatePlus30days(extension[Mehrfachverordnung].extension[Zeitraum].valuePeriod.end) +* extension[Mehrfachverordnung].extension[ID].valueIdentifier.system = "urn:ietf:rfc:3986" +* extension[Mehrfachverordnung].extension[ID].valueIdentifier.value = "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0" +* medicationReference = Reference(746a8246-4b21-43a2-a422-9821cdc7caf3) +* subject = Reference(17b0721b-d538-4455-b1bb-2c2dfc19d234) +* insert Date(authoredOn) +* requester = Reference(407974ea-b5c7-47e5-be09-9310a00afb31) +* insurance = Reference(a2ef1193-0739-46de-bc77-65f13feaa7d3) +* note.text = "Dummy-Hinweis für die Apotheke" +* dosageInstruction.extension[Dosierungskennzeichen].valueBoolean = false +* dispenseRequest.quantity = 2 '{Package}' + +Instance: 746a8246-4b21-43a2-a422-9821cdc7caf3 +InstanceOf: KBV_PR_ERP_Medication_Compounding +Usage: #inline +* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 +* extension[Impfstoff].valueBoolean = false +* extension[Kategorie].valueCodeableConcept.coding.code = #373873005:860781008=362943005 +* code.coding.code = #rezeptur +* form.text = "Lösung" +* amount.numerator.unit = "ml" +* amount.numerator.extension[Gesamtmenge].valueString = "100" +* amount.denominator.value = 1 +* ingredient[0] + * itemCodeableConcept.text = "Salicylsäure" + * itemCodeableConcept.coding.code = #123456789 + * strength.numerator.value = 5 + * strength.numerator.unit = "g" + * strength.denominator.value = 1 +* ingredient[+] + * itemCodeableConcept.text = "2-propanol 70 %" + * itemCodeableConcept.coding.code = #987654321 + * strength.extension[MengeFreitext].valueString = "Ad 100 g" + +Instance: 17b0721b-d538-4455-b1bb-2c2dfc19d234 +InstanceOf: KBV_PR_FOR_Patient +Usage: #inline +* identifier[versichertenId_GKV].value = "X234567890" +* name[name] + * .use = #official + * family.extension[nachname].valueString = "Königsstein" + * family = "Ludger Königsstein" + * given = "Ludger" +* birthDate = "1935-06-22" +* address[Strassenanschrift] + * type = #both + * line = "Musterstr. 1" + * line.extension[Hausnummer].valueString = "1" + * line.extension[Strasse].valueString = "Musterstr." + * city = "Berlin" + * postalCode = "10623" + +// Attester +Instance: 5caad17d-d3a1-4d01-8ebe-3889dcac30cc +InstanceOf: KBV_PR_FOR_Practitioner +Usage: #inline +* identifier[ANR].value = "838382202" +* name[name] + * use = #official + * family.extension[nachname].valueString = "Topp-Glücklich" + * family = "Topp-Glücklich" + * given = "Hans" + * prefix = "Dr. med." + * prefix.extension[prefix-qualifier].valueCode = #AC +* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#00 +* qualification[Berufsbezeichnung].code.text = "FA Biochemie" + +// Author +Instance: 407974ea-b5c7-47e5-be09-9310a00afb31 +InstanceOf: KBV_PR_FOR_Practitioner +Usage: #inline +* identifier[ANR].value = "838382210" +* name[name] + * use = #official + * family.extension[nachname].valueString = "Meier" + * family = "Meier" + * given = "Jörgen" +* qualification[Typ].code = $KBV_CS_FOR_Qualification_Type#03 +* qualification[Berufsbezeichnung].code.text = "FA Onkologie" + +Instance: 94662b9e-af55-4206-b52a-7e086d0d4d82 +InstanceOf: KBV_PR_FOR_Organization +Usage: #inline +* identifier[Betriebsstaettennummer].value = "031234567" +* name = "Hausarztpraxis Dr. Topp-Glücklich" +* telecom[telefon].value = "0301234567" +* address[Strassenanschrift] + * type = #both + * line = "Musterstr. 2" + * line.extension[Hausnummer].valueString = "2" + * line.extension[Strasse].valueString = "Musterstr." + * city = "Berlin" + * postalCode = "10623" + +Instance: a2ef1193-0739-46de-bc77-65f13feaa7d3 +InstanceOf: KBV_PR_FOR_Coverage +Usage: #inline +* extension[BesonderePersonengruppe].valueCoding = $KBV_CS_SFHIR_KBV_PERSONENGRUPPE#00 +* extension[DMPKennzeichen].valueCoding = $KBV_CS_SFHIR_KBV_DMP#00 +* extension[WOP].valueCoding = $KBV_CS_SFHIR_ITA_WOP#03 +* extension[Versichertenart].valueCoding = $KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS#1 +* type = $versicherungsart-de-basis#GKV +* beneficiary = Reference(17b0721b-d538-4455-b1bb-2c2dfc19d234) +* payor.identifier.value = "104212059" +* payor.display = "AOK Rheinland/Hamburg"