From 3e2554719a49701b645d538d44a22f49b2913bf0 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 07:25:26 +0200 Subject: [PATCH 01/57] Move Examples to separate Files --- .../input/fsh/examples/Example_AuditEvent.fsh | 32 ++++ .../input/fsh/examples/Example_Bundle.fsh | 32 ++++ .../Example_Communication_DispReq.fsh | 35 ++++ .../Example_Communication_InfoReq.fsh | 36 ++++ .../examples/Example_Communication_Reply.fsh | 26 +++ .../fsh/examples/Example_Composition.fsh | 18 ++ .../input/fsh/examples/Example_Device.fsh | 14 ++ .../input/fsh/examples/Example_Medication.fsh | 46 +++++ .../examples/Example_MedicationDispense.fsh | 84 +++++++++ .../Example_MedicationDispense_DiGA.fsh | 143 ++++++++++++++ .../input/fsh/examples/Example_Provenance.fsh | 21 +++ Resources/input/fsh/examples/Example_Task.fsh | 175 ++++++++++++++++++ .../fsh/profiles/GEM_ERP_PR_AuditEvent.fsh | 32 ---- .../fsh/profiles/GEM_ERP_PR_BfArMApproval.fsh | 21 --- .../input/fsh/profiles/GEM_ERP_PR_Bundle.fsh | 32 ---- .../GEM_ERP_PR_Communication_DispReq.fsh | 35 ---- .../GEM_ERP_PR_Communication_InfoReq.fsh | 36 ---- .../GEM_ERP_PR_Communication_Reply.fsh | 26 --- .../fsh/profiles/GEM_ERP_PR_Composition.fsh | 18 -- .../input/fsh/profiles/GEM_ERP_PR_Device.fsh | 14 -- .../fsh/profiles/GEM_ERP_PR_Medication.fsh | 46 ----- .../GEM_ERP_PR_MedicationDispense.fsh | 84 --------- .../GEM_ERP_PR_MedicationDispense_DiGA.fsh | 143 -------------- .../input/fsh/profiles/GEM_ERP_PR_Task.fsh | 175 ------------------ 24 files changed, 662 insertions(+), 662 deletions(-) create mode 100644 Resources/input/fsh/examples/Example_AuditEvent.fsh create mode 100644 Resources/input/fsh/examples/Example_Bundle.fsh create mode 100644 Resources/input/fsh/examples/Example_Communication_DispReq.fsh create mode 100644 Resources/input/fsh/examples/Example_Communication_InfoReq.fsh create mode 100644 Resources/input/fsh/examples/Example_Communication_Reply.fsh create mode 100644 Resources/input/fsh/examples/Example_Composition.fsh create mode 100644 Resources/input/fsh/examples/Example_Device.fsh create mode 100644 Resources/input/fsh/examples/Example_Medication.fsh create mode 100644 Resources/input/fsh/examples/Example_MedicationDispense.fsh create mode 100644 Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh create mode 100644 Resources/input/fsh/examples/Example_Provenance.fsh create mode 100644 Resources/input/fsh/examples/Example_Task.fsh diff --git a/Resources/input/fsh/examples/Example_AuditEvent.fsh b/Resources/input/fsh/examples/Example_AuditEvent.fsh new file mode 100644 index 00000000..e230c144 --- /dev/null +++ b/Resources/input/fsh/examples/Example_AuditEvent.fsh @@ -0,0 +1,32 @@ + +Instance: AuditEventSample +InstanceOf: GEM_ERP_PR_AuditEvent +Title: "AuditEvent entry generated by E-Rezept-Backend-Service on access to any patient data by any person" +Usage: #example +* id = "9361863d-fec0-4ba9-8776-7905cf1b0cfa" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_AuditEvent) +* meta.tag.display = "AuditEvent entry generated by E-Rezept-Backend-Service on access to any patient data by any person" +* text.status = #generated +* text.div = "
Praxis Dr. Müller, Bahnhofstr. 78 hat ein E-Rezept 160.123.456.789.123.58 eingestellt
" +* type.system = "http://terminology.hl7.org/CodeSystem/audit-event-type" +* type.code = #rest +* subtype[+].system = "http://hl7.org/fhir/restful-interaction" +* subtype[=].code = #create +* language = #de +* action = #C +* recorded = "2022-04-27T08:04:27.434+00:00" +* outcome = #0 +* agent[+].type.coding[+].system = "http://terminology.hl7.org/CodeSystem/extra-security-role-type" +* agent[=].type.coding[=].code = #humanuser +* agent[=].type.coding[=].display = "Human User" +* agent[=].who.identifier.system = $identifier-telematik-id +* agent[=].who.identifier.value = "1-SMC-B-Testkarte-883110000095957" +* agent[=].name = "Praxis Dr. Müller" +* agent[=].requestor = false +* source.site = "E-Rezept Fachdienst" +* source.observer.reference = "Device/1" +* entity[+].what.reference = "https://erp.app.ti-dienste.de/Task/160.123.456.789.123.58" +* entity[=].what.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* entity[=].what.identifier.value = "160.123.456.789.123.58" +* entity[=].name = "X234567890" +* entity[=].description = "160.123.456.789.123.58" diff --git a/Resources/input/fsh/examples/Example_Bundle.fsh b/Resources/input/fsh/examples/Example_Bundle.fsh new file mode 100644 index 00000000..c3e4ba94 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Bundle.fsh @@ -0,0 +1,32 @@ + +Instance: ReceiptBundleBinary +InstanceOf: Binary +Usage: #inline +* id = "b939a82a-9c23-4b6d-a139-f468d1b9d652" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Digest) +* contentType = #application/octet-stream +* data = "tJg8c5ZtdhzEEhJ0ZpAsUVFx5dKuYgQFs5oKgthi17M=" + +Instance: ReceiptBundleQuittung +InstanceOf: GEM_ERP_PR_Bundle +Title: "Receipt Bundle 'Quittung' for completed dispensation of a prescription" +Usage: #example +* id = "dffbfd6a-5712-4798-bdc8-07201eb77ab8" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Bundle) +* meta.tag.display = "Receipt Bundle 'Quittung' for completed dispensation of a prescription" +* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[=].value = "160.000.033.491.280.78" +* type = #document +* timestamp = "2022-03-18T15:28:00+00:00" +* entry[DocumentInformation].fullUrl = "urn:uuid:c624cf47-e235-4624-af71-0a09dc9254dc" +* entry[DocumentInformation].resource = ReceiptBundleComposition +* entry[SigningDevice].fullUrl = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" +* entry[SigningDevice].resource = ReceiptBundleDevice +* entry[PrescriptionDigest].fullUrl = "urn:uuid:b939a82a-9c23-4b6d-a139-f468d1b9d652" +* entry[PrescriptionDigest].resource = ReceiptBundleBinary +* signature.type[AuthorsSignature].system = "urn:iso-astm:E1762-95:2013" +* signature.type[AuthorsSignature].code = #1.2.840.10065.1.12.1.1 +* signature.when = "2022-03-18T15:28:00+00:00" +* signature.who.reference = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" +* signature.sigFormat = #application/pkcs7-mime +* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" diff --git a/Resources/input/fsh/examples/Example_Communication_DispReq.fsh b/Resources/input/fsh/examples/Example_Communication_DispReq.fsh new file mode 100644 index 00000000..4e74ccf6 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_DispReq.fsh @@ -0,0 +1,35 @@ + +Instance: Communication_DispenseRequest +InstanceOf: GEM_ERP_PR_Communication_DispReq +Title: "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +Usage: #example +* id = "a218a36e-f2fd-4603-ba67-c827acfef01b" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) +* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* basedOn.reference = "Task/160.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:44:30.128+02:00" +* payload.contentString = "{ \"version\": \"1\", \"supplyOptionsType\": \"delivery\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"hint\": \"Bitte im Morsecode klingeln: -.-.\", \"phone\": \"004916094858168\" }" + +Instance: Communication_DispenseRequest_DiGA +InstanceOf: GEM_ERP_PR_Communication_DispReq +Title: "Communication message sent by patient to insurance company to request the dispensation of a DiGA by providing the AccessCode" +Usage: #example +* id = "2be1c6ac-5d10-47f6-84ee-8318b2c22c76" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) +* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#162 "Muster 16 (Digitale Gesundheitsanwendungen)" +* basedOn.reference = "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "8-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:44:30.128+02:00" diff --git a/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh new file mode 100644 index 00000000..70040e22 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh @@ -0,0 +1,36 @@ + +Instance: Communication_InformationRequest +InstanceOf: GEM_ERP_PR_Communication_InfoReq +Title: "Communication message sent by patient to pharmacy to ask for availybility of medicine WITHOUT providing the AccessCode" +Usage: #example +* id = "8ca3c379-ac86-470f-bc12-178c9008f5c9" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_InfoReq) +* meta.tag.display = "Communication message sent by patient to pharmacy to ask for availybility of medicine WITHOUT providing the AccessCode" +* contained[+] = SumatripanMedication +* basedOn.reference = "Task/160.000.033.491.280.78" +* status = #unknown +* about.reference = "#SumatripanMedication" +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:43:30.128+02:00" +* payload.extension[InsuranceProvider].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider" +* payload.extension[InsuranceProvider].valueIdentifier.system = "http://fhir.de/sid/arge-ik/iknr" +* payload.extension[InsuranceProvider].valueIdentifier.value = "109500969" +* payload.extension[SubstitutionAllowed].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType" +* payload.extension[SubstitutionAllowed].valueBoolean = false +* payload.extension[PrescriptionType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* payload.extension[PrescriptionType].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" +* payload.extension[PrescriptionType].valueCoding.code = #160 +* payload.extension[PackageQuantity].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PackageQuantity" +* payload.extension[PackageQuantity].valueQuantity.system = "http://unitsofmeasure.org" +* payload.extension[PackageQuantity].valueQuantity.value = 1 +* payload.extension[PreferredSupplyOptions].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType" +* payload.extension[PreferredSupplyOptions].extension[onPremise].url = "onPremise" +* payload.extension[PreferredSupplyOptions].extension[onPremise].valueBoolean = true +* payload.extension[PreferredSupplyOptions].extension[shipment].url = "shipment" +* payload.extension[PreferredSupplyOptions].extension[shipment].valueBoolean = false +* payload.extension[PreferredSupplyOptions].extension[delivery].url = "delivery" +* payload.extension[PreferredSupplyOptions].extension[delivery].valueBoolean = true +* payload.contentString = "U.N.V.E.U." diff --git a/Resources/input/fsh/examples/Example_Communication_Reply.fsh b/Resources/input/fsh/examples/Example_Communication_Reply.fsh new file mode 100644 index 00000000..b2da233a --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_Reply.fsh @@ -0,0 +1,26 @@ + +Instance: Communication_Reply +InstanceOf: GEM_ERP_PR_Communication_Reply +Title: "Communication message sent by pharmacy to patient in response to a previous Task-related message" +Usage: #example +* id = "7977a4ab-97a9-4d95-afb3-6c4c1e2ac596" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_Reply) +* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous Task-related message" +* basedOn.reference = "Task/160.000.033.491.280.78" +* status = #unknown +* sender.identifier.system = $identifier-telematik-id +* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" +* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* recipient[=].identifier.value = "X234567890" +* sent = "2020-04-29T13:46:30.128+02:00" +* payload.extension[AvailabilityStatus].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AvailabilityState" +* payload.extension[AvailabilityStatus].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" +* payload.extension[AvailabilityStatus].valueCoding.code = #20 +* payload.extension[OfferedSupplyOptions].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType" +* payload.extension[OfferedSupplyOptions].extension[onPremise].url = "onPremise" +* payload.extension[OfferedSupplyOptions].extension[onPremise].valueBoolean = true +* payload.extension[OfferedSupplyOptions].extension[shipment].url = "shipment" +* payload.extension[OfferedSupplyOptions].extension[shipment].valueBoolean = false +* payload.extension[OfferedSupplyOptions].extension[delivery].url = "delivery" +* payload.extension[OfferedSupplyOptions].extension[delivery].valueBoolean = true +* payload.contentString = "Eisern" diff --git a/Resources/input/fsh/examples/Example_Composition.fsh b/Resources/input/fsh/examples/Example_Composition.fsh new file mode 100644 index 00000000..af106cbf --- /dev/null +++ b/Resources/input/fsh/examples/Example_Composition.fsh @@ -0,0 +1,18 @@ + +Instance: ReceiptBundleComposition +InstanceOf: GEM_ERP_PR_Composition +Title: "Composition for Receipt Bundle 'Quittung'" +Usage: #inline +* id = "c624cf47-e235-4624-af71-0a09dc9254dc" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Composition) +* extension[Beneficiary].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary" +* extension[Beneficiary].valueIdentifier.system = $identifier-telematik-id +* extension[Beneficiary].valueIdentifier.value = "3-SMC-B-Testkarte-883110000129070" +* status = #final +* type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#3 "Receipt" +* date = "2022-03-18T15:29:00+00:00" +* author.reference = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" +* title = "Quittung" +* event.period.start = "2022-03-18T15:28:00+00:00" +* event.period.end = "2022-03-18T15:29:00+00:00" +* section[+].entry.reference = "urn:uuid:b939a82a-9c23-4b6d-a139-f468d1b9d652" diff --git a/Resources/input/fsh/examples/Example_Device.fsh b/Resources/input/fsh/examples/Example_Device.fsh new file mode 100644 index 00000000..ad272870 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Device.fsh @@ -0,0 +1,14 @@ + +Instance: ReceiptBundleDevice +InstanceOf: GEM_ERP_PR_Device +Title: "Device for Receipt Bundle 'Quittung'" +Usage: #inline +* id = "1" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Device) +* status = #active +* serialNumber = "1.4.0" +* deviceName.name = "E-Rezept-Fachdienst" +* deviceName.type = #user-friendly-name +* version.value = "1.4.0" +* contact.system = #email +* contact.value = "betrieb@gematik.de" diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh new file mode 100644 index 00000000..40097a9f --- /dev/null +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -0,0 +1,46 @@ + +Instance: SumatripanMedication +InstanceOf: GEM_ERP_PR_Medication +Title: "Sample Medication Sumatripan" +Usage: #example +// Arzneimittelkategorie +* extension[drugCategory].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" +* extension[drugCategory].valueCoding.system = "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" +* extension[drugCategory].valueCoding.code = #00 + +// Impfstoff +* extension[isVaccine].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" +* extension[isVaccine].valueBoolean = false + +// normgroesse +* extension[normSizeCode].url = "http://fhir.de/StructureDefinition/normgroesse" +* extension[normSizeCode].valueCode = #N1 +* code.coding[pzn].system = "http://fhir.de/CodeSystem/ifa/pzn" +* code.coding[pzn].code = #06313728 +* code.text = "Sumatriptan-1a Pharma 100 mg Tabletten" +* form.coding[kbvDarreichungsform].system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" +* form.coding[kbvDarreichungsform].code = #TAB +* amount.numerator.value = 20 +* amount.numerator.unit = "St" +* amount.numerator.extension[totalQuantity].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension" +* amount.numerator.extension[totalQuantity].valueString = "20 St." +* amount.denominator.value = 1 + + +Instance: Medication-Without-Strength-Code +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication Without code or system for Strength" +Usage: #example +* code.text = "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" +* form = http://standardterms.edqm.eu#11210000 "Solution for infusion" +* ingredient.itemCodeableConcept = http://fhir.de/CodeSystem/bfarm/atc#L01DB01 "Doxorubicin" +* ingredient.isActive = true +* ingredient.strength.numerator.value = 85 +* ingredient.strength.numerator.unit = "mg" +* ingredient.strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient.strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown + +* ingredient.strength.denominator.value = 250 +* ingredient.strength.denominator.unit = "Milliliter" +* ingredient.strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_MedicationDispense.fsh b/Resources/input/fsh/examples/Example_MedicationDispense.fsh new file mode 100644 index 00000000..cabd07a4 --- /dev/null +++ b/Resources/input/fsh/examples/Example_MedicationDispense.fsh @@ -0,0 +1,84 @@ + +Instance: Example-MedicationDispense +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example-Medication Dispense" +Description: "Example of a Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* whenPrepared = "2024-04-03" +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" + +/* + +Instance: INVALID-DATE-Example-MedicationDispense-1 +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example-Medication Dispense" +Description: "Example of a Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024" +* whenPrepared = "2024" +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" + +Instance: INVALID-DATE-Example-MedicationDispense-2 +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example-Medication Dispense" +Description: "Example of a Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04" +* whenPrepared = "2024-04" +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" + +Instance: INVALID-DATE-Example-MedicationDispense-3 +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example-Medication Dispense" +Description: "Example of a Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "1-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03T15:28:00+00:00" +* whenPrepared = "2024-04-03T15:28:00+00:00" +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" + +Instance: INVALID-DATE-Example-MedicationDispense-4 +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example-Medication Dispense" +Description: "Example of a Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03T00:00:00.000Z" +* whenPrepared = "2024-04-03T00:00:00.000Z" +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" + +*/ \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh new file mode 100644 index 00000000..d13a1630 --- /dev/null +++ b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh @@ -0,0 +1,143 @@ + +Instance: Example-MedicationDispense-DiGA-Name-And-VE-ID +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Medication Dispense DiGA, Name and DiGA-VE-ID" +Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." +* extension[redeemCode].valueString = "DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.display = "Gematico Diabetestherapie" +* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.value = "12345678" + +Instance: Example-MedicationDispense-DiGA-DeepLink +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Medication Dispense DiGA with a deep link." +Description: "Example of a Medication Dispense for DiGAs which states a deep link." +* extension[redeemCode].valueString = "DE12345678901234" +* extension[deepLink].valueUrl = "https://gematico.de?redeemCode=DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.display = "Gematico Diabetestherapie" +* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.value = "12345678" + +Instance: Example-MedicationDispense-DiGA-NoRedeemCode +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Medication Dispense DiGA without a redeem code" +Description: "Example of a Medication Dispense for DiGAs which has no redeem code." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" +* medicationReference.extension[data-absent-reason].valueCode = #asked-declined + +/* +Instance: INVALID-Example-MedicationDispense-DiGA-Only-Name +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Medication Dispense DiGA, Name only" +Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." +* extension[redeemCode].valueString = "DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.display = "Gematico Diabetestherapie" + +Instance: INVALID-Example-MedicationDispense-DiGA-MissingNote +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Invalid MedicationDispense for missing Note" +Description: "A Note needs to be provided if no redeem code is provided." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.extension[data-absent-reason].valueCode = #asked-declined + +Instance: INVALID-Example-MedicationDispense-DiGA-MissingDataAbsentReason +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Invalid MedicationDispense for missing DataAbsentReason" +Description: "A DataAbsentReason needs to be provided if no redeem code is provided." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" +* medicationReference.display = "whitespace" + +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Invalid Medication Dispense DiGA. Missing Name" +Description: "When a redeem code is provided, the name of the DiGA is mandatory." +* extension[redeemCode].valueString = "DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.value = "12345678" + +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-VE-ID +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Invalid Medication Dispense DiGA. Missing DiGA-VE-ID" +Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." +* extension[redeemCode].valueString = "DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.display = "Gematico Diabetestherapie" + +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-VE-ID +InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA +Usage: #example +Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-VE-ID" +Description: "When a redeem code is provided, the Name and DiGA-VE-ID are mandatory." +* extension[redeemCode].valueString = "DE12345678901234" +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "162.000.033.491.280.78" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* medicationReference.display = "whitespace" + +*/ \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Provenance.fsh b/Resources/input/fsh/examples/Example_Provenance.fsh new file mode 100644 index 00000000..009b90f8 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Provenance.fsh @@ -0,0 +1,21 @@ + +Instance: PractitionersNarcoticsApproval +InstanceOf: GEM_ERP_PR_BfArMApproval +Usage: #example +* id = "64d5081e-8d65-11ec-b909-0242ac120002" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_BfArMApproval) +* target[TaskReference].reference = "Task/160.100.000.000.024.67" +* recorded = "2022-02-14T08:39:24+01:00" +* entity.what.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* entity.what.identifier.value = "165.100.000.000.024.67" +* agent.who.reference = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Device/1" +* agent.onBehalfOf.identifier.system = $identifier-telematik-id +* agent.onBehalfOf.identifier.value = "1-HBA-Testkarte-883110000123465" +* signature.type.system = "urn:iso-astm:E1762-95:2013" +* signature.type.code = #1.2.840.10065.1.12.1.7 +* signature.type.display = "Consent Signature" +* signature.when = "2022-02-14T08:39:25+01:00" +* signature.who.reference = "https://www.bundesdruckerei.de/" +* signature.onBehalfOf.reference = "https://www.bfarm.de/" +* signature.sigFormat = #application/pkcs7-mime +* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" diff --git a/Resources/input/fsh/examples/Example_Task.fsh b/Resources/input/fsh/examples/Example_Task.fsh new file mode 100644 index 00000000..fb727602 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Task.fsh @@ -0,0 +1,175 @@ + +Instance: TaskInCreatedState +InstanceOf: GEM_ERP_PR_Task +Title: "Task just created by Fachdienst via $create operation" +Description: "Task just created by Fachdienst via $create operation" +Usage: #example +* id = "b12eb5f7-91ce-4887-93c7-800454601377" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in DRAFT state just created by Fachdienst via $create operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #draft +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +//* performerType[+].coding = urn:ietf:rfc:3986#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" + +Instance: TaskInReadyState +InstanceOf: GEM_ERP_PR_Task +Title: "Task activated by (Z)PVS/KIS via $activate operation that carries a dispensable ePrescription" +Usage: #example +* id = "607255ed-ce41-47fc-aad3-cfce1c39963f" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in READY state activated by (Z)PVS/KIS via $activate operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #ready +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* for.identifier.value = "X123456789" +* lastModified = "2022-03-18T15:27:00+00:00" +* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" +* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" +* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" +* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" + +Instance: TaskInIn-ProgressState +InstanceOf: GEM_ERP_PR_Task +Title: "Task claimed by pharmacy via $accept operation" +Usage: #example +* id = "d70932d1-9e1c-483c-b2d4-b7dced09b35e" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #in-progress +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* for.identifier.value = "X123456789" +* lastModified = "2022-03-18T15:28:00+00:00" +* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" +* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" +* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" +* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" + +Instance: TaskInIn-ProgressState-Dispensed +InstanceOf: GEM_ERP_PR_Task +Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" +Usage: #example +* id = "9b48f82c-9c11-4a57-aa72-a805f9537a82" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* extension[lastMedicationDispense].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense" +* extension[lastMedicationDispense].valueInstant = "2022-05-20T13:28:17+02:00" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #in-progress +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* for.identifier.value = "X123456789" +* lastModified = "2022-03-18T15:28:00+00:00" +* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" +* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" +* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" +* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" + +Instance: TaskInIn-ProgressState-Dispensed-Multiple-MedicationDispenses +InstanceOf: GEM_ERP_PR_Task +Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" +Usage: #example +* id = "f5c21409-b84b-4125-8649-5630a00906b1" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* extension[lastMedicationDispense].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense" +* extension[lastMedicationDispense].valueInstant = "2022-05-20T13:28:17+02:00" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #in-progress +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* for.identifier.value = "X123456789" +* lastModified = "2022-03-18T15:28:00+00:00" +* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" +* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" +* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" +* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" + +Instance: TaskInClosedState +InstanceOf: GEM_ERP_PR_Task +Title: "Task finished by pharmacy via $close operation" +Usage: #example +* id = "09330307-16ce-4cdc-810a-ca24ef80dde3" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) +* meta.tag.display = "Task in COMPLETED state dispensed by pharmacy via $closed operation" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" +* extension[acceptDate].valueDate = "2022-04-02" +* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" +* extension[expiryDate].valueDate = "2022-06-02" +* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[PrescriptionID].value = "160.000.033.491.280.78" +* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #completed +* intent = #order +* authoredOn = "2022-03-18T15:26:00+00:00" +* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* for.identifier.value = "X123456789" +* lastModified = "2022-03-18T15:29:00+00:00" +* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" +* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" +* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" +* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" +* output[receipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#3 "Receipt" +* output[receipt].valueReference.reference = "dffbfd6a-5712-4798-bdc8-07201eb77ab8" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_AuditEvent.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_AuditEvent.fsh index 6ca151ac..b336f22d 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_AuditEvent.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_AuditEvent.fsh @@ -30,35 +30,3 @@ Title: "AuditEvent for Logging of ePrescription Access" * entity.description 1.. * entity.description ^short = "PrescriptionID (RezeptID)" * entity.description ^definition = "PrescriptionID (RezeptID) to have a relation to insurance company data when Task already deleted" - -Instance: AuditEventSample -InstanceOf: GEM_ERP_PR_AuditEvent -Title: "AuditEvent entry generated by E-Rezept-Backend-Service on access to any patient data by any person" -Usage: #example -* id = "9361863d-fec0-4ba9-8776-7905cf1b0cfa" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_AuditEvent) -* meta.tag.display = "AuditEvent entry generated by E-Rezept-Backend-Service on access to any patient data by any person" -* text.status = #generated -* text.div = "
Praxis Dr. Müller, Bahnhofstr. 78 hat ein E-Rezept 160.123.456.789.123.58 eingestellt
" -* type.system = "http://terminology.hl7.org/CodeSystem/audit-event-type" -* type.code = #rest -* subtype[+].system = "http://hl7.org/fhir/restful-interaction" -* subtype[=].code = #create -* language = #de -* action = #C -* recorded = "2022-04-27T08:04:27.434+00:00" -* outcome = #0 -* agent[+].type.coding[+].system = "http://terminology.hl7.org/CodeSystem/extra-security-role-type" -* agent[=].type.coding[=].code = #humanuser -* agent[=].type.coding[=].display = "Human User" -* agent[=].who.identifier.system = $identifier-telematik-id -* agent[=].who.identifier.value = "1-SMC-B-Testkarte-883110000095957" -* agent[=].name = "Praxis Dr. Müller" -* agent[=].requestor = false -* source.site = "E-Rezept Fachdienst" -* source.observer.reference = "Device/1" -* entity[+].what.reference = "https://erp.app.ti-dienste.de/Task/160.123.456.789.123.58" -* entity[=].what.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* entity[=].what.identifier.value = "160.123.456.789.123.58" -* entity[=].name = "X234567890" -* entity[=].description = "160.123.456.789.123.58" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_BfArMApproval.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_BfArMApproval.fsh index 3d0ab751..2a4da3c4 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_BfArMApproval.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_BfArMApproval.fsh @@ -69,24 +69,3 @@ Description: "On serverside validton of prescription (QES, FHIR-validity, etc.) * reason ..0 * activity ..0 * agent.role ..0 - -Instance: PractitionersNarcoticsApproval -InstanceOf: GEM_ERP_PR_BfArMApproval -Usage: #example -* id = "64d5081e-8d65-11ec-b909-0242ac120002" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_BfArMApproval) -* target[TaskReference].reference = "Task/160.100.000.000.024.67" -* recorded = "2022-02-14T08:39:24+01:00" -* entity.what.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* entity.what.identifier.value = "165.100.000.000.024.67" -* agent.who.reference = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Device/1" -* agent.onBehalfOf.identifier.system = $identifier-telematik-id -* agent.onBehalfOf.identifier.value = "1-HBA-Testkarte-883110000123465" -* signature.type.system = "urn:iso-astm:E1762-95:2013" -* signature.type.code = #1.2.840.10065.1.12.1.7 -* signature.type.display = "Consent Signature" -* signature.when = "2022-02-14T08:39:25+01:00" -* signature.who.reference = "https://www.bundesdruckerei.de/" -* signature.onBehalfOf.reference = "https://www.bfarm.de/" -* signature.sigFormat = #application/pkcs7-mime -* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle.fsh index bee7ad8e..ee7a8789 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle.fsh @@ -47,35 +47,3 @@ Description: "A document style representation of the receipt (complete, self-con * signature.type ^slicing.discriminator.type = #value * signature.type ^slicing.discriminator.path = "code" * signature.type ^slicing.rules = #closed - -Instance: ReceiptBundleBinary -InstanceOf: Binary -Usage: #inline -* id = "b939a82a-9c23-4b6d-a139-f468d1b9d652" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Digest) -* contentType = #application/octet-stream -* data = "tJg8c5ZtdhzEEhJ0ZpAsUVFx5dKuYgQFs5oKgthi17M=" - -Instance: ReceiptBundleQuittung -InstanceOf: GEM_ERP_PR_Bundle -Title: "Receipt Bundle 'Quittung' for completed dispensation of a prescription" -Usage: #example -* id = "dffbfd6a-5712-4798-bdc8-07201eb77ab8" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Bundle) -* meta.tag.display = "Receipt Bundle 'Quittung' for completed dispensation of a prescription" -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* type = #document -* timestamp = "2022-03-18T15:28:00+00:00" -* entry[DocumentInformation].fullUrl = "urn:uuid:c624cf47-e235-4624-af71-0a09dc9254dc" -* entry[DocumentInformation].resource = ReceiptBundleComposition -* entry[SigningDevice].fullUrl = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" -* entry[SigningDevice].resource = ReceiptBundleDevice -* entry[PrescriptionDigest].fullUrl = "urn:uuid:b939a82a-9c23-4b6d-a139-f468d1b9d652" -* entry[PrescriptionDigest].resource = ReceiptBundleBinary -* signature.type[AuthorsSignature].system = "urn:iso-astm:E1762-95:2013" -* signature.type[AuthorsSignature].code = #1.2.840.10065.1.12.1.1 -* signature.when = "2022-03-18T15:28:00+00:00" -* signature.who.reference = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" -* signature.sigFormat = #application/pkcs7-mime -* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh index ded29871..0d6f9860 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh @@ -43,38 +43,3 @@ Invariant: workflow-communication-payload-1 Description: "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird" * severity = #error * expression = "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty() or payload.exists()" - -Instance: Communication_DispenseRequest -InstanceOf: GEM_ERP_PR_Communication_DispReq -Title: "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" -Usage: #example -* id = "a218a36e-f2fd-4603-ba67-c827acfef01b" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) -* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* basedOn.reference = "Task/160.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = $identifier-telematik-id -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-04-29T13:44:30.128+02:00" -* payload.contentString = "{ \"version\": \"1\", \"supplyOptionsType\": \"delivery\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"hint\": \"Bitte im Morsecode klingeln: -.-.\", \"phone\": \"004916094858168\" }" - -Instance: Communication_DispenseRequest_DiGA -InstanceOf: GEM_ERP_PR_Communication_DispReq -Title: "Communication message sent by patient to insurance company to request the dispensation of a DiGA by providing the AccessCode" -Usage: #example -* id = "2be1c6ac-5d10-47f6-84ee-8318b2c22c76" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) -* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#162 "Muster 16 (Digitale Gesundheitsanwendungen)" -* basedOn.reference = "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = $identifier-telematik-id -* recipient[=].identifier.value = "8-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-04-29T13:44:30.128+02:00" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh index 362dcd3d..e2807f51 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh @@ -52,39 +52,3 @@ Description: "Ressource used for the communication of informative requests betwe * payload.content[x] only string * ^short = "The actual content of the message" * ^comment = "This content needs to be a JSON according to gemSpec_DM_eRp." - -Instance: Communication_InformationRequest -InstanceOf: GEM_ERP_PR_Communication_InfoReq -Title: "Communication message sent by patient to pharmacy to ask for availybility of medicine WITHOUT providing the AccessCode" -Usage: #example -* id = "8ca3c379-ac86-470f-bc12-178c9008f5c9" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_InfoReq) -* meta.tag.display = "Communication message sent by patient to pharmacy to ask for availybility of medicine WITHOUT providing the AccessCode" -* contained[+] = SumatripanMedication -* basedOn.reference = "Task/160.000.033.491.280.78" -* status = #unknown -* about.reference = "#SumatripanMedication" -* recipient[+].identifier.system = $identifier-telematik-id -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-04-29T13:43:30.128+02:00" -* payload.extension[InsuranceProvider].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider" -* payload.extension[InsuranceProvider].valueIdentifier.system = "http://fhir.de/sid/arge-ik/iknr" -* payload.extension[InsuranceProvider].valueIdentifier.value = "109500969" -* payload.extension[SubstitutionAllowed].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType" -* payload.extension[SubstitutionAllowed].valueBoolean = false -* payload.extension[PrescriptionType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* payload.extension[PrescriptionType].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" -* payload.extension[PrescriptionType].valueCoding.code = #160 -* payload.extension[PackageQuantity].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PackageQuantity" -* payload.extension[PackageQuantity].valueQuantity.system = "http://unitsofmeasure.org" -* payload.extension[PackageQuantity].valueQuantity.value = 1 -* payload.extension[PreferredSupplyOptions].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType" -* payload.extension[PreferredSupplyOptions].extension[onPremise].url = "onPremise" -* payload.extension[PreferredSupplyOptions].extension[onPremise].valueBoolean = true -* payload.extension[PreferredSupplyOptions].extension[shipment].url = "shipment" -* payload.extension[PreferredSupplyOptions].extension[shipment].valueBoolean = false -* payload.extension[PreferredSupplyOptions].extension[delivery].url = "delivery" -* payload.extension[PreferredSupplyOptions].extension[delivery].valueBoolean = true -* payload.contentString = "U.N.V.E.U." diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_Reply.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_Reply.fsh index 6c2dcfd6..2ead729b 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_Reply.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_Reply.fsh @@ -49,29 +49,3 @@ Description: "Ressource used for the communication of the reply to dispense/info * payload.content[x] MS * ^short = "The actual content of the message" * ^comment = "This content needs to be a JSON according to gemSpec_DM_eRp." - -Instance: Communication_Reply -InstanceOf: GEM_ERP_PR_Communication_Reply -Title: "Communication message sent by pharmacy to patient in response to a previous Task-related message" -Usage: #example -* id = "7977a4ab-97a9-4d95-afb3-6c4c1e2ac596" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_Reply) -* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous Task-related message" -* basedOn.reference = "Task/160.000.033.491.280.78" -* status = #unknown -* sender.identifier.system = $identifier-telematik-id -* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" -* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* recipient[=].identifier.value = "X234567890" -* sent = "2020-04-29T13:46:30.128+02:00" -* payload.extension[AvailabilityStatus].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AvailabilityState" -* payload.extension[AvailabilityStatus].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus" -* payload.extension[AvailabilityStatus].valueCoding.code = #20 -* payload.extension[OfferedSupplyOptions].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType" -* payload.extension[OfferedSupplyOptions].extension[onPremise].url = "onPremise" -* payload.extension[OfferedSupplyOptions].extension[onPremise].valueBoolean = true -* payload.extension[OfferedSupplyOptions].extension[shipment].url = "shipment" -* payload.extension[OfferedSupplyOptions].extension[shipment].valueBoolean = false -* payload.extension[OfferedSupplyOptions].extension[delivery].url = "delivery" -* payload.extension[OfferedSupplyOptions].extension[delivery].valueBoolean = true -* payload.contentString = "Eisern" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh index 73db065b..13e8b126 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Composition.fsh @@ -42,21 +42,3 @@ Description: "Upon completion of the ePrescription workflow, the prescription fi * event.period.end ^definition = "The end of the period. Time when the dispensation finished, i.e. when server creates the receipt." * event.detail MS * event.detail.reference 1.. MS - -Instance: ReceiptBundleComposition -InstanceOf: GEM_ERP_PR_Composition -Title: "Composition for Receipt Bundle 'Quittung'" -Usage: #inline -* id = "c624cf47-e235-4624-af71-0a09dc9254dc" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Composition) -* extension[Beneficiary].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary" -* extension[Beneficiary].valueIdentifier.system = $identifier-telematik-id -* extension[Beneficiary].valueIdentifier.value = "3-SMC-B-Testkarte-883110000129070" -* status = #final -* type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#3 "Receipt" -* date = "2022-03-18T15:29:00+00:00" -* author.reference = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" -* title = "Quittung" -* event.period.start = "2022-03-18T15:28:00+00:00" -* event.period.end = "2022-03-18T15:29:00+00:00" -* section[+].entry.reference = "urn:uuid:b939a82a-9c23-4b6d-a139-f468d1b9d652" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Device.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Device.fsh index 5c4443eb..31219d58 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Device.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Device.fsh @@ -9,17 +9,3 @@ Description: "static information on the ePrescription backend server" * version 1..1 * contact MS * ^short = "Contact details of the ePrescription backend server." - -Instance: ReceiptBundleDevice -InstanceOf: GEM_ERP_PR_Device -Title: "Device for Receipt Bundle 'Quittung'" -Usage: #inline -* id = "1" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Device) -* status = #active -* serialNumber = "1.4.0" -* deviceName.name = "E-Rezept-Fachdienst" -* deviceName.type = #user-friendly-name -* version.value = "1.4.0" -* contact.system = #email -* contact.value = "betrieb@gematik.de" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 4797db7b..39eceabe 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -14,49 +14,3 @@ Description: "Handles medical information about the redeemed prescription" * ingredient.strength.denominator.system.extension[dataAbsentReason].value[x] = #unknown * ingredient.strength.denominator.code.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.denominator.code.extension[dataAbsentReason].value[x] = #unknown - -Instance: SumatripanMedication -InstanceOf: GEM_ERP_PR_Medication -Title: "Sample Medication Sumatripan" -Usage: #example -// Arzneimittelkategorie -* extension[drugCategory].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" -* extension[drugCategory].valueCoding.system = "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" -* extension[drugCategory].valueCoding.code = #00 - -// Impfstoff -* extension[isVaccine].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" -* extension[isVaccine].valueBoolean = false - -// normgroesse -* extension[normSizeCode].url = "http://fhir.de/StructureDefinition/normgroesse" -* extension[normSizeCode].valueCode = #N1 -* code.coding[pzn].system = "http://fhir.de/CodeSystem/ifa/pzn" -* code.coding[pzn].code = #06313728 -* code.text = "Sumatriptan-1a Pharma 100 mg Tabletten" -* form.coding[kbvDarreichungsform].system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" -* form.coding[kbvDarreichungsform].code = #TAB -* amount.numerator.value = 20 -* amount.numerator.unit = "St" -* amount.numerator.extension[totalQuantity].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension" -* amount.numerator.extension[totalQuantity].valueString = "20 St." -* amount.denominator.value = 1 - - -Instance: Medication-Without-Strength-Code -InstanceOf: GEM_ERP_PR_Medication -Title: "Medication Without code or system for Strength" -Usage: #example -* code.text = "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" -* form = http://standardterms.edqm.eu#11210000 "Solution for infusion" -* ingredient.itemCodeableConcept = http://fhir.de/CodeSystem/bfarm/atc#L01DB01 "Doxorubicin" -* ingredient.isActive = true -* ingredient.strength.numerator.value = 85 -* ingredient.strength.numerator.unit = "mg" -* ingredient.strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown - -* ingredient.strength.denominator.value = 250 -* ingredient.strength.denominator.unit = "Milliliter" -* ingredient.strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh index 034a834c..02935145 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh @@ -30,87 +30,3 @@ Invariant: workflow-abgabeDatumsFormat Description: "Wert muss ein Datum in der Form: YYYY-MM-DD sein." * severity = #error * expression = "toString().length()=10" - -Instance: Example-MedicationDispense -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense" -Description: "Example of a Medication Dispense." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "160.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* whenPrepared = "2024-04-03" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" - -/* - -Instance: INVALID-DATE-Example-MedicationDispense-1 -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense" -Description: "Example of a Medication Dispense." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "160.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024" -* whenPrepared = "2024" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" - -Instance: INVALID-DATE-Example-MedicationDispense-2 -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense" -Description: "Example of a Medication Dispense." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "160.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04" -* whenPrepared = "2024-04" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" - -Instance: INVALID-DATE-Example-MedicationDispense-3 -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense" -Description: "Example of a Medication Dispense." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "160.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "1-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03T15:28:00+00:00" -* whenPrepared = "2024-04-03T15:28:00+00:00" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" - -Instance: INVALID-DATE-Example-MedicationDispense-4 -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense" -Description: "Example of a Medication Dispense." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "160.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03T00:00:00.000Z" -* whenPrepared = "2024-04-03T00:00:00.000Z" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" - -*/ \ No newline at end of file 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 3723c35c..3e94ca93 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh @@ -70,146 +70,3 @@ Invariant: workflow-medicationdispense-redeemcode-3 Description: "Name of the DiGA and DiGA-VE-ID was not found, but is mandatory if a redeem code is provided." Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())" Severity: #error - -Instance: Example-MedicationDispense-DiGA-Name-And-VE-ID -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Medication Dispense DiGA, Name and DiGA-VE-ID" -Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." -* extension[redeemCode].valueString = "DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" -* medicationReference.identifier.value = "12345678" - -Instance: Example-MedicationDispense-DiGA-DeepLink -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Medication Dispense DiGA with a deep link." -Description: "Example of a Medication Dispense for DiGAs which states a deep link." -* extension[redeemCode].valueString = "DE12345678901234" -* extension[deepLink].valueUrl = "https://gematico.de?redeemCode=DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" -* medicationReference.identifier.value = "12345678" - -Instance: Example-MedicationDispense-DiGA-NoRedeemCode -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Medication Dispense DiGA without a redeem code" -Description: "Example of a Medication Dispense for DiGAs which has no redeem code." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" -* medicationReference.extension[data-absent-reason].valueCode = #asked-declined - -/* -Instance: INVALID-Example-MedicationDispense-DiGA-Only-Name -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Medication Dispense DiGA, Name only" -Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." -* extension[redeemCode].valueString = "DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.display = "Gematico Diabetestherapie" - -Instance: INVALID-Example-MedicationDispense-DiGA-MissingNote -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Invalid MedicationDispense for missing Note" -Description: "A Note needs to be provided if no redeem code is provided." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.extension[data-absent-reason].valueCode = #asked-declined - -Instance: INVALID-Example-MedicationDispense-DiGA-MissingDataAbsentReason -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Invalid MedicationDispense for missing DataAbsentReason" -Description: "A DataAbsentReason needs to be provided if no redeem code is provided." -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" -* medicationReference.display = "whitespace" - -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing Name" -Description: "When a redeem code is provided, the name of the DiGA is mandatory." -* extension[redeemCode].valueString = "DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" -* medicationReference.identifier.value = "12345678" - -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-VE-ID -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing DiGA-VE-ID" -Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." -* extension[redeemCode].valueString = "DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.display = "Gematico Diabetestherapie" - -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-VE-ID -InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA -Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-VE-ID" -Description: "When a redeem code is provided, the Name and DiGA-VE-ID are mandatory." -* extension[redeemCode].valueString = "DE12345678901234" -* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[prescriptionID].value = "162.000.033.491.280.78" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* medicationReference.display = "whitespace" - -*/ \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Task.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Task.fsh index bb92fdc0..88757ccc 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Task.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Task.fsh @@ -75,178 +75,3 @@ Description: "This resource manages the ePrescription workflow" * output[receipt].type.coding.code 1.. * output[receipt].type.coding.code = #3 (exactly) * output[receipt].value[x] only Reference(GEM_ERP_PR_Bundle) - -Instance: TaskInCreatedState -InstanceOf: GEM_ERP_PR_Task -Title: "Task just created by Fachdienst via $create operation" -Description: "Task just created by Fachdienst via $create operation" -Usage: #example -* id = "b12eb5f7-91ce-4887-93c7-800454601377" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in DRAFT state just created by Fachdienst via $create operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #draft -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -//* performerType[+].coding = urn:ietf:rfc:3986#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" - -Instance: TaskInReadyState -InstanceOf: GEM_ERP_PR_Task -Title: "Task activated by (Z)PVS/KIS via $activate operation that carries a dispensable ePrescription" -Usage: #example -* id = "607255ed-ce41-47fc-aad3-cfce1c39963f" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in READY state activated by (Z)PVS/KIS via $activate operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #ready -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* for.identifier.value = "X123456789" -* lastModified = "2022-03-18T15:27:00+00:00" -* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" - -Instance: TaskInIn-ProgressState -InstanceOf: GEM_ERP_PR_Task -Title: "Task claimed by pharmacy via $accept operation" -Usage: #example -* id = "d70932d1-9e1c-483c-b2d4-b7dced09b35e" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #in-progress -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* for.identifier.value = "X123456789" -* lastModified = "2022-03-18T15:28:00+00:00" -* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" - -Instance: TaskInIn-ProgressState-Dispensed -InstanceOf: GEM_ERP_PR_Task -Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" -Usage: #example -* id = "9b48f82c-9c11-4a57-aa72-a805f9537a82" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* extension[lastMedicationDispense].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense" -* extension[lastMedicationDispense].valueInstant = "2022-05-20T13:28:17+02:00" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #in-progress -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* for.identifier.value = "X123456789" -* lastModified = "2022-03-18T15:28:00+00:00" -* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" - -Instance: TaskInIn-ProgressState-Dispensed-Multiple-MedicationDispenses -InstanceOf: GEM_ERP_PR_Task -Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" -Usage: #example -* id = "f5c21409-b84b-4125-8649-5630a00906b1" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* extension[lastMedicationDispense].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense" -* extension[lastMedicationDispense].valueInstant = "2022-05-20T13:28:17+02:00" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #in-progress -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* for.identifier.value = "X123456789" -* lastModified = "2022-03-18T15:28:00+00:00" -* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" - -Instance: TaskInClosedState -InstanceOf: GEM_ERP_PR_Task -Title: "Task finished by pharmacy via $close operation" -Usage: #example -* id = "09330307-16ce-4cdc-810a-ca24ef80dde3" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Task) -* meta.tag.display = "Task in COMPLETED state dispensed by pharmacy via $closed operation" -* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" -* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" -* extension[acceptDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate" -* extension[acceptDate].valueDate = "2022-04-02" -* extension[expiryDate].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate" -* extension[expiryDate].valueDate = "2022-06-02" -* identifier[PrescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[PrescriptionID].value = "160.000.033.491.280.78" -* identifier[AccessCode].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode" -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #completed -* intent = #order -* authoredOn = "2022-03-18T15:26:00+00:00" -* performerType[+].coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType#urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" -* for.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* for.identifier.value = "X123456789" -* lastModified = "2022-03-18T15:29:00+00:00" -* input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" -* output[receipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#3 "Receipt" -* output[receipt].valueReference.reference = "dffbfd6a-5712-4798-bdc8-07201eb77ab8" From 1e220e9b6f0040e9c8a015b822ee3cc097475cc1 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 07:48:46 +0200 Subject: [PATCH 02/57] Add Kombipackung example --- .../resources/Medication-Augentropfen.json | 39 +++++ .../Medication-Medication-Kombipackung.json | 133 ++++++++++++++++++ .../resources/Medication-NasenSpray.json | 39 +++++ Resources/input/fsh/aliases.fsh | 10 +- .../input/fsh/examples/Example_Medication.fsh | 67 ++++++++- 5 files changed, 285 insertions(+), 3 deletions(-) create mode 100644 Resources/fsh-generated/resources/Medication-Augentropfen.json create mode 100644 Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json create mode 100644 Resources/fsh-generated/resources/Medication-NasenSpray.json diff --git a/Resources/fsh-generated/resources/Medication-Augentropfen.json b/Resources/fsh-generated/resources/Medication-Augentropfen.json new file mode 100644 index 00000000..57cd7aa4 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-Augentropfen.json @@ -0,0 +1,39 @@ +{ + "resourceType": "Medication", + "id": "Augentropfen", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 20, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + } + ], + "batch": { + "lotNumber": "0132456" + } +} diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json new file mode 100644 index 00000000..35e976df --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -0,0 +1,133 @@ +{ + "resourceType": "Medication", + "id": "Medication-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "1746517", + "display": "CROMO-RATIOPHARM Kombipackung" + } + ] + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "KPG" + } + ], + "text": "Kombipackung" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "Augentropfen", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 20, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + } + ], + "batch": { + "lotNumber": "0132456" + } + }, + { + "resourceType": "Medication", + "id": "NasenSpray", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 2.8, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "Sprühstoß", + "system": "http://unitsofmeasure.org", + "code": "1" + } + } + } + ], + "batch": { + "lotNumber": "56498416854" + } + } + ], + "status": "active", + "ingredient": [ + { + "itemReference": { + "reference": "#NasenSpray" + } + }, + { + "itemReference": { + "reference": "#Augentropfen" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/Medication-NasenSpray.json b/Resources/fsh-generated/resources/Medication-NasenSpray.json new file mode 100644 index 00000000..45bc4aa7 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-NasenSpray.json @@ -0,0 +1,39 @@ +{ + "resourceType": "Medication", + "id": "NasenSpray", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 2.8, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "Sprühstoß", + "system": "http://unitsofmeasure.org", + "code": "1" + } + } + } + ], + "batch": { + "lotNumber": "56498416854" + } +} diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index e4bac0a9..07393891 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -19,11 +19,19 @@ Alias: $identifier-pkv = https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Iden Alias: $identifier-telematik-id = https://gematik.de/fhir/sid/telematik-id Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr -// Codings +// National Codings Alias: $PZN = http://fhir.de/CodeSystem/ifa/pzn +Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc +//TODO: URL mit bfarm//abdata? abstimmen +Alias: $cs-product-key = http://fhir.de/CodeSystem/abdata/Komponentennummer + // 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 // Workflow Alias: $prescription-id-ns = https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId + +// International +Alias: $sct = http://snomed.info/sct +Alias: $cs-ucum = http://unitsofmeasure.org \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index 40097a9f..dd4986ce 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -26,7 +26,6 @@ Usage: #example * amount.numerator.extension[totalQuantity].valueString = "20 St." * amount.denominator.value = 1 - Instance: Medication-Without-Strength-Code InstanceOf: GEM_ERP_PR_Medication Title: "Medication Without code or system for Strength" @@ -43,4 +42,68 @@ Usage: #example * ingredient.strength.denominator.value = 250 * ingredient.strength.denominator.unit = "Milliliter" * ingredient.strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown \ No newline at end of file +* ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + +Instance: Medication-Kombipackung +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication which contains compounding child elements" +Usage: #example +* contained[+] = Augentropfen +* contained[+] = NasenSpray +//TODO: Extension Type setzen +// * extension[type].valueCoding = $sct#781405001 "Medicinal product package" +* extension[isVaccine].valueBoolean = false +* extension[drugCategory].valueCoding.code = #00 +* extension[drugCategory].valueCoding.display = "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" +* code.coding[pzn] = $PZN#1746517 "CROMO-RATIOPHARM Kombipackung" +* status = #active +* form.coding[kbvDarreichungsform].code = #KPG +* form.text = "Kombipackung" +* ingredient[+].itemReference = Reference(NasenSpray) +* ingredient[+].itemReference = Reference(Augentropfen) + +Instance: Augentropfen +InstanceOf: GEM_ERP_PR_Medication +//TODO Change to correct MedicationType +//InstanceOf: EPAMedicationPharmaceuticalProduct +//TODO: Set Extension and code +//* extension[type].valueCoding = $sct#373873005 "Pharmazeutisches/biologisches Produkt" +//* code.coding[product-key] = $cs-product-key#01746517-1 "Augentropfen" +* batch.lotNumber = "0132456" +* ingredient[+] + * itemCodeableConcept + * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" + * strength + * numerator + * value = 20 + * unit = "mg" + * system = $cs-ucum + * code = #mg + * denominator + * value = 1 + * unit = "ml" + * system = $cs-ucum + * code = #ml + +Instance: NasenSpray +InstanceOf: GEM_ERP_PR_Medication +//TODO Change to correct MedicationType +//InstanceOf: EPAMedicationPharmaceuticalProduct +//TODO: Set Extension and code +//* extension[type].valueCoding = $sct#373873005 "Pharmazeutisches/biologisches Produkt" +//* code.coding[product-key] = $cs-product-key#01746517-2 "Nasenspray, Lösung" +* batch.lotNumber = "56498416854" +* ingredient[+] + * itemCodeableConcept + * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" + * strength + * numerator + * value = 2.8 + * unit = "mg" + * system = $cs-ucum + * code = #mg + * denominator + * value = 1 + * unit = "Sprühstoß" + * system = $cs-ucum + * code = #1 \ No newline at end of file From f28ffcfb8d7aa3b22c6c4b9e920bc663dd44c491 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 07:57:35 +0200 Subject: [PATCH 03/57] Implement Parameters Profile --- ...nition-gem-erp-pr-parameters-dispense.json | 180 ++++++++++++++++++ .../GEM_ERP_PR_Parameters_Dispense.fsh | 40 ++++ 2 files changed, 220 insertions(+) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json create mode 100644 Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json new file mode 100644 index 00000000..0d93f523 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json @@ -0,0 +1,180 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-parameters-dispense", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Parameters_Dispense", + "version": "1.4", + "name": "GEM_ERP_PR_Parameters_Dispense", + "title": "GEM ERP PR Parameters Dispense", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Parameters_Dispense|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:rxDispensation", + "path": "Parameters.parameter", + "sliceName": "rxDispensation", + "min": 1, + "max": "*" + }, + { + "id": "Parameters.parameter:rxDispensation.name", + "path": "Parameters.parameter.name", + "fixedString": "rxDispensation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.resource", + "path": "Parameters.parameter.resource", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "open" + }, + "min": 2, + "max": "2", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense", + "path": "Parameters.parameter.part", + "sliceName": "medicationDispense", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.name", + "path": "Parameters.parameter.part.name", + "patternString": "medicationDispense", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "MedicationDispense", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" + ] + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.part", + "path": "Parameters.parameter.part.part", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication", + "path": "Parameters.parameter.part", + "sliceName": "medication", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.name", + "path": "Parameters.parameter.part.name", + "patternString": "medication", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "Medication", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" + ] + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.part", + "path": "Parameters.parameter.part.part", + "max": "0" + } + ] + } +} diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh new file mode 100644 index 00000000..ad38653a --- /dev/null +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh @@ -0,0 +1,40 @@ +Profile: GEM_ERP_PR_Parameters_Dispense +Parent: Parameters +Id: gem-erp-pr-parameters-dispense +Title: "GEM ERP PR Parameters Dispense" +Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense." +* insert Profile(GEM_ERP_PR_Parameters_Dispense) + +* parameter 1..* +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains rxDispensation 1..* + +* parameter[rxDispensation] + * name MS + * name = "rxDispensation" (exactly) + * value[x] 0..0 + * resource 0..0 + * part 2..2 MS + * ^slicing.discriminator.type = #pattern + * ^slicing.discriminator.path = "name" + * ^slicing.rules = #open + * part contains + medicationDispense 1..1 and + medication 1..1 + * part[medicationDispense] + * name MS + * name = "medicationDispense" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_MedicationDispense + * part 0..0 + * part[medication] + * name MS + * name = "medication" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Medication + * part 0..0 \ No newline at end of file From 160f04cdf0c6d26a44c2aaf2fc5f225ed762b116 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 08:37:38 +0200 Subject: [PATCH 04/57] Refine Close and Dispense Operations with parameters --- .../OperationDefinition-CloseOperation.json | 39 +++- ...OperationDefinition-DispenseOperation.json | 59 +++-- ...tion-gem-erp-pr-close-operation-input.json | 180 +++++++++++++++ ...ion-gem-erp-pr-close-operation-output.json | 124 ++++++++++ ...-gem-erp-pr-dispense-operation-input.json} | 12 +- ...-gem-erp-pr-dispense-operation-output.json | 213 ++++++++++++++++++ .../fsh/examples/Example_Close_Operation.fsh | 32 +++ .../examples/Example_Dispense_Operation.fsh | 50 ++++ .../operationdefinitions/GEM_ERP_OP_Close.fsh | 105 ++++----- .../GEM_ERP_OP_Dispense.fsh | 136 +++++------ .../GEM_ERP_PR_CloseOperation_Input.fsh | 40 ++++ .../GEM_ERP_PR_CloseOperation_Output.fsh | 28 +++ .../GEM_ERP_PR_DispenseOperation_Input.fsh} | 10 +- .../GEM_ERP_PR_DispenseOperation_Output.fsh | 48 ++++ 14 files changed, 908 insertions(+), 168 deletions(-) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-parameters-dispense.json => StructureDefinition-gem-erp-pr-dispense-operation-input.json} (94%) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json create mode 100644 Resources/input/fsh/examples/Example_Close_Operation.fsh create mode 100644 Resources/input/fsh/examples/Example_Dispense_Operation.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh rename Resources/input/fsh/{profiles/GEM_ERP_PR_Parameters_Dispense.fsh => parameters/GEM_ERP_PR_DispenseOperation_Input.fsh} (82%) create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 8337007c..78ac083b 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -16,7 +16,8 @@ "instance": true, "description": "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed", "code": "close", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", "parameter": [ { "name": "secret", @@ -27,25 +28,43 @@ "type": "string" }, { - "name": "MedicationDispense", + "name": "rxDispensation", "use": "in", "min": 0, - "max": "1", + "max": "*", "documentation": "Information on dispensed Medication(s)", - "type": "canonical", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" + "part": [ + { + "name": "medicationDispense", + "type": "MedicationDispense", + "use": "in", + "min": 1, + "max": "1" + }, + { + "name": "medication", + "type": "Medication", + "use": "in", + "min": 1, + "max": "1" + } ] }, { - "name": "Receipt", + "name": "receipt", "use": "out", - "min": 1, + "min": 0, "max": "1", "documentation": "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature.", "type": "Bundle" + }, + { + "name": "operationOutcome", + "use": "out", + "min": 0, + "max": "1", + "documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome.", + "type": "OperationOutcome" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index d275bbef..95f00b5b 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -16,7 +16,8 @@ "instance": true, "description": "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy.", "code": "dispense", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", "parameter": [ { "name": "secret", @@ -27,30 +28,58 @@ "type": "string" }, { - "name": "MedicationDispense", + "name": "rxDispensation", "use": "in", "min": 1, - "max": "1", + "max": "*", "documentation": "Information on dispensed Medication(s)", - "type": "canonical", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" + "part": [ + { + "name": "medicationDispense", + "type": "MedicationDispense", + "use": "in", + "min": 1, + "max": "1" + }, + { + "name": "medication", + "type": "Medication", + "use": "in", + "min": 1, + "max": "1" + } ] }, { - "name": "MedicationDispense", + "name": "medicationDispense", "use": "out", - "min": 1, + "min": 0, "max": "1", "documentation": "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded.", - "type": "canonical", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4", - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" + "part": [ + { + "name": "medicationDispense", + "type": "MedicationDispense", + "use": "out", + "min": 1, + "max": "1" + }, + { + "name": "medication", + "type": "Medication", + "use": "out", + "min": 1, + "max": "1" + } ] + }, + { + "name": "operationOutcome", + "use": "out", + "min": 0, + "max": "1", + "documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome.", + "type": "OperationOutcome" } ] } diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json new file mode 100644 index 00000000..5d3c2bd6 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -0,0 +1,180 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-close-operation-input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", + "version": "1.4", + "name": "GEM_ERP_PR_CloseOperation_Input", + "title": "GEM ERP PR CloseOperation Input", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:rxDispensation", + "path": "Parameters.parameter", + "sliceName": "rxDispensation", + "min": 1, + "max": "*" + }, + { + "id": "Parameters.parameter:rxDispensation.name", + "path": "Parameters.parameter.name", + "fixedString": "rxDispensation", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.resource", + "path": "Parameters.parameter.resource", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "open" + }, + "min": 2, + "max": "2", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense", + "path": "Parameters.parameter.part", + "sliceName": "medicationDispense", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.name", + "path": "Parameters.parameter.part.name", + "patternString": "medicationDispense", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "MedicationDispense", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" + ] + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.part", + "path": "Parameters.parameter.part.part", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication", + "path": "Parameters.parameter.part", + "sliceName": "medication", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.name", + "path": "Parameters.parameter.part.name", + "patternString": "medication", + "mustSupport": true + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "Medication", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" + ] + } + ] + }, + { + "id": "Parameters.parameter:rxDispensation.part:medication.part", + "path": "Parameters.parameter.part.part", + "max": "0" + } + ] + } +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json new file mode 100644 index 00000000..788cb94b --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json @@ -0,0 +1,124 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-close-operation-output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", + "version": "1.4", + "name": "GEM_ERP_PR_CloseOperation_Output", + "title": "GEM ERP PR CloseOperation Output", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $close-operation.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:receipt", + "path": "Parameters.parameter", + "sliceName": "receipt", + "min": 0, + "max": "1" + }, + { + "id": "Parameters.parameter:receipt.name", + "path": "Parameters.parameter.name", + "fixedString": "receipt", + "mustSupport": true + }, + { + "id": "Parameters.parameter:receipt.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:receipt.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "Bundle", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" + ] + } + ] + }, + { + "id": "Parameters.parameter:operationOutcome", + "path": "Parameters.parameter", + "sliceName": "operationOutcome", + "min": 0, + "max": "1" + }, + { + "id": "Parameters.parameter:operationOutcome.name", + "path": "Parameters.parameter.name", + "patternString": "operationOutcome", + "mustSupport": true + }, + { + "id": "Parameters.parameter:operationOutcome.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:operationOutcome.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "OperationOutcome" + } + ] + }, + { + "id": "Parameters.parameter:operationOutcome.part", + "path": "Parameters.parameter.part", + "max": "0" + } + ] + } +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json similarity index 94% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json rename to Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json index 0d93f523..891b7f9f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-parameters-dispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json @@ -1,13 +1,13 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-parameters-dispense", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Parameters_Dispense", + "id": "gem-erp-pr-dispense-operation-input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", "version": "1.4", - "name": "GEM_ERP_PR_Parameters_Dispense", - "title": "GEM ERP PR Parameters Dispense", + "name": "GEM_ERP_PR_DispenseOperation_Input", + "title": "GEM ERP PR DispenseOperation Input", "status": "draft", "date": "2024-07-15", - "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense.", + "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", "fhirVersion": "4.0.1", "mapping": [ { @@ -38,7 +38,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Parameters_Dispense|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json new file mode 100644 index 00000000..3ee0be06 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json @@ -0,0 +1,213 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-dispense-operation-output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", + "version": "1.4", + "name": "GEM_ERP_PR_DispenseOperation_Output", + "title": "GEM ERP PR DispenseOperation Output", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1 + }, + { + "id": "Parameters.parameter:medicationDispense", + "path": "Parameters.parameter", + "sliceName": "medicationDispense", + "min": 0, + "max": "*" + }, + { + "id": "Parameters.parameter:medicationDispense.name", + "path": "Parameters.parameter.name", + "fixedString": "medicationDispense", + "mustSupport": true + }, + { + "id": "Parameters.parameter:medicationDispense.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:medicationDispense.resource", + "path": "Parameters.parameter.resource", + "max": "0" + }, + { + "id": "Parameters.parameter:medicationDispense.part", + "path": "Parameters.parameter.part", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "open" + }, + "min": 2, + "max": "2", + "mustSupport": true + }, + { + "id": "Parameters.parameter:medicationDispense.part:medicationDispense", + "path": "Parameters.parameter.part", + "sliceName": "medicationDispense", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:medicationDispense.part:medicationDispense.name", + "path": "Parameters.parameter.part.name", + "patternString": "medicationDispense", + "mustSupport": true + }, + { + "id": "Parameters.parameter:medicationDispense.part:medicationDispense.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:medicationDispense.part:medicationDispense.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "MedicationDispense", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" + ] + } + ] + }, + { + "id": "Parameters.parameter:medicationDispense.part:medicationDispense.part", + "path": "Parameters.parameter.part.part", + "max": "0" + }, + { + "id": "Parameters.parameter:medicationDispense.part:medication", + "path": "Parameters.parameter.part", + "sliceName": "medication", + "min": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] + }, + { + "id": "Parameters.parameter:medicationDispense.part:medication.name", + "path": "Parameters.parameter.part.name", + "patternString": "medication", + "mustSupport": true + }, + { + "id": "Parameters.parameter:medicationDispense.part:medication.value[x]", + "path": "Parameters.parameter.part.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:medicationDispense.part:medication.resource", + "path": "Parameters.parameter.part.resource", + "min": 1, + "type": [ + { + "code": "Medication", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" + ] + } + ] + }, + { + "id": "Parameters.parameter:medicationDispense.part:medication.part", + "path": "Parameters.parameter.part.part", + "max": "0" + }, + { + "id": "Parameters.parameter:operationOutcome", + "path": "Parameters.parameter", + "sliceName": "operationOutcome", + "min": 0, + "max": "1" + }, + { + "id": "Parameters.parameter:operationOutcome.name", + "path": "Parameters.parameter.name", + "patternString": "operationOutcome", + "mustSupport": true + }, + { + "id": "Parameters.parameter:operationOutcome.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:operationOutcome.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "OperationOutcome" + } + ] + }, + { + "id": "Parameters.parameter:operationOutcome.part", + "path": "Parameters.parameter.part", + "max": "0" + } + ] + } +} diff --git a/Resources/input/fsh/examples/Example_Close_Operation.fsh b/Resources/input/fsh/examples/Example_Close_Operation.fsh new file mode 100644 index 00000000..9f9a128f --- /dev/null +++ b/Resources/input/fsh/examples/Example_Close_Operation.fsh @@ -0,0 +1,32 @@ + +Instance: OperationCloseParametersInputMedicationDispense +InstanceOf: MedicationDispense +Title: "MedicationDispense handed to Günther at a pharmacy" +Usage: #example +* id = "3465270a-11e7-4bbf-ae53-378f9cc52747" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) +* contained[+] = SumatripanMedication +* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[=].value = "160.000.033.491.280.78" +* status = #completed +* medicationReference.reference = "#SumatripanMedication" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X234567890" +* performer[+].actor.identifier.system = $identifier-telematik-id +* performer[=].actor.identifier.value = "3-abc-1234567890" +* whenHandedOver = "2022-02-28" +* dosageInstruction[+].text = "1-0-1-0" + +Instance: OperationCloseParametersInputBundle +InstanceOf: Bundle +Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" +Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" +Usage: #example +* id = "9145d0d0-7b77-483f-ad89-cd9d34fc1f08" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) +* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" +* type = #collection +* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" +* entry[=].resource = OperationCloseParametersInputMedicationDispense +* entry[+].fullUrl = "http://waltraud-was-here" +* entry[=].resource = OperationCloseParametersInputMedicationDispense diff --git a/Resources/input/fsh/examples/Example_Dispense_Operation.fsh b/Resources/input/fsh/examples/Example_Dispense_Operation.fsh new file mode 100644 index 00000000..be0a725e --- /dev/null +++ b/Resources/input/fsh/examples/Example_Dispense_Operation.fsh @@ -0,0 +1,50 @@ + +Instance: OperationDispenseParametersInputMedicationDispense +InstanceOf: MedicationDispense +Title: "MedicationDispense handed to Günther at a pharmacy" +Usage: #example +* id = "26fbffa8-b0df-4074-b2cf-143269aff176" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) +* contained[+] = SumatripanMedication +* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[=].value = "160.000.033.491.280.78" +* status = #completed +* medicationReference.reference = "#SumatripanMedication" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X234567890" +* performer[+].actor.identifier.system = $identifier-telematik-id +* performer[=].actor.identifier.value = "3-abc-1234567890" +* whenHandedOver = "2022-02-28" +* dosageInstruction[+].text = "1-0-1-0" + +Instance: OperationDispenseOutputMedicationDispense +InstanceOf: MedicationDispense +Title: "MedicationDispense returned by the E-Rezept-Fachdienst" +Usage: #example +* id = "cd6a4805-9861-412e-91aa-ec6af3f03d87" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) +* contained[+] = SumatripanMedication +* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[=].value = "160.000.033.491.280.78" +* status = #completed +* medicationReference.reference = "#SumatripanMedication" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X234567890" +* performer[+].actor.identifier.system = $identifier-telematik-id +* performer[=].actor.identifier.value = "3-abc-1234567890" +* whenHandedOver = "2022-02-28" +* dosageInstruction[+].text = "1-0-1-0" + +Instance: OperationDispenseOutputBundle +InstanceOf: Bundle +Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" +Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" +Usage: #example +* id = "558c2f69-62f6-4a74-8d13-70e945d28b71" +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) +* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" +* type = #collection +* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" +* entry[=].resource = OperationDispenseParametersInputMedicationDispense +* entry[+].fullUrl = "http://waltraud-was-here" +* entry[=].resource = OperationDispenseParametersInputMedicationDispense diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index 73729d9f..a42ba57b 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -4,62 +4,55 @@ Usage: #definition * insert Operation(Close) * description = "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed" * code = #close -* outputProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" -// in -* parameter[0].name = #secret -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." -* parameter[=].type = #string +* system = false +* type = false +* instance = true +* resource = #Task + +* inputProfile = Canonical(GEM_ERP_PR_CloseOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) //TODO "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" + // in -* parameter[+].name = #MedicationDispense -* parameter[=].use = #in -* parameter[=].min = 0 -* parameter[=].max = "1" -* parameter[=].documentation = "Information on dispensed Medication(s)" -* parameter[=].type = #canonical -* parameter[=] - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) - -// out -* parameter[+].name = #Receipt -* parameter[=].use = #out -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature." -* parameter[=].type = #Bundle +* parameter[0] + * name = #secret + * use = #in + * min = 1 + * max = "1" + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." + * type = #string -Instance: OperationCloseParametersInputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense handed to Günther at a pharmacy" -Usage: #example -* id = "3465270a-11e7-4bbf-ae53-378f9cc52747" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" +// in +* parameter[+] + * name = #rxDispensation + * use = #in + * min = 0 + * max = "*" + * documentation = "Information on dispensed Medication(s)" + * part[+] + * name = #medicationDispense + * type = #MedicationDispense + * use = #in + * min = 1 + * max = "1" + * part[+] + * name = #medication + * type = #Medication + * use = #in + * min = 1 + * max = "1" -Instance: OperationCloseParametersInputBundle -InstanceOf: Bundle -Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" -Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" -Usage: #example -* id = "9145d0d0-7b77-483f-ad89-cd9d34fc1f08" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) -* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" -* type = #collection -* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" -* entry[=].resource = OperationCloseParametersInputMedicationDispense -* entry[+].fullUrl = "http://waltraud-was-here" -* entry[=].resource = OperationCloseParametersInputMedicationDispense +// out +* parameter[+] + * name = #receipt + * use = #out + * min = 0 + * max = "1" + * documentation = "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature." + * type = #Bundle +* parameter[+] + * name = #operationOutcome + * use = #out + * min = 0 + * max = "1" + * documentation = "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome." + * type = #OperationOutcome \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index e086d21a..bd179a1b 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -4,84 +4,68 @@ Usage: #definition * insert Operation(Dispense) * description = "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy." * code = #dispense -* outputProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" -// in -* parameter[0].name = #secret -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." -* parameter[=].type = #string +* system = false +* type = false +* instance = true +* resource = #Task + +* inputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) //TODO "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" + // in -* parameter[+].name = #MedicationDispense -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "Information on dispensed Medication(s)" -* parameter[=].type = #canonical -* parameter[=] - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) +* parameter[0] + * name = #secret + * use = #in + * min = 1 + * max = "1" + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." + * type = #string -// out -* parameter[+].name = #MedicationDispense -* parameter[=].use = #out -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded." -* parameter[=].type = #canonical -* parameter[=] - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA) - * insert PackageTargetProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) -Instance: OperationDispenseParametersInputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense handed to Günther at a pharmacy" -Usage: #example -* id = "26fbffa8-b0df-4074-b2cf-143269aff176" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" +// in +* parameter[+] + * name = #rxDispensation + * use = #in + * min = 1 + * max = "*" + * documentation = "Information on dispensed Medication(s)" + * part[+] + * name = #medicationDispense + * type = #MedicationDispense + * use = #in + * min = 1 + * max = "1" + * part[+] + * name = #medication + * type = #Medication + * use = #in + * min = 1 + * max = "1" -Instance: OperationDispenseOutputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense returned by the E-Rezept-Fachdienst" -Usage: #example -* id = "cd6a4805-9861-412e-91aa-ec6af3f03d87" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" +// out +* parameter[+] + * name = #medicationDispense + * use = #out + * min = 0 + * max = "1" + * documentation = "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded." + * part[+] + * name = #medicationDispense + * type = #MedicationDispense + * use = #out + * min = 1 + * max = "1" + * part[+] + * name = #medication + * type = #Medication + * use = #out + * min = 1 + * max = "1" -Instance: OperationDispenseOutputBundle -InstanceOf: Bundle -Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" -Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" -Usage: #example -* id = "558c2f69-62f6-4a74-8d13-70e945d28b71" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) -* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" -* type = #collection -* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" -* entry[=].resource = OperationDispenseParametersInputMedicationDispense -* entry[+].fullUrl = "http://waltraud-was-here" -* entry[=].resource = OperationDispenseParametersInputMedicationDispense +* parameter[+] + * name = #operationOutcome + * use = #out + * min = 0 + * max = "1" + * documentation = "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome." + * type = #OperationOutcome \ No newline at end of file diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh new file mode 100644 index 00000000..8f86f429 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -0,0 +1,40 @@ +Profile: GEM_ERP_PR_CloseOperation_Input +Parent: Parameters +Id: gem-erp-pr-close-operation-input +Title: "GEM ERP PR CloseOperation Input" +Description: "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense." +* insert Profile(GEM_ERP_PR_CloseOperation_Input) + +* parameter 0..* +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains rxDispensation 1..* + +* parameter[rxDispensation] + * name MS + * name = "rxDispensation" (exactly) + * value[x] 0..0 + * resource 0..0 + * part 2..2 MS + * ^slicing.discriminator.type = #pattern + * ^slicing.discriminator.path = "name" + * ^slicing.rules = #open + * part contains + medicationDispense 1..1 and + medication 1..1 + * part[medicationDispense] + * name MS + * name = "medicationDispense" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_MedicationDispense + * part 0..0 + * part[medication] + * name MS + * name = "medication" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Medication + * part 0..0 \ No newline at end of file diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh new file mode 100644 index 00000000..51fa7b8b --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh @@ -0,0 +1,28 @@ +Profile: GEM_ERP_PR_CloseOperation_Output +Parent: Parameters +Id: gem-erp-pr-close-operation-output +Title: "GEM ERP PR CloseOperation Output" +Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $close-operation." +* insert Profile(GEM_ERP_PR_CloseOperation_Output) + +* parameter 1..1 +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains receipt 0..1 and operationOutcome 0..1 + +* parameter[operationOutcome] + * name MS + * name = "operationOutcome" + * value[x] 0..0 + * resource 1..1 + * resource only OperationOutcome + * part 0..0 + +* parameter[receipt] + * name MS + * name = "receipt" (exactly) + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Bundle diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh similarity index 82% rename from Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh index ad38653a..b37aa63f 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Parameters_Dispense.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_Parameters_Dispense +Profile: GEM_ERP_PR_DispenseOperation_Input Parent: Parameters -Id: gem-erp-pr-parameters-dispense -Title: "GEM ERP PR Parameters Dispense" -Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense." -* insert Profile(GEM_ERP_PR_Parameters_Dispense) +Id: gem-erp-pr-dispense-operation-input +Title: "GEM ERP PR DispenseOperation Input" +Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation." +* insert Profile(GEM_ERP_PR_DispenseOperation_Input) * parameter 1..* * parameter ^slicing.discriminator.type = #value diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh new file mode 100644 index 00000000..a4e8503d --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh @@ -0,0 +1,48 @@ +Profile: GEM_ERP_PR_DispenseOperation_Output +Parent: Parameters +Id: gem-erp-pr-dispense-operation-output +Title: "GEM ERP PR DispenseOperation Output" +Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation." +* insert Profile(GEM_ERP_PR_DispenseOperation_Output) + +* parameter 1..* +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains medicationDispense 0..* and operationOutcome 0..1 + +* parameter[operationOutcome] + * name MS + * name = "operationOutcome" + * value[x] 0..0 + * resource 1..1 + * resource only OperationOutcome + * part 0..0 + +* parameter[medicationDispense] + * name MS + * name = "medicationDispense" (exactly) + * value[x] 0..0 + * resource 0..0 + * part 2..2 MS + * ^slicing.discriminator.type = #pattern + * ^slicing.discriminator.path = "name" + * ^slicing.rules = #open + * part contains + medicationDispense 1..1 and + medication 1..1 + * part[medicationDispense] + * name MS + * name = "medicationDispense" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_MedicationDispense + * part 0..0 + * part[medication] + * name MS + * name = "medication" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Medication + * part 0..0 \ No newline at end of file From a252e913da1df2935fd6675fd43a902eb38fa0c1 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 08:39:02 +0200 Subject: [PATCH 05/57] Remove input Bundle --- ...-GEM-ERP-PR-CloseOperationInputBundle.json | 92 ------------------- .../GEM_ERP_PR_CloseOperationInputBundle.fsh | 12 --- 2 files changed, 104 deletions(-) delete mode 100644 Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json delete mode 100644 Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json deleted file mode 100644 index 1cd417fa..00000000 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "GEM-ERP-PR-CloseOperationInputBundle", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle", - "version": "1.4", - "name": "GEM_ERP_PR_CloseOperationInputBundle", - "title": "Document Bundle for multiple MedicationDispenses on $close Operation", - "status": "draft", - "date": "2024-07-15", - "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], - "kind": "resource", - "abstract": false, - "type": "Bundle", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Bundle.meta", - "path": "Bundle.meta", - "min": 1 - }, - { - "id": "Bundle.meta.profile", - "path": "Bundle.meta.profile", - "min": 1, - "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" - }, - { - "id": "Bundle.type", - "path": "Bundle.type", - "fixedCode": "collection" - }, - { - "id": "Bundle.entry", - "path": "Bundle.entry", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "resource" - } - ], - "rules": "closed" - }, - "min": 1 - }, - { - "id": "Bundle.entry:DispensedMedications", - "path": "Bundle.entry", - "sliceName": "DispensedMedications", - "min": 1, - "max": "*" - }, - { - "id": "Bundle.entry:DispensedMedications.resource", - "path": "Bundle.entry.resource", - "type": [ - { - "code": "MedicationDispense", - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" - ] - } - ] - } - ] - } -} diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh deleted file mode 100644 index 301c84e3..00000000 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh +++ /dev/null @@ -1,12 +0,0 @@ -Profile: GEM_ERP_PR_CloseOperationInputBundle -Parent: Bundle -Id: GEM-ERP-PR-CloseOperationInputBundle -Title: "Document Bundle for multiple MedicationDispenses on $close Operation" -* insert Profile(GEM_ERP_PR_CloseOperationInputBundle) -* type = #collection (exactly) -* entry ^slicing.discriminator.type = #type -* entry ^slicing.discriminator.path = "resource" -* entry ^slicing.rules = #closed -* entry contains - DispensedMedications 1.. -* entry[DispensedMedications].resource only GEM_ERP_PR_MedicationDispense //Keine DiGA MedicationDispense, da es nur eine gibt \ No newline at end of file From dfceb39a479e6965dd39d8ab9ee7c348de7c1ec3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 08:43:25 +0200 Subject: [PATCH 06/57] Open Close Operation for DiGA --- .../resources/OperationDefinition-CloseOperation.json | 2 +- .../StructureDefinition-gem-erp-pr-close-operation-input.json | 2 +- Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh | 2 +- .../input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 78ac083b..168635b1 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -45,7 +45,7 @@ "name": "medication", "type": "Medication", "use": "in", - "min": 1, + "min": 0, "max": "1" } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index 5d3c2bd6..bb76fb81 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -138,7 +138,7 @@ "id": "Parameters.parameter:rxDispensation.part:medication", "path": "Parameters.parameter.part", "sliceName": "medication", - "min": 1, + "min": 0, "max": "1", "type": [ { diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index a42ba57b..7bd425e3 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -38,7 +38,7 @@ Usage: #definition * name = #medication * type = #Medication * use = #in - * min = 1 + * min = 0 * max = "1" // out diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index 8f86f429..9d77ba66 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -23,7 +23,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * ^slicing.rules = #open * part contains medicationDispense 1..1 and - medication 1..1 + medication 0..1 * part[medicationDispense] * name MS * name = "medicationDispense" From 95b2ad6e4ce60a1548e883ccfdd3e0b29ee0aa72 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 08:53:50 +0200 Subject: [PATCH 07/57] Add Close Examples --- ...Dispense-Example-MedicationDispense-2.json | 37 ++++ ...ample-MedicationDispense-Kombipackung.json | 37 ++++ ...onDispense-Example-MedicationDispense.json | 62 +----- ...arameters-ExampleCloseInputParameters.json | 117 +++++++++++ ...eters-ExampleCloseInputParametersDiGA.json | 65 ++++++ ...ampleCloseInputParametersKombipackung.json | 192 ++++++++++++++++++ ...ParametersMultipleMedicationDispenses.json | 136 +++++++++++++ ...CloseInputParametersWithoutMedication.json | 56 +++++ ...tion-gem-erp-pr-close-operation-input.json | 2 +- .../fsh/examples/Example_CloseParameters.fsh | 66 ++++++ .../examples/Example_MedicationDispense.fsh | 35 +++- .../GEM_ERP_PR_CloseOperation_Input.fsh | 2 +- 12 files changed, 741 insertions(+), 66 deletions(-) create mode 100644 Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json create mode 100644 Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json create mode 100644 Resources/input/fsh/examples/Example_CloseParameters.fsh diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json new file mode 100644 index 00000000..1210d9d1 --- /dev/null +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json @@ -0,0 +1,37 @@ +{ + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-2", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Without-Strength-Code" + } +} diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json new file mode 100644 index 00000000..817424e7 --- /dev/null +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json @@ -0,0 +1,37 @@ +{ + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Kombipackung" + } +} diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json index 3baca97b..39082195 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json @@ -31,67 +31,7 @@ ], "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", - "code": "00" - } - }, - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], "medicationReference": { - "reference": "#SumatripanMedication" + "reference": "SumatripanMedication" } } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json new file mode 100644 index 00000000..63549dde --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json @@ -0,0 +1,117 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParameters", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "SumatripanMedication" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "SumatripanMedication", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", + "code": "00" + } + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N1" + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "06313728" + } + ], + "text": "Sumatriptan-1a Pharma 100 mg Tabletten" + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "TAB" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "20 St." + } + ], + "value": 20, + "unit": "St" + }, + "denominator": { + "value": 1 + } + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json new file mode 100644 index 00000000..b8fd3124 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParametersDiGA", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-DiGA-Name-And-VE-ID", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "162.000.033.491.280.78" + } + ], + "status": "completed", + "medicationReference": { + "identifier": { + "system": "https://fhir.bfarm.de/Identifier/DigaVeId", + "value": "12345678" + }, + "display": "Gematico Diabetestherapie" + }, + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "8-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "extension": [ + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", + "valueString": "DE12345678901234" + } + ], + "whenHandedOver": "2024-04-03" + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json new file mode 100644 index 00000000..b83aed54 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json @@ -0,0 +1,192 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParametersKombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Kombipackung" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "Medication-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "1746517", + "display": "CROMO-RATIOPHARM Kombipackung" + } + ] + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "KPG" + } + ], + "text": "Kombipackung" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "Augentropfen", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 20, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + } + ], + "batch": { + "lotNumber": "0132456" + } + }, + { + "resourceType": "Medication", + "id": "NasenSpray", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 2.8, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "Sprühstoß", + "system": "http://unitsofmeasure.org", + "code": "1" + } + } + } + ], + "batch": { + "lotNumber": "56498416854" + } + } + ], + "status": "active", + "ingredient": [ + { + "itemReference": { + "reference": "#NasenSpray" + } + }, + { + "itemReference": { + "reference": "#Augentropfen" + } + } + ] + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json new file mode 100644 index 00000000..9c9f3754 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json @@ -0,0 +1,136 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParametersMultipleMedicationDispenses", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-2", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Without-Strength-Code" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "Medication-Without-Strength-Code", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 85, + "unit": "mg", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "denominator": { + "value": 250, + "unit": "Milliliter", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + } + }, + "itemCodeableConcept": { + "coding": [ + { + "code": "L01DB01", + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "display": "Doxorubicin" + } + ] + }, + "isActive": true + } + ], + "code": { + "text": "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" + }, + "form": { + "coding": [ + { + "code": "11210000", + "system": "http://standardterms.edqm.eu", + "display": "Solution for infusion" + } + ] + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json new file mode 100644 index 00000000..c36465fb --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParametersWithoutMedication", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "SumatripanMedication" + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index bb76fb81..a9440325 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -89,7 +89,7 @@ ], "rules": "open" }, - "min": 2, + "min": 1, "max": "2", "mustSupport": true }, diff --git a/Resources/input/fsh/examples/Example_CloseParameters.fsh b/Resources/input/fsh/examples/Example_CloseParameters.fsh new file mode 100644 index 00000000..304c5a80 --- /dev/null +++ b/Resources/input/fsh/examples/Example_CloseParameters.fsh @@ -0,0 +1,66 @@ +Instance: ExampleCloseInputParameters +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication + +Instance: ExampleCloseInputParametersWithoutMedication +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + +Instance: ExampleCloseInputParametersMultipleMedicationDispenses +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-2 + * part[medication] + * name = "medication" + * resource = Medication-Without-Strength-Code + +Instance: ExampleCloseInputParametersKombipackung +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-Kombipackung + * part[medication] + * name = "medication" + * resource = Medication-Kombipackung + +Instance: ExampleCloseInputParametersDiGA +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-DiGA-Name-And-VE-ID \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_MedicationDispense.fsh b/Resources/input/fsh/examples/Example_MedicationDispense.fsh index cabd07a4..2773b6cf 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense.fsh @@ -2,7 +2,7 @@ Instance: Example-MedicationDispense InstanceOf: GEM_ERP_PR_MedicationDispense Usage: #example -Title: "Example-Medication Dispense" +Title: "Example Medication Dispense" Description: "Example of a Medication Dispense." * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[prescriptionID].value = "160.000.033.491.280.78" @@ -12,8 +12,37 @@ Description: "Example of a Medication Dispense." * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" +* medicationReference.reference = "SumatripanMedication" + +Instance: Example-MedicationDispense-2 +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example another Medication Dispense" +Description: "Example of another Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.153.303.257.459" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* whenPrepared = "2024-04-03" +* medicationReference.reference = "Medication-Without-Strength-Code" + +Instance: Example-MedicationDispense-Kombipackung +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example Kombipackung Medication Dispense" +Description: "Example of a Kombipackung Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.153.303.257.459" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* whenPrepared = "2024-04-03" +* medicationReference.reference = "Medication-Kombipackung" /* diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index 9d77ba66..f483922c 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -17,7 +17,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * name = "rxDispensation" (exactly) * value[x] 0..0 * resource 0..0 - * part 2..2 MS + * part 1..2 MS * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" * ^slicing.rules = #open From 64e51d8e1a4b0d2754c178a421c0261b672a65a3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 08:54:41 +0200 Subject: [PATCH 08/57] Remove old examples --- ...-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json | 225 ------------------ ...-3465270a-11e7-4bbf-ae53-378f9cc52747.json | 101 -------- .../fsh/examples/Example_Close_Operation.fsh | 32 --- 3 files changed, 358 deletions(-) delete mode 100644 Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json delete mode 100644 Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json delete mode 100644 Resources/input/fsh/examples/Example_Close_Operation.fsh diff --git a/Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json b/Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json deleted file mode 100644 index 015569a5..00000000 --- a/Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "9145d0d0-7b77-483f-ad89-cd9d34fc1f08", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" - ], - "tag": [ - { - "display": "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" - } - ] - }, - "type": "collection", - "entry": [ - { - "fullUrl": "http://hier-koennte-ihre-werbung-stehen", - "resource": { - "resourceType": "MedicationDispense", - "id": "3465270a-11e7-4bbf-ae53-378f9cc52747", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", - "code": "00" - } - }, - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] - } - }, - { - "fullUrl": "http://waltraud-was-here", - "resource": { - "resourceType": "MedicationDispense", - "id": "3465270a-11e7-4bbf-ae53-378f9cc52747", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", - "code": "00" - } - }, - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] - } - } - ] -} diff --git a/Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json b/Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json deleted file mode 100644 index dd7a9574..00000000 --- a/Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "resourceType": "MedicationDispense", - "id": "3465270a-11e7-4bbf-ae53-378f9cc52747", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", - "code": "00" - } - }, - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] -} diff --git a/Resources/input/fsh/examples/Example_Close_Operation.fsh b/Resources/input/fsh/examples/Example_Close_Operation.fsh deleted file mode 100644 index 9f9a128f..00000000 --- a/Resources/input/fsh/examples/Example_Close_Operation.fsh +++ /dev/null @@ -1,32 +0,0 @@ - -Instance: OperationCloseParametersInputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense handed to Günther at a pharmacy" -Usage: #example -* id = "3465270a-11e7-4bbf-ae53-378f9cc52747" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" - -Instance: OperationCloseParametersInputBundle -InstanceOf: Bundle -Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" -Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" -Usage: #example -* id = "9145d0d0-7b77-483f-ad89-cd9d34fc1f08" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) -* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" -* type = #collection -* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" -* entry[=].resource = OperationCloseParametersInputMedicationDispense -* entry[+].fullUrl = "http://waltraud-was-here" -* entry[=].resource = OperationCloseParametersInputMedicationDispense From bc8ab36a1f802152cc8df69f6ec6435c08012b24 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 09:13:55 +0200 Subject: [PATCH 09/57] Fix profiling issues --- ...meters-ExampleDispenseInputParameters.json | 117 +++++++++++ ...leDispenseInputParametersKombipackung.json | 192 ++++++++++++++++++ ...ParametersMultipleMedicationDispenses.json | 136 +++++++++++++ ...inition-GEM-ERP-PR-MedicationDispense.json | 3 - ...tion-gem-erp-pr-close-operation-input.json | 3 +- ...ion-gem-erp-pr-close-operation-output.json | 5 + .../examples/Example_DispenseParameters.fsh | 46 +++++ .../GEM_ERP_PR_CloseOperation_Input.fsh | 2 +- .../GEM_ERP_PR_CloseOperation_Output.fsh | 1 + .../GEM_ERP_PR_MedicationDispense.fsh | 1 - 10 files changed, 500 insertions(+), 6 deletions(-) create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json create mode 100644 Resources/input/fsh/examples/Example_DispenseParameters.fsh diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json new file mode 100644 index 00000000..febc4bac --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -0,0 +1,117 @@ +{ + "resourceType": "Parameters", + "id": "ExampleDispenseInputParameters", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "SumatripanMedication" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "SumatripanMedication", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", + "code": "00" + } + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N1" + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "06313728" + } + ], + "text": "Sumatriptan-1a Pharma 100 mg Tabletten" + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "TAB" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "20 St." + } + ], + "value": 20, + "unit": "St" + }, + "denominator": { + "value": 1 + } + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json new file mode 100644 index 00000000..08535e66 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -0,0 +1,192 @@ +{ + "resourceType": "Parameters", + "id": "ExampleDispenseInputParametersKombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Kombipackung" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "Medication-Kombipackung", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "1746517", + "display": "CROMO-RATIOPHARM Kombipackung" + } + ] + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "KPG" + } + ], + "text": "Kombipackung" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "Augentropfen", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 20, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + } + ], + "batch": { + "lotNumber": "0132456" + } + }, + { + "resourceType": "Medication", + "id": "NasenSpray", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "code": "R01AC01", + "display": "Natriumcromoglicat" + } + ] + }, + "strength": { + "numerator": { + "value": 2.8, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1, + "unit": "Sprühstoß", + "system": "http://unitsofmeasure.org", + "code": "1" + } + } + } + ], + "batch": { + "lotNumber": "56498416854" + } + } + ], + "status": "active", + "ingredient": [ + { + "itemReference": { + "reference": "#NasenSpray" + } + }, + { + "itemReference": { + "reference": "#Augentropfen" + } + } + ] + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json new file mode 100644 index 00000000..92219c46 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -0,0 +1,136 @@ +{ + "resourceType": "Parameters", + "id": "ExampleDispenseInputParametersMultipleMedicationDispenses", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-2", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Without-Strength-Code" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "Medication-Without-Strength-Code", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 85, + "unit": "mg", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "denominator": { + "value": 250, + "unit": "Milliliter", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + } + }, + "itemCodeableConcept": { + "coding": [ + { + "code": "L01DB01", + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "display": "Doxorubicin" + } + ] + }, + "isActive": true + } + ], + "code": { + "text": "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" + }, + "form": { + "coding": [ + { + "code": "11210000", + "system": "http://standardterms.edqm.eu", + "display": "Solution for infusion" + } + ] + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json index 4828d816..df2a0271 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -67,9 +67,6 @@ "code": "Reference", "targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" - ], - "aggregation": [ - "contained" ] } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index a9440325..deaa6b8a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -124,7 +124,8 @@ { "code": "MedicationDispense", "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense", + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA" ] } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json index 788cb94b..f2b98a56 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json @@ -86,6 +86,11 @@ } ] }, + { + "id": "Parameters.parameter:receipt.part", + "path": "Parameters.parameter.part", + "max": "0" + }, { "id": "Parameters.parameter:operationOutcome", "path": "Parameters.parameter", diff --git a/Resources/input/fsh/examples/Example_DispenseParameters.fsh b/Resources/input/fsh/examples/Example_DispenseParameters.fsh new file mode 100644 index 00000000..352da83e --- /dev/null +++ b/Resources/input/fsh/examples/Example_DispenseParameters.fsh @@ -0,0 +1,46 @@ +Instance: ExampleDispenseInputParameters +InstanceOf: GEM_ERP_PR_DispenseOperation_Input +Usage: #example +Title: "Example Dispense Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication + +Instance: ExampleDispenseInputParametersMultipleMedicationDispenses +InstanceOf: GEM_ERP_PR_DispenseOperation_Input +Usage: #example +Title: "Example Dispense Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-2 + * part[medication] + * name = "medication" + * resource = Medication-Without-Strength-Code + +Instance: ExampleDispenseInputParametersKombipackung +InstanceOf: GEM_ERP_PR_DispenseOperation_Input +Usage: #example +Title: "Example Dispense Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-Kombipackung + * part[medication] + * name = "medication" + * resource = Medication-Kombipackung diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index f483922c..412a5552 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -29,7 +29,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * name = "medicationDispense" * value[x] 0..0 * resource 1..1 - * resource only GEM_ERP_PR_MedicationDispense + * resource only GEM_ERP_PR_MedicationDispense or GEM_ERP_PR_MedicationDispense_DiGA * part 0..0 * part[medication] * name MS diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh index 51fa7b8b..53cb084b 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh @@ -26,3 +26,4 @@ Description: "This profile defines the parameters for dispensing a medication fr * value[x] 0..0 * resource 1..1 * resource only GEM_ERP_PR_Bundle + * part 0..0 diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh index 02935145..6136278e 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh @@ -15,7 +15,6 @@ Description: "Handles information about the redeem of the prescription and the s * medication[x] only Reference(GEM_ERP_PR_Medication) * medication[x] MS * medication[x] ^definition = "The MedicationDispense shows a contained medication which was dispensed" -* medication[x] ^type.aggregation = #contained * performer 1..1 * performer.actor.identifier 1.. From 07de8e1f10130fb43e0993994fe8a71ebbf3dabf Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 14:21:47 +0200 Subject: [PATCH 10/57] Fixes for compatability with new epa medication package --- .../Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json | 12 ++++++------ ...ication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json | 6 +++--- .../Medication-Medication-Kombipackung.json | 4 ++-- .../resources/Medication-SumatripanMedication.json | 6 +++--- ...ispense-26fbffa8-b0df-4074-b2cf-143269aff176.json | 6 +++--- ...ispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json | 6 +++--- .../Parameters-ExampleCloseInputParameters.json | 6 +++--- ...ters-ExampleCloseInputParametersKombipackung.json | 4 ++-- .../Parameters-ExampleDispenseInputParameters.json | 6 +++--- ...s-ExampleDispenseInputParametersKombipackung.json | 4 ++-- .../StructureDefinition-GEM-ERP-PR-Medication.json | 2 +- ...efinition-GEM-ERP-PR-MedicationDispense-DiGA.json | 2 +- ...tureDefinition-GEM-ERP-PR-MedicationDispense.json | 2 +- Resources/input/fsh/aliases.fsh | 4 ---- .../fsh/examples/Example_Communication_InfoReq.fsh | 1 - Resources/input/fsh/examples/Example_Medication.fsh | 3 --- .../input/fsh/profiles/GEM_ERP_PR_Medication.fsh | 2 +- .../fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh | 2 +- .../profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh | 2 +- Resources/sushi-config.yaml | 4 ++-- package.json | 4 ++-- 21 files changed, 40 insertions(+), 48 deletions(-) diff --git a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json index 3e3be342..7c8f8667 100644 --- a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json +++ b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json @@ -34,14 +34,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -70,7 +70,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], @@ -138,14 +138,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -174,7 +174,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json index c3a88a08..8f93b3d0 100644 --- a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json +++ b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json @@ -80,14 +80,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -116,7 +116,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json index 35e976df..ac6909e5 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -8,11 +8,11 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" diff --git a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json index 7ed50301..86dac136 100644 --- a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json +++ b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json @@ -8,14 +8,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -44,7 +44,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json index 90d6178d..0e7b8303 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json +++ b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json @@ -17,14 +17,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -53,7 +53,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json index 116ee4a7..761fa315 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json +++ b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json @@ -17,14 +17,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -53,7 +53,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json index 63549dde..489caa42 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json index b83aed54..c1b51335 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json @@ -62,11 +62,11 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index febc4bac..a47fa9ef 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 08535e66..91ddf656 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -62,11 +62,11 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index 522ba2da..80d41515 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "Medication", - "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication", + "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication", "derivation": "constraint", "differential": { "element": [ 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 f02c36db..e75178f7 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 @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "MedicationDispense", - "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense", + "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-dispense", "derivation": "constraint", "differential": { "element": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json index df2a0271..ebd1f1e7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "MedicationDispense", - "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense", + "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-dispense", "derivation": "constraint", "differential": { "element": [ diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index 07393891..d557f1a8 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -25,10 +25,6 @@ Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc //TODO: URL mit bfarm//abdata? abstimmen Alias: $cs-product-key = http://fhir.de/CodeSystem/abdata/Komponentennummer -// 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 - // Workflow Alias: $prescription-id-ns = https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId diff --git a/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh index 70040e22..ec617519 100644 --- a/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh +++ b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh @@ -1,4 +1,3 @@ - Instance: Communication_InformationRequest InstanceOf: GEM_ERP_PR_Communication_InfoReq Title: "Communication message sent by patient to pharmacy to ask for availybility of medicine WITHOUT providing the AccessCode" diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index dd4986ce..a9364802 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -4,12 +4,10 @@ InstanceOf: GEM_ERP_PR_Medication Title: "Sample Medication Sumatripan" Usage: #example // Arzneimittelkategorie -* extension[drugCategory].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" * extension[drugCategory].valueCoding.system = "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" * extension[drugCategory].valueCoding.code = #00 // Impfstoff -* extension[isVaccine].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" * extension[isVaccine].valueBoolean = false // normgroesse @@ -22,7 +20,6 @@ Usage: #example * form.coding[kbvDarreichungsform].code = #TAB * amount.numerator.value = 20 * amount.numerator.unit = "St" -* amount.numerator.extension[totalQuantity].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension" * amount.numerator.extension[totalQuantity].valueString = "20 St." * amount.denominator.value = 1 diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 39eceabe..e466a4ba 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -1,5 +1,5 @@ Profile: GEM_ERP_PR_Medication -Parent: $ePAMedication +Parent: EPAMedication Id: GEM-ERP-PR-Medication Title: "Medication for the Dispensation of the Prescription" Description: "Handles medical information about the redeemed prescription" diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh index 6136278e..7a713334 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh @@ -1,5 +1,5 @@ Profile: GEM_ERP_PR_MedicationDispense -Parent: $ePAMedicationDispense +Parent: EPAMedicationDispense Id: GEM-ERP-PR-MedicationDispense Title: "Dispensation of the Prescription" Description: "Handles information about the redeem of the prescription and the submited medication." 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 3e94ca93..3c0a6d45 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh @@ -1,5 +1,5 @@ Profile: GEM_ERP_PR_MedicationDispense_DiGA -Parent: $ePAMedicationDispense +Parent: EPAMedicationDispense Id: GEM-ERP-PR-MedicationDispense-DiGA Title: "Dispensation of a DiGA-Prescription" Description: "Handles information about the dispensed DiGA" diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index b80b997a..e09d51fd 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -3,11 +3,11 @@ fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false -version: "1.4.0-rc1" +version: "1.4.0-rc2" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.5.0-ballot2 - de.gematik.epa.medication: 1.0.2-rc1 + de.gematik.dev.epa.medication: 1.1.0-alpha.1 kbv.basis: 1.3.0 kbv.ita.for: 1.1.x kbv.ita.erp: 1.1.x \ No newline at end of file diff --git a/package.json b/package.json index 440d206a..bd436a9f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "4.0.1" ], "name": "de.gematik.erezept-workflow.r4", - "version": "1.4.0-rc1", + "version": "1.4.0-rc2", "description": "ePrescription workflow specification.", "author": "gematik", "dependencies": { @@ -11,6 +11,6 @@ "kbv.ita.for": "1.1.x", "hl7.fhir.r4.core": "4.0.1", "de.basisprofil.r4": "1.5.0-ballot2", - "de.gematik.epa.medication": "1.0.2-rc1" + "de.gematik.dev.epa.medication": "1.1.0-alpha.1" } } From 48fe71abe7a649043b6e5c588bfe65134e7ce01a Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 25 Jun 2024 15:06:16 +0200 Subject: [PATCH 11/57] Add examples for Compunding Medications --- ...-558c2f69-62f6-4a74-8d13-70e945d28b71.json | 2 - ...-8ca3c379-ac86-470f-bc12-178c9008f5c9.json | 1 - .../resources/Medication-Augentropfen.json | 21 +- .../Medication-Medication-Kombipackung.json | 50 +++- .../Medication-Medication-Rezeptur.json | 161 +++++++++++++ .../Medication-MedicationDexpanthenol.json | 32 +++ .../Medication-MedicationHydrocortison.json | 32 +++ .../resources/Medication-NasenSpray.json | 21 +- .../Medication-SumatripanMedication.json | 1 - ...-26fbffa8-b0df-4074-b2cf-143269aff176.json | 1 - ...e-Example-MedicationDispense-Rezeptur.json | 37 +++ ...-cd6a4805-9861-412e-91aa-ec6af3f03d87.json | 1 - ...arameters-ExampleCloseInputParameters.json | 1 - ...ampleCloseInputParametersKombipackung.json | 50 +++- ...s-ExampleCloseInputParametersRezeptur.json | 220 ++++++++++++++++++ ...meters-ExampleDispenseInputParameters.json | 1 - ...leDispenseInputParametersKombipackung.json | 50 +++- ...ctureDefinition-GEM-ERP-PR-Medication.json | 14 ++ Resources/input/fsh/aliases.fsh | 1 + .../fsh/examples/Example_CloseParameters.fsh | 13 ++ .../input/fsh/examples/Example_Medication.fsh | 68 +----- .../examples/Example_MedicationDispense.fsh | 15 ++ .../Example_Medication_Kombipackung.fsh | 57 +++++ .../examples/Example_Medication_Rezeptur.fsh | 61 +++++ .../fsh/profiles/GEM_ERP_PR_Medication.fsh | 2 + 25 files changed, 831 insertions(+), 82 deletions(-) create mode 100644 Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json create mode 100644 Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json create mode 100644 Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json create mode 100644 Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json create mode 100644 Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh create mode 100644 Resources/input/fsh/examples/Example_Medication_Rezeptur.fsh diff --git a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json index 7c8f8667..4389e95d 100644 --- a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json +++ b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json @@ -36,7 +36,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, @@ -140,7 +139,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json index 8f93b3d0..1046a0d1 100644 --- a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json +++ b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json @@ -82,7 +82,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/Medication-Augentropfen.json b/Resources/fsh-generated/resources/Medication-Augentropfen.json index 57cd7aa4..1968a70e 100644 --- a/Resources/fsh-generated/resources/Medication-Augentropfen.json +++ b/Resources/fsh-generated/resources/Medication-Augentropfen.json @@ -3,7 +3,26 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-1", + "display": "Augentropfen" + } ] }, "ingredient": [ diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json index ac6909e5..42b65dcb 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -7,6 +7,14 @@ ] }, "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package" + } + }, { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false @@ -43,7 +51,26 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-1", + "display": "Augentropfen" + } ] }, "ingredient": [ @@ -82,7 +109,26 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } ] }, "ingredient": [ diff --git a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json new file mode 100644 index 00000000..fe9f676d --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json @@ -0,0 +1,161 @@ +{ + "resourceType": "Medication", + "id": "Medication-Rezeptur", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "1208954007", + "system": "http://snomed.info/sct", + "display": "Extemporaneous preparation (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + } + ], + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "SAL" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "100 ml" + } + ], + "value": 20, + "unit": "ml" + }, + "denominator": { + "value": 1 + } + }, + "contained": [ + { + "resourceType": "Medication", + "id": "MedicationHydrocortison", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03424249", + "display": "Hydrocortison 1% Creme" + } + ] + }, + "batch": { + "lotNumber": "56498416854" + } + }, + { + "resourceType": "Medication", + "id": "MedicationDexpanthenol", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "16667195", + "display": "Dexpanthenol 5% Creme" + } + ] + }, + "batch": { + "lotNumber": "0132456" + } + } + ], + "code": { + "text": "Hydrocortison-Dexpanthenol-Salbe" + }, + "ingredient": [ + { + "itemReference": { + "reference": "#MedicationHydrocortison" + }, + "isActive": true, + "strength": { + "numerator": { + "value": 50, + "system": "http://unitsofmeasure.org", + "code": "g" + }, + "denominator": { + "value": 100, + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + }, + { + "itemReference": { + "reference": "#MedicationDexpanthenol" + }, + "isActive": true, + "strength": { + "numerator": { + "value": 50, + "system": "http://unitsofmeasure.org", + "code": "g" + }, + "denominator": { + "value": 100, + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + } + ] +} diff --git a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json new file mode 100644 index 00000000..dd874847 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json @@ -0,0 +1,32 @@ +{ + "resourceType": "Medication", + "id": "MedicationDexpanthenol", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "16667195", + "display": "Dexpanthenol 5% Creme" + } + ] + }, + "batch": { + "lotNumber": "0132456" + } +} diff --git a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json new file mode 100644 index 00000000..89ae4d2c --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json @@ -0,0 +1,32 @@ +{ + "resourceType": "Medication", + "id": "MedicationHydrocortison", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03424249", + "display": "Hydrocortison 1% Creme" + } + ] + }, + "batch": { + "lotNumber": "56498416854" + } +} diff --git a/Resources/fsh-generated/resources/Medication-NasenSpray.json b/Resources/fsh-generated/resources/Medication-NasenSpray.json index 45bc4aa7..08fdd3e4 100644 --- a/Resources/fsh-generated/resources/Medication-NasenSpray.json +++ b/Resources/fsh-generated/resources/Medication-NasenSpray.json @@ -3,7 +3,26 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } ] }, "ingredient": [ diff --git a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json index 86dac136..638d3adc 100644 --- a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json +++ b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json @@ -10,7 +10,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json index 0e7b8303..a32bae5b 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json +++ b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json @@ -19,7 +19,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json new file mode 100644 index 00000000..ed0e874f --- /dev/null +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json @@ -0,0 +1,37 @@ +{ + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-Rezeptur", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Rezeptur" + } +} diff --git a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json index 761fa315..be32a4b2 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json +++ b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json @@ -19,7 +19,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json index 489caa42..3f920a18 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json @@ -64,7 +64,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json index c1b51335..75865c1f 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json @@ -61,6 +61,14 @@ ] }, "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package" + } + }, { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false @@ -97,7 +105,26 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-1", + "display": "Augentropfen" + } ] }, "ingredient": [ @@ -136,7 +163,26 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } ] }, "ingredient": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json new file mode 100644 index 00000000..05d83c0f --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json @@ -0,0 +1,220 @@ +{ + "resourceType": "Parameters", + "id": "ExampleCloseInputParametersRezeptur", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-Rezeptur", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.153.303.257.459" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "Medication-Rezeptur" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "Medication-Rezeptur", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "1208954007", + "system": "http://snomed.info/sct", + "display": "Extemporaneous preparation (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + } + ], + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "SAL" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "100 ml" + } + ], + "value": 20, + "unit": "ml" + }, + "denominator": { + "value": 1 + } + }, + "contained": [ + { + "resourceType": "Medication", + "id": "MedicationHydrocortison", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03424249", + "display": "Hydrocortison 1% Creme" + } + ] + }, + "batch": { + "lotNumber": "56498416854" + } + }, + { + "resourceType": "Medication", + "id": "MedicationDexpanthenol", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "16667195", + "display": "Dexpanthenol 5% Creme" + } + ] + }, + "batch": { + "lotNumber": "0132456" + } + } + ], + "code": { + "text": "Hydrocortison-Dexpanthenol-Salbe" + }, + "ingredient": [ + { + "itemReference": { + "reference": "#MedicationHydrocortison" + }, + "isActive": true, + "strength": { + "numerator": { + "value": 50, + "system": "http://unitsofmeasure.org", + "code": "g" + }, + "denominator": { + "value": 100, + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + }, + { + "itemReference": { + "reference": "#MedicationDexpanthenol" + }, + "isActive": true, + "strength": { + "numerator": { + "value": 50, + "system": "http://unitsofmeasure.org", + "code": "g" + }, + "denominator": { + "value": 100, + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + } + ] + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index a47fa9ef..6b821848 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -64,7 +64,6 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 91ddf656..4270c197 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -61,6 +61,14 @@ ] }, "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package" + } + }, { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false @@ -97,7 +105,26 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-1", + "display": "Augentropfen" + } ] }, "ingredient": [ @@ -136,7 +163,26 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "373873005", + "system": "http://snomed.info/sct", + "display": "Pharmaceutical / biologic product (product)" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } ] }, "ingredient": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index 80d41515..25f9307e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -28,6 +28,20 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, + { + "id": "Medication.ingredient.item[x]:itemReference", + "path": "Medication.ingredient.item[x]", + "sliceName": "itemReference", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + } + ] + }, { "id": "Medication.ingredient.strength.numerator.system.extension:dataAbsentReason", "path": "Medication.ingredient.strength.numerator.system.extension", diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index d557f1a8..3030ef24 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -30,4 +30,5 @@ Alias: $prescription-id-ns = https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS // International Alias: $sct = http://snomed.info/sct +Alias: $sct_20240201 = http://snomed.info/sct/900000000000207008/version/20240201 Alias: $cs-ucum = http://unitsofmeasure.org \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_CloseParameters.fsh b/Resources/input/fsh/examples/Example_CloseParameters.fsh index 304c5a80..09e434c1 100644 --- a/Resources/input/fsh/examples/Example_CloseParameters.fsh +++ b/Resources/input/fsh/examples/Example_CloseParameters.fsh @@ -55,6 +55,19 @@ Title: "Example Close Parameters" * name = "medication" * resource = Medication-Kombipackung +Instance: ExampleCloseInputParametersRezeptur +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-Rezeptur + * part[medication] + * name = "medication" + * resource = Medication-Rezeptur + Instance: ExampleCloseInputParametersDiGA InstanceOf: GEM_ERP_PR_CloseOperation_Input Usage: #example diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index a9364802..f35c83e1 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -1,10 +1,9 @@ - +// Single Medication Instance: SumatripanMedication InstanceOf: GEM_ERP_PR_Medication Title: "Sample Medication Sumatripan" Usage: #example // Arzneimittelkategorie -* extension[drugCategory].valueCoding.system = "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" * extension[drugCategory].valueCoding.code = #00 // Impfstoff @@ -23,6 +22,7 @@ Usage: #example * amount.numerator.extension[totalQuantity].valueString = "20 St." * amount.denominator.value = 1 +// Medication without system and code for ingredient.strengh.numerator/denominator Instance: Medication-Without-Strength-Code InstanceOf: GEM_ERP_PR_Medication Title: "Medication Without code or system for Strength" @@ -40,67 +40,3 @@ Usage: #example * ingredient.strength.denominator.unit = "Milliliter" * ingredient.strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown * ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown - -Instance: Medication-Kombipackung -InstanceOf: GEM_ERP_PR_Medication -Title: "Medication which contains compounding child elements" -Usage: #example -* contained[+] = Augentropfen -* contained[+] = NasenSpray -//TODO: Extension Type setzen -// * extension[type].valueCoding = $sct#781405001 "Medicinal product package" -* extension[isVaccine].valueBoolean = false -* extension[drugCategory].valueCoding.code = #00 -* extension[drugCategory].valueCoding.display = "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" -* code.coding[pzn] = $PZN#1746517 "CROMO-RATIOPHARM Kombipackung" -* status = #active -* form.coding[kbvDarreichungsform].code = #KPG -* form.text = "Kombipackung" -* ingredient[+].itemReference = Reference(NasenSpray) -* ingredient[+].itemReference = Reference(Augentropfen) - -Instance: Augentropfen -InstanceOf: GEM_ERP_PR_Medication -//TODO Change to correct MedicationType -//InstanceOf: EPAMedicationPharmaceuticalProduct -//TODO: Set Extension and code -//* extension[type].valueCoding = $sct#373873005 "Pharmazeutisches/biologisches Produkt" -//* code.coding[product-key] = $cs-product-key#01746517-1 "Augentropfen" -* batch.lotNumber = "0132456" -* ingredient[+] - * itemCodeableConcept - * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" - * strength - * numerator - * value = 20 - * unit = "mg" - * system = $cs-ucum - * code = #mg - * denominator - * value = 1 - * unit = "ml" - * system = $cs-ucum - * code = #ml - -Instance: NasenSpray -InstanceOf: GEM_ERP_PR_Medication -//TODO Change to correct MedicationType -//InstanceOf: EPAMedicationPharmaceuticalProduct -//TODO: Set Extension and code -//* extension[type].valueCoding = $sct#373873005 "Pharmazeutisches/biologisches Produkt" -//* code.coding[product-key] = $cs-product-key#01746517-2 "Nasenspray, Lösung" -* batch.lotNumber = "56498416854" -* ingredient[+] - * itemCodeableConcept - * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" - * strength - * numerator - * value = 2.8 - * unit = "mg" - * system = $cs-ucum - * code = #mg - * denominator - * value = 1 - * unit = "Sprühstoß" - * system = $cs-ucum - * code = #1 \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_MedicationDispense.fsh b/Resources/input/fsh/examples/Example_MedicationDispense.fsh index 2773b6cf..c564f160 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense.fsh @@ -44,6 +44,21 @@ Description: "Example of a Kombipackung Medication Dispense." * whenPrepared = "2024-04-03" * medicationReference.reference = "Medication-Kombipackung" +Instance: Example-MedicationDispense-Rezeptur +InstanceOf: GEM_ERP_PR_MedicationDispense +Usage: #example +Title: "Example Rezeptur Medication Dispense" +Description: "Example of a Rezeptur Medication Dispense." +* identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" +* identifier[prescriptionID].value = "160.153.303.257.459" +* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* subject.identifier.value = "X123456789" +* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" +* whenHandedOver = "2024-04-03" +* whenPrepared = "2024-04-03" +* medicationReference.reference = "Medication-Rezeptur" + /* Instance: INVALID-DATE-Example-MedicationDispense-1 diff --git a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh new file mode 100644 index 00000000..140aaef2 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh @@ -0,0 +1,57 @@ +// Kombipackung +Instance: Medication-Kombipackung +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication-Kombipackung" +Usage: #example +* contained[+] = Augentropfen +* contained[+] = NasenSpray +* extension[type].valueCoding = $sct#781405001 "Medicinal product package" +* extension[isVaccine].valueBoolean = false +* extension[drugCategory].valueCoding.code = #00 +* extension[drugCategory].valueCoding.display = "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" +* code.coding[pzn] = $PZN#1746517 "CROMO-RATIOPHARM Kombipackung" +* status = #active +* form.coding[kbvDarreichungsform].code = #KPG +* form.text = "Kombipackung" +* ingredient[+].itemReference = Reference(NasenSpray) +* ingredient[+].itemReference = Reference(Augentropfen) + +Instance: Augentropfen +InstanceOf: EPAMedicationPharmaceuticalProduct +* extension[type].valueCoding = $sct#373873005 "Pharmaceutical / biologic product (product)" +* code.coding[product-key] = $cs-product-key#01746517-1 "Augentropfen" +* batch.lotNumber = "0132456" +* ingredient[+] + * itemCodeableConcept + * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" + * strength + * numerator + * value = 20 + * unit = "mg" + * system = $cs-ucum + * code = #mg + * denominator + * value = 1 + * unit = "ml" + * system = $cs-ucum + * code = #ml + +Instance: NasenSpray +InstanceOf: EPAMedicationPharmaceuticalProduct +* extension[type].valueCoding = $sct#373873005 "Pharmaceutical / biologic product (product)" +* code.coding[product-key] = $cs-product-key#01746517-2 "Nasenspray, Lösung" +* batch.lotNumber = "56498416854" +* ingredient[+] + * itemCodeableConcept + * coding[atc-de] = $cs-atc-de#R01AC01 "Natriumcromoglicat" + * strength + * numerator + * value = 2.8 + * unit = "mg" + * system = $cs-ucum + * code = #mg + * denominator + * value = 1 + * unit = "Sprühstoß" + * system = $cs-ucum + * code = #1 \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Medication_Rezeptur.fsh b/Resources/input/fsh/examples/Example_Medication_Rezeptur.fsh new file mode 100644 index 00000000..430a7902 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Medication_Rezeptur.fsh @@ -0,0 +1,61 @@ +// Rezeptur +Instance: Medication-Rezeptur +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication-Rezeptur" +Usage: #example +* contained[+] = MedicationHydrocortison +* contained[+] = MedicationDexpanthenol +// Arzneimittelkategorie +* extension[drugCategory].valueCoding = EPADrugCategoryCS#00 + +//MedicationType +* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" + * version = $sct_20240201 + +// Impfstoff +* extension[isVaccine].valueBoolean = false + +// normgroesse +* code.text = "Hydrocortison-Dexpanthenol-Salbe" +* form.coding[kbvDarreichungsform].system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" +* form.coding[kbvDarreichungsform].code = #SAL +* amount.numerator.value = 20 +* amount.numerator.unit = "ml" +* amount.numerator.extension[totalQuantity].valueString = "100 ml" +* amount.denominator.value = 1 +* ingredient[+].itemReference = Reference(MedicationHydrocortison) +* ingredient[=].isActive = true +* ingredient[=].strength.numerator.value = 50 +* ingredient[=].strength.numerator.system = "http://unitsofmeasure.org" +* ingredient[=].strength.numerator.code = #g +* ingredient[=].strength.denominator.value = 100 +* ingredient[=].strength.denominator.system = "http://unitsofmeasure.org" +* ingredient[=].strength.denominator.code = #g +* ingredient[+].itemReference = Reference(MedicationDexpanthenol) +* ingredient[=].isActive = true +* ingredient[=].strength.numerator.value = 50 +* ingredient[=].strength.numerator.system = "http://unitsofmeasure.org" +* ingredient[=].strength.numerator.code = #g +* ingredient[=].strength.denominator.value = 100 +* ingredient[=].strength.denominator.system = "http://unitsofmeasure.org" +* ingredient[=].strength.denominator.code = #g + +Instance: MedicationHydrocortison +InstanceOf: EPAMedicationPZNIngredient +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" + * version = $sct_20240201 +* code + * coding[pzn] + * code = #03424249 + * display = "Hydrocortison 1% Creme" +* batch.lotNumber = "56498416854" + +Instance: MedicationDexpanthenol +InstanceOf: EPAMedicationPZNIngredient +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" + * version = $sct_20240201 +* code + * coding[pzn] + * code = #16667195 + * display = "Dexpanthenol 5% Creme" +* batch.lotNumber = "0132456" \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index e466a4ba..0638595a 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -5,6 +5,8 @@ Title: "Medication for the Dispensation of the Prescription" Description: "Handles medical information about the redeemed prescription" * insert Profile(GEM_ERP_PR_Medication) +* ingredient.itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) + * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.numerator.system.extension[dataAbsentReason].value[x] = #unknown * ingredient.strength.numerator.code.extension contains $data-absent-reason named dataAbsentReason 0..1 MS From 8333ee3749954e6bdd03b29380e1ee29f4517f4a Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 2 Jul 2024 06:46:14 +0200 Subject: [PATCH 12/57] Add example for Fachdienst Rezeptur Mapping --- .../Medication-Medication-Rezeptur-FD.json | 232 ++++++++++++++++++ .../Medication-MedicationDexpanthenol-FD.json | 30 +++ ...Medication-MedicationHydrocortison-FD.json | 30 +++ .../Example_Medication_Rezeptur_FD.fsh | 65 +++++ 4 files changed, 357 insertions(+) create mode 100644 Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json create mode 100644 Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json create mode 100644 Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json create mode 100644 Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh diff --git a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json new file mode 100644 index 00000000..24e104a8 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json @@ -0,0 +1,232 @@ +{ + "resourceType": "Medication", + "id": "Medication-Rezeptur-FD", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-manufacturing-instructions-extension", + "valueString": "Bitte kühl zubereiten und lagern." + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "valueString": "Tube" + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "1208954007", + "system": "http://snomed.info/sct", + "display": "Extemporaneous preparation (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "100 ml" + } + ], + "value": 20, + "unit": "ml" + }, + "denominator": { + "value": 1 + } + }, + "ingredient": [ + { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", + "valueString": "Salbe" + } + ], + "strength": { + "numerator": { + "value": 50, + "unit": "g", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "denominator": { + "value": 100, + "unit": "g", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + } + }, + "itemReference": { + "reference": "Medication/MedicationHydrocortison" + }, + "isActive": true + }, + { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", + "valueString": "Salbe" + } + ], + "strength": { + "numerator": { + "value": 50, + "unit": "g", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, + "denominator": { + "value": 100, + "unit": "g", + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + } + }, + "itemReference": { + "reference": "Medication/MedicationDexpanthenol" + }, + "isActive": true + } + ], + "contained": [ + { + "resourceType": "Medication", + "id": "MedicationHydrocortison-FD", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03424249", + "display": "Hydrocortison 1% Creme" + } + ], + "text": "Hydrocortison 1% Creme" + } + }, + { + "resourceType": "Medication", + "id": "MedicationDexpanthenol-FD", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "16667195", + "display": "Dexpanthenol 5% Creme" + } + ], + "text": "Dexpanthenol 5% Creme" + } + } + ], + "code": { + "text": "Hydrocortison-Dexpanthenol-Salbe" + }, + "form": { + "text": "Salbe" + } +} diff --git a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json new file mode 100644 index 00000000..7f250d16 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json @@ -0,0 +1,30 @@ +{ + "resourceType": "Medication", + "id": "MedicationDexpanthenol-FD", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "16667195", + "display": "Dexpanthenol 5% Creme" + } + ], + "text": "Dexpanthenol 5% Creme" + } +} diff --git a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json new file mode 100644 index 00000000..94d64629 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json @@ -0,0 +1,30 @@ +{ + "resourceType": "Medication", + "id": "MedicationHydrocortison-FD", + "meta": { + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "valueCoding": { + "code": "781405001", + "system": "http://snomed.info/sct", + "display": "Medicinal product package (product)", + "version": "http://snomed.info/sct/900000000000207008/version/20240201" + } + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "03424249", + "display": "Hydrocortison 1% Creme" + } + ], + "text": "Hydrocortison 1% Creme" + } +} diff --git a/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh b/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh new file mode 100644 index 00000000..10887e04 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh @@ -0,0 +1,65 @@ +// Rezeptur +Instance: Medication-Rezeptur-FD +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication-Rezeptur-FD" +Usage: #example +* contained[+] = MedicationHydrocortison-FD +* contained[+] = MedicationDexpanthenol-FD + +// Extensions +* extension[drugCategory].valueCoding = EPADrugCategoryCS#00 +* extension[manufacturingInstructions].valueString = "Bitte kühl zubereiten und lagern." +* extension[packaging].valueString = "Tube" +* extension[isVaccine].valueBoolean = false +* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" + * version = $sct_20240201 + +* code.text = "Hydrocortison-Dexpanthenol-Salbe" +* form.text = "Salbe" +* amount.numerator.extension[totalQuantity].valueString = "100 ml" +* amount.numerator.value = 20 +* amount.numerator.unit = "ml" +* amount.denominator.value = 1 +* ingredient[+].itemReference = Reference(MedicationHydrocortison) +* ingredient[=].extension[darreichungsform].valueString = "Salbe" +* ingredient[=].isActive = true +* ingredient[=].strength.numerator.value = 50 +* ingredient[=].strength.numerator.unit = "g" +* ingredient[=].strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.denominator.value = 100 +* ingredient[=].strength.denominator.unit = "g" +* ingredient[=].strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + +* ingredient[+].itemReference = Reference(MedicationDexpanthenol) +* ingredient[=].extension[darreichungsform].valueString = "Salbe" +* ingredient[=].isActive = true +* ingredient[=].strength.numerator.value = 50 +* ingredient[=].strength.numerator.unit = "g" +* ingredient[=].strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.denominator.value = 100 +* ingredient[=].strength.denominator.unit = "g" +* ingredient[=].strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown +* ingredient[=].strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + +Instance: MedicationHydrocortison-FD +InstanceOf: EPAMedicationPZNIngredient +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" + * version = $sct_20240201 +* code + * coding[pzn] + * code = #03424249 + * display = "Hydrocortison 1% Creme" + * text = "Hydrocortison 1% Creme" + +Instance: MedicationDexpanthenol-FD +InstanceOf: EPAMedicationPZNIngredient +* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" + * version = $sct_20240201 +* code + * coding[pzn] + * code = #16667195 + * display = "Dexpanthenol 5% Creme" + * text = "Dexpanthenol 5% Creme" \ No newline at end of file From de8af24069a762c9978faac42bd170d8f5094a0f Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 2 Jul 2024 09:19:56 +0200 Subject: [PATCH 13/57] Fix multiple dispense example --- ...ParametersMultipleMedicationDispenses.json | 105 ++++++++++++++++++ ...tion-gem-erp-pr-close-operation-input.json | 2 +- .../examples/Example_DispenseParameters.fsh | 4 +- .../GEM_ERP_PR_CloseOperation_Input.fsh | 2 +- 4 files changed, 109 insertions(+), 4 deletions(-) diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json index 92219c46..160902f0 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -7,6 +7,111 @@ ] }, "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "SumatripanMedication" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "SumatripanMedication", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N1" + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "06313728" + } + ], + "text": "Sumatriptan-1a Pharma 100 mg Tabletten" + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "TAB" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "20 St." + } + ], + "value": 20, + "unit": "St" + }, + "denominator": { + "value": 1 + } + } + } + } + ] + }, { "name": "rxDispensation", "part": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index deaa6b8a..7819783d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -83,7 +83,7 @@ "slicing": { "discriminator": [ { - "type": "pattern", + "type": "value", "path": "name" } ], diff --git a/Resources/input/fsh/examples/Example_DispenseParameters.fsh b/Resources/input/fsh/examples/Example_DispenseParameters.fsh index 352da83e..52c552e2 100644 --- a/Resources/input/fsh/examples/Example_DispenseParameters.fsh +++ b/Resources/input/fsh/examples/Example_DispenseParameters.fsh @@ -15,7 +15,7 @@ Instance: ExampleDispenseInputParametersMultipleMedicationDispenses InstanceOf: GEM_ERP_PR_DispenseOperation_Input Usage: #example Title: "Example Dispense Parameters" -* parameter[rxDispensation] +* parameter[rxDispensation][+] * name = "rxDispensation" * part[medicationDispense] * name = "medicationDispense" @@ -23,7 +23,7 @@ Title: "Example Dispense Parameters" * part[medication] * name = "medication" * resource = SumatripanMedication -* parameter[rxDispensation] +* parameter[rxDispensation][+] * name = "rxDispensation" * part[medicationDispense] * name = "medicationDispense" diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index 412a5552..e1d4ba79 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -18,7 +18,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * value[x] 0..0 * resource 0..0 * part 1..2 MS - * ^slicing.discriminator.type = #pattern + * ^slicing.discriminator.type = #value * ^slicing.discriminator.path = "name" * ^slicing.rules = #open * part contains From fca5dc94a4e033bc9eed035f975b632a6833f9df Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 4 Jul 2024 09:55:51 +0200 Subject: [PATCH 14/57] Removed constraint for lastMedicationDispense --- ...efinition-GEM-ERP-EX-LastMedicationDispense.json | 13 +++---------- .../GEM_ERP_EX_LastMedicationDispense.fsh | 9 +++------ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json index 16366551..f2958e1d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json @@ -32,7 +32,7 @@ { "id": "Extension", "path": "Extension", - "short": "Timestamp which is set when a medication for this task has been dispensed. Must be stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)", + "short": "Timestamp which is set when a medication for this task has been dispensed. Stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)", "definition": "This field allows the E-Rezept-FdV to display to the user that a medication has been dispensed before it was closed by the pharmacy." }, { @@ -48,19 +48,12 @@ { "id": "Extension.value[x]", "path": "Extension.value[x]", + "short": "Timestamp which is set when a medication for this task has been dispensed.", + "comment": "Stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)", "type": [ { "code": "instant" } - ], - "constraint": [ - { - "key": "workflow-letzteAbgabeDatumsFormat", - "severity": "error", - "human": "The 'value' field must match the datetime format up to seconds precision YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)", - "expression": "value.matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(Z|([+-])((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$')", - "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_LastMedicationDispense" - } ] } ] diff --git a/Resources/input/fsh/extensions/GEM_ERP_EX_LastMedicationDispense.fsh b/Resources/input/fsh/extensions/GEM_ERP_EX_LastMedicationDispense.fsh index ab551d4d..f412c54a 100644 --- a/Resources/input/fsh/extensions/GEM_ERP_EX_LastMedicationDispense.fsh +++ b/Resources/input/fsh/extensions/GEM_ERP_EX_LastMedicationDispense.fsh @@ -3,14 +3,11 @@ Id: GEM-ERP-EX-LastMedicationDispense Title: "Last Medication Dispense" Description: "This extension should be used in the Task ressource. It shows the timestamp of the last dispense." * insert StructureDefinition(GEM_ERP_EX_LastMedicationDispense) -* . ^short = "Timestamp which is set when a medication for this task has been dispensed. Must be stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)" +* . ^short = "Timestamp which is set when a medication for this task has been dispensed. Stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)" * . ^definition = "This field allows the E-Rezept-FdV to display to the user that a medication has been dispensed before it was closed by the pharmacy." * ^context.type = #element * ^context.expression = "Task" * value[x] only instant -* value[x] obeys workflow-letzteAbgabeDatumsFormat + * ^short = "Timestamp which is set when a medication for this task has been dispensed." + * ^comment = "Stated in the format YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)" -Invariant: workflow-letzteAbgabeDatumsFormat -Description: "The 'value' field must match the datetime format up to seconds precision YYYY-MM-DDTHH:MM:SS(Z|±HH:MM)" -Expression: "value.matches('^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(Z|([+-])((0[0-9]|1[0-3]):[0-5][0-9]|14:00))$')" -Severity: #error From 323bf6308763a6442414f1f3298109f464441ff1 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 08:34:30 +0200 Subject: [PATCH 15/57] Set pzn instead of DiGA VE ID --- ...mple-MedicationDispense-DiGA-DeepLink.json | 2 +- ...MedicationDispense-DiGA-Name-And-PZN.json} | 4 +-- ...n-GEM-ERP-LOG-MedicationDispense-DiGA.json | 12 +++---- ...on-GEM-ERP-PR-MedicationDispense-DiGA.json | 10 +++--- Resources/input/fsh/aliases.fsh | 2 +- .../logical-medication-dispense-diga.fsh | 4 +-- .../mapping-medication-dispense-diga.fsh | 2 +- .../GEM_ERP_PR_MedicationDispense_DiGA.fsh | 32 +++++++++---------- 8 files changed, 34 insertions(+), 34 deletions(-) rename Resources/fsh-generated/resources/{MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json => MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json} (89%) 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 1648b4b0..4c146247 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json @@ -15,7 +15,7 @@ "status": "completed", "medicationReference": { "identifier": { - "system": "https://fhir.bfarm.de/Identifier/DigaVeId", + "system": "http://fhir.de/CodeSystem/ifa/pzn", "value": "12345678" }, "display": "Gematico Diabetestherapie" diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json similarity index 89% rename from Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json rename to Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json index b0e2518e..53a90285 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json @@ -1,6 +1,6 @@ { "resourceType": "MedicationDispense", - "id": "Example-MedicationDispense-DiGA-Name-And-VE-ID", + "id": "Example-MedicationDispense-DiGA-Name-And-PZN", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" @@ -15,7 +15,7 @@ "status": "completed", "medicationReference": { "identifier": { - "system": "https://fhir.bfarm.de/Identifier/DigaVeId", + "system": "http://fhir.de/CodeSystem/ifa/pzn", "value": "12345678" }, "display": "Gematico Diabetestherapie" diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json index 1d879b5a..61c77f7f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json @@ -175,8 +175,8 @@ { "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", - "short": "Name der DiGA", - "definition": "Name der DiGA", + "short": "Name der DiGA-Verordnungseinheit", + "definition": "Name der DiGA-Verordnungseinheit", "min": 1, "max": "1", "type": [ @@ -192,10 +192,10 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.digaVeId", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.digaVeId", - "short": "Eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (DiGA-VE-ID).", - "definition": "Eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (DiGA-VE-ID).", + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn", + "short": "Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).", + "definition": "Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).", "min": 1, "max": "1", "type": [ 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 f02c36db..0834c0cb 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 @@ -37,7 +37,7 @@ { "key": "workflow-medicationdispense-redeemcode-3", "severity": "error", - "human": "Name of the DiGA and DiGA-VE-ID was not found, but is mandatory if a redeem code is provided.", + "human": "Name of the DiGA and PZN was not found, but is mandatory if a redeem code is provided.", "expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())", "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA" } @@ -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 DiGA-VE-ID." + "definition": "Information about the medication that is being dispensed. To include are name and PZN of a DiGA prescription unit." }, { "id": "MedicationDispense.medication[x].extension:data-absent-reason", @@ -149,20 +149,20 @@ "id": "MedicationDispense.medication[x].identifier.system", "path": "MedicationDispense.medication[x].identifier.system", "min": 1, - "fixedUri": "https://fhir.bfarm.de/Identifier/DigaVeId", + "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 (DiGA-VE-ID).", + "short": "Unique identification number for a prescription unit of a DiGA (PZN).", "min": 1, "mustSupport": true }, { "id": "MedicationDispense.medication[x].display", "path": "MedicationDispense.medication[x].display", - "short": "Name of the DiGA", + "short": "Name of the DiGA prescription unit.", "mustSupport": true }, { diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index e4bac0a9..d63e5b67 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -20,7 +20,7 @@ Alias: $identifier-telematik-id = https://gematik.de/fhir/sid/telematik-id Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr // Codings -Alias: $PZN = http://fhir.de/CodeSystem/ifa/pzn +Alias: $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/logicalmodels/logical-medication-dispense-diga.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh index caaf1663..6396e8dc 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh @@ -11,8 +11,8 @@ Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $clo * ^definition = "Optional, da die Kasse die Bereitstellung eines Freischaltcodes ablehnen kann." * deepLink 0..1 string "Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird" * angabenZurDiGA 0..1 BackboneElement "Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird." - * name 1..1 string "Name der DiGA" - * digaVeId 1..1 string "Eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (DiGA-VE-ID)." + * name 1..1 string "Name der DiGA-Verordnungseinheit" + * pzn 1..1 string "Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN)." * dataAbsentReason 0..1 code "Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown" * datum 1..1 dateTime "Abgabedatum im Format YYYY-MM-DD" * note 0..1 Annotation "Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden." diff --git a/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh b/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh index e267101f..be3e8d6d 100644 --- a/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh +++ b/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh @@ -13,7 +13,7 @@ Description: "This mapping maps the logical units of the DiGA MedicationDispense * deepLink -> "extension[deepLink].valueUrl" * angabenZurDiGA -> "medicationReference" * name -> "medicationReference.display" - * digaVeId -> "medicationReference.identifier.value" + * pzn -> "medicationReference.identifier.value" * dataAbsentReason -> "medicationReference.extension[data-absent-reason].valueCode" * datum -> "whenHandedOver" * note -> "note" 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 3723c35c..c05e4491 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 DiGA-VE-ID." +* medication[x] ^definition = "Information about the medication that is being dispensed. To include are name and PZN of a DiGA prescription unit." * medicationReference.display 0..1 MS - * ^short = "Name of the DiGA" + * ^short = "Name of the DiGA prescription unit." * medicationReference.identifier 0..1 MS * medicationReference.identifier.system 1..1 MS -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" (exactly) +* medicationReference.identifier.system = $pzn (exactly) * medicationReference.identifier.value 1..1 MS - * ^short = "Unique identification number for a prescription unit of a DiGA (DiGA-VE-ID)." + * ^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 @@ -67,14 +67,14 @@ Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinit Severity: #error Invariant: workflow-medicationdispense-redeemcode-3 -Description: "Name of the DiGA and DiGA-VE-ID was not found, but is mandatory if a redeem code is provided." +Description: "Name of the DiGA and PZN was not found, but is mandatory if a redeem code is provided." Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())" Severity: #error -Instance: Example-MedicationDispense-DiGA-Name-And-VE-ID +Instance: Example-MedicationDispense-DiGA-Name-And-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Medication Dispense DiGA, Name and DiGA-VE-ID" +Title: "Medication Dispense DiGA, Name and PZN" Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" @@ -85,7 +85,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://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-DeepLink @@ -103,7 +103,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://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-NoRedeemCode @@ -179,14 +179,14 @@ Description: "When a redeem code is provided, the name of the DiGA is mandatory. * performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-VE-ID +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing DiGA-VE-ID" -Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." +Title: "Invalid Medication Dispense DiGA. Missing DiGA-PZN" +Description: "When a redeem code is provided, the DiGA-PZN is mandatory." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[prescriptionID].value = "162.000.033.491.280.78" @@ -197,11 +197,11 @@ Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-VE-ID +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-VE-ID" -Description: "When a redeem code is provided, the Name and DiGA-VE-ID are mandatory." +Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-PZN" +Description: "When a redeem code is provided, the Name and DiGA-PZN are mandatory." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[prescriptionID].value = "162.000.033.491.280.78" From d2157c1d7cdb4c56fa9b0d96a4e8281609aa8612 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 8 Jul 2024 07:14:34 +0200 Subject: [PATCH 16/57] Remove ToDos --- Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh | 2 +- .../input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index 7bd425e3..c74bdc96 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -10,7 +10,7 @@ Usage: #definition * resource = #Task * inputProfile = Canonical(GEM_ERP_PR_CloseOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) //TODO "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" +* outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) // in * parameter[0] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index bd179a1b..af117c91 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -10,7 +10,7 @@ Usage: #definition * resource = #Task * inputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) //TODO "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" +* outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) // in * parameter[0] From 664d12adc552574cd4c0c2e48d152e2d6ff041e8 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 14:27:26 +0200 Subject: [PATCH 17/57] Add Accept Bundle Definition and Examples --- .../Bundle-Bundle-AcceptOperation.json | 121 ++++++++++++++++++ .../OperationDefinition-AcceptOperation.json | 2 +- ...eDefinition-GEM-ERP-PAR-OUT-OP-Accept.json | 87 ++++++------- .../Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh | 10 ++ .../GEM_ERP_OP_Accept.fsh | 3 +- .../GEM_ERP_OUT_OP_Accept_Bundle.fsh | 17 +++ .../profiles/GEM_ERP_PAR_OUT_OP_Accept.fsh | 21 --- 7 files changed, 187 insertions(+), 74 deletions(-) create mode 100644 Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json create mode 100644 Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh delete mode 100644 Resources/input/fsh/profiles/GEM_ERP_PAR_OUT_OP_Accept.fsh diff --git a/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json new file mode 100644 index 00000000..addd948a --- /dev/null +++ b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json @@ -0,0 +1,121 @@ +{ + "resourceType": "Bundle", + "id": "Bundle-AcceptOperation", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" + ] + }, + "type": "collection", + "link": [ + { + "relation": "self", + "url": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" + } + ], + "entry": [ + { + "resource": { + "resourceType": "Task", + "id": "d70932d1-9e1c-483c-b2d4-b7dced09b35e", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task|1.4" + ], + "tag": [ + { + "display": "Task in IN-PROGRESS state claimed by pharmacy via $accept operation" + } + ] + }, + "intent": "order", + "extension": [ + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType", + "valueCoding": { + "code": "160", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", + "display": "Muster 16 (Apothekenpflichtige Arzneimittel)" + } + }, + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AcceptDate", + "valueDate": "2022-04-02" + }, + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_ExpiryDate", + "valueDate": "2022-06-02" + } + ], + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + }, + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode", + "value": "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" + } + ], + "input": [ + { + "type": { + "coding": [ + { + "code": "1", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType", + "display": "Health Care Provider Prescription" + } + ] + }, + "valueReference": { + "reference": "281a985c-f25b-4aae-91a6-41ad744080b0" + } + }, + { + "type": { + "coding": [ + { + "code": "2", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType", + "display": "Patient Confirmation" + } + ] + }, + "valueReference": { + "reference": "f8c2298f-7c00-4a68-af29-8a2862d55d43" + } + } + ], + "status": "in-progress", + "authoredOn": "2022-03-18T15:26:00+00:00", + "performerType": [ + { + "coding": [ + { + "code": "urn:oid:1.2.276.0.76.4.54", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType", + "display": "Öffentliche Apotheke" + } + ] + } + ], + "for": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "lastModified": "2022-03-18T15:28:00+00:00" + } + }, + { + "resource": { + "resourceType": "Binary", + "id": "PrescriptionBinary", + "contentType": "application/pkcs7-mime", + "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index b8eb54cf..41baa2ce 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -16,7 +16,7 @@ "instance": true, "description": "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'.", "code": "accept", - "outputProfile": "http://hl7.org/fhir/StructureDefinition/Bundle", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle", "parameter": [ { "name": "ac", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json index e53c1665..ee1312f8 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", "id": "GEM-ERP-PAR-OUT-OP-Accept", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PAR_OUT_OP_Accept", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle", "version": "1.4", - "name": "GEM_ERP_PAR_OUT_OP_Accept", + "name": "GEM_ERP_OUT_OP_Accept_Bundle", "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", @@ -17,51 +17,57 @@ "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" } ], "kind": "resource", "abstract": false, - "type": "Parameters", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "type": "Bundle", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle", "derivation": "constraint", "differential": { "element": [ { - "id": "Parameters.parameter", - "path": "Parameters.parameter", + "id": "Bundle.type", + "path": "Bundle.type", + "fixedCode": "collection" + }, + { + "id": "Bundle.entry", + "path": "Bundle.entry", "slicing": { "discriminator": [ { - "type": "value", - "path": "name" + "type": "type", + "path": "$this" } ], - "rules": "closed" + "rules": "closed", + "ordered": false, + "description": "The Task and the QES-Prescription signed Bundle." }, "min": 2, "max": "2" }, { - "id": "Parameters.parameter:erxTask", - "path": "Parameters.parameter", + "id": "Bundle.entry:erxTask", + "path": "Bundle.entry", "sliceName": "erxTask", "min": 1, "max": "1" }, { - "id": "Parameters.parameter:erxTask.name", - "path": "Parameters.parameter.name", - "fixedString": "erxTask" - }, - { - "id": "Parameters.parameter:erxTask.value[x]", - "path": "Parameters.parameter.value[x]", - "max": "0" - }, - { - "id": "Parameters.parameter:erxTask.resource", - "path": "Parameters.parameter.resource", - "min": 1, + "id": "Bundle.entry:erxTask.resource", + "path": "Bundle.entry.resource", "type": [ { "code": "Task", @@ -72,44 +78,23 @@ ] }, { - "id": "Parameters.parameter:erxTask.part", - "path": "Parameters.parameter.part", - "max": "0" - }, - { - "id": "Parameters.parameter:erxBinary", - "path": "Parameters.parameter", + "id": "Bundle.entry:erxBinary", + "path": "Bundle.entry", "sliceName": "erxBinary", "min": 1, "max": "1" }, { - "id": "Parameters.parameter:erxBinary.name", - "path": "Parameters.parameter.name", - "fixedString": "erxBinary" - }, - { - "id": "Parameters.parameter:erxBinary.value[x]", - "path": "Parameters.parameter.value[x]", - "max": "0" - }, - { - "id": "Parameters.parameter:erxBinary.resource", - "path": "Parameters.parameter.resource", - "min": 1, + "id": "Bundle.entry:erxBinary.resource", + "path": "Bundle.entry.resource", "type": [ { - "code": "Composition", + "code": "Binary", "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Composition" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary" ] } ] - }, - { - "id": "Parameters.parameter:erxBinary.part", - "path": "Parameters.parameter.part", - "max": "0" } ] } diff --git a/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh new file mode 100644 index 00000000..0a730d31 --- /dev/null +++ b/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh @@ -0,0 +1,10 @@ +Instance: Bundle-AcceptOperation +InstanceOf: GEM_ERP_OUT_OP_Accept_Bundle +Usage: #example +Title: "Example Accept Bundle" +Description: "This Bundle contains the Task and the qualified signed ePrescription." +* type = #collection +* link[+].relation = "self" +* link[=].url = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" +* entry[erxTask].resource = TaskInIn-ProgressState +* entry[erxBinary].resource = PrescriptionBinary \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index fbf6feec..2f4b80b0 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -4,7 +4,8 @@ Usage: #definition * insert Operation(Accept) * description = "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'." * code = #accept -* outputProfile = "http://hl7.org/fhir/StructureDefinition/Bundle" +* outputProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) + // in * parameter[0].name = #ac * parameter[=].use = #in diff --git a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh new file mode 100644 index 00000000..9f0b6213 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh @@ -0,0 +1,17 @@ +Profile: GEM_ERP_OUT_OP_Accept_Bundle +Parent: Bundle +Id: GEM-ERP-PAR-OUT-OP-Accept +* insert StructureDefinition(GEM_ERP_OUT_OP_Accept_Bundle) + +* type = #collection (exactly) +* entry 2..2 +* entry ^slicing.discriminator.type = #type +* entry ^slicing.discriminator.path = "$this" +* entry ^slicing.rules = #closed +* entry ^slicing.ordered = false +* entry ^slicing.description = "The Task and the QES-Prescription signed Bundle." + +* entry contains erxTask 1..1 and erxBinary 1..1 + +* entry[erxTask].resource only GEM_ERP_PR_Task +* entry[erxBinary].resource only GEM_ERP_PR_Binary \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PAR_OUT_OP_Accept.fsh b/Resources/input/fsh/profiles/GEM_ERP_PAR_OUT_OP_Accept.fsh deleted file mode 100644 index abd1b467..00000000 --- a/Resources/input/fsh/profiles/GEM_ERP_PAR_OUT_OP_Accept.fsh +++ /dev/null @@ -1,21 +0,0 @@ -Profile: GEM_ERP_PAR_OUT_OP_Accept -Parent: Parameters -Id: GEM-ERP-PAR-OUT-OP-Accept -* insert StructureDefinition(GEM_ERP_PAR_OUT_OP_Accept) -* parameter ..2 -* parameter ^slicing.discriminator.type = #value -* parameter ^slicing.discriminator.path = "name" -* parameter ^slicing.rules = #closed -* parameter contains - erxTask 1..1 and - erxBinary 1..1 -* parameter[erxTask].name = "erxTask" (exactly) -* parameter[erxTask].value[x] ..0 -* parameter[erxTask].resource 1.. -* parameter[erxTask].resource only GEM_ERP_PR_Task -* parameter[erxTask].part ..0 -* parameter[erxBinary].name = "erxBinary" (exactly) -* parameter[erxBinary].value[x] ..0 -* parameter[erxBinary].resource 1.. -* parameter[erxBinary].resource only GEM_ERP_PR_Composition -* parameter[erxBinary].part ..0 From 503a31ef23b5395c9083ff85fc5e01ac08b2a013 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 15:04:27 +0200 Subject: [PATCH 18/57] Add Activate Operation input profile and update OperationDefinition --- .../Bundle-Bundle-AcceptOperation.json | 27 ++---- .../OperationDefinition-AcceptOperation.json | 5 +- ...OperationDefinition-ActivateOperation.json | 1 + ...erationActivateParametersInputExample.json | 10 ++ ...eDefinition-GEM-ERP-PAR-OUT-OP-Accept.json | 2 +- ...n-gem-erp-pr-activate-operation-input.json | 91 +++++++++++++++++++ ...-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json | 16 +--- .../input/fsh/examples/Example_Binary.fsh | 5 + .../input/fsh/examples/Example_Bundle.fsh | 13 +++ .../Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh | 10 -- Resources/input/fsh/examples/Example_Task.fsh | 4 +- .../operationdefinitions/GEM_ERP_OP_Abort.fsh | 27 +++--- .../GEM_ERP_OP_Accept.fsh | 28 +++--- .../GEM_ERP_OP_Activate.fsh | 46 +++++----- .../GEM_ERP_OUT_OP_Accept_Bundle.fsh | 2 +- .../GEM_ERP_PR_ActivateOperation_Input.fsh | 20 ++++ 16 files changed, 212 insertions(+), 95 deletions(-) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json create mode 100644 Resources/input/fsh/examples/Example_Binary.fsh delete mode 100644 Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh diff --git a/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json index addd948a..0f5530a2 100644 --- a/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json +++ b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json @@ -69,21 +69,7 @@ ] }, "valueReference": { - "reference": "281a985c-f25b-4aae-91a6-41ad744080b0" - } - }, - { - "type": { - "coding": [ - { - "code": "2", - "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType", - "display": "Patient Confirmation" - } - ] - }, - "valueReference": { - "reference": "f8c2298f-7c00-4a68-af29-8a2862d55d43" + "reference": "Binary/PrescriptionBinary" } } ], @@ -107,15 +93,22 @@ } }, "lastModified": "2022-03-18T15:28:00+00:00" - } + }, + "fullUrl": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e" }, { "resource": { "resourceType": "Binary", "id": "PrescriptionBinary", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary|1.4" + ] + }, "contentType": "application/pkcs7-mime", "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" - } + }, + "fullUrl": "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinary" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index 41baa2ce..07bc95d5 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -32,7 +32,10 @@ "min": 1, "max": "1", "documentation": "Collection of resources (Task and Binary) to let a pharmacy process a ePrescriptionn containing 1. the updated Task (including a secret, that gives a pharmacy exclusive access to the Task) and 2. a base64Binary of the qualified signed ePrescription. The status of the Task changes into in-progres. The prescription server creates a random number and stores it in Task.identifier:Secret.", - "type": "Bundle" + "type": "Bundle", + "targetProfile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" + ] } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json index ace0ab0a..f5bf044a 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json @@ -16,6 +16,7 @@ "instance": true, "description": "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow.", "code": "activate", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input", "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task", "parameter": [ { diff --git a/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json b/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json index 76e1e944..db276c1d 100644 --- a/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json +++ b/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json @@ -1,12 +1,22 @@ { "resourceType": "Parameters", "id": "OperationActivateParametersInputExample", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input|1.4" + ] + }, "parameter": [ { "name": "ePrescription", "resource": { "resourceType": "Binary", "id": "PrescriptionBinary", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary|1.4" + ] + }, "contentType": "application/pkcs7-mime", "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" } diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json index ee1312f8..29afb167 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json @@ -48,7 +48,7 @@ "discriminator": [ { "type": "type", - "path": "$this" + "path": "resource" } ], "rules": "closed", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json new file mode 100644 index 00000000..3695d9f4 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json @@ -0,0 +1,91 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-activate-operation-input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input", + "version": "1.4", + "name": "GEM_ERP_PR_ActivateOperation_Input", + "title": "GEM ERP PR ActivateOperation Input", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for activating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:ePrescription", + "path": "Parameters.parameter", + "sliceName": "ePrescription", + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:ePrescription.name", + "path": "Parameters.parameter.name", + "fixedString": "ePrescription", + "mustSupport": true + }, + { + "id": "Parameters.parameter:ePrescription.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:ePrescription.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "Binary", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Binary" + ] + } + ] + } + ] + } +} diff --git a/Resources/fsh-generated/resources/Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json b/Resources/fsh-generated/resources/Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json index 417d2d3f..99a1a069 100644 --- a/Resources/fsh-generated/resources/Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json +++ b/Resources/fsh-generated/resources/Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json @@ -52,21 +52,7 @@ ] }, "valueReference": { - "reference": "281a985c-f25b-4aae-91a6-41ad744080b0" - } - }, - { - "type": { - "coding": [ - { - "code": "2", - "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType", - "display": "Patient Confirmation" - } - ] - }, - "valueReference": { - "reference": "f8c2298f-7c00-4a68-af29-8a2862d55d43" + "reference": "Binary/PrescriptionBinary" } } ], diff --git a/Resources/input/fsh/examples/Example_Binary.fsh b/Resources/input/fsh/examples/Example_Binary.fsh new file mode 100644 index 00000000..94596210 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Binary.fsh @@ -0,0 +1,5 @@ +Instance: PrescriptionBinary +InstanceOf: GEM_ERP_PR_Binary +Usage: #inline +* contentType = #application/pkcs7-mime +* data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Bundle.fsh b/Resources/input/fsh/examples/Example_Bundle.fsh index c3e4ba94..d163543f 100644 --- a/Resources/input/fsh/examples/Example_Bundle.fsh +++ b/Resources/input/fsh/examples/Example_Bundle.fsh @@ -30,3 +30,16 @@ Usage: #example * signature.who.reference = "urn:uuid:1413b38d-81a6-432a-a801-98d7307a422b" * signature.sigFormat = #application/pkcs7-mime * signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" + +Instance: Bundle-AcceptOperation +InstanceOf: GEM_ERP_OUT_OP_Accept_Bundle +Usage: #example +Title: "Example Accept Bundle" +Description: "This Bundle contains the Task and the qualified signed ePrescription." +* type = #collection +* link[+].relation = "self" +* link[=].url = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" +* entry[erxTask].resource = TaskInIn-ProgressState +* entry[erxTask].fullUrl = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e" +* entry[erxBinary].resource = PrescriptionBinary +* entry[erxBinary].fullUrl = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinary" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh deleted file mode 100644 index 0a730d31..00000000 --- a/Resources/input/fsh/examples/Example_GEM_ERP_OUT_OP_Accept_Bundle.fsh +++ /dev/null @@ -1,10 +0,0 @@ -Instance: Bundle-AcceptOperation -InstanceOf: GEM_ERP_OUT_OP_Accept_Bundle -Usage: #example -Title: "Example Accept Bundle" -Description: "This Bundle contains the Task and the qualified signed ePrescription." -* type = #collection -* link[+].relation = "self" -* link[=].url = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" -* entry[erxTask].resource = TaskInIn-ProgressState -* entry[erxBinary].resource = PrescriptionBinary \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Task.fsh b/Resources/input/fsh/examples/Example_Task.fsh index fb727602..dfd7b66a 100644 --- a/Resources/input/fsh/examples/Example_Task.fsh +++ b/Resources/input/fsh/examples/Example_Task.fsh @@ -77,9 +77,7 @@ Usage: #example * for.identifier.value = "X123456789" * lastModified = "2022-03-18T15:28:00+00:00" * input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "281a985c-f25b-4aae-91a6-41ad744080b0" -* input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" -* input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" +* input[ePrescription].valueReference.reference = "Binary/PrescriptionBinary" Instance: TaskInIn-ProgressState-Dispensed InstanceOf: GEM_ERP_PR_Task diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh index b3349fd2..3ddd95f3 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh @@ -5,16 +5,19 @@ Usage: #definition * description = "This Operation aborts the workflow of an e-prescription and deletes all the data related to that Task." * code = #abort // in -* parameter[0].name = #ac -* parameter[=].use = #in -* parameter[=].min = 0 -* parameter[=].max = "1" -* parameter[=].documentation = "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." -* parameter[=].type = #string +* parameter[+] + * name = #ac + * use = #in + * min = 0 + * max = "1" + * documentation = "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." + * type = #string + // alternative in -* parameter[+].name = #secret -* parameter[=].use = #in -* parameter[=].min = 0 -* parameter[=].max = "1" -* parameter[=].documentation = "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Paramter ?secret." -* parameter[=].type = #string +* parameter[+] + * name = #secret + * use = #in + * min = 0 + * max = "1" + * documentation = "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Paramter ?secret." + * type = #string diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index 2f4b80b0..27bb02be 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -7,16 +7,20 @@ Usage: #definition * outputProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) // in -* parameter[0].name = #ac -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." -* parameter[=].type = #string +* parameter[+] + * name = #ac + * use = #in + * min = 1 + * max = "1" + * documentation = "The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." + * type = #string + // out -* parameter[+].name = #return -* parameter[=].use = #out -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "Collection of resources (Task and Binary) to let a pharmacy process a ePrescriptionn containing 1. the updated Task (including a secret, that gives a pharmacy exclusive access to the Task) and 2. a base64Binary of the qualified signed ePrescription. The status of the Task changes into in-progres. The prescription server creates a random number and stores it in Task.identifier:Secret." -* parameter[=].type = #Bundle +* parameter[+] + * name = #return + * use = #out + * min = 1 + * max = "1" + * documentation = "Collection of resources (Task and Binary) to let a pharmacy process a ePrescriptionn containing 1. the updated Task (including a secret, that gives a pharmacy exclusive access to the Task) and 2. a base64Binary of the qualified signed ePrescription. The status of the Task changes into in-progres. The prescription server creates a random number and stores it in Task.identifier:Secret." + * type = #Bundle + * targetProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh index 0eba5995..e8a5df5e 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh @@ -4,32 +4,32 @@ Usage: #definition * insert Operation(Activate) * description = "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow." * code = #activate -* outputProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" +* inputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_Task) + // in -* parameter[0].name = #ePrescription -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The qualified signed prescription element to activate the ePrescription workflow." -* parameter[=].type = #Binary +* parameter[+] + * name = #ePrescription + * use = #in + * min = 1 + * max = "1" + * documentation = "The qualified signed prescription element to activate the ePrescription workflow." + * type = #Binary + // out -* parameter[+].name = #return -* parameter[=].use = #out -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "Return the updated and activated Task." -* parameter[=].type = #canonical -* parameter[=].targetProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" +* parameter[+] + * name = #return + * use = #out + * min = 1 + * max = "1" + * documentation = "Return the updated and activated Task." + * type = #canonical + * targetProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" -Instance: PrescriptionBinary -InstanceOf: Binary -Usage: #inline -* contentType = #application/pkcs7-mime -* data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" Instance: OperationActivateParametersInputExample -InstanceOf: Parameters -Title: "Ativate operation input parameters" +InstanceOf: GEM_ERP_PR_ActivateOperation_Input +Title: "Example Activate operation input parameters" Usage: #example -* parameter[+].name = "ePrescription" -* parameter[=].resource = PrescriptionBinary +* parameter[ePrescription].name = "ePrescription" +* parameter[ePrescription].resource = PrescriptionBinary diff --git a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh index 9f0b6213..74d514ae 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh @@ -6,7 +6,7 @@ Id: GEM-ERP-PAR-OUT-OP-Accept * type = #collection (exactly) * entry 2..2 * entry ^slicing.discriminator.type = #type -* entry ^slicing.discriminator.path = "$this" +* entry ^slicing.discriminator.path = "resource" * entry ^slicing.rules = #closed * entry ^slicing.ordered = false * entry ^slicing.description = "The Task and the QES-Prescription signed Bundle." diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh new file mode 100644 index 00000000..15c0da78 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh @@ -0,0 +1,20 @@ +Profile: GEM_ERP_PR_ActivateOperation_Input +Parent: Parameters +Id: gem-erp-pr-activate-operation-input +Title: "GEM ERP PR ActivateOperation Input" +Description: "This profile defines the parameters for activating a workflow for a prescription from PVS to the E-Rezept-Fachdienst." +* insert Profile(GEM_ERP_PR_ActivateOperation_Input) + +* parameter 1..1 +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains ePrescription 1..1 + +* parameter[ePrescription] + * name MS + * name = "ePrescription" (exactly) + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Binary \ No newline at end of file From 6b436e579e8116016c55f00a69d8d22a51254233 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 15:12:58 +0200 Subject: [PATCH 19/57] Update operation definition and input profile for Activate Operation --- .../OperationDefinition-CloseOperation.json | 2 +- .../OperationDefinition-CreateOperation.json | 1 + ...OperationDefinition-DispenseOperation.json | 2 +- ...OperationCreateParametersInputExample.json | 5 ++ ...ion-gem-erp-pr-create-operation-input.json | 87 +++++++++++++++++++ .../fsh/examples/Example_CreateParameter.fsh | 7 ++ .../GEM_ERP_OP_Activate.fsh | 2 +- .../operationdefinitions/GEM_ERP_OP_Close.fsh | 2 + .../GEM_ERP_OP_Create.fsh | 45 ++++------ .../GEM_ERP_OP_Dispense.fsh | 2 + .../GEM_ERP_OP_Reject.fsh | 14 +-- .../GEM_ERP_PR_CreateOperation_Input.fsh | 20 +++++ 12 files changed, 154 insertions(+), 35 deletions(-) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json create mode 100644 Resources/input/fsh/examples/Example_CreateParameter.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 168635b1..029bb9cc 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -17,7 +17,7 @@ "description": "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed", "code": "close", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle", "parameter": [ { "name": "secret", diff --git a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json index c1cee189..a1cdf705 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json @@ -16,6 +16,7 @@ "instance": false, "description": "This operation creates a Task for the prescription of a specific workflowType.", "code": "create", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input", "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task", "parameter": [ { diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index 95f00b5b..d4af5c70 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -17,7 +17,7 @@ "description": "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy.", "code": "dispense", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense", "parameter": [ { "name": "secret", diff --git a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json index be960d04..6454f49c 100644 --- a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json +++ b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json @@ -1,6 +1,11 @@ { "resourceType": "Parameters", "id": "OperationCreateParametersInputExample", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input|1.4" + ] + }, "parameter": [ { "name": "workflowType", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json new file mode 100644 index 00000000..7b3a0cdf --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json @@ -0,0 +1,87 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-create-operation-input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input", + "version": "1.4", + "name": "GEM_ERP_PR_CreateOperation_Input", + "title": "GEM ERP PR CreateOperation Input Parameter", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for creating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:workflowType", + "path": "Parameters.parameter", + "sliceName": "workflowType", + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:workflowType.name", + "path": "Parameters.parameter.name", + "fixedString": "workflowType", + "mustSupport": true + }, + { + "id": "Parameters.parameter:workflowType.value[x]", + "path": "Parameters.parameter.value[x]", + "min": 1, + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" + } + } + ] + } +} diff --git a/Resources/input/fsh/examples/Example_CreateParameter.fsh b/Resources/input/fsh/examples/Example_CreateParameter.fsh new file mode 100644 index 00000000..531deb73 --- /dev/null +++ b/Resources/input/fsh/examples/Example_CreateParameter.fsh @@ -0,0 +1,7 @@ +Instance: OperationCreateParametersInputExample +InstanceOf: GEM_ERP_PR_CreateOperation_Input +Title: "$create Operation Parameters sample" +Usage: #example +* parameter[+].name = "workflowType" +* parameter[=].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" +* parameter[=].valueCoding.code = #160 \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh index e8a5df5e..74ac88d0 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh @@ -24,7 +24,7 @@ Usage: #definition * max = "1" * documentation = "Return the updated and activated Task." * type = #canonical - * targetProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" + * targetProfile = Canonical(GEM_ERP_PR_Task) Instance: OperationActivateParametersInputExample diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index c74bdc96..bec6ed35 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -11,6 +11,8 @@ Usage: #definition * inputProfile = Canonical(GEM_ERP_PR_CloseOperation_Input) * outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) +* outputProfile = Canonical(GEM_ERP_PR_Bundle) +// TODO: Which output profile? // in * parameter[0] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh index 0cf80354..2927cf9d 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh @@ -6,31 +6,24 @@ Usage: #definition * code = #create * type = true * instance = false -* outputProfile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" +* inputProfile = Canonical(GEM_ERP_PR_CreateOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_Task) // in -* parameter[0].name = #workflowType -* parameter[=].use = #in -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "This parameter requests the creation of a Task of a certain ePrescription flowType." -//* parameter[=].type = #canonical -//* parameter[=].targetProfile[+] = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" -* parameter[=].type = #ValueSet -* parameter[=].binding.strength = #required -* parameter[=].binding.valueSet = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" +* parameter[+] + * name = #workflowType + * use = #in + * min = 1 + * max = "1" + * documentation = "This parameter requests the creation of a Task of a certain ePrescription flowType." + * type = #ValueSet + * binding.strength = #required + * binding.valueSet = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" // out -* parameter[+].name = #task -* parameter[=].use = #out -* parameter[=].min = 1 -* parameter[=].max = "1" -* parameter[=].documentation = "The created Task with a flowType-specific prescriptionID" -* parameter[=].type = #canonical -* parameter[=].targetProfile[+] = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" - -Instance: OperationCreateParametersInputExample -InstanceOf: Parameters -Title: "$create Operation Parameters sample" -Usage: #example -* parameter[+].name = "workflowType" -* parameter[=].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" -* parameter[=].valueCoding.code = #160 +* parameter[+] + * name = #task + * use = #out + * min = 1 + * max = "1" + * documentation = "The created Task with a flowType-specific prescriptionID" + * type = #canonical + * targetProfile[+] = Canonical(GEM_ERP_PR_Task) diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index af117c91..09bd57b2 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -11,6 +11,8 @@ Usage: #definition * inputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Input) * outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) +* outputProfile = Canonical(GEM_ERP_PR_MedicationDispense) +// TODO: Which output profile? // in * parameter[0] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh index 5d60207d..3cd54a9d 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh @@ -4,10 +4,12 @@ Usage: #definition * insert Operation(Reject) * description = "Rejects the dispense of a ePrescription. The Task will be reset to an active state, the secret will be deleted, and the Task will be accessible by any other pharmacist or it can be deleted by the patient." * code = #reject + // in -* parameter.name = #secret -* parameter.use = #in -* parameter.min = 1 -* parameter.max = "1" -* parameter.documentation = "The secret parameter that lets a pharmacy access the Task exclusively." -* parameter.type = #string +* parameter[+] + * name = #secret + * use = #in + * min = 1 + * max = "1" + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively." + * type = #string diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh new file mode 100644 index 00000000..f0dd3883 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh @@ -0,0 +1,20 @@ +Profile: GEM_ERP_PR_CreateOperation_Input +Parent: Parameters +Id: gem-erp-pr-create-operation-input +Title: "GEM ERP PR CreateOperation Input Parameter" +Description: "This profile defines the parameters for creating a workflow for a prescription from PVS to the E-Rezept-Fachdienst." +* insert Profile(GEM_ERP_PR_CreateOperation_Input) + +* parameter 1..1 +* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains workflowType 1..1 + +* parameter[workflowType] + * name MS + * name = "workflowType" (exactly) + * value[x] 1..1 + * value[x] only Coding + * valueCoding from GEM_ERP_VS_FlowType (required) \ No newline at end of file From 551f0974272586a6969d04e2c1fad15fa0216406 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 15:22:35 +0200 Subject: [PATCH 20/57] Fix warnings --- .../Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json | 9 ++++----- ...mmunication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json | 3 ++- .../resources/Medication-Medication-Kombipackung.json | 1 + .../resources/Medication-SumatripanMedication.json | 3 ++- ...ionDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json | 3 ++- ...ionDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json | 3 ++- .../Parameters-ExampleCloseInputParameters.json | 3 ++- ...rameters-ExampleCloseInputParametersKombipackung.json | 1 + .../Parameters-ExampleDispenseInputParameters.json | 3 ++- ...eters-ExampleDispenseInputParametersKombipackung.json | 1 + ...spenseInputParametersMultipleMedicationDispenses.json | 3 ++- Resources/input/fsh/examples/Example_CreateParameter.fsh | 6 +++--- .../input/fsh/examples/Example_Dispense_Operation.fsh | 1 - Resources/input/fsh/examples/Example_Medication.fsh | 2 +- .../fsh/examples/Example_Medication_Kombipackung.fsh | 2 +- 15 files changed, 26 insertions(+), 18 deletions(-) diff --git a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json index 4389e95d..95b7fd36 100644 --- a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json +++ b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json @@ -2,9 +2,6 @@ "resourceType": "Bundle", "id": "558c2f69-62f6-4a74-8d13-70e945d28b71", "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.4" - ], "tag": [ { "display": "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" @@ -36,7 +33,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { @@ -139,7 +137,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json index 1046a0d1..f7020deb 100644 --- a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json +++ b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json @@ -82,7 +82,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json index 42b65dcb..6536d7ec 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -23,6 +23,7 @@ "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } diff --git a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json index 638d3adc..4369244a 100644 --- a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json +++ b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json @@ -10,7 +10,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json index a32bae5b..a887a6cf 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json +++ b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json @@ -19,7 +19,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json index be32a4b2..5b2fe68d 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json +++ b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json @@ -19,7 +19,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json index 3f920a18..0f6ea288 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json @@ -64,7 +64,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json index 75865c1f..3040a1f4 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json @@ -77,6 +77,7 @@ "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index 6b821848..57c55d33 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -64,7 +64,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 4270c197..7cf86cb0 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -77,6 +77,7 @@ "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json index 160902f0..acebf1a5 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -64,7 +64,8 @@ { "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "code": "00" + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" } }, { diff --git a/Resources/input/fsh/examples/Example_CreateParameter.fsh b/Resources/input/fsh/examples/Example_CreateParameter.fsh index 531deb73..ab0f5d83 100644 --- a/Resources/input/fsh/examples/Example_CreateParameter.fsh +++ b/Resources/input/fsh/examples/Example_CreateParameter.fsh @@ -2,6 +2,6 @@ Instance: OperationCreateParametersInputExample InstanceOf: GEM_ERP_PR_CreateOperation_Input Title: "$create Operation Parameters sample" Usage: #example -* parameter[+].name = "workflowType" -* parameter[=].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" -* parameter[=].valueCoding.code = #160 \ No newline at end of file +* parameter[workflowType].name = "workflowType" +* parameter[workflowType].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" +* parameter[workflowType].valueCoding.code = #160 \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Dispense_Operation.fsh b/Resources/input/fsh/examples/Example_Dispense_Operation.fsh index be0a725e..5e5be508 100644 --- a/Resources/input/fsh/examples/Example_Dispense_Operation.fsh +++ b/Resources/input/fsh/examples/Example_Dispense_Operation.fsh @@ -41,7 +41,6 @@ Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" Usage: #example * id = "558c2f69-62f6-4a74-8d13-70e945d28b71" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle) * meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" * type = #collection * entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index f35c83e1..61a446b2 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -4,7 +4,7 @@ InstanceOf: GEM_ERP_PR_Medication Title: "Sample Medication Sumatripan" Usage: #example // Arzneimittelkategorie -* extension[drugCategory].valueCoding.code = #00 +* extension[drugCategory].valueCoding = EPADrugCategoryCS#00 // Impfstoff * extension[isVaccine].valueBoolean = false diff --git a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh index 140aaef2..890ca078 100644 --- a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh +++ b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh @@ -7,7 +7,7 @@ Usage: #example * contained[+] = NasenSpray * extension[type].valueCoding = $sct#781405001 "Medicinal product package" * extension[isVaccine].valueBoolean = false -* extension[drugCategory].valueCoding.code = #00 +* 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" * status = #active From 7d59ad9ae4b6d454e38fcdf89fe87e54fa5d868b Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 5 Jul 2024 15:28:13 +0200 Subject: [PATCH 21/57] warning fixes --- ...> StructureDefinition-logMedDispense.json} | 330 +++++++++--------- ...ructureDefinition-logMedDispenseDiGA.json} | 62 ++-- .../logical-medication-dispense-diga.fsh | 2 +- .../logical-medication-dispense.fsh | 4 +- 4 files changed, 199 insertions(+), 199 deletions(-) rename Resources/fsh-generated/resources/{StructureDefinition-logical-medication-dispense.json => StructureDefinition-logMedDispense.json} (55%) rename Resources/fsh-generated/resources/{StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json => StructureDefinition-logMedDispenseDiGA.json} (77%) diff --git a/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json similarity index 55% rename from Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json rename to Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json index 5fdc607d..520408de 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json @@ -1,7 +1,7 @@ { "resourceType": "StructureDefinition", - "id": "logical-medication-dispense", - "url": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", + "id": "logMedDispense", + "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", "name": "LogicalMedicationDispense", "title": "Logical Medication Dispense", "status": "draft", @@ -16,20 +16,20 @@ ], "kind": "logical", "abstract": false, - "type": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", + "type": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", "derivation": "specialization", "differential": { "element": [ { - "id": "logical-medication-dispense", - "path": "logical-medication-dispense", + "id": "logMedDispense", + "path": "logMedDispense", "short": "Logical Medication Dispense", "definition": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." }, { - "id": "logical-medication-dispense.prescriptionId", - "path": "logical-medication-dispense.prescriptionId", + "id": "logMedDispense.prescriptionId", + "path": "logMedDispense.prescriptionId", "short": "ID des Rezepts", "definition": "ID des Rezepts", "min": 1, @@ -41,8 +41,8 @@ ] }, { - "id": "logical-medication-dispense.status", - "path": "logical-medication-dispense.status", + "id": "logMedDispense.status", + "path": "logMedDispense.status", "short": "Status fixedValue: #completed", "definition": "Status fixedValue: #completed", "min": 1, @@ -54,8 +54,8 @@ ] }, { - "id": "logical-medication-dispense.medication", - "path": "logical-medication-dispense.medication", + "id": "logMedDispense.medication", + "path": "logMedDispense.medication", "short": "Medikation", "definition": "Medikation", "min": 1, @@ -67,8 +67,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel", - "path": "logical-medication-dispense.medication.medicationArzneimittel", + "id": "logMedDispense.medication.medicationArzneimittel", + "path": "logMedDispense.medication.medicationArzneimittel", "short": "Medikation als contained Element", "definition": "Medikation als contained Element", "min": 0, @@ -80,8 +80,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", - "path": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", + "id": "logMedDispense.medication.medicationArzneimittel.profilInformation", + "path": "logMedDispense.medication.medicationArzneimittel.profilInformation", "short": "Profilinformationen aus meta.profile", "definition": "Profilinformationen aus meta.profile", "min": 1, @@ -93,8 +93,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension", + "id": "logMedDispense.medication.medicationArzneimittel.extension", + "path": "logMedDispense.medication.medicationArzneimittel.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, @@ -106,8 +106,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.impfung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.impfung", "short": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "definition": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "min": 1, @@ -119,8 +119,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "id": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "path": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", "short": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "definition": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "min": 1, @@ -132,8 +132,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.Kategorie", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.Kategorie", + "id": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", + "path": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", "short": "Angabe zur Kategorie", "definition": "Angabe zur Kategorie", "comment": "Muss angegeben werden, wenn vorhanden", @@ -146,8 +146,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", + "id": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", + "path": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", "short": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "definition": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "comment": "Muss angegeben werden, wenn vorhanden", @@ -160,8 +160,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", "short": "Herstellungsanweisung", "definition": "Herstellungsanweisung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -174,8 +174,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", "short": "Angabe zur Verpackung", "definition": "Angabe zur Verpackung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -188,8 +188,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code", + "id": "logMedDispense.medication.medicationArzneimittel.code", + "path": "logMedDispense.medication.medicationArzneimittel.code", "short": "Information und Identifizierung zum Arzneimittel", "definition": "Information und Identifizierung zum Arzneimittel", "min": 1, @@ -201,8 +201,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -214,8 +214,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, @@ -227,8 +227,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -241,8 +241,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -254,8 +254,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, @@ -267,8 +267,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -281,8 +281,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask", "short": "ask", "definition": "ask", "min": 0, @@ -294,8 +294,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, @@ -307,8 +307,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -321,8 +321,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -334,8 +334,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, @@ -347,8 +347,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -361,8 +361,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -374,8 +374,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -387,8 +387,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -401,8 +401,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.text", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.text", + "id": "logMedDispense.medication.medicationArzneimittel.code.text", + "path": "logMedDispense.medication.medicationArzneimittel.code.text", "short": "Name des Arzneimittels", "definition": "Name des Arzneimittels", "min": 0, @@ -414,8 +414,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form", + "id": "logMedDispense.medication.medicationArzneimittel.form", + "path": "logMedDispense.medication.medicationArzneimittel.form", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -427,8 +427,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm", "short": "edqm", "definition": "edqm", "min": 0, @@ -440,8 +440,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", "short": "edqm-Code", "definition": "edqm-Code", "min": 1, @@ -453,8 +453,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", "short": "edqm-Name", "definition": "edqm-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -467,8 +467,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -480,8 +480,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -493,8 +493,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -507,8 +507,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", "short": "kbvDarreichungsform", "definition": "kbvDarreichungsform", "min": 0, @@ -520,8 +520,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", "short": "kbvDarreichungsform-Code", "definition": "kbvDarreichungsform-Code", "min": 1, @@ -533,8 +533,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", "short": "kbvDarreichungsform-Name", "definition": "kbvDarreichungsform-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -547,8 +547,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.text", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.text", + "id": "logMedDispense.medication.medicationArzneimittel.form.text", + "path": "logMedDispense.medication.medicationArzneimittel.form.text", "short": "Name der Darreichungsform", "definition": "Name der Darreichungsform", "min": 0, @@ -560,8 +560,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.menge", - "path": "logical-medication-dispense.medication.medicationArzneimittel.menge", + "id": "logMedDispense.medication.medicationArzneimittel.menge", + "path": "logMedDispense.medication.medicationArzneimittel.menge", "short": "Verordnete Menge des Arzneimittels", "definition": "Verordnete Menge des Arzneimittels", "comment": "Muss angegeben werden, wenn vorhanden", @@ -574,8 +574,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", "short": "Inhaltsstoffe", "definition": "Inhaltsstoffe", "min": 0, @@ -587,8 +587,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, @@ -600,8 +600,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -613,8 +613,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", "short": "Inhaltsstoff", "definition": "Inhaltsstoff", "min": 0, @@ -626,8 +626,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", "short": "Kodierung des Inhaltsstoffs", "definition": "Kodierung des Inhaltsstoffs", "min": 0, @@ -639,8 +639,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -652,8 +652,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, @@ -665,8 +665,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -679,8 +679,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -692,8 +692,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, @@ -705,8 +705,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -719,8 +719,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", "short": "ask", "definition": "ask", "min": 0, @@ -732,8 +732,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, @@ -745,8 +745,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -759,8 +759,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -772,8 +772,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, @@ -785,8 +785,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -799,8 +799,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -812,8 +812,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -825,8 +825,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -839,8 +839,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", "short": "Referenz zum Inhaltsstoff", "definition": "Referenz zum Inhaltsstoff", "min": 0, @@ -852,8 +852,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", "short": "Wirkstärke des Inhaltsstoffes", "definition": "Wirkstärke des Inhaltsstoffes", "min": 0, @@ -865,8 +865,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", "short": "Menge des Inhaltsstoffes", "definition": "Menge des Inhaltsstoffes", "min": 0, @@ -878,8 +878,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", "short": "Einheit der Menge des Inhaltsstoffes", "definition": "Einheit der Menge des Inhaltsstoffes", "min": 0, @@ -891,8 +891,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation", "short": "Chargeninformation", "definition": "Chargeninformation", "comment": "Da die ePA Medication nur bei der Abgabe verwendet wird ist die Angabe der Chargeninformation verpflichtend.", @@ -905,8 +905,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", "short": "Chargennummer", "definition": "Chargennummer", "min": 0, @@ -918,8 +918,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", "short": "Ablaufdatum der Charge", "definition": "Ablaufdatum der Charge", "min": 0, @@ -931,8 +931,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.darreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -944,8 +944,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationDiGA", - "path": "logical-medication-dispense.medication.medicationDiGA", + "id": "logMedDispense.medication.medicationDiGA", + "path": "logMedDispense.medication.medicationDiGA", "short": "Angabe der Medikation bei DiGA Verordnung", "definition": "Angabe der Medikation bei DiGA Verordnung", "min": 0, @@ -957,8 +957,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationDiGA.display", - "path": "logical-medication-dispense.medication.medicationDiGA.display", + "id": "logMedDispense.medication.medicationDiGA.display", + "path": "logMedDispense.medication.medicationDiGA.display", "short": "Name der verordneten DiGA", "definition": "Name der verordneten DiGA", "min": 1, @@ -970,8 +970,8 @@ ] }, { - "id": "logical-medication-dispense.patientKVNR", - "path": "logical-medication-dispense.patientKVNR", + "id": "logMedDispense.patientKVNR", + "path": "logMedDispense.patientKVNR", "short": "KVNR des Patienten", "definition": "KVNR des Patienten", "min": 1, @@ -983,8 +983,8 @@ ] }, { - "id": "logical-medication-dispense.angabeAbgebendeInstutition", - "path": "logical-medication-dispense.angabeAbgebendeInstutition", + "id": "logMedDispense.angabeAbgebendeInstutition", + "path": "logMedDispense.angabeAbgebendeInstutition", "short": "Telematik-ID der abgebenden Institution", "definition": "Telematik-ID der abgebenden Institution", "min": 1, @@ -999,8 +999,8 @@ ] }, { - "id": "logical-medication-dispense.menge", - "path": "logical-medication-dispense.menge", + "id": "logMedDispense.menge", + "path": "logMedDispense.menge", "short": "Abgegebene Menge des Arzneimittels.", "definition": "Abgegebene Menge des Arzneimittels.", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1013,8 +1013,8 @@ ] }, { - "id": "logical-medication-dispense.abgabeDatum", - "path": "logical-medication-dispense.abgabeDatum", + "id": "logMedDispense.abgabeDatum", + "path": "logMedDispense.abgabeDatum", "short": "Abgabedatum im Format YYYY-MM-DD", "definition": "Abgabedatum im Format YYYY-MM-DD", "min": 1, @@ -1026,8 +1026,8 @@ ] }, { - "id": "logical-medication-dispense.dosieranweisung", - "path": "logical-medication-dispense.dosieranweisung", + "id": "logMedDispense.dosieranweisung", + "path": "logMedDispense.dosieranweisung", "short": "Dosieranweisung,", "definition": "Dosieranweisung,", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1040,8 +1040,8 @@ ] }, { - "id": "logical-medication-dispense.verweisZumTask", - "path": "logical-medication-dispense.verweisZumTask", + "id": "logMedDispense.verweisZumTask", + "path": "logMedDispense.verweisZumTask", "short": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "definition": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "min": 0, @@ -1053,8 +1053,8 @@ ] }, { - "id": "logical-medication-dispense.substituierung", - "path": "logical-medication-dispense.substituierung", + "id": "logMedDispense.substituierung", + "path": "logMedDispense.substituierung", "short": "Substituierung", "definition": "Substituierung", "min": 0, @@ -1066,8 +1066,8 @@ ] }, { - "id": "logical-medication-dispense.substituierung.wurdeSubstituiert", - "path": "logical-medication-dispense.substituierung.wurdeSubstituiert", + "id": "logMedDispense.substituierung.wurdeSubstituiert", + "path": "logMedDispense.substituierung.wurdeSubstituiert", "short": "Angabe, ob substituiert wurde", "definition": "Angabe, ob substituiert wurde", "min": 1, @@ -1079,8 +1079,8 @@ ] }, { - "id": "logical-medication-dispense.abgabeHinweise", - "path": "logical-medication-dispense.abgabeHinweise", + "id": "logMedDispense.abgabeHinweise", + "path": "logMedDispense.abgabeHinweise", "short": "Hinweise zur Abgabe, wenn vorhanden", "definition": "Hinweise zur Abgabe, wenn vorhanden", "min": 0, diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json similarity index 77% rename from Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json rename to Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json index 1d879b5a..bb5c541e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json @@ -1,7 +1,7 @@ { "resourceType": "StructureDefinition", - "id": "GEM-ERP-LOG-MedicationDispense-DiGA", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA", + "id": "logMedDispenseDiGA", + "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispenseDiGA", "name": "GEM_ERP_LOG_MedicationDispense_DiGA", "title": "Logical DiGA Medication Dispense", "status": "draft", @@ -22,14 +22,14 @@ ], "kind": "logical", "abstract": false, - "type": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA", + "type": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispenseDiGA", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", "derivation": "specialization", "differential": { "element": [ { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA", + "id": "logMedDispenseDiGA", + "path": "logMedDispenseDiGA", "short": "Logical DiGA Medication Dispense", "definition": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource für DiGAs übermittelt werden.", "mapping": [ @@ -40,8 +40,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId", + "id": "logMedDispenseDiGA.prescriptionId", + "path": "logMedDispenseDiGA.prescriptionId", "short": "ID des E-Rezepts", "definition": "ID des E-Rezepts", "min": 1, @@ -59,8 +59,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.status", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.status", + "id": "logMedDispenseDiGA.status", + "path": "logMedDispenseDiGA.status", "short": "Status fixedValue: #completed", "definition": "Status fixedValue: #completed", "min": 1, @@ -78,8 +78,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR", + "id": "logMedDispenseDiGA.patientKVNR", + "path": "logMedDispenseDiGA.patientKVNR", "short": "KVNR des Patienten", "definition": "KVNR des Patienten", "min": 1, @@ -97,8 +97,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition", + "id": "logMedDispenseDiGA.angabeAbgebendeInstutition", + "path": "logMedDispenseDiGA.angabeAbgebendeInstutition", "short": "Telematik-ID der abgebenden Institution", "definition": "Telematik-ID der abgebenden Institution", "min": 1, @@ -116,8 +116,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode", + "id": "logMedDispenseDiGA.freischaltCode", + "path": "logMedDispenseDiGA.freischaltCode", "short": "Freischaltcode für die DiGA", "definition": "Optional, da die Kasse die Bereitstellung eines Freischaltcodes ablehnen kann.", "min": 0, @@ -135,8 +135,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.deepLink", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.deepLink", + "id": "logMedDispenseDiGA.deepLink", + "path": "logMedDispenseDiGA.deepLink", "short": "Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird", "definition": "Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird", "min": 0, @@ -154,8 +154,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA", + "id": "logMedDispenseDiGA.angabenZurDiGA", + "path": "logMedDispenseDiGA.angabenZurDiGA", "short": "Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.", "definition": "Angaben zur DiGA. Zwingend anzugeben, wenn ein Freischaltcode bereitgestellt wird.", "min": 0, @@ -173,8 +173,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", + "id": "logMedDispenseDiGA.angabenZurDiGA.name", + "path": "logMedDispenseDiGA.angabenZurDiGA.name", "short": "Name der DiGA", "definition": "Name der DiGA", "min": 1, @@ -192,8 +192,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.digaVeId", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.digaVeId", + "id": "logMedDispenseDiGA.angabenZurDiGA.digaVeId", + "path": "logMedDispenseDiGA.angabenZurDiGA.digaVeId", "short": "Eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (DiGA-VE-ID).", "definition": "Eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (DiGA-VE-ID).", "min": 1, @@ -211,8 +211,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason", + "id": "logMedDispenseDiGA.angabenZurDiGA.dataAbsentReason", + "path": "logMedDispenseDiGA.angabenZurDiGA.dataAbsentReason", "short": "Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown", "definition": "Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown", "min": 0, @@ -230,8 +230,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.datum", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.datum", + "id": "logMedDispenseDiGA.datum", + "path": "logMedDispenseDiGA.datum", "short": "Abgabedatum im Format YYYY-MM-DD", "definition": "Abgabedatum im Format YYYY-MM-DD", "min": 1, @@ -249,8 +249,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.note", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.note", + "id": "logMedDispenseDiGA.note", + "path": "logMedDispenseDiGA.note", "short": "Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.", "definition": "Wenn der Workflow abgeschlossen wird, ohne dass ein Freischaltcode bereitgestellt wird, muss dieser Wert angegeben werden.", "min": 0, @@ -268,8 +268,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.substitution", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.substitution", + "id": "logMedDispenseDiGA.substitution", + "path": "logMedDispenseDiGA.substitution", "short": "Substitution darf lt. BAS nicht erfolgen.", "definition": "Substitution darf lt. BAS nicht erfolgen.", "min": 0, diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh index caaf1663..ab821bb0 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh @@ -1,6 +1,6 @@ Logical: GEM_ERP_LOG_MedicationDispense_DiGA Parent: Base -Id: GEM-ERP-LOG-MedicationDispense-DiGA +Id: logMedDispenseDiGA Title: "Logical DiGA Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource für DiGAs übermittelt werden." * prescriptionId 1..1 string "ID des E-Rezepts" diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh index 776a5227..1406f823 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh @@ -1,6 +1,6 @@ Logical: LogicalMedicationDispense Parent: Base -Id: logical-medication-dispense +Id: logMedDispense Title: "Logical Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." * prescriptionId 1..1 string "ID des Rezepts" @@ -11,7 +11,7 @@ Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $clo * extension 0..* BackboneElement "Erweiterungen" * impfung 1..1 boolean "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine" * arzneimittelkategorie 1..1 code "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category" - * Kategorie 0..1 string "Angabe zur Kategorie" + * kategorie 0..1 string "Angabe zur Kategorie" * ^comment = "Muss angegeben werden, wenn vorhanden" * normgroesse 0..1 code "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE" * ^comment = "Muss angegeben werden, wenn vorhanden" From 7ecedcf1f92305b9965383c280c80182569b32c9 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 8 Jul 2024 14:49:47 +0200 Subject: [PATCH 22/57] Review Edit Notes --- .../GEM_ERP_OP_Accept.fsh | 2 +- .../GEM_ERP_OP_Activate.fsh | 4 +-- .../operationdefinitions/GEM_ERP_OP_Close.fsh | 17 +++-------- .../GEM_ERP_OP_Create.fsh | 11 ++++--- .../GEM_ERP_OP_Dispense.fsh | 26 +++++++--------- .../GEM_ERP_OP_Reject.fsh | 2 +- .../GEM_ERP_PR_CloseOperation_Input.fsh | 7 +++-- .../GEM_ERP_PR_CloseOperation_Output.fsh | 15 +++------- .../GEM_ERP_PR_CreateOperation_Input.fsh | 4 +-- .../GEM_ERP_PR_DispenseOperation_Input.fsh | 9 +++--- .../GEM_ERP_PR_DispenseOperation_Output.fsh | 30 +++++++++---------- 11 files changed, 54 insertions(+), 73 deletions(-) diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index 27bb02be..f09870b2 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -5,6 +5,7 @@ Usage: #definition * description = "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'." * code = #accept * outputProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) +// TODO: Parameters Profil erstellen, dass das AcceptBundle enthält mit name #return // in * parameter[+] @@ -23,4 +24,3 @@ Usage: #definition * max = "1" * documentation = "Collection of resources (Task and Binary) to let a pharmacy process a ePrescriptionn containing 1. the updated Task (including a secret, that gives a pharmacy exclusive access to the Task) and 2. a base64Binary of the qualified signed ePrescription. The status of the Task changes into in-progres. The prescription server creates a random number and stores it in Task.identifier:Secret." * type = #Bundle - * targetProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh index 74ac88d0..3aaed898 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh @@ -6,6 +6,7 @@ Usage: #definition * code = #activate * inputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Input) * outputProfile = Canonical(GEM_ERP_PR_Task) +//TODO Parameters Profil anlegen mit name #return // in * parameter[+] @@ -23,8 +24,7 @@ Usage: #definition * min = 1 * max = "1" * documentation = "Return the updated and activated Task." - * type = #canonical - * targetProfile = Canonical(GEM_ERP_PR_Task) + * type = #Task Instance: OperationActivateParametersInputExample diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index bec6ed35..b69caf9b 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -11,8 +11,6 @@ Usage: #definition * inputProfile = Canonical(GEM_ERP_PR_CloseOperation_Input) * outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) -* outputProfile = Canonical(GEM_ERP_PR_Bundle) -// TODO: Which output profile? // in * parameter[0] @@ -40,21 +38,14 @@ Usage: #definition * name = #medication * type = #Medication * use = #in - * min = 0 + * min = 0 // optional durch DiGA * max = "1" // out * parameter[+] - * name = #receipt + * name = #return * use = #out - * min = 0 + * min = 1 * max = "1" * documentation = "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature." - * type = #Bundle -* parameter[+] - * name = #operationOutcome - * use = #out - * min = 0 - * max = "1" - * documentation = "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome." - * type = #OperationOutcome \ No newline at end of file + * type = #Bundle \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh index 2927cf9d..cf920a71 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh @@ -7,7 +7,7 @@ Usage: #definition * type = true * instance = false * inputProfile = Canonical(GEM_ERP_PR_CreateOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_Task) +* outputProfile = Canonical(GEM_ERP_PR_Task) //TODO Parameters Profil anlegen mit name #return // in * parameter[+] * name = #workflowType @@ -15,15 +15,14 @@ Usage: #definition * min = 1 * max = "1" * documentation = "This parameter requests the creation of a Task of a certain ePrescription flowType." - * type = #ValueSet + * type = #Coding * binding.strength = #required - * binding.valueSet = "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" + * binding.valueSet = Canonical(GEM_ERP_VS_FlowType) // out * parameter[+] - * name = #task + * name = #return * use = #out * min = 1 * max = "1" * documentation = "The created Task with a flowType-specific prescriptionID" - * type = #canonical - * targetProfile[+] = Canonical(GEM_ERP_PR_Task) + * type = #Task diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index 09bd57b2..5e47d294 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -11,8 +11,6 @@ Usage: #definition * inputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Input) * outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) -* outputProfile = Canonical(GEM_ERP_PR_MedicationDispense) -// TODO: Which output profile? // in * parameter[0] @@ -23,7 +21,6 @@ Usage: #definition * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." * type = #string - // in * parameter[+] * name = #rxDispensation @@ -48,26 +45,25 @@ Usage: #definition * parameter[+] * name = #medicationDispense * use = #out - * min = 0 - * max = "1" + * min = 1 + * max = "*" * documentation = "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded." * part[+] * name = #medicationDispense * type = #MedicationDispense * use = #out - * min = 1 + * min = 0 * max = "1" * part[+] * name = #medication * type = #Medication * use = #out - * min = 1 + * min = 0 * max = "1" - -* parameter[+] - * name = #operationOutcome - * use = #out - * min = 0 - * max = "1" - * documentation = "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome." - * type = #OperationOutcome \ No newline at end of file + * part[+] + * name = #operationOutcome + * use = #out + * min = 0 + * max = "1" + * documentation = "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome." + * type = #OperationOutcome \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh index 3cd54a9d..31ef7756 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh @@ -11,5 +11,5 @@ Usage: #definition * use = #in * min = 1 * max = "1" - * documentation = "The secret parameter that lets a pharmacy access the Task exclusively." + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively." //TODO: ergänzen URL Parameter * type = #string diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index e1d4ba79..c343655f 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -5,12 +5,13 @@ Title: "GEM ERP PR CloseOperation Input" Description: "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense." * insert Profile(GEM_ERP_PR_CloseOperation_Input) -* parameter 0..* +* parameter 0..* // optional durch $dispense Operation + * parameter ^slicing.discriminator.type = #value * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed -* parameter contains rxDispensation 1..* +* parameter contains rxDispensation 0..* * parameter[rxDispensation] * name MS @@ -20,7 +21,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * part 1..2 MS * ^slicing.discriminator.type = #value * ^slicing.discriminator.path = "name" - * ^slicing.rules = #open + * ^slicing.rules = #closed * part contains medicationDispense 1..1 and medication 0..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh index 53cb084b..fa1abfe9 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh @@ -6,23 +6,16 @@ Description: "This profile defines the parameters for dispensing a medication fr * insert Profile(GEM_ERP_PR_CloseOperation_Output) * parameter 1..1 + * parameter ^slicing.discriminator.type = #value * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed -* parameter contains receipt 0..1 and operationOutcome 0..1 - -* parameter[operationOutcome] - * name MS - * name = "operationOutcome" - * value[x] 0..0 - * resource 1..1 - * resource only OperationOutcome - * part 0..0 +* parameter contains return 1..1 -* parameter[receipt] +* parameter[return] * name MS - * name = "receipt" (exactly) + * name = "return" (exactly) * value[x] 0..0 * resource 1..1 * resource only GEM_ERP_PR_Bundle diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh index f0dd3883..22233327 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh @@ -6,7 +6,7 @@ Description: "This profile defines the parameters for creating a workflow for a * insert Profile(GEM_ERP_PR_CreateOperation_Input) * parameter 1..1 -* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed @@ -14,7 +14,7 @@ Description: "This profile defines the parameters for creating a workflow for a * parameter[workflowType] * name MS - * name = "workflowType" (exactly) + * name = "workflowType" * value[x] 1..1 * value[x] only Coding * valueCoding from GEM_ERP_VS_FlowType (required) \ No newline at end of file diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh index b37aa63f..a9a86f10 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh @@ -6,21 +6,22 @@ Description: "This profile defines the parameters for dispensing a medication fr * insert Profile(GEM_ERP_PR_DispenseOperation_Input) * parameter 1..* -* parameter ^slicing.discriminator.type = #value + +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed * parameter contains rxDispensation 1..* - +//TODO: überall #pattern mit ohne (exactly) einführen * parameter[rxDispensation] * name MS - * name = "rxDispensation" (exactly) + * name = "rxDispensation" * value[x] 0..0 * resource 0..0 * part 2..2 MS * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" - * ^slicing.rules = #open + * ^slicing.rules = #closed * part contains medicationDispense 1..1 and medication 1..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh index a4e8503d..10a4e792 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh @@ -6,32 +6,25 @@ Description: "This profile defines the parameters for dispensing a medication fr * insert Profile(GEM_ERP_PR_DispenseOperation_Output) * parameter 1..* -* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed -* parameter contains medicationDispense 0..* and operationOutcome 0..1 - -* parameter[operationOutcome] - * name MS - * name = "operationOutcome" - * value[x] 0..0 - * resource 1..1 - * resource only OperationOutcome - * part 0..0 +* parameter contains medicationDispense 1..* * parameter[medicationDispense] * name MS - * name = "medicationDispense" (exactly) + * name = "medicationDispense" * value[x] 0..0 * resource 0..0 - * part 2..2 MS + * part MS //TODO überall 1..x rausnehmen * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" - * ^slicing.rules = #open + * ^slicing.rules = #closed * part contains - medicationDispense 1..1 and - medication 1..1 + medicationDispense 0..1 and + medication 0..1 and + operationOutcome 0..1 * part[medicationDispense] * name MS * name = "medicationDispense" @@ -45,4 +38,11 @@ Description: "This profile defines the parameters for dispensing a medication fr * value[x] 0..0 * resource 1..1 * resource only GEM_ERP_PR_Medication + * part 0..0 + * part[operationOutcome] + * name MS + * name = "operationOutcome" + * value[x] 0..0 + * resource 1..1 + * resource only OperationOutcome * part 0..0 \ No newline at end of file From 8de95e64e23ae27490b21a8fb1524d76b6383090 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 8 Jul 2024 15:01:55 +0200 Subject: [PATCH 23/57] Review Edits --- .../OperationDefinition-AcceptOperation.json | 7 +- ...OperationDefinition-ActivateOperation.json | 7 +- .../OperationDefinition-CloseOperation.json | 14 +-- .../OperationDefinition-CreateOperation.json | 11 +-- ...OperationDefinition-DispenseOperation.json | 26 ++--- .../OperationDefinition-RejectOperation.json | 2 +- ...on-gem-erp-pr-accept-operation-output.json | 96 +++++++++++++++++++ ...n-gem-erp-pr-activate-operation-input.json | 4 +- ...-gem-erp-pr-activate-operation-output.json | 96 +++++++++++++++++++ ...tion-gem-erp-pr-close-operation-input.json | 14 ++- ...ion-gem-erp-pr-close-operation-output.json | 51 ++-------- ...ion-gem-erp-pr-create-operation-input.json | 4 +- ...on-gem-erp-pr-create-operation-output.json | 96 +++++++++++++++++++ ...n-gem-erp-pr-dispense-operation-input.json | 7 +- ...-gem-erp-pr-dispense-operation-output.json | 41 ++++---- .../examples/Example_Parameters_Activate.fsh | 6 ++ ...eters.fsh => Example_Parameters_Close.fsh} | 0 ...eter.fsh => Example_Parameters_Create.fsh} | 0 .../GEM_ERP_OP_Accept.fsh | 3 +- .../GEM_ERP_OP_Activate.fsh | 10 +- .../GEM_ERP_OP_Create.fsh | 2 +- .../GEM_ERP_OP_Reject.fsh | 2 +- .../GEM_ERP_PR_AcceptOperation_Output.fsh | 22 +++++ .../GEM_ERP_PR_ActivateOperation_Input.fsh | 4 +- .../GEM_ERP_PR_ActivateOperation_Output.fsh | 22 +++++ .../GEM_ERP_PR_CloseOperation_Input.fsh | 8 +- .../GEM_ERP_PR_CloseOperation_Output.fsh | 4 +- .../GEM_ERP_PR_CreateOperation_Output.fsh | 22 +++++ .../GEM_ERP_PR_DispenseOperation_Input.fsh | 4 +- .../GEM_ERP_PR_DispenseOperation_Output.fsh | 2 +- 30 files changed, 444 insertions(+), 143 deletions(-) create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json create mode 100644 Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json create mode 100644 Resources/input/fsh/examples/Example_Parameters_Activate.fsh rename Resources/input/fsh/examples/{Example_CloseParameters.fsh => Example_Parameters_Close.fsh} (100%) rename Resources/input/fsh/examples/{Example_CreateParameter.fsh => Example_Parameters_Create.fsh} (100%) create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh create mode 100644 Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index 07bc95d5..01415b6b 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -16,7 +16,7 @@ "instance": true, "description": "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'.", "code": "accept", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output", "parameter": [ { "name": "ac", @@ -32,10 +32,7 @@ "min": 1, "max": "1", "documentation": "Collection of resources (Task and Binary) to let a pharmacy process a ePrescriptionn containing 1. the updated Task (including a secret, that gives a pharmacy exclusive access to the Task) and 2. a base64Binary of the qualified signed ePrescription. The status of the Task changes into in-progres. The prescription server creates a random number and stores it in Task.identifier:Secret.", - "type": "Bundle", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" - ] + "type": "Bundle" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json index f5bf044a..619aa713 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json @@ -17,7 +17,7 @@ "description": "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow.", "code": "activate", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output", "parameter": [ { "name": "ePrescription", @@ -33,10 +33,7 @@ "min": 1, "max": "1", "documentation": "Return the updated and activated Task.", - "type": "canonical", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" - ] + "type": "Task" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 029bb9cc..78186572 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -17,7 +17,7 @@ "description": "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed", "code": "close", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", "parameter": [ { "name": "secret", @@ -51,20 +51,12 @@ ] }, { - "name": "receipt", + "name": "return", "use": "out", - "min": 0, + "min": 1, "max": "1", "documentation": "The receipt Bundle containing the signing Device, the pharmacy`s TelematikID and a signature.", "type": "Bundle" - }, - { - "name": "operationOutcome", - "use": "out", - "min": 0, - "max": "1", - "documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome.", - "type": "OperationOutcome" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json index a1cdf705..360c8c2c 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json @@ -17,7 +17,7 @@ "description": "This operation creates a Task for the prescription of a specific workflowType.", "code": "create", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output", "parameter": [ { "name": "workflowType", @@ -25,22 +25,19 @@ "min": 1, "max": "1", "documentation": "This parameter requests the creation of a Task of a certain ePrescription flowType.", - "type": "ValueSet", + "type": "Coding", "binding": { "strength": "required", "valueSet": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType" } }, { - "name": "task", + "name": "return", "use": "out", "min": 1, "max": "1", "documentation": "The created Task with a flowType-specific prescriptionID", - "type": "canonical", - "targetProfile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" - ] + "type": "Task" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index d4af5c70..89674192 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -17,7 +17,7 @@ "description": "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy.", "code": "dispense", "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", "parameter": [ { "name": "secret", @@ -53,33 +53,33 @@ { "name": "medicationDispense", "use": "out", - "min": 0, - "max": "1", + "min": 1, + "max": "*", "documentation": "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded.", "part": [ { "name": "medicationDispense", "type": "MedicationDispense", "use": "out", - "min": 1, + "min": 0, "max": "1" }, { "name": "medication", "type": "Medication", "use": "out", - "min": 1, + "min": 0, "max": "1" + }, + { + "name": "operationOutcome", + "use": "out", + "min": 0, + "max": "1", + "documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome.", + "type": "OperationOutcome" } ] - }, - { - "name": "operationOutcome", - "use": "out", - "min": 0, - "max": "1", - "documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome.", - "type": "OperationOutcome" } ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json index 110ce30d..b099a065 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json @@ -22,7 +22,7 @@ "use": "in", "min": 1, "max": "1", - "documentation": "The secret parameter that lets a pharmacy access the Task exclusively.", + "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as an URL Parameter ?secret.", "type": "string" } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json new file mode 100644 index 00000000..de487b8b --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json @@ -0,0 +1,96 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-accept-operation-output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output", + "version": "1.4", + "name": "GEM_ERP_PR_AcceptOperation_Output", + "title": "GEM ERP PR AcceptOperation Output", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for accepting a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $accept-operation.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return", + "path": "Parameters.parameter", + "sliceName": "return", + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return.name", + "path": "Parameters.parameter.name", + "patternString": "return", + "mustSupport": true + }, + { + "id": "Parameters.parameter:return.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:return.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "Bundle", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" + ] + } + ] + }, + { + "id": "Parameters.parameter:return.part", + "path": "Parameters.parameter.part", + "max": "0" + } + ] + } +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json index 3695d9f4..fbcbdf80 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json @@ -46,7 +46,7 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], @@ -65,7 +65,7 @@ { "id": "Parameters.parameter:ePrescription.name", "path": "Parameters.parameter.name", - "fixedString": "ePrescription", + "patternString": "ePrescription", "mustSupport": true }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json new file mode 100644 index 00000000..042039a4 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json @@ -0,0 +1,96 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-activate-operation-output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output", + "version": "1.4", + "name": "GEM_ERP_PR_ActivateOperation_Output", + "title": "GEM ERP PR ActivateOperation Output", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for activating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $activate-operation.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return", + "path": "Parameters.parameter", + "sliceName": "return", + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return.name", + "path": "Parameters.parameter.name", + "patternString": "return", + "mustSupport": true + }, + { + "id": "Parameters.parameter:return.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:return.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "Task", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" + ] + } + ] + }, + { + "id": "Parameters.parameter:return.part", + "path": "Parameters.parameter.part", + "max": "0" + } + ] + } +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index 7819783d..6ac7c74a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -46,25 +46,24 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], "rules": "closed" - }, - "min": 1 + } }, { "id": "Parameters.parameter:rxDispensation", "path": "Parameters.parameter", "sliceName": "rxDispensation", - "min": 1, + "min": 0, "max": "*" }, { "id": "Parameters.parameter:rxDispensation.name", "path": "Parameters.parameter.name", - "fixedString": "rxDispensation", + "patternString": "rxDispensation", "mustSupport": true }, { @@ -83,14 +82,13 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], - "rules": "open" + "rules": "closed" }, "min": 1, - "max": "2", "mustSupport": true }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json index f2b98a56..7bdcdddc 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json @@ -46,7 +46,7 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], @@ -56,25 +56,25 @@ "max": "1" }, { - "id": "Parameters.parameter:receipt", + "id": "Parameters.parameter:return", "path": "Parameters.parameter", - "sliceName": "receipt", - "min": 0, + "sliceName": "return", + "min": 1, "max": "1" }, { - "id": "Parameters.parameter:receipt.name", + "id": "Parameters.parameter:return.name", "path": "Parameters.parameter.name", - "fixedString": "receipt", + "patternString": "return", "mustSupport": true }, { - "id": "Parameters.parameter:receipt.value[x]", + "id": "Parameters.parameter:return.value[x]", "path": "Parameters.parameter.value[x]", "max": "0" }, { - "id": "Parameters.parameter:receipt.resource", + "id": "Parameters.parameter:return.resource", "path": "Parameters.parameter.resource", "min": 1, "type": [ @@ -87,40 +87,7 @@ ] }, { - "id": "Parameters.parameter:receipt.part", - "path": "Parameters.parameter.part", - "max": "0" - }, - { - "id": "Parameters.parameter:operationOutcome", - "path": "Parameters.parameter", - "sliceName": "operationOutcome", - "min": 0, - "max": "1" - }, - { - "id": "Parameters.parameter:operationOutcome.name", - "path": "Parameters.parameter.name", - "patternString": "operationOutcome", - "mustSupport": true - }, - { - "id": "Parameters.parameter:operationOutcome.value[x]", - "path": "Parameters.parameter.value[x]", - "max": "0" - }, - { - "id": "Parameters.parameter:operationOutcome.resource", - "path": "Parameters.parameter.resource", - "min": 1, - "type": [ - { - "code": "OperationOutcome" - } - ] - }, - { - "id": "Parameters.parameter:operationOutcome.part", + "id": "Parameters.parameter:return.part", "path": "Parameters.parameter.part", "max": "0" } diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json index 7b3a0cdf..079d121e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json @@ -46,7 +46,7 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], @@ -65,7 +65,7 @@ { "id": "Parameters.parameter:workflowType.name", "path": "Parameters.parameter.name", - "fixedString": "workflowType", + "patternString": "workflowType", "mustSupport": true }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json new file mode 100644 index 00000000..3d1ce4f1 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json @@ -0,0 +1,96 @@ +{ + "resourceType": "StructureDefinition", + "id": "gem-erp-pr-create-operation-output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output", + "version": "1.4", + "name": "GEM_ERP_PR_CreateOperation_Output", + "title": "GEM ERP PR CreateOperation Output", + "status": "draft", + "date": "2024-07-15", + "description": "This profile defines the parameters for creating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $create-operation.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Parameters", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Parameters.meta", + "path": "Parameters.meta", + "min": 1 + }, + { + "id": "Parameters.meta.profile", + "path": "Parameters.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output|1.4" + }, + { + "id": "Parameters.parameter", + "path": "Parameters.parameter", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "name" + } + ], + "rules": "closed" + }, + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return", + "path": "Parameters.parameter", + "sliceName": "return", + "min": 1, + "max": "1" + }, + { + "id": "Parameters.parameter:return.name", + "path": "Parameters.parameter.name", + "patternString": "return", + "mustSupport": true + }, + { + "id": "Parameters.parameter:return.value[x]", + "path": "Parameters.parameter.value[x]", + "max": "0" + }, + { + "id": "Parameters.parameter:return.resource", + "path": "Parameters.parameter.resource", + "min": 1, + "type": [ + { + "code": "Task", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" + ] + } + ] + }, + { + "id": "Parameters.parameter:return.part", + "path": "Parameters.parameter.part", + "max": "0" + } + ] + } +} diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json index 891b7f9f..a1738c1b 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json @@ -46,7 +46,7 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], @@ -64,7 +64,7 @@ { "id": "Parameters.parameter:rxDispensation.name", "path": "Parameters.parameter.name", - "fixedString": "rxDispensation", + "patternString": "rxDispensation", "mustSupport": true }, { @@ -87,10 +87,9 @@ "path": "name" } ], - "rules": "open" + "rules": "closed" }, "min": 2, - "max": "2", "mustSupport": true }, { diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json index 3ee0be06..7ddaf6e2 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json @@ -46,7 +46,7 @@ "slicing": { "discriminator": [ { - "type": "value", + "type": "pattern", "path": "name" } ], @@ -58,13 +58,13 @@ "id": "Parameters.parameter:medicationDispense", "path": "Parameters.parameter", "sliceName": "medicationDispense", - "min": 0, + "min": 1, "max": "*" }, { "id": "Parameters.parameter:medicationDispense.name", "path": "Parameters.parameter.name", - "fixedString": "medicationDispense", + "patternString": "medicationDispense", "mustSupport": true }, { @@ -87,17 +87,15 @@ "path": "name" } ], - "rules": "open" + "rules": "closed" }, - "min": 2, - "max": "2", "mustSupport": true }, { "id": "Parameters.parameter:medicationDispense.part:medicationDispense", "path": "Parameters.parameter.part", "sliceName": "medicationDispense", - "min": 1, + "min": 0, "max": "1", "type": [ { @@ -138,7 +136,7 @@ "id": "Parameters.parameter:medicationDispense.part:medication", "path": "Parameters.parameter.part", "sliceName": "medication", - "min": 1, + "min": 0, "max": "1", "type": [ { @@ -176,26 +174,31 @@ "max": "0" }, { - "id": "Parameters.parameter:operationOutcome", - "path": "Parameters.parameter", + "id": "Parameters.parameter:medicationDispense.part:operationOutcome", + "path": "Parameters.parameter.part", "sliceName": "operationOutcome", "min": 0, - "max": "1" + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ] }, { - "id": "Parameters.parameter:operationOutcome.name", - "path": "Parameters.parameter.name", + "id": "Parameters.parameter:medicationDispense.part:operationOutcome.name", + "path": "Parameters.parameter.part.name", "patternString": "operationOutcome", "mustSupport": true }, { - "id": "Parameters.parameter:operationOutcome.value[x]", - "path": "Parameters.parameter.value[x]", + "id": "Parameters.parameter:medicationDispense.part:operationOutcome.value[x]", + "path": "Parameters.parameter.part.value[x]", "max": "0" }, { - "id": "Parameters.parameter:operationOutcome.resource", - "path": "Parameters.parameter.resource", + "id": "Parameters.parameter:medicationDispense.part:operationOutcome.resource", + "path": "Parameters.parameter.part.resource", "min": 1, "type": [ { @@ -204,8 +207,8 @@ ] }, { - "id": "Parameters.parameter:operationOutcome.part", - "path": "Parameters.parameter.part", + "id": "Parameters.parameter:medicationDispense.part:operationOutcome.part", + "path": "Parameters.parameter.part.part", "max": "0" } ] diff --git a/Resources/input/fsh/examples/Example_Parameters_Activate.fsh b/Resources/input/fsh/examples/Example_Parameters_Activate.fsh new file mode 100644 index 00000000..b77bfe4c --- /dev/null +++ b/Resources/input/fsh/examples/Example_Parameters_Activate.fsh @@ -0,0 +1,6 @@ +Instance: OperationActivateParametersInputExample +InstanceOf: GEM_ERP_PR_ActivateOperation_Input +Title: "Example Activate operation input parameters" +Usage: #example +* parameter[ePrescription].name = "ePrescription" +* parameter[ePrescription].resource = PrescriptionBinary diff --git a/Resources/input/fsh/examples/Example_CloseParameters.fsh b/Resources/input/fsh/examples/Example_Parameters_Close.fsh similarity index 100% rename from Resources/input/fsh/examples/Example_CloseParameters.fsh rename to Resources/input/fsh/examples/Example_Parameters_Close.fsh diff --git a/Resources/input/fsh/examples/Example_CreateParameter.fsh b/Resources/input/fsh/examples/Example_Parameters_Create.fsh similarity index 100% rename from Resources/input/fsh/examples/Example_CreateParameter.fsh rename to Resources/input/fsh/examples/Example_Parameters_Create.fsh diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index f09870b2..eb382132 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -4,8 +4,7 @@ Usage: #definition * insert Operation(Accept) * description = "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'." * code = #accept -* outputProfile = Canonical(GEM_ERP_OUT_OP_Accept_Bundle) -// TODO: Parameters Profil erstellen, dass das AcceptBundle enthält mit name #return +* outputProfile = Canonical(GEM_ERP_PR_AcceptOperation_Output) // in * parameter[+] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh index 3aaed898..8e02f7ce 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh @@ -5,8 +5,7 @@ Usage: #definition * description = "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow." * code = #activate * inputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_Task) -//TODO Parameters Profil anlegen mit name #return +* outputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Output) // in * parameter[+] @@ -26,10 +25,3 @@ Usage: #definition * documentation = "Return the updated and activated Task." * type = #Task - -Instance: OperationActivateParametersInputExample -InstanceOf: GEM_ERP_PR_ActivateOperation_Input -Title: "Example Activate operation input parameters" -Usage: #example -* parameter[ePrescription].name = "ePrescription" -* parameter[ePrescription].resource = PrescriptionBinary diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh index cf920a71..90850168 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh @@ -7,7 +7,7 @@ Usage: #definition * type = true * instance = false * inputProfile = Canonical(GEM_ERP_PR_CreateOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_Task) //TODO Parameters Profil anlegen mit name #return +* outputProfile = Canonical(GEM_ERP_PR_CreateOperation_Output) // in * parameter[+] * name = #workflowType diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh index 31ef7756..7029238d 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh @@ -11,5 +11,5 @@ Usage: #definition * use = #in * min = 1 * max = "1" - * documentation = "The secret parameter that lets a pharmacy access the Task exclusively." //TODO: ergänzen URL Parameter + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as an URL Parameter ?secret." * type = #string diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh new file mode 100644 index 00000000..772db4d2 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh @@ -0,0 +1,22 @@ +Profile: GEM_ERP_PR_AcceptOperation_Output +Parent: Parameters +Id: gem-erp-pr-accept-operation-output +Title: "GEM ERP PR AcceptOperation Output" +Description: "This profile defines the parameters for accepting a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $accept-operation." +* insert Profile(GEM_ERP_PR_AcceptOperation_Output) + +* parameter 1..1 + +* parameter ^slicing.discriminator.type = #pattern +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains return 1..1 + +* parameter[return] + * name MS + * name = "return" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_OUT_OP_Accept_Bundle + * part 0..0 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh index 15c0da78..9603fd0b 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh @@ -6,7 +6,7 @@ Description: "This profile defines the parameters for activating a workflow for * insert Profile(GEM_ERP_PR_ActivateOperation_Input) * parameter 1..1 -* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed @@ -14,7 +14,7 @@ Description: "This profile defines the parameters for activating a workflow for * parameter[ePrescription] * name MS - * name = "ePrescription" (exactly) + * name = "ePrescription" * value[x] 0..0 * resource 1..1 * resource only GEM_ERP_PR_Binary \ No newline at end of file diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh new file mode 100644 index 00000000..f49ddddb --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh @@ -0,0 +1,22 @@ +Profile: GEM_ERP_PR_ActivateOperation_Output +Parent: Parameters +Id: gem-erp-pr-activate-operation-output +Title: "GEM ERP PR ActivateOperation Output" +Description: "This profile defines the parameters for activating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $activate-operation." +* insert Profile(GEM_ERP_PR_ActivateOperation_Output) + +* parameter 1..1 + +* parameter ^slicing.discriminator.type = #pattern +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains return 1..1 + +* parameter[return] + * name MS + * name = "return" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Task + * part 0..0 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh index c343655f..3b01750b 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh @@ -7,7 +7,7 @@ Description: "This profile defines the parameters for closing a workflow for a p * parameter 0..* // optional durch $dispense Operation -* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed @@ -15,11 +15,11 @@ Description: "This profile defines the parameters for closing a workflow for a p * parameter[rxDispensation] * name MS - * name = "rxDispensation" (exactly) + * name = "rxDispensation" * value[x] 0..0 * resource 0..0 - * part 1..2 MS - * ^slicing.discriminator.type = #value + * part MS + * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" * ^slicing.rules = #closed * part contains diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh index fa1abfe9..be243af3 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh @@ -7,7 +7,7 @@ Description: "This profile defines the parameters for dispensing a medication fr * parameter 1..1 -* parameter ^slicing.discriminator.type = #value +* parameter ^slicing.discriminator.type = #pattern * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed @@ -15,7 +15,7 @@ Description: "This profile defines the parameters for dispensing a medication fr * parameter[return] * name MS - * name = "return" (exactly) + * name = "return" * value[x] 0..0 * resource 1..1 * resource only GEM_ERP_PR_Bundle diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh new file mode 100644 index 00000000..bce46c49 --- /dev/null +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh @@ -0,0 +1,22 @@ +Profile: GEM_ERP_PR_CreateOperation_Output +Parent: Parameters +Id: gem-erp-pr-create-operation-output +Title: "GEM ERP PR CreateOperation Output" +Description: "This profile defines the parameters for creating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $create-operation." +* insert Profile(GEM_ERP_PR_CreateOperation_Output) + +* parameter 1..1 + +* parameter ^slicing.discriminator.type = #pattern +* parameter ^slicing.discriminator.path = "name" +* parameter ^slicing.rules = #closed + +* parameter contains return 1..1 + +* parameter[return] + * name MS + * name = "return" + * value[x] 0..0 + * resource 1..1 + * resource only GEM_ERP_PR_Task + * part 0..0 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh index a9a86f10..1950b126 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh @@ -12,13 +12,13 @@ Description: "This profile defines the parameters for dispensing a medication fr * parameter ^slicing.rules = #closed * parameter contains rxDispensation 1..* -//TODO: überall #pattern mit ohne (exactly) einführen + * parameter[rxDispensation] * name MS * name = "rxDispensation" * value[x] 0..0 * resource 0..0 - * part 2..2 MS + * part MS * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" * ^slicing.rules = #closed diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh index 10a4e792..ad4fcf10 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh @@ -17,7 +17,7 @@ Description: "This profile defines the parameters for dispensing a medication fr * name = "medicationDispense" * value[x] 0..0 * resource 0..0 - * part MS //TODO überall 1..x rausnehmen + * part MS * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" * ^slicing.rules = #closed From 67b78f692a83bde6152b4cf9e2b623d693437ffd Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 9 Jul 2024 07:10:10 +0200 Subject: [PATCH 24/57] Add MS to medication contained --- .../StructureDefinition-GEM-ERP-PR-Medication.json | 13 +++++++++++++ .../input/fsh/profiles/GEM_ERP_PR_Medication.fsh | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index 25f9307e..f369f9df 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -28,6 +28,19 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, + { + "id": "Medication.contained", + "path": "Medication.contained", + "type": [ + { + "code": "Medication", + "profile": [ + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", + "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + } + ] + }, { "id": "Medication.ingredient.item[x]:itemReference", "path": "Medication.ingredient.item[x]", diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 0638595a..61b2fafb 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -5,6 +5,10 @@ Title: "Medication for the Dispensation of the Prescription" Description: "Handles medical information about the redeemed prescription" * insert Profile(GEM_ERP_PR_Medication) +* contained MS +* contained only EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient + * ^short = "Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'" + * ingredient.itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS From ca00d635c0b335fdf6972d3c2d44ae92680ea696 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 9 Jul 2024 07:22:13 +0200 Subject: [PATCH 25/57] Edit Review suggestions --- .../Parameters-OperationCreateParametersInputExample.json | 4 ++-- .../StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json | 1 - ...uctureDefinition-gem-erp-pr-dispense-operation-output.json | 1 + Resources/input/fsh/examples/Example_Parameters_Create.fsh | 3 +-- Resources/input/fsh/examples/Example_Task.fsh | 2 +- .../input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh | 1 - .../fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh | 2 +- 7 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json index 6454f49c..ddd3d81d 100644 --- a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json +++ b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json @@ -10,8 +10,8 @@ { "name": "workflowType", "valueCoding": { - "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", - "code": "160" + "code": "160", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" } } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json index 29afb167..b258141f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json @@ -52,7 +52,6 @@ } ], "rules": "closed", - "ordered": false, "description": "The Task and the QES-Prescription signed Bundle." }, "min": 2, diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json index 7ddaf6e2..c26eab5e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json @@ -89,6 +89,7 @@ ], "rules": "closed" }, + "min": 1, "mustSupport": true }, { diff --git a/Resources/input/fsh/examples/Example_Parameters_Create.fsh b/Resources/input/fsh/examples/Example_Parameters_Create.fsh index ab0f5d83..d4ba4a02 100644 --- a/Resources/input/fsh/examples/Example_Parameters_Create.fsh +++ b/Resources/input/fsh/examples/Example_Parameters_Create.fsh @@ -3,5 +3,4 @@ InstanceOf: GEM_ERP_PR_CreateOperation_Input Title: "$create Operation Parameters sample" Usage: #example * parameter[workflowType].name = "workflowType" -* parameter[workflowType].valueCoding.system = "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" -* parameter[workflowType].valueCoding.code = #160 \ No newline at end of file +* parameter[workflowType].valueCoding = GEM_ERP_CS_FlowType#160 \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Task.fsh b/Resources/input/fsh/examples/Example_Task.fsh index dfd7b66a..f81c813d 100644 --- a/Resources/input/fsh/examples/Example_Task.fsh +++ b/Resources/input/fsh/examples/Example_Task.fsh @@ -77,7 +77,7 @@ Usage: #example * for.identifier.value = "X123456789" * lastModified = "2022-03-18T15:28:00+00:00" * input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" -* input[ePrescription].valueReference.reference = "Binary/PrescriptionBinary" +* input[ePrescription].valueReference = Reference(PrescriptionBinary) Instance: TaskInIn-ProgressState-Dispensed InstanceOf: GEM_ERP_PR_Task diff --git a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh index 74d514ae..fd44b94e 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh @@ -8,7 +8,6 @@ Id: GEM-ERP-PAR-OUT-OP-Accept * entry ^slicing.discriminator.type = #type * entry ^slicing.discriminator.path = "resource" * entry ^slicing.rules = #closed -* entry ^slicing.ordered = false * entry ^slicing.description = "The Task and the QES-Prescription signed Bundle." * entry contains erxTask 1..1 and erxBinary 1..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh index ad4fcf10..0ac39bed 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh @@ -17,7 +17,7 @@ Description: "This profile defines the parameters for dispensing a medication fr * name = "medicationDispense" * value[x] 0..0 * resource 0..0 - * part MS + * part 1..* MS * ^slicing.discriminator.type = #pattern * ^slicing.discriminator.path = "name" * ^slicing.rules = #closed From 08419321b7054bd6ee59ff203293a8de9e66f159 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 9 Jul 2024 07:24:10 +0200 Subject: [PATCH 26/57] Rename Task examples --- Resources/input/fsh/examples/Example_Bundle.fsh | 2 +- Resources/input/fsh/examples/Example_Task.fsh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Resources/input/fsh/examples/Example_Bundle.fsh b/Resources/input/fsh/examples/Example_Bundle.fsh index d163543f..97209a42 100644 --- a/Resources/input/fsh/examples/Example_Bundle.fsh +++ b/Resources/input/fsh/examples/Example_Bundle.fsh @@ -39,7 +39,7 @@ Description: "This Bundle contains the Task and the qualified signed ePrescripti * type = #collection * link[+].relation = "self" * link[=].url = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/160.000.033.491.280.78/$accept/" -* entry[erxTask].resource = TaskInIn-ProgressState +* entry[erxTask].resource = TaskIn-ProgressState * entry[erxTask].fullUrl = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Task/d70932d1-9e1c-483c-b2d4-b7dced09b35e" * entry[erxBinary].resource = PrescriptionBinary * entry[erxBinary].fullUrl = "https://erp-ref.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionBinary" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Task.fsh b/Resources/input/fsh/examples/Example_Task.fsh index f81c813d..4066b014 100644 --- a/Resources/input/fsh/examples/Example_Task.fsh +++ b/Resources/input/fsh/examples/Example_Task.fsh @@ -52,7 +52,7 @@ Usage: #example * input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" * input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" -Instance: TaskInIn-ProgressState +Instance: TaskIn-ProgressState InstanceOf: GEM_ERP_PR_Task Title: "Task claimed by pharmacy via $accept operation" Usage: #example @@ -79,7 +79,7 @@ Usage: #example * input[ePrescription].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#1 "Health Care Provider Prescription" * input[ePrescription].valueReference = Reference(PrescriptionBinary) -Instance: TaskInIn-ProgressState-Dispensed +Instance: TaskIn-ProgressState-Dispensed InstanceOf: GEM_ERP_PR_Task Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" Usage: #example @@ -110,7 +110,7 @@ Usage: #example * input[patientReceipt].type.coding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#2 "Patient Confirmation" * input[patientReceipt].valueReference.reference = "f8c2298f-7c00-4a68-af29-8a2862d55d43" -Instance: TaskInIn-ProgressState-Dispensed-Multiple-MedicationDispenses +Instance: TaskIn-ProgressState-Dispensed-Multiple-MedicationDispenses InstanceOf: GEM_ERP_PR_Task Title: "Task claimed by pharmacy and then dispensed via the $dispense operation" Usage: #example From 8375c9cb85158a7e81a864f8648ce78fe87ea584 Mon Sep 17 00:00:00 2001 From: patrick-werner Date: Tue, 9 Jul 2024 11:31:27 +0200 Subject: [PATCH 27/57] fixing valdidation errors --- .../Example_Medication_Rezeptur_FD.fsh | 4 +-- .../logical-medication-dispense.fsh | 30 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh b/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh index 10887e04..2ea9dd35 100644 --- a/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh +++ b/Resources/input/fsh/examples/Example_Medication_Rezeptur_FD.fsh @@ -20,7 +20,7 @@ Usage: #example * amount.numerator.value = 20 * amount.numerator.unit = "ml" * amount.denominator.value = 1 -* ingredient[+].itemReference = Reference(MedicationHydrocortison) +* ingredient[+].itemReference = Reference(MedicationHydrocortison-FD) * ingredient[=].extension[darreichungsform].valueString = "Salbe" * ingredient[=].isActive = true * ingredient[=].strength.numerator.value = 50 @@ -32,7 +32,7 @@ Usage: #example * ingredient[=].strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown * ingredient[=].strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown -* ingredient[+].itemReference = Reference(MedicationDexpanthenol) +* ingredient[+].itemReference = Reference(MedicationDexpanthenol-FD) * ingredient[=].extension[darreichungsform].valueString = "Salbe" * ingredient[=].isActive = true * ingredient[=].strength.numerator.value = 50 diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh index 1406f823..64124e07 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh @@ -1,6 +1,6 @@ Logical: LogicalMedicationDispense Parent: Base -Id: logMedDispense +Id: logical-medication-dispense Title: "Logical Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." * prescriptionId 1..1 string "ID des Rezepts" @@ -8,7 +8,7 @@ Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $clo * medication 1..1 BackboneElement "Medikation" * medicationArzneimittel 0..1 Meta "Medikation als contained Element" * profilInformation 1..* BackboneElement "Profilinformationen aus meta.profile" - * extension 0..* BackboneElement "Erweiterungen" + * extension 0..* Extension "Erweiterungen" * impfung 1..1 boolean "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine" * arzneimittelkategorie 1..1 code "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category" * kategorie 0..1 string "Angabe zur Kategorie" @@ -22,38 +22,38 @@ Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $clo * code 1..1 CodeableConcept "Information und Identifizierung zum Arzneimittel" * pzn 0..1 Coding "PZN" - * code 1..1 string "PZN-Code" + * code 1..1 code "PZN-Code" * display 0..1 string "PZN-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * atcDe 0..1 Coding "atc-de" - * code 1..1 string "atc-de-Code" + * code 1..1 code "atc-de-Code" * display 0..1 string "atc-de-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * ask 0..1 Coding "ask" - * code 1..1 string "ask-Code" + * code 1..1 code "ask-Code" * display 0..1 string "ask-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * wg14 0..1 Coding "wg14" - * code 1..1 string "wg14-Code" + * code 1..1 code "wg14-Code" * display 0..1 string "wg14-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * snomed 0..1 Coding "snomed" - * code 1..1 string "snomed-Code" + * code 1..1 code "snomed-Code" * display 0..1 string "snomed-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * text 0..1 string "Name des Arzneimittels" * form 0..1 CodeableConcept "Darreichungsform" * edqm 0..1 Coding "edqm" - * code 1..1 string "edqm-Code" + * code 1..1 code "edqm-Code" * display 0..1 string "edqm-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * snomed 0..1 Coding "snomed" - * code 1..1 string "snomed-Code" + * code 1..1 code "snomed-Code" * display 0..1 string "snomed-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * kbvDarreichungsform 0..1 Coding "kbvDarreichungsform" - * code 1..1 string "kbvDarreichungsform-Code" + * code 1..1 code "kbvDarreichungsform-Code" * display 0..1 string "kbvDarreichungsform-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * text 0..1 string "Name der Darreichungsform" @@ -67,23 +67,23 @@ Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $clo * inhaltsstoff 0..1 BackboneElement "Inhaltsstoff" * inhaltsstoffCoding 0..1 CodeableConcept "Kodierung des Inhaltsstoffs" * pzn 0..1 Coding "PZN" - * code 1..1 string "PZN-Code" + * code 1..1 code "PZN-Code" * display 0..1 string "PZN-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * atcDe 0..1 Coding "atc-de" - * code 1..1 string "atc-de-Code" + * code 1..1 code "atc-de-Code" * display 0..1 string "atc-de-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * ask 0..1 Coding "ask" - * code 1..1 string "ask-Code" + * code 1..1 code "ask-Code" * display 0..1 string "ask-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * wg14 0..1 Coding "wg14" - * code 1..1 string "wg14-Code" + * code 1..1 code "wg14-Code" * display 0..1 string "wg14-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * snomed 0..1 Coding "snomed" - * code 1..1 string "snomed-Code" + * code 1..1 code "snomed-Code" * display 0..1 string "snomed-Name" * ^comment = "Muss angegeben werden, wenn vorhanden" * inhaltsstoffReference 0..1 Reference "Referenz zum Inhaltsstoff" From 79c3e4a5876fd717e8c1497a99587fe63afd4282 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 9 Jul 2024 11:36:08 +0200 Subject: [PATCH 28/57] build new sushi files --- .../Medication-Medication-Rezeptur-FD.json | 4 +- ...finition-logical-medication-dispense.json} | 358 +++++++++--------- 2 files changed, 181 insertions(+), 181 deletions(-) rename Resources/fsh-generated/resources/{StructureDefinition-logMedDispense.json => StructureDefinition-logical-medication-dispense.json} (54%) diff --git a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json index 24e104a8..0078bd56 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json @@ -102,7 +102,7 @@ } }, "itemReference": { - "reference": "Medication/MedicationHydrocortison" + "reference": "#MedicationHydrocortison-FD" }, "isActive": true }, @@ -156,7 +156,7 @@ } }, "itemReference": { - "reference": "Medication/MedicationDexpanthenol" + "reference": "#MedicationDexpanthenol-FD" }, "isActive": true } diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json b/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json similarity index 54% rename from Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json rename to Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json index 520408de..53d18fc4 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json @@ -1,7 +1,7 @@ { "resourceType": "StructureDefinition", - "id": "logMedDispense", - "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", + "id": "logical-medication-dispense", + "url": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", "name": "LogicalMedicationDispense", "title": "Logical Medication Dispense", "status": "draft", @@ -16,20 +16,20 @@ ], "kind": "logical", "abstract": false, - "type": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", + "type": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", "derivation": "specialization", "differential": { "element": [ { - "id": "logMedDispense", - "path": "logMedDispense", + "id": "logical-medication-dispense", + "path": "logical-medication-dispense", "short": "Logical Medication Dispense", "definition": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." }, { - "id": "logMedDispense.prescriptionId", - "path": "logMedDispense.prescriptionId", + "id": "logical-medication-dispense.prescriptionId", + "path": "logical-medication-dispense.prescriptionId", "short": "ID des Rezepts", "definition": "ID des Rezepts", "min": 1, @@ -41,8 +41,8 @@ ] }, { - "id": "logMedDispense.status", - "path": "logMedDispense.status", + "id": "logical-medication-dispense.status", + "path": "logical-medication-dispense.status", "short": "Status fixedValue: #completed", "definition": "Status fixedValue: #completed", "min": 1, @@ -54,8 +54,8 @@ ] }, { - "id": "logMedDispense.medication", - "path": "logMedDispense.medication", + "id": "logical-medication-dispense.medication", + "path": "logical-medication-dispense.medication", "short": "Medikation", "definition": "Medikation", "min": 1, @@ -67,8 +67,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel", - "path": "logMedDispense.medication.medicationArzneimittel", + "id": "logical-medication-dispense.medication.medicationArzneimittel", + "path": "logical-medication-dispense.medication.medicationArzneimittel", "short": "Medikation als contained Element", "definition": "Medikation als contained Element", "min": 0, @@ -80,8 +80,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.profilInformation", - "path": "logMedDispense.medication.medicationArzneimittel.profilInformation", + "id": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", + "path": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", "short": "Profilinformationen aus meta.profile", "definition": "Profilinformationen aus meta.profile", "min": 1, @@ -93,21 +93,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension", - "path": "logMedDispense.medication.medicationArzneimittel.extension", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, "max": "*", "type": [ { - "code": "BackboneElement" + "code": "Extension" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.impfung", - "path": "logMedDispense.medication.medicationArzneimittel.extension.impfung", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", "short": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "definition": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "min": 1, @@ -119,8 +119,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", - "path": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", "short": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "definition": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "min": 1, @@ -132,8 +132,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", - "path": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.kategorie", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.kategorie", "short": "Angabe zur Kategorie", "definition": "Angabe zur Kategorie", "comment": "Muss angegeben werden, wenn vorhanden", @@ -146,8 +146,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", - "path": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", "short": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "definition": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "comment": "Muss angegeben werden, wenn vorhanden", @@ -160,8 +160,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", - "path": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", "short": "Herstellungsanweisung", "definition": "Herstellungsanweisung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -174,8 +174,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", - "path": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", + "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", + "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", "short": "Angabe zur Verpackung", "definition": "Angabe zur Verpackung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -188,8 +188,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code", - "path": "logMedDispense.medication.medicationArzneimittel.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code", "short": "Information und Identifizierung zum Arzneimittel", "definition": "Information und Identifizierung zum Arzneimittel", "min": 1, @@ -201,8 +201,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.pzn", - "path": "logMedDispense.medication.medicationArzneimittel.code.pzn", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -214,21 +214,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", - "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", - "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -241,8 +241,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe", - "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -254,21 +254,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", - "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", - "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -281,8 +281,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.ask", - "path": "logMedDispense.medication.medicationArzneimittel.code.ask", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", "short": "ask", "definition": "ask", "min": 0, @@ -294,21 +294,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.ask.code", - "path": "logMedDispense.medication.medicationArzneimittel.code.ask.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.ask.display", - "path": "logMedDispense.medication.medicationArzneimittel.code.ask.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -321,8 +321,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.wg14", - "path": "logMedDispense.medication.medicationArzneimittel.code.wg14", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -334,21 +334,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", - "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", - "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -361,8 +361,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.snomed", - "path": "logMedDispense.medication.medicationArzneimittel.code.snomed", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -374,21 +374,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", - "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", - "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -401,8 +401,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.code.text", - "path": "logMedDispense.medication.medicationArzneimittel.code.text", + "id": "logical-medication-dispense.medication.medicationArzneimittel.code.text", + "path": "logical-medication-dispense.medication.medicationArzneimittel.code.text", "short": "Name des Arzneimittels", "definition": "Name des Arzneimittels", "min": 0, @@ -414,8 +414,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form", - "path": "logMedDispense.medication.medicationArzneimittel.form", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -427,8 +427,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.edqm", - "path": "logMedDispense.medication.medicationArzneimittel.form.edqm", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", "short": "edqm", "definition": "edqm", "min": 0, @@ -440,21 +440,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", - "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", "short": "edqm-Code", "definition": "edqm-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", - "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", "short": "edqm-Name", "definition": "edqm-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -467,8 +467,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.snomed", - "path": "logMedDispense.medication.medicationArzneimittel.form.snomed", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -480,21 +480,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", - "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", - "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -507,8 +507,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", - "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", "short": "kbvDarreichungsform", "definition": "kbvDarreichungsform", "min": 0, @@ -520,21 +520,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", - "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", "short": "kbvDarreichungsform-Code", "definition": "kbvDarreichungsform-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", - "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", "short": "kbvDarreichungsform-Name", "definition": "kbvDarreichungsform-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -547,8 +547,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.form.text", - "path": "logMedDispense.medication.medicationArzneimittel.form.text", + "id": "logical-medication-dispense.medication.medicationArzneimittel.form.text", + "path": "logical-medication-dispense.medication.medicationArzneimittel.form.text", "short": "Name der Darreichungsform", "definition": "Name der Darreichungsform", "min": 0, @@ -560,8 +560,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.menge", - "path": "logMedDispense.medication.medicationArzneimittel.menge", + "id": "logical-medication-dispense.medication.medicationArzneimittel.menge", + "path": "logical-medication-dispense.medication.medicationArzneimittel.menge", "short": "Verordnete Menge des Arzneimittels", "definition": "Verordnete Menge des Arzneimittels", "comment": "Muss angegeben werden, wenn vorhanden", @@ -574,8 +574,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", "short": "Inhaltsstoffe", "definition": "Inhaltsstoffe", "min": 0, @@ -587,8 +587,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, @@ -600,8 +600,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -613,8 +613,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", "short": "Inhaltsstoff", "definition": "Inhaltsstoff", "min": 0, @@ -626,8 +626,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", "short": "Kodierung des Inhaltsstoffs", "definition": "Kodierung des Inhaltsstoffs", "min": 0, @@ -639,8 +639,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -652,21 +652,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -679,8 +679,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -692,21 +692,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -719,8 +719,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", "short": "ask", "definition": "ask", "min": 0, @@ -732,21 +732,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -759,8 +759,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -772,21 +772,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -799,8 +799,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -812,21 +812,21 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, "max": "1", "type": [ { - "code": "string" + "code": "code" } ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -839,8 +839,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", "short": "Referenz zum Inhaltsstoff", "definition": "Referenz zum Inhaltsstoff", "min": 0, @@ -852,8 +852,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", "short": "Wirkstärke des Inhaltsstoffes", "definition": "Wirkstärke des Inhaltsstoffes", "min": 0, @@ -865,8 +865,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", "short": "Menge des Inhaltsstoffes", "definition": "Menge des Inhaltsstoffes", "min": 0, @@ -878,8 +878,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", - "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", "short": "Einheit der Menge des Inhaltsstoffes", "definition": "Einheit der Menge des Inhaltsstoffes", "min": 0, @@ -891,8 +891,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation", - "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation", + "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", + "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", "short": "Chargeninformation", "definition": "Chargeninformation", "comment": "Da die ePA Medication nur bei der Abgabe verwendet wird ist die Angabe der Chargeninformation verpflichtend.", @@ -905,8 +905,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", - "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", "short": "Chargennummer", "definition": "Chargennummer", "min": 0, @@ -918,8 +918,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", - "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", "short": "Ablaufdatum der Charge", "definition": "Ablaufdatum der Charge", "min": 0, @@ -931,8 +931,8 @@ ] }, { - "id": "logMedDispense.medication.medicationArzneimittel.darreichungsform", - "path": "logMedDispense.medication.medicationArzneimittel.darreichungsform", + "id": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", + "path": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -944,8 +944,8 @@ ] }, { - "id": "logMedDispense.medication.medicationDiGA", - "path": "logMedDispense.medication.medicationDiGA", + "id": "logical-medication-dispense.medication.medicationDiGA", + "path": "logical-medication-dispense.medication.medicationDiGA", "short": "Angabe der Medikation bei DiGA Verordnung", "definition": "Angabe der Medikation bei DiGA Verordnung", "min": 0, @@ -957,8 +957,8 @@ ] }, { - "id": "logMedDispense.medication.medicationDiGA.display", - "path": "logMedDispense.medication.medicationDiGA.display", + "id": "logical-medication-dispense.medication.medicationDiGA.display", + "path": "logical-medication-dispense.medication.medicationDiGA.display", "short": "Name der verordneten DiGA", "definition": "Name der verordneten DiGA", "min": 1, @@ -970,8 +970,8 @@ ] }, { - "id": "logMedDispense.patientKVNR", - "path": "logMedDispense.patientKVNR", + "id": "logical-medication-dispense.patientKVNR", + "path": "logical-medication-dispense.patientKVNR", "short": "KVNR des Patienten", "definition": "KVNR des Patienten", "min": 1, @@ -983,8 +983,8 @@ ] }, { - "id": "logMedDispense.angabeAbgebendeInstutition", - "path": "logMedDispense.angabeAbgebendeInstutition", + "id": "logical-medication-dispense.angabeAbgebendeInstutition", + "path": "logical-medication-dispense.angabeAbgebendeInstutition", "short": "Telematik-ID der abgebenden Institution", "definition": "Telematik-ID der abgebenden Institution", "min": 1, @@ -999,8 +999,8 @@ ] }, { - "id": "logMedDispense.menge", - "path": "logMedDispense.menge", + "id": "logical-medication-dispense.menge", + "path": "logical-medication-dispense.menge", "short": "Abgegebene Menge des Arzneimittels.", "definition": "Abgegebene Menge des Arzneimittels.", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1013,8 +1013,8 @@ ] }, { - "id": "logMedDispense.abgabeDatum", - "path": "logMedDispense.abgabeDatum", + "id": "logical-medication-dispense.abgabeDatum", + "path": "logical-medication-dispense.abgabeDatum", "short": "Abgabedatum im Format YYYY-MM-DD", "definition": "Abgabedatum im Format YYYY-MM-DD", "min": 1, @@ -1026,8 +1026,8 @@ ] }, { - "id": "logMedDispense.dosieranweisung", - "path": "logMedDispense.dosieranweisung", + "id": "logical-medication-dispense.dosieranweisung", + "path": "logical-medication-dispense.dosieranweisung", "short": "Dosieranweisung,", "definition": "Dosieranweisung,", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1040,8 +1040,8 @@ ] }, { - "id": "logMedDispense.verweisZumTask", - "path": "logMedDispense.verweisZumTask", + "id": "logical-medication-dispense.verweisZumTask", + "path": "logical-medication-dispense.verweisZumTask", "short": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "definition": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "min": 0, @@ -1053,8 +1053,8 @@ ] }, { - "id": "logMedDispense.substituierung", - "path": "logMedDispense.substituierung", + "id": "logical-medication-dispense.substituierung", + "path": "logical-medication-dispense.substituierung", "short": "Substituierung", "definition": "Substituierung", "min": 0, @@ -1066,8 +1066,8 @@ ] }, { - "id": "logMedDispense.substituierung.wurdeSubstituiert", - "path": "logMedDispense.substituierung.wurdeSubstituiert", + "id": "logical-medication-dispense.substituierung.wurdeSubstituiert", + "path": "logical-medication-dispense.substituierung.wurdeSubstituiert", "short": "Angabe, ob substituiert wurde", "definition": "Angabe, ob substituiert wurde", "min": 1, @@ -1079,8 +1079,8 @@ ] }, { - "id": "logMedDispense.abgabeHinweise", - "path": "logMedDispense.abgabeHinweise", + "id": "logical-medication-dispense.abgabeHinweise", + "path": "logical-medication-dispense.abgabeHinweise", "short": "Hinweise zur Abgabe, wenn vorhanden", "definition": "Hinweise zur Abgabe, wenn vorhanden", "min": 0, From d0471b55d78fd6795d1e072c8a87257c69d69d67 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 9 Jul 2024 13:51:09 +0200 Subject: [PATCH 29/57] fix id of logical model --- ...> StructureDefinition-logMedDispense.json} | 332 +++++++++--------- .../logical-medication-dispense.fsh | 4 +- 2 files changed, 168 insertions(+), 168 deletions(-) rename Resources/fsh-generated/resources/{StructureDefinition-logical-medication-dispense.json => StructureDefinition-logMedDispense.json} (55%) diff --git a/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json similarity index 55% rename from Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json rename to Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json index 53d18fc4..056de020 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logical-medication-dispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json @@ -1,8 +1,8 @@ { "resourceType": "StructureDefinition", - "id": "logical-medication-dispense", - "url": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", - "name": "LogicalMedicationDispense", + "id": "logMedDispense", + "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", + "name": "GEM_ERP_LOG_MedicationDispense", "title": "Logical Medication Dispense", "status": "draft", "description": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden.", @@ -16,20 +16,20 @@ ], "kind": "logical", "abstract": false, - "type": "https://gematik.de/fhir/erp/StructureDefinition/logical-medication-dispense", + "type": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", "derivation": "specialization", "differential": { "element": [ { - "id": "logical-medication-dispense", - "path": "logical-medication-dispense", + "id": "logMedDispense", + "path": "logMedDispense", "short": "Logical Medication Dispense", "definition": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." }, { - "id": "logical-medication-dispense.prescriptionId", - "path": "logical-medication-dispense.prescriptionId", + "id": "logMedDispense.prescriptionId", + "path": "logMedDispense.prescriptionId", "short": "ID des Rezepts", "definition": "ID des Rezepts", "min": 1, @@ -41,8 +41,8 @@ ] }, { - "id": "logical-medication-dispense.status", - "path": "logical-medication-dispense.status", + "id": "logMedDispense.status", + "path": "logMedDispense.status", "short": "Status fixedValue: #completed", "definition": "Status fixedValue: #completed", "min": 1, @@ -54,8 +54,8 @@ ] }, { - "id": "logical-medication-dispense.medication", - "path": "logical-medication-dispense.medication", + "id": "logMedDispense.medication", + "path": "logMedDispense.medication", "short": "Medikation", "definition": "Medikation", "min": 1, @@ -67,8 +67,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel", - "path": "logical-medication-dispense.medication.medicationArzneimittel", + "id": "logMedDispense.medication.medicationArzneimittel", + "path": "logMedDispense.medication.medicationArzneimittel", "short": "Medikation als contained Element", "definition": "Medikation als contained Element", "min": 0, @@ -80,8 +80,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", - "path": "logical-medication-dispense.medication.medicationArzneimittel.profilInformation", + "id": "logMedDispense.medication.medicationArzneimittel.profilInformation", + "path": "logMedDispense.medication.medicationArzneimittel.profilInformation", "short": "Profilinformationen aus meta.profile", "definition": "Profilinformationen aus meta.profile", "min": 1, @@ -93,8 +93,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension", + "id": "logMedDispense.medication.medicationArzneimittel.extension", + "path": "logMedDispense.medication.medicationArzneimittel.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, @@ -106,8 +106,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.impfung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.impfung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.impfung", "short": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "definition": "Angabe ob Impfstoff nach KBV_EX_ERP_Medication_Vaccine", "min": 1, @@ -119,8 +119,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "id": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", + "path": "logMedDispense.medication.medicationArzneimittel.extension.arzneimittelkategorie", "short": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "definition": "Arzneimittelkategorie aus KBV_EX_ERP_Medication_Category", "min": 1, @@ -132,8 +132,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.kategorie", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.kategorie", + "id": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", + "path": "logMedDispense.medication.medicationArzneimittel.extension.kategorie", "short": "Angabe zur Kategorie", "definition": "Angabe zur Kategorie", "comment": "Muss angegeben werden, wenn vorhanden", @@ -146,8 +146,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.normgroesse", + "id": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", + "path": "logMedDispense.medication.medicationArzneimittel.extension.normgroesse", "short": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "definition": "Angabe der Normgröße nach KBV_VS_SFHIR_KBV_NORMGROESSE", "comment": "Muss angegeben werden, wenn vorhanden", @@ -160,8 +160,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.herstellungsanweisung", "short": "Herstellungsanweisung", "definition": "Herstellungsanweisung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -174,8 +174,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", - "path": "logical-medication-dispense.medication.medicationArzneimittel.extension.verpackung", + "id": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", + "path": "logMedDispense.medication.medicationArzneimittel.extension.verpackung", "short": "Angabe zur Verpackung", "definition": "Angabe zur Verpackung", "comment": "Muss angegeben werden, wenn vorhanden", @@ -188,8 +188,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code", + "id": "logMedDispense.medication.medicationArzneimittel.code", + "path": "logMedDispense.medication.medicationArzneimittel.code", "short": "Information und Identifizierung zum Arzneimittel", "definition": "Information und Identifizierung zum Arzneimittel", "min": 1, @@ -201,8 +201,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -214,8 +214,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, @@ -227,8 +227,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.pzn.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -241,8 +241,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -254,8 +254,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, @@ -267,8 +267,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.atcDe.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -281,8 +281,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask", "short": "ask", "definition": "ask", "min": 0, @@ -294,8 +294,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, @@ -307,8 +307,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.ask.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.ask.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -321,8 +321,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -334,8 +334,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, @@ -347,8 +347,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.wg14.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -361,8 +361,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -374,8 +374,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -387,8 +387,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.code.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -401,8 +401,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.code.text", - "path": "logical-medication-dispense.medication.medicationArzneimittel.code.text", + "id": "logMedDispense.medication.medicationArzneimittel.code.text", + "path": "logMedDispense.medication.medicationArzneimittel.code.text", "short": "Name des Arzneimittels", "definition": "Name des Arzneimittels", "min": 0, @@ -414,8 +414,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form", + "id": "logMedDispense.medication.medicationArzneimittel.form", + "path": "logMedDispense.medication.medicationArzneimittel.form", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -427,8 +427,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm", "short": "edqm", "definition": "edqm", "min": 0, @@ -440,8 +440,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.code", "short": "edqm-Code", "definition": "edqm-Code", "min": 1, @@ -453,8 +453,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.edqm.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.edqm.display", "short": "edqm-Name", "definition": "edqm-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -467,8 +467,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -480,8 +480,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -493,8 +493,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -507,8 +507,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform", "short": "kbvDarreichungsform", "definition": "kbvDarreichungsform", "min": 0, @@ -520,8 +520,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.code", "short": "kbvDarreichungsform-Code", "definition": "kbvDarreichungsform-Code", "min": 1, @@ -533,8 +533,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "id": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", + "path": "logMedDispense.medication.medicationArzneimittel.form.kbvDarreichungsform.display", "short": "kbvDarreichungsform-Name", "definition": "kbvDarreichungsform-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -547,8 +547,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.form.text", - "path": "logical-medication-dispense.medication.medicationArzneimittel.form.text", + "id": "logMedDispense.medication.medicationArzneimittel.form.text", + "path": "logMedDispense.medication.medicationArzneimittel.form.text", "short": "Name der Darreichungsform", "definition": "Name der Darreichungsform", "min": 0, @@ -560,8 +560,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.menge", - "path": "logical-medication-dispense.medication.medicationArzneimittel.menge", + "id": "logMedDispense.medication.medicationArzneimittel.menge", + "path": "logMedDispense.medication.medicationArzneimittel.menge", "short": "Verordnete Menge des Arzneimittels", "definition": "Verordnete Menge des Arzneimittels", "comment": "Muss angegeben werden, wenn vorhanden", @@ -574,8 +574,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe", "short": "Inhaltsstoffe", "definition": "Inhaltsstoffe", "min": 0, @@ -587,8 +587,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension", "short": "Erweiterungen", "definition": "Erweiterungen", "min": 0, @@ -600,8 +600,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.extension.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -613,8 +613,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff", "short": "Inhaltsstoff", "definition": "Inhaltsstoff", "min": 0, @@ -626,8 +626,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding", "short": "Kodierung des Inhaltsstoffs", "definition": "Kodierung des Inhaltsstoffs", "min": 0, @@ -639,8 +639,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn", "short": "PZN", "definition": "PZN", "min": 0, @@ -652,8 +652,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.code", "short": "PZN-Code", "definition": "PZN-Code", "min": 1, @@ -665,8 +665,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.pzn.display", "short": "PZN-Name", "definition": "PZN-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -679,8 +679,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe", "short": "atc-de", "definition": "atc-de", "min": 0, @@ -692,8 +692,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.code", "short": "atc-de-Code", "definition": "atc-de-Code", "min": 1, @@ -705,8 +705,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.atcDe.display", "short": "atc-de-Name", "definition": "atc-de-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -719,8 +719,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask", "short": "ask", "definition": "ask", "min": 0, @@ -732,8 +732,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.code", "short": "ask-Code", "definition": "ask-Code", "min": 1, @@ -745,8 +745,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.ask.display", "short": "ask-Name", "definition": "ask-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -759,8 +759,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14", "short": "wg14", "definition": "wg14", "min": 0, @@ -772,8 +772,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.code", "short": "wg14-Code", "definition": "wg14-Code", "min": 1, @@ -785,8 +785,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.wg14.display", "short": "wg14-Name", "definition": "wg14-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -799,8 +799,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed", "short": "snomed", "definition": "snomed", "min": 0, @@ -812,8 +812,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.code", "short": "snomed-Code", "definition": "snomed-Code", "min": 1, @@ -825,8 +825,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffCoding.snomed.display", "short": "snomed-Name", "definition": "snomed-Name", "comment": "Muss angegeben werden, wenn vorhanden", @@ -839,8 +839,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.inhaltsstoff.inhaltsstoffReference", "short": "Referenz zum Inhaltsstoff", "definition": "Referenz zum Inhaltsstoff", "min": 0, @@ -852,8 +852,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.wirkstaerke", "short": "Wirkstärke des Inhaltsstoffes", "definition": "Wirkstärke des Inhaltsstoffes", "min": 0, @@ -865,8 +865,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.menge", "short": "Menge des Inhaltsstoffes", "definition": "Menge des Inhaltsstoffes", "min": 0, @@ -878,8 +878,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", - "path": "logical-medication-dispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "id": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", + "path": "logMedDispense.medication.medicationArzneimittel.inhaltsstoffe.einheit", "short": "Einheit der Menge des Inhaltsstoffes", "definition": "Einheit der Menge des Inhaltsstoffes", "min": 0, @@ -891,8 +891,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation", "short": "Chargeninformation", "definition": "Chargeninformation", "comment": "Da die ePA Medication nur bei der Abgabe verwendet wird ist die Angabe der Chargeninformation verpflichtend.", @@ -905,8 +905,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.chargennummer", "short": "Chargennummer", "definition": "Chargennummer", "min": 0, @@ -918,8 +918,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", - "path": "logical-medication-dispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "id": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", + "path": "logMedDispense.medication.medicationArzneimittel.chargenInformation.ablaufdatum", "short": "Ablaufdatum der Charge", "definition": "Ablaufdatum der Charge", "min": 0, @@ -931,8 +931,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", - "path": "logical-medication-dispense.medication.medicationArzneimittel.darreichungsform", + "id": "logMedDispense.medication.medicationArzneimittel.darreichungsform", + "path": "logMedDispense.medication.medicationArzneimittel.darreichungsform", "short": "Darreichungsform", "definition": "Darreichungsform", "min": 0, @@ -944,8 +944,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationDiGA", - "path": "logical-medication-dispense.medication.medicationDiGA", + "id": "logMedDispense.medication.medicationDiGA", + "path": "logMedDispense.medication.medicationDiGA", "short": "Angabe der Medikation bei DiGA Verordnung", "definition": "Angabe der Medikation bei DiGA Verordnung", "min": 0, @@ -957,8 +957,8 @@ ] }, { - "id": "logical-medication-dispense.medication.medicationDiGA.display", - "path": "logical-medication-dispense.medication.medicationDiGA.display", + "id": "logMedDispense.medication.medicationDiGA.display", + "path": "logMedDispense.medication.medicationDiGA.display", "short": "Name der verordneten DiGA", "definition": "Name der verordneten DiGA", "min": 1, @@ -970,8 +970,8 @@ ] }, { - "id": "logical-medication-dispense.patientKVNR", - "path": "logical-medication-dispense.patientKVNR", + "id": "logMedDispense.patientKVNR", + "path": "logMedDispense.patientKVNR", "short": "KVNR des Patienten", "definition": "KVNR des Patienten", "min": 1, @@ -983,8 +983,8 @@ ] }, { - "id": "logical-medication-dispense.angabeAbgebendeInstutition", - "path": "logical-medication-dispense.angabeAbgebendeInstutition", + "id": "logMedDispense.angabeAbgebendeInstutition", + "path": "logMedDispense.angabeAbgebendeInstutition", "short": "Telematik-ID der abgebenden Institution", "definition": "Telematik-ID der abgebenden Institution", "min": 1, @@ -999,8 +999,8 @@ ] }, { - "id": "logical-medication-dispense.menge", - "path": "logical-medication-dispense.menge", + "id": "logMedDispense.menge", + "path": "logMedDispense.menge", "short": "Abgegebene Menge des Arzneimittels.", "definition": "Abgegebene Menge des Arzneimittels.", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1013,8 +1013,8 @@ ] }, { - "id": "logical-medication-dispense.abgabeDatum", - "path": "logical-medication-dispense.abgabeDatum", + "id": "logMedDispense.abgabeDatum", + "path": "logMedDispense.abgabeDatum", "short": "Abgabedatum im Format YYYY-MM-DD", "definition": "Abgabedatum im Format YYYY-MM-DD", "min": 1, @@ -1026,8 +1026,8 @@ ] }, { - "id": "logical-medication-dispense.dosieranweisung", - "path": "logical-medication-dispense.dosieranweisung", + "id": "logMedDispense.dosieranweisung", + "path": "logMedDispense.dosieranweisung", "short": "Dosieranweisung,", "definition": "Dosieranweisung,", "comment": "Muss angegeben werden, wenn vorhanden", @@ -1040,8 +1040,8 @@ ] }, { - "id": "logical-medication-dispense.verweisZumTask", - "path": "logical-medication-dispense.verweisZumTask", + "id": "logMedDispense.verweisZumTask", + "path": "logMedDispense.verweisZumTask", "short": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "definition": "Verweis auf den Task, der die Abgabe enthält. Wird vom E-Rezept-Fachdienst gesetzt.", "min": 0, @@ -1053,8 +1053,8 @@ ] }, { - "id": "logical-medication-dispense.substituierung", - "path": "logical-medication-dispense.substituierung", + "id": "logMedDispense.substituierung", + "path": "logMedDispense.substituierung", "short": "Substituierung", "definition": "Substituierung", "min": 0, @@ -1066,8 +1066,8 @@ ] }, { - "id": "logical-medication-dispense.substituierung.wurdeSubstituiert", - "path": "logical-medication-dispense.substituierung.wurdeSubstituiert", + "id": "logMedDispense.substituierung.wurdeSubstituiert", + "path": "logMedDispense.substituierung.wurdeSubstituiert", "short": "Angabe, ob substituiert wurde", "definition": "Angabe, ob substituiert wurde", "min": 1, @@ -1079,8 +1079,8 @@ ] }, { - "id": "logical-medication-dispense.abgabeHinweise", - "path": "logical-medication-dispense.abgabeHinweise", + "id": "logMedDispense.abgabeHinweise", + "path": "logMedDispense.abgabeHinweise", "short": "Hinweise zur Abgabe, wenn vorhanden", "definition": "Hinweise zur Abgabe, wenn vorhanden", "min": 0, diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh index 64124e07..112a7c93 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh @@ -1,6 +1,6 @@ -Logical: LogicalMedicationDispense +Logical: GEM_ERP_LOG_MedicationDispense Parent: Base -Id: logical-medication-dispense +Id: logMedDispense Title: "Logical Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." * prescriptionId 1..1 string "ID des Rezepts" From 92bec16f2975321dfbd1fd91c335924f53bae2e3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 07:01:23 +0200 Subject: [PATCH 30/57] add todos --- Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh | 2 ++ Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh index 3ddd95f3..5eb333f5 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh @@ -21,3 +21,5 @@ Usage: #definition * max = "1" * documentation = "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Paramter ?secret." * type = #string + +//TODO Return OperationOutcome definieren und Parameters Profil erstellen \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh index 7029238d..76ac9f9e 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Reject.fsh @@ -13,3 +13,5 @@ Usage: #definition * max = "1" * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as an URL Parameter ?secret." * type = #string + +//TODO Return OperationOutcome definieren und Parameters Profil erstellen \ No newline at end of file From 1432edd8b4bef9f3e87090e13aea256fcc8d6acc Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 07:32:00 +0200 Subject: [PATCH 31/57] rename dispense output parameter --- ...OperationDefinition-DispenseOperation.json | 2 +- ...-gem-erp-pr-dispense-operation-output.json | 44 +++++++++---------- .../GEM_ERP_OP_Dispense.fsh | 2 +- .../GEM_ERP_PR_DispenseOperation_Output.fsh | 6 +-- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index 89674192..6682a3f0 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -51,7 +51,7 @@ ] }, { - "name": "medicationDispense", + "name": "rxDispensation", "use": "out", "min": 1, "max": "*", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json index c26eab5e..aa65aaef 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json @@ -55,30 +55,30 @@ "min": 1 }, { - "id": "Parameters.parameter:medicationDispense", + "id": "Parameters.parameter:rxDispensation", "path": "Parameters.parameter", - "sliceName": "medicationDispense", + "sliceName": "rxDispensation", "min": 1, "max": "*" }, { - "id": "Parameters.parameter:medicationDispense.name", + "id": "Parameters.parameter:rxDispensation.name", "path": "Parameters.parameter.name", - "patternString": "medicationDispense", + "patternString": "rxDispensation", "mustSupport": true }, { - "id": "Parameters.parameter:medicationDispense.value[x]", + "id": "Parameters.parameter:rxDispensation.value[x]", "path": "Parameters.parameter.value[x]", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.resource", + "id": "Parameters.parameter:rxDispensation.resource", "path": "Parameters.parameter.resource", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part", + "id": "Parameters.parameter:rxDispensation.part", "path": "Parameters.parameter.part", "slicing": { "discriminator": [ @@ -93,7 +93,7 @@ "mustSupport": true }, { - "id": "Parameters.parameter:medicationDispense.part:medicationDispense", + "id": "Parameters.parameter:rxDispensation.part:medicationDispense", "path": "Parameters.parameter.part", "sliceName": "medicationDispense", "min": 0, @@ -105,18 +105,18 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:medicationDispense.name", + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.name", "path": "Parameters.parameter.part.name", "patternString": "medicationDispense", "mustSupport": true }, { - "id": "Parameters.parameter:medicationDispense.part:medicationDispense.value[x]", + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.value[x]", "path": "Parameters.parameter.part.value[x]", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part:medicationDispense.resource", + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.resource", "path": "Parameters.parameter.part.resource", "min": 1, "type": [ @@ -129,12 +129,12 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:medicationDispense.part", + "id": "Parameters.parameter:rxDispensation.part:medicationDispense.part", "path": "Parameters.parameter.part.part", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part:medication", + "id": "Parameters.parameter:rxDispensation.part:medication", "path": "Parameters.parameter.part", "sliceName": "medication", "min": 0, @@ -146,18 +146,18 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:medication.name", + "id": "Parameters.parameter:rxDispensation.part:medication.name", "path": "Parameters.parameter.part.name", "patternString": "medication", "mustSupport": true }, { - "id": "Parameters.parameter:medicationDispense.part:medication.value[x]", + "id": "Parameters.parameter:rxDispensation.part:medication.value[x]", "path": "Parameters.parameter.part.value[x]", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part:medication.resource", + "id": "Parameters.parameter:rxDispensation.part:medication.resource", "path": "Parameters.parameter.part.resource", "min": 1, "type": [ @@ -170,12 +170,12 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:medication.part", + "id": "Parameters.parameter:rxDispensation.part:medication.part", "path": "Parameters.parameter.part.part", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part:operationOutcome", + "id": "Parameters.parameter:rxDispensation.part:operationOutcome", "path": "Parameters.parameter.part", "sliceName": "operationOutcome", "min": 0, @@ -187,18 +187,18 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:operationOutcome.name", + "id": "Parameters.parameter:rxDispensation.part:operationOutcome.name", "path": "Parameters.parameter.part.name", "patternString": "operationOutcome", "mustSupport": true }, { - "id": "Parameters.parameter:medicationDispense.part:operationOutcome.value[x]", + "id": "Parameters.parameter:rxDispensation.part:operationOutcome.value[x]", "path": "Parameters.parameter.part.value[x]", "max": "0" }, { - "id": "Parameters.parameter:medicationDispense.part:operationOutcome.resource", + "id": "Parameters.parameter:rxDispensation.part:operationOutcome.resource", "path": "Parameters.parameter.part.resource", "min": 1, "type": [ @@ -208,7 +208,7 @@ ] }, { - "id": "Parameters.parameter:medicationDispense.part:operationOutcome.part", + "id": "Parameters.parameter:rxDispensation.part:operationOutcome.part", "path": "Parameters.parameter.part.part", "max": "0" } diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index 5e47d294..445ab985 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -43,7 +43,7 @@ Usage: #definition // out * parameter[+] - * name = #medicationDispense + * name = #rxDispensation * use = #out * min = 1 * max = "*" diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh index 0ac39bed..3a1f053a 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh @@ -10,11 +10,11 @@ Description: "This profile defines the parameters for dispensing a medication fr * parameter ^slicing.discriminator.path = "name" * parameter ^slicing.rules = #closed -* parameter contains medicationDispense 1..* +* parameter contains rxDispensation 1..* -* parameter[medicationDispense] +* parameter[rxDispensation] * name MS - * name = "medicationDispense" + * name = "rxDispensation" * value[x] 0..0 * resource 0..0 * part 1..* MS From da4a1d3ac548450628625f3bc0d997087c239d27 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 07:32:07 +0200 Subject: [PATCH 32/57] Add examples for operations --- ...-558c2f69-62f6-4a74-8d13-70e945d28b71.json | 222 ------------------ ...-26fbffa8-b0df-4074-b2cf-143269aff176.json | 101 -------- ...-cd6a4805-9861-412e-91aa-ec6af3f03d87.json | 101 -------- ...Outcome-ExampleOperationAbortErrorAVS.json | 13 + ...Outcome-ExampleOperationAbortErrorPVS.json | 13 + ...onOutcome-ExampleOperationAcceptError.json | 13 + ...Outcome-ExampleOperationActivateError.json | 14 ++ ...ionOutcome-ExampleOperationCloseError.json | 14 ++ ...onOutcome-ExampleOperationCreateError.json | 14 ++ ...onOutcome-ExampleOperationRejectError.json | 13 + ...-ExampleDispenseOutputParametersError.json | 33 +++ ...xampleDispenseOutputParametersSuccess.json | 117 +++++++++ ...mpleOperationActivateParametersInput.json} | 2 +- ...ExampleOperationCloseInputParameters.json} | 2 +- ...pleOperationCloseInputParametersDiGA.json} | 2 +- ...tionCloseInputParametersKombipackung.json} | 2 +- ...arametersMultipleMedicationDispenses.json} | 2 +- ...perationCloseInputParametersRezeptur.json} | 2 +- ...loseInputParametersWithoutMedication.json} | 2 +- .../examples/Example_Dispense_Operation.fsh | 49 ---- .../fsh/examples/Example_Operation_Abort.fsh | 17 ++ .../fsh/examples/Example_Operation_Accept.fsh | 8 + .../examples/Example_Operation_Activate.fsh | 16 ++ .../fsh/examples/Example_Operation_Close.fsh | 114 +++++++++ .../fsh/examples/Example_Operation_Create.fsh | 23 ++ ...ers.fsh => Example_Operation_Dispense.fsh} | 37 +++ .../fsh/examples/Example_Operation_Reject.fsh | 8 + .../examples/Example_Parameters_Activate.fsh | 6 - .../fsh/examples/Example_Parameters_Close.fsh | 79 ------- .../examples/Example_Parameters_Create.fsh | 6 - 30 files changed, 474 insertions(+), 571 deletions(-) delete mode 100644 Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json delete mode 100644 Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json delete mode 100644 Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorAVS.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorPVS.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAcceptError.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationActivateError.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCloseError.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCreateError.json create mode 100644 Resources/fsh-generated/resources/OperationOutcome-ExampleOperationRejectError.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json create mode 100644 Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json rename Resources/fsh-generated/resources/{Parameters-OperationActivateParametersInputExample.json => Parameters-ExampleOperationActivateParametersInput.json} (91%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParameters.json => Parameters-ExampleOperationCloseInputParameters.json} (98%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParametersDiGA.json => Parameters-ExampleOperationCloseInputParametersDiGA.json} (97%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParametersKombipackung.json => Parameters-ExampleOperationCloseInputParametersKombipackung.json} (99%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json => Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json} (98%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParametersRezeptur.json => Parameters-ExampleOperationCloseInputParametersRezeptur.json} (99%) rename Resources/fsh-generated/resources/{Parameters-ExampleCloseInputParametersWithoutMedication.json => Parameters-ExampleOperationCloseInputParametersWithoutMedication.json} (96%) delete mode 100644 Resources/input/fsh/examples/Example_Dispense_Operation.fsh create mode 100644 Resources/input/fsh/examples/Example_Operation_Abort.fsh create mode 100644 Resources/input/fsh/examples/Example_Operation_Accept.fsh create mode 100644 Resources/input/fsh/examples/Example_Operation_Activate.fsh create mode 100644 Resources/input/fsh/examples/Example_Operation_Close.fsh create mode 100644 Resources/input/fsh/examples/Example_Operation_Create.fsh rename Resources/input/fsh/examples/{Example_DispenseParameters.fsh => Example_Operation_Dispense.fsh} (53%) create mode 100644 Resources/input/fsh/examples/Example_Operation_Reject.fsh delete mode 100644 Resources/input/fsh/examples/Example_Parameters_Activate.fsh delete mode 100644 Resources/input/fsh/examples/Example_Parameters_Close.fsh delete mode 100644 Resources/input/fsh/examples/Example_Parameters_Create.fsh diff --git a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json b/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json deleted file mode 100644 index 95b7fd36..00000000 --- a/Resources/fsh-generated/resources/Bundle-558c2f69-62f6-4a74-8d13-70e945d28b71.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "558c2f69-62f6-4a74-8d13-70e945d28b71", - "meta": { - "tag": [ - { - "display": "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" - } - ] - }, - "type": "collection", - "entry": [ - { - "fullUrl": "http://hier-koennte-ihre-werbung-stehen", - "resource": { - "resourceType": "MedicationDispense", - "id": "26fbffa8-b0df-4074-b2cf-143269aff176", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" - } - }, - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] - } - }, - { - "fullUrl": "http://waltraud-was-here", - "resource": { - "resourceType": "MedicationDispense", - "id": "26fbffa8-b0df-4074-b2cf-143269aff176", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" - } - }, - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] - } - } - ] -} diff --git a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json deleted file mode 100644 index a887a6cf..00000000 --- a/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "resourceType": "MedicationDispense", - "id": "26fbffa8-b0df-4074-b2cf-143269aff176", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" - } - }, - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] -} diff --git a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json b/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json deleted file mode 100644 index 5b2fe68d..00000000 --- a/Resources/fsh-generated/resources/MedicationDispense-cd6a4805-9861-412e-91aa-ec6af3f03d87.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "resourceType": "MedicationDispense", - "id": "cd6a4805-9861-412e-91aa-ec6af3f03d87", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" - ] - }, - "contained": [ - { - "resourceType": "Medication", - "id": "SumatripanMedication", - "meta": { - "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" - ] - }, - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", - "valueCoding": { - "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" - } - }, - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N1" - } - ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/ifa/pzn", - "code": "06313728" - } - ], - "text": "Sumatriptan-1a Pharma 100 mg Tabletten" - }, - "form": { - "coding": [ - { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", - "code": "TAB" - } - ] - }, - "amount": { - "numerator": { - "extension": [ - { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", - "valueString": "20 St." - } - ], - "value": 20, - "unit": "St" - }, - "denominator": { - "value": 1 - } - } - } - ], - "identifier": [ - { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" - } - ], - "status": "completed", - "medicationReference": { - "reference": "#SumatripanMedication" - }, - "subject": { - "identifier": { - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "X234567890" - } - }, - "performer": [ - { - "actor": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-abc-1234567890" - } - } - } - ], - "whenHandedOver": "2022-02-28", - "dosageInstruction": [ - { - "text": "1-0-1-0" - } - ] -} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorAVS.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorAVS.json new file mode 100644 index 00000000..bf9cb9f8 --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorAVS.json @@ -0,0 +1,13 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationAbortErrorAVS", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { + "text": "Abort not expected for newly created Task" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorPVS.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorPVS.json new file mode 100644 index 00000000..11d5de79 --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAbortErrorPVS.json @@ -0,0 +1,13 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationAbortErrorPVS", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { + "text": "Task must not be in progress for users other than pharmacy, but is: in-progress" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAcceptError.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAcceptError.json new file mode 100644 index 00000000..375646b0 --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationAcceptError.json @@ -0,0 +1,13 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationAcceptError", + "issue": [ + { + "severity": "error", + "code": "conflict", + "details": { + "text": "Task has invalid status draft" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationActivateError.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationActivateError.json new file mode 100644 index 00000000..2c65138e --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationActivateError.json @@ -0,0 +1,14 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationActivateError", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { + "text": "unknown or unexpected profile" + }, + "diagnostics": "Unable to determine profile type from name: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle" + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCloseError.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCloseError.json new file mode 100644 index 00000000..0ab1eb7c --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCloseError.json @@ -0,0 +1,14 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationCloseError", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { + "text": "FHIR-Validation error" + }, + "diagnostics": "MedicationDispense.status: error: Value closed not allowed for ValueSet binding, allowed are \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]cancelled, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]completed, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]declined, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]entered-in-error, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]in-progress, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]on-hold, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]preparation, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]stopped, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]unknown \n(from profile: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2); \nMedicationDispense.status: error: Value closed not allowed for ValueSet binding, allowed are \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]cancelled, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]completed, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]declined, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]entered-in-error, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]in-progress, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]on-hold, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]preparation, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]stopped, \n[http://terminology.hl7.org/CodeSystem/medicationdispense-status]unknown \n(from profile: http://hl7.org/fhir/StructureDefinition/MedicationDispense|4.0.1); \nMedicationDispense.status: error: value must match fixed value: \"completed\" (but is \"closed\") \n(from profile: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2);" + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCreateError.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCreateError.json new file mode 100644 index 00000000..922209f9 --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationCreateError.json @@ -0,0 +1,14 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationCreateError", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { + "text": "FHIR-Validation error" + }, + "diagnostics": "Parameters.parameter[0].valueCoding: error: Code 140 is not part of CodeSystem \nhttps://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType (from profile: \nhttp://hl7.org/fhir/StructureDefinition/Parameters|4.0.1); \nParameters.parameter[0].valueCoding: error: Code 140 is not part of CodeSystem \nhttps://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType (from profile: \nhttp://hl7.org/fhir/StructureDefinition/Coding|4.0.1);" + } + ] +} diff --git a/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationRejectError.json b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationRejectError.json new file mode 100644 index 00000000..2af11173 --- /dev/null +++ b/Resources/fsh-generated/resources/OperationOutcome-ExampleOperationRejectError.json @@ -0,0 +1,13 @@ +{ + "resourceType": "OperationOutcome", + "id": "ExampleOperationRejectError", + "issue": [ + { + "severity": "error", + "code": "forbidden", + "details": { + "text": "Task not in status in progress, is: ready" + } + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json new file mode 100644 index 00000000..54dfe9ff --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json @@ -0,0 +1,33 @@ +{ + "resourceType": "Parameters", + "id": "ExampleDispenseOutputParametersError", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "operationOutcome", + "resource": { + "resourceType": "OperationOutcome", + "id": "ExampleOperationDispenseError", + "issue": [ + { + "severity": "error", + "code": "invalid", + "details": { + "text": "FHIR-Validation error" + }, + "diagnostics": "MedicationDispense.performer[0].actor.identifier.system: error: value must match fixed value: \n\"https://gematik.de/fhir/sid/telematik-id\" (but is \"https://fhir.de/fhir/sid/telematik-id\") \n(from profile: http://fhir.de/StructureDefinition/identifier-telematik-id|1.5.0);" + } + ] + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json new file mode 100644 index 00000000..1e6c0796 --- /dev/null +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json @@ -0,0 +1,117 @@ +{ + "resourceType": "Parameters", + "id": "ExampleDispenseOutputParametersSuccess", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + ] + }, + "parameter": [ + { + "name": "rxDispensation", + "part": [ + { + "name": "medicationDispense", + "resource": { + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4" + ] + }, + "identifier": [ + { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", + "value": "160.000.033.491.280.78" + } + ], + "status": "completed", + "subject": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X123456789" + } + }, + "performer": [ + { + "actor": { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "3-SMC-B-Testkarte-883110000095957" + } + } + } + ], + "whenHandedOver": "2024-04-03", + "whenPrepared": "2024-04-03", + "medicationReference": { + "reference": "SumatripanMedication" + } + } + }, + { + "name": "medication", + "resource": { + "resourceType": "Medication", + "id": "SumatripanMedication", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "valueCoding": { + "code": "00", + "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + } + }, + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "valueBoolean": false + }, + { + "url": "http://fhir.de/StructureDefinition/normgroesse", + "valueCode": "N1" + } + ], + "code": { + "coding": [ + { + "system": "http://fhir.de/CodeSystem/ifa/pzn", + "code": "06313728" + } + ], + "text": "Sumatriptan-1a Pharma 100 mg Tabletten" + }, + "form": { + "coding": [ + { + "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM", + "code": "TAB" + } + ] + }, + "amount": { + "numerator": { + "extension": [ + { + "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "valueString": "20 St." + } + ], + "value": 20, + "unit": "St" + }, + "denominator": { + "value": 1 + } + } + } + } + ] + } + ] +} diff --git a/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json similarity index 91% rename from Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json index db276c1d..ef9d86a8 100644 --- a/Resources/fsh-generated/resources/Parameters-OperationActivateParametersInputExample.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "OperationActivateParametersInputExample", + "id": "ExampleOperationActivateParametersInput", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json similarity index 98% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json index 0f6ea288..8c4d8d2b 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParameters", + "id": "ExampleOperationCloseInputParameters", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json similarity index 97% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json index b8fd3124..cbebd98d 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersDiGA.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParametersDiGA", + "id": "ExampleOperationCloseInputParametersDiGA", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json similarity index 99% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json index 3040a1f4..cf985f05 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParametersKombipackung", + "id": "ExampleOperationCloseInputParametersKombipackung", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json similarity index 98% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json index 9c9f3754..68978db9 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParametersMultipleMedicationDispenses", + "id": "ExampleOperationCloseInputParametersMultipleMedicationDispenses", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json similarity index 99% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json index 05d83c0f..4b646520 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersRezeptur.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParametersRezeptur", + "id": "ExampleOperationCloseInputParametersRezeptur", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json similarity index 96% rename from Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json rename to Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json index c36465fb..e6444afb 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleCloseInputParametersWithoutMedication.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json @@ -1,6 +1,6 @@ { "resourceType": "Parameters", - "id": "ExampleCloseInputParametersWithoutMedication", + "id": "ExampleOperationCloseInputParametersWithoutMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" diff --git a/Resources/input/fsh/examples/Example_Dispense_Operation.fsh b/Resources/input/fsh/examples/Example_Dispense_Operation.fsh deleted file mode 100644 index 5e5be508..00000000 --- a/Resources/input/fsh/examples/Example_Dispense_Operation.fsh +++ /dev/null @@ -1,49 +0,0 @@ - -Instance: OperationDispenseParametersInputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense handed to Günther at a pharmacy" -Usage: #example -* id = "26fbffa8-b0df-4074-b2cf-143269aff176" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" - -Instance: OperationDispenseOutputMedicationDispense -InstanceOf: MedicationDispense -Title: "MedicationDispense returned by the E-Rezept-Fachdienst" -Usage: #example -* id = "cd6a4805-9861-412e-91aa-ec6af3f03d87" -* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_MedicationDispense) -* contained[+] = SumatripanMedication -* identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier[=].value = "160.000.033.491.280.78" -* status = #completed -* medicationReference.reference = "#SumatripanMedication" -* subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* subject.identifier.value = "X234567890" -* performer[+].actor.identifier.system = $identifier-telematik-id -* performer[=].actor.identifier.value = "3-abc-1234567890" -* whenHandedOver = "2022-02-28" -* dosageInstruction[+].text = "1-0-1-0" - -Instance: OperationDispenseOutputBundle -InstanceOf: Bundle -Title: "Bundle of 2 MedicationDispense handed to Waltraud at a pharmacy" -Description: "Lets asume, Waltraud needs 40 TABs and the pharmacy hands out 2*20, then there will be 2 MedicationDispenses for the E-Rezept backend" -Usage: #example -* id = "558c2f69-62f6-4a74-8d13-70e945d28b71" -* meta.tag.display = "MedicationDispense Bundle for $close-Operation on dispensation of multiple medications" -* type = #collection -* entry[+].fullUrl = "http://hier-koennte-ihre-werbung-stehen" -* entry[=].resource = OperationDispenseParametersInputMedicationDispense -* entry[+].fullUrl = "http://waltraud-was-here" -* entry[=].resource = OperationDispenseParametersInputMedicationDispense diff --git a/Resources/input/fsh/examples/Example_Operation_Abort.fsh b/Resources/input/fsh/examples/Example_Operation_Abort.fsh new file mode 100644 index 00000000..4513bca7 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Abort.fsh @@ -0,0 +1,17 @@ +Instance: ExampleOperationAbortErrorAVS +InstanceOf: OperationOutcome +Title: "Example Abort operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #forbidden + * details.text = "Abort not expected for newly created Task" + +Instance: ExampleOperationAbortErrorPVS +InstanceOf: OperationOutcome +Title: "Example Abort operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #forbidden + * details.text = "Task must not be in progress for users other than pharmacy, but is: in-progress" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Operation_Accept.fsh b/Resources/input/fsh/examples/Example_Operation_Accept.fsh new file mode 100644 index 00000000..cddf2544 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Accept.fsh @@ -0,0 +1,8 @@ +Instance: ExampleOperationAcceptError +InstanceOf: OperationOutcome +Title: "Example Accept operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #conflict + * details.text = "Task has invalid status draft" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Operation_Activate.fsh b/Resources/input/fsh/examples/Example_Operation_Activate.fsh new file mode 100644 index 00000000..4778b959 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Activate.fsh @@ -0,0 +1,16 @@ +Instance: ExampleOperationActivateParametersInput +InstanceOf: GEM_ERP_PR_ActivateOperation_Input +Title: "Example Activate operation input parameters" +Usage: #example +* parameter[ePrescription].name = "ePrescription" +* parameter[ePrescription].resource = PrescriptionBinary + +Instance: ExampleOperationActivateError +InstanceOf: OperationOutcome +Title: "Example Activate operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #invalid + * details.text = "unknown or unexpected profile" + * diagnostics = "Unable to determine profile type from name: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Operation_Close.fsh b/Resources/input/fsh/examples/Example_Operation_Close.fsh new file mode 100644 index 00000000..4002e83b --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Close.fsh @@ -0,0 +1,114 @@ +Instance: ExampleOperationCloseInputParameters +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication + +Instance: ExampleOperationCloseInputParametersWithoutMedication +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + +Instance: ExampleOperationCloseInputParametersMultipleMedicationDispenses +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-2 + * part[medication] + * name = "medication" + * resource = Medication-Without-Strength-Code + +Instance: ExampleOperationCloseInputParametersKombipackung +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-Kombipackung + * part[medication] + * name = "medication" + * resource = Medication-Kombipackung + +Instance: ExampleOperationCloseInputParametersRezeptur +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-Rezeptur + * part[medication] + * name = "medication" + * resource = Medication-Rezeptur + +Instance: ExampleOperationCloseInputParametersDiGA +InstanceOf: GEM_ERP_PR_CloseOperation_Input +Usage: #example +Title: "Example Close Parameters" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense-DiGA-Name-And-VE-ID + +Instance: ExampleOperationCloseError +InstanceOf: OperationOutcome +Title: "Example Close operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #invalid + * details.text = "FHIR-Validation error" + * diagnostics = """ + MedicationDispense.status: error: Value closed not allowed for ValueSet binding, allowed are + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]cancelled, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]completed, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]declined, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]entered-in-error, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]in-progress, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]on-hold, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]preparation, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]stopped, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]unknown + (from profile: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2); + MedicationDispense.status: error: Value closed not allowed for ValueSet binding, allowed are + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]cancelled, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]completed, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]declined, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]entered-in-error, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]in-progress, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]on-hold, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]preparation, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]stopped, + [http://terminology.hl7.org/CodeSystem/medicationdispense-status]unknown + (from profile: http://hl7.org/fhir/StructureDefinition/MedicationDispense|4.0.1); + MedicationDispense.status: error: value must match fixed value: "completed" (but is "closed") + (from profile: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.2); + """ diff --git a/Resources/input/fsh/examples/Example_Operation_Create.fsh b/Resources/input/fsh/examples/Example_Operation_Create.fsh new file mode 100644 index 00000000..e83731db --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Create.fsh @@ -0,0 +1,23 @@ +Instance: OperationCreateParametersInputExample +InstanceOf: GEM_ERP_PR_CreateOperation_Input +Title: "$create Operation Parameters sample" +Usage: #example +* parameter[workflowType].name = "workflowType" +* parameter[workflowType].valueCoding = GEM_ERP_CS_FlowType#160 + +Instance: ExampleOperationCreateError +InstanceOf: OperationOutcome +Title: "Example Create operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #invalid + * details.text = "FHIR-Validation error" + * diagnostics = """ + Parameters.parameter[0].valueCoding: error: Code 140 is not part of CodeSystem + https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType (from profile: + http://hl7.org/fhir/StructureDefinition/Parameters|4.0.1); + Parameters.parameter[0].valueCoding: error: Code 140 is not part of CodeSystem + https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType (from profile: + http://hl7.org/fhir/StructureDefinition/Coding|4.0.1); + """ \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_DispenseParameters.fsh b/Resources/input/fsh/examples/Example_Operation_Dispense.fsh similarity index 53% rename from Resources/input/fsh/examples/Example_DispenseParameters.fsh rename to Resources/input/fsh/examples/Example_Operation_Dispense.fsh index 52c552e2..d2c9aa3f 100644 --- a/Resources/input/fsh/examples/Example_DispenseParameters.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Dispense.fsh @@ -44,3 +44,40 @@ Title: "Example Dispense Parameters" * part[medication] * name = "medication" * resource = Medication-Kombipackung + +Instance: ExampleDispenseOutputParametersSuccess +InstanceOf: GEM_ERP_PR_DispenseOperation_Output +Usage: #example +Title: "Example Dispense Parameters Response on Success" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[medicationDispense] + * name = "medicationDispense" + * resource = Example-MedicationDispense + * part[medication] + * name = "medication" + * resource = SumatripanMedication + +Instance: ExampleDispenseOutputParametersError +InstanceOf: GEM_ERP_PR_DispenseOperation_Output +Usage: #example +Title: "Example Dispense Parameters Response on Error" +* parameter[rxDispensation] + * name = "rxDispensation" + * part[operationOutcome] + * name = "operationOutcome" + * resource = ExampleOperationDispenseError + +Instance: ExampleOperationDispenseError +InstanceOf: OperationOutcome +Title: "Example Dispense operation error response" +Usage: #inline +* issue[+] + * severity = #error + * code = #invalid + * details.text = "FHIR-Validation error" + * diagnostics = """ + MedicationDispense.performer[0].actor.identifier.system: error: value must match fixed value: + "https://gematik.de/fhir/sid/telematik-id" (but is "https://fhir.de/fhir/sid/telematik-id") + (from profile: http://fhir.de/StructureDefinition/identifier-telematik-id|1.5.0); + """ \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Operation_Reject.fsh b/Resources/input/fsh/examples/Example_Operation_Reject.fsh new file mode 100644 index 00000000..0a03eadb --- /dev/null +++ b/Resources/input/fsh/examples/Example_Operation_Reject.fsh @@ -0,0 +1,8 @@ +Instance: ExampleOperationRejectError +InstanceOf: OperationOutcome +Title: "Example Reject operation error response" +Usage: #example +* issue[+] + * severity = #error + * code = #forbidden + * details.text = "Task not in status in progress, is: ready" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Parameters_Activate.fsh b/Resources/input/fsh/examples/Example_Parameters_Activate.fsh deleted file mode 100644 index b77bfe4c..00000000 --- a/Resources/input/fsh/examples/Example_Parameters_Activate.fsh +++ /dev/null @@ -1,6 +0,0 @@ -Instance: OperationActivateParametersInputExample -InstanceOf: GEM_ERP_PR_ActivateOperation_Input -Title: "Example Activate operation input parameters" -Usage: #example -* parameter[ePrescription].name = "ePrescription" -* parameter[ePrescription].resource = PrescriptionBinary diff --git a/Resources/input/fsh/examples/Example_Parameters_Close.fsh b/Resources/input/fsh/examples/Example_Parameters_Close.fsh deleted file mode 100644 index 09e434c1..00000000 --- a/Resources/input/fsh/examples/Example_Parameters_Close.fsh +++ /dev/null @@ -1,79 +0,0 @@ -Instance: ExampleCloseInputParameters -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense - * part[medication] - * name = "medication" - * resource = SumatripanMedication - -Instance: ExampleCloseInputParametersWithoutMedication -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense - -Instance: ExampleCloseInputParametersMultipleMedicationDispenses -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense - * part[medication] - * name = "medication" - * resource = SumatripanMedication -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense-2 - * part[medication] - * name = "medication" - * resource = Medication-Without-Strength-Code - -Instance: ExampleCloseInputParametersKombipackung -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense-Kombipackung - * part[medication] - * name = "medication" - * resource = Medication-Kombipackung - -Instance: ExampleCloseInputParametersRezeptur -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense-Rezeptur - * part[medication] - * name = "medication" - * resource = Medication-Rezeptur - -Instance: ExampleCloseInputParametersDiGA -InstanceOf: GEM_ERP_PR_CloseOperation_Input -Usage: #example -Title: "Example Close Parameters" -* parameter[rxDispensation] - * name = "rxDispensation" - * part[medicationDispense] - * name = "medicationDispense" - * resource = Example-MedicationDispense-DiGA-Name-And-VE-ID \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Parameters_Create.fsh b/Resources/input/fsh/examples/Example_Parameters_Create.fsh deleted file mode 100644 index d4ba4a02..00000000 --- a/Resources/input/fsh/examples/Example_Parameters_Create.fsh +++ /dev/null @@ -1,6 +0,0 @@ -Instance: OperationCreateParametersInputExample -InstanceOf: GEM_ERP_PR_CreateOperation_Input -Title: "$create Operation Parameters sample" -Usage: #example -* parameter[workflowType].name = "workflowType" -* parameter[workflowType].valueCoding = GEM_ERP_CS_FlowType#160 \ No newline at end of file From 0cc15c12211d85037fdce430d480c5516184dbb5 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 07:41:38 +0200 Subject: [PATCH 33/57] Fix and set names --- ...mpleOperationCloseInputParametersDiGA.json | 4 ++-- ...tructureDefinition-logMedDispenseDiGA.json | 8 +++---- .../Example_MedicationDispense_DiGA.fsh | 23 +++++++++---------- .../Example_Medication_Kombipackung.fsh | 2 +- .../fsh/examples/Example_Operation_Close.fsh | 2 +- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json index cbebd98d..ed774cbb 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json @@ -14,7 +14,7 @@ "name": "medicationDispense", "resource": { "resourceType": "MedicationDispense", - "id": "Example-MedicationDispense-DiGA-Name-And-VE-ID", + "id": "Example-MedicationDispense-DiGA-Name-And-PZN", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" @@ -29,7 +29,7 @@ "status": "completed", "medicationReference": { "identifier": { - "system": "https://fhir.bfarm.de/Identifier/DigaVeId", + "system": "http://fhir.de/CodeSystem/ifa/pzn", "value": "12345678" }, "display": "Gematico Diabetestherapie" diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json index 9502bdf6..5da1ff1f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json @@ -173,8 +173,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", + "id": "logMedDispenseDiGA.angabenZurDiGA.name", + "path": "logMedDispenseDiGA.angabenZurDiGA.name", "short": "Name der DiGA-Verordnungseinheit", "definition": "Name der DiGA-Verordnungseinheit", "min": 1, @@ -192,8 +192,8 @@ ] }, { - "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn", - "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.pzn", + "id": "logMedDispenseDiGA.angabenZurDiGA.pzn", + "path": "logMedDispenseDiGA.angabenZurDiGA.pzn", "short": "Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).", "definition": "Pharmazentralnummer als eindeutige Identifikationsnummer zu einer Verordnungseinheit einer digitalen Gesundheitsanwendung (PZN).", "min": 1, diff --git a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh index d13a1630..5e75459b 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh @@ -1,8 +1,7 @@ - -Instance: Example-MedicationDispense-DiGA-Name-And-VE-ID +Instance: Example-MedicationDispense-DiGA-Name-And-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Medication Dispense DiGA, Name and DiGA-VE-ID" +Title: "Medication Dispense DiGA, Name and PZN" Description: "Example of a Medication Dispense for DiGAs only stating the name of the DiGA." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" @@ -13,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://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-DeepLink @@ -31,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://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-NoRedeemCode @@ -107,14 +106,14 @@ Description: "When a redeem code is provided, the name of the DiGA is mandatory. * performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" -* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" +* medicationReference.identifier.system = $pzn * medicationReference.identifier.value = "12345678" -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-VE-ID +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing DiGA-VE-ID" -Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." +Title: "Invalid Medication Dispense DiGA. Missing DiGA-PZN" +Description: "When a redeem code is provided, the DiGA-PZN is mandatory." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[prescriptionID].value = "162.000.033.491.280.78" @@ -125,11 +124,11 @@ Description: "When a redeem code is provided, the DiGA-VE-ID is mandatory." * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-VE-ID +Instance: INVALID-Example-MedicationDispense-Missing-DiGA-Name-And-PZN InstanceOf: GEM_ERP_PR_MedicationDispense_DiGA Usage: #example -Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-VE-ID" -Description: "When a redeem code is provided, the Name and DiGA-VE-ID are mandatory." +Title: "Invalid Medication Dispense DiGA. Missing Name and DiGA-PZN" +Description: "When a redeem code is provided, the Name and DiGA-PZN are mandatory." * extension[redeemCode].valueString = "DE12345678901234" * identifier[prescriptionID].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[prescriptionID].value = "162.000.033.491.280.78" diff --git a/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh b/Resources/input/fsh/examples/Example_Medication_Kombipackung.fsh index 890ca078..262b1e33 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] = $pzn#1746517 "CROMO-RATIOPHARM Kombipackung" * status = #active * form.coding[kbvDarreichungsform].code = #KPG * form.text = "Kombipackung" diff --git a/Resources/input/fsh/examples/Example_Operation_Close.fsh b/Resources/input/fsh/examples/Example_Operation_Close.fsh index 4002e83b..71955de9 100644 --- a/Resources/input/fsh/examples/Example_Operation_Close.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Close.fsh @@ -76,7 +76,7 @@ Title: "Example Close Parameters" * name = "rxDispensation" * part[medicationDispense] * name = "medicationDispense" - * resource = Example-MedicationDispense-DiGA-Name-And-VE-ID + * resource = Example-MedicationDispense-DiGA-Name-And-PZN Instance: ExampleOperationCloseError InstanceOf: OperationOutcome From fa25e7d3aebf413883d5981364e73c4e28b3278a Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 08:01:12 +0200 Subject: [PATCH 34/57] Run with sushi 3.11 --- Resources/fsh-generated/fsh-index.json | 890 ++++++++++++++++++ Resources/fsh-generated/fsh-index.txt | 112 +++ ...eSystem-GEM-ERP-CS-AvailabilityStatus.json | 2 +- .../CodeSystem-GEM-ERP-CS-DocumentType.json | 2 +- .../CodeSystem-GEM-ERP-CS-FlowType.json | 2 +- ...odeSystem-GEM-ERP-CS-OrganizationType.json | 2 +- ...ctureDefinition-GEM-ERP-EX-AcceptDate.json | 7 - ...finition-GEM-ERP-EX-AvailabilityState.json | 7 - ...tureDefinition-GEM-ERP-EX-Beneficiary.json | 7 - ...ructureDefinition-GEM-ERP-EX-DeepLink.json | 8 +- ...ctureDefinition-GEM-ERP-EX-ExpiryDate.json | 7 - ...finition-GEM-ERP-EX-InsuranceProvider.json | 7 - ...ion-GEM-ERP-EX-LastMedicationDispense.json | 7 - ...Definition-GEM-ERP-EX-PackageQuantity.json | 7 - ...efinition-GEM-ERP-EX-PrescriptionType.json | 7 - ...ctureDefinition-GEM-ERP-EX-RedeemCode.json | 8 +- ...on-GEM-ERP-EX-SubstitutionAllowedType.json | 7 - ...finition-GEM-ERP-EX-SupplyOptionsType.json | 7 - ...eDefinition-GEM-ERP-PAR-OUT-OP-Accept.json | 22 - ...ctureDefinition-GEM-ERP-PR-AccessCode.json | 17 - ...ctureDefinition-GEM-ERP-PR-AuditEvent.json | 32 - ...reDefinition-GEM-ERP-PR-BfArMApproval.json | 27 - ...StructureDefinition-GEM-ERP-PR-Binary.json | 7 - ...StructureDefinition-GEM-ERP-PR-Bundle.json | 22 - ...tion-GEM-ERP-PR-Communication-DispReq.json | 17 - ...tion-GEM-ERP-PR-Communication-InfoReq.json | 17 - ...nition-GEM-ERP-PR-Communication-Reply.json | 17 - ...M-ERP-PR-Communication-Representative.json | 17 - ...tureDefinition-GEM-ERP-PR-Composition.json | 27 - ...StructureDefinition-GEM-ERP-PR-Device.json | 17 - ...StructureDefinition-GEM-ERP-PR-Digest.json | 7 - ...eDefinition-GEM-ERP-PR-PrescriptionId.json | 17 - ...StructureDefinition-GEM-ERP-PR-Secret.json | 17 - ...uctureDefinition-GEM-ERP-PR-Signature.json | 7 - .../StructureDefinition-GEM-ERP-PR-Task.json | 22 - ...on-gem-erp-pr-accept-operation-output.json | 12 - ...n-gem-erp-pr-activate-operation-input.json | 12 - ...-gem-erp-pr-activate-operation-output.json | 12 - ...tion-gem-erp-pr-close-operation-input.json | 12 - ...ion-gem-erp-pr-close-operation-output.json | 12 - ...ion-gem-erp-pr-create-operation-input.json | 12 - ...on-gem-erp-pr-create-operation-output.json | 12 - ...n-gem-erp-pr-dispense-operation-input.json | 12 - ...-gem-erp-pr-dispense-operation-output.json | 12 - .../StructureDefinition-logMedDispense.json | 8 +- ...tructureDefinition-logMedDispenseDiGA.json | 6 +- ...alueSet-GEM-ERP-VS-AvailabilityStatus.json | 2 +- .../ValueSet-GEM-ERP-VS-DocumentType.json | 2 +- .../ValueSet-GEM-ERP-VS-FlowType.json | 2 +- .../ValueSet-GEM-ERP-VS-OrganizationType.json | 2 +- .../ValueSet-GEM-ERP-VS-PerformerType.json | 2 +- Resources/input/fsh/aliases.fsh | 1 + 52 files changed, 1016 insertions(+), 522 deletions(-) create mode 100644 Resources/fsh-generated/fsh-index.json create mode 100644 Resources/fsh-generated/fsh-index.txt diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json new file mode 100644 index 00000000..0bfe4b42 --- /dev/null +++ b/Resources/fsh-generated/fsh-index.json @@ -0,0 +1,890 @@ +[ + { + "outputFile": "AuditEvent-9361863d-fec0-4ba9-8776-7905cf1b0cfa.json", + "fshName": "AuditEventSample", + "fshType": "Instance", + "fshFile": "examples/Example_AuditEvent.fsh", + "startLine": 2, + "endLine": 32 + }, + { + "outputFile": "Bundle-Bundle-AcceptOperation.json", + "fshName": "Bundle-AcceptOperation", + "fshType": "Instance", + "fshFile": "examples/Example_Bundle.fsh", + "startLine": 34, + "endLine": 45 + }, + { + "outputFile": "Bundle-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json", + "fshName": "ReceiptBundleQuittung", + "fshType": "Instance", + "fshFile": "examples/Example_Bundle.fsh", + "startLine": 10, + "endLine": 32 + }, + { + "outputFile": "CodeSystem-GEM-ERP-CS-AvailabilityStatus.json", + "fshName": "GEM_ERP_CS_AvailabilityStatus", + "fshType": "CodeSystem", + "fshFile": "codesystems/GEM_ERP_CS_AvailabilityStatus.fsh", + "startLine": 1, + "endLine": 12 + }, + { + "outputFile": "CodeSystem-GEM-ERP-CS-DocumentType.json", + "fshName": "GEM_ERP_CS_DocumentType", + "fshType": "CodeSystem", + "fshFile": "codesystems/GEM_ERP_CS_DocumentType.fsh", + "startLine": 1, + "endLine": 10 + }, + { + "outputFile": "CodeSystem-GEM-ERP-CS-FlowType.json", + "fshName": "GEM_ERP_CS_FlowType", + "fshType": "CodeSystem", + "fshFile": "codesystems/GEM_ERP_CS_FlowType.fsh", + "startLine": 1, + "endLine": 16 + }, + { + "outputFile": "CodeSystem-GEM-ERP-CS-OrganizationType.json", + "fshName": "GEM_ERP_CS_OrganizationType", + "fshType": "CodeSystem", + "fshFile": "codesystems/GEM_ERP_CS_OrganizationType.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json", + "fshName": "Communication_DispenseRequest_DiGA", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_DispReq.fsh", + "startLine": 20, + "endLine": 35 + }, + { + "outputFile": "Communication-7977a4ab-97a9-4d95-afb3-6c4c1e2ac596.json", + "fshName": "Communication_Reply", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_Reply.fsh", + "startLine": 2, + "endLine": 26 + }, + { + "outputFile": "Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json", + "fshName": "Communication_InformationRequest", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_InfoReq.fsh", + "startLine": 1, + "endLine": 35 + }, + { + "outputFile": "Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json", + "fshName": "Communication_DispenseRequest", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_DispReq.fsh", + "startLine": 2, + "endLine": 18 + }, + { + "outputFile": "Medication-Augentropfen.json", + "fshName": "Augentropfen", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Kombipackung.fsh", + "startLine": 19, + "endLine": 37 + }, + { + "outputFile": "Medication-Medication-Kombipackung.json", + "fshName": "Medication-Kombipackung", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Kombipackung.fsh", + "startLine": 2, + "endLine": 17 + }, + { + "outputFile": "Medication-Medication-Rezeptur-FD.json", + "fshName": "Medication-Rezeptur-FD", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur_FD.fsh", + "startLine": 2, + "endLine": 45 + }, + { + "outputFile": "Medication-Medication-Rezeptur.json", + "fshName": "Medication-Rezeptur", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur.fsh", + "startLine": 2, + "endLine": 41 + }, + { + "outputFile": "Medication-Medication-Without-Strength-Code.json", + "fshName": "Medication-Without-Strength-Code", + "fshType": "Instance", + "fshFile": "examples/Example_Medication.fsh", + "startLine": 26, + "endLine": 42 + }, + { + "outputFile": "Medication-MedicationDexpanthenol-FD.json", + "fshName": "MedicationDexpanthenol-FD", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur_FD.fsh", + "startLine": 57, + "endLine": 65 + }, + { + "outputFile": "Medication-MedicationDexpanthenol.json", + "fshName": "MedicationDexpanthenol", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur.fsh", + "startLine": 53, + "endLine": 61 + }, + { + "outputFile": "Medication-MedicationHydrocortison-FD.json", + "fshName": "MedicationHydrocortison-FD", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur_FD.fsh", + "startLine": 47, + "endLine": 55 + }, + { + "outputFile": "Medication-MedicationHydrocortison.json", + "fshName": "MedicationHydrocortison", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Rezeptur.fsh", + "startLine": 43, + "endLine": 51 + }, + { + "outputFile": "Medication-NasenSpray.json", + "fshName": "NasenSpray", + "fshType": "Instance", + "fshFile": "examples/Example_Medication_Kombipackung.fsh", + "startLine": 39, + "endLine": 57 + }, + { + "outputFile": "Medication-SumatripanMedication.json", + "fshName": "SumatripanMedication", + "fshType": "Instance", + "fshFile": "examples/Example_Medication.fsh", + "startLine": 2, + "endLine": 23 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-2.json", + "fshName": "Example-MedicationDispense-2", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense.fsh", + "startLine": 17, + "endLine": 30 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json", + "fshName": "Example-MedicationDispense-DiGA-DeepLink", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense_DiGA.fsh", + "startLine": 18, + "endLine": 34 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json", + "fshName": "Example-MedicationDispense-DiGA-Name-And-PZN", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense_DiGA.fsh", + "startLine": 1, + "endLine": 16 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json", + "fshName": "Example-MedicationDispense-DiGA-NoRedeemCode", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense_DiGA.fsh", + "startLine": 36, + "endLine": 49 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-Kombipackung.json", + "fshName": "Example-MedicationDispense-Kombipackung", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense.fsh", + "startLine": 32, + "endLine": 45 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense-Rezeptur.json", + "fshName": "Example-MedicationDispense-Rezeptur", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense.fsh", + "startLine": 47, + "endLine": 60 + }, + { + "outputFile": "MedicationDispense-Example-MedicationDispense.json", + "fshName": "Example-MedicationDispense", + "fshType": "Instance", + "fshFile": "examples/Example_MedicationDispense.fsh", + "startLine": 2, + "endLine": 15 + }, + { + "outputFile": "OperationDefinition-AbortOperation.json", + "fshName": "AbortOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Abort.fsh", + "startLine": 1, + "endLine": 23 + }, + { + "outputFile": "OperationDefinition-AcceptOperation.json", + "fshName": "AcceptOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Accept.fsh", + "startLine": 1, + "endLine": 25 + }, + { + "outputFile": "OperationDefinition-ActivateOperation.json", + "fshName": "ActivateOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Activate.fsh", + "startLine": 1, + "endLine": 26 + }, + { + "outputFile": "OperationDefinition-CloseOperation.json", + "fshName": "CloseOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Close.fsh", + "startLine": 1, + "endLine": 51 + }, + { + "outputFile": "OperationDefinition-CreateOperation.json", + "fshName": "CreateOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Create.fsh", + "startLine": 1, + "endLine": 28 + }, + { + "outputFile": "OperationDefinition-DispenseOperation.json", + "fshName": "DispenseOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Dispense.fsh", + "startLine": 1, + "endLine": 69 + }, + { + "outputFile": "OperationDefinition-RejectOperation.json", + "fshName": "RejectOperation", + "fshType": "Instance", + "fshFile": "operationdefinitions/GEM_ERP_OP_Reject.fsh", + "startLine": 1, + "endLine": 15 + }, + { + "outputFile": "OperationOutcome-ExampleOperationAbortErrorAVS.json", + "fshName": "ExampleOperationAbortErrorAVS", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Abort.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "OperationOutcome-ExampleOperationAbortErrorPVS.json", + "fshName": "ExampleOperationAbortErrorPVS", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Abort.fsh", + "startLine": 10, + "endLine": 17 + }, + { + "outputFile": "OperationOutcome-ExampleOperationAcceptError.json", + "fshName": "ExampleOperationAcceptError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Accept.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "OperationOutcome-ExampleOperationActivateError.json", + "fshName": "ExampleOperationActivateError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Activate.fsh", + "startLine": 8, + "endLine": 16 + }, + { + "outputFile": "OperationOutcome-ExampleOperationCloseError.json", + "fshName": "ExampleOperationCloseError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 81, + "endLine": 89 + }, + { + "outputFile": "OperationOutcome-ExampleOperationCreateError.json", + "fshName": "ExampleOperationCreateError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Create.fsh", + "startLine": 8, + "endLine": 16 + }, + { + "outputFile": "OperationOutcome-ExampleOperationRejectError.json", + "fshName": "ExampleOperationRejectError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Reject.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "Parameters-ExampleDispenseInputParameters.json", + "fshName": "ExampleDispenseInputParameters", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Dispense.fsh", + "startLine": 1, + "endLine": 12 + }, + { + "outputFile": "Parameters-ExampleDispenseInputParametersKombipackung.json", + "fshName": "ExampleDispenseInputParametersKombipackung", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Dispense.fsh", + "startLine": 35, + "endLine": 46 + }, + { + "outputFile": "Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json", + "fshName": "ExampleDispenseInputParametersMultipleMedicationDispenses", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Dispense.fsh", + "startLine": 14, + "endLine": 33 + }, + { + "outputFile": "Parameters-ExampleDispenseOutputParametersError.json", + "fshName": "ExampleDispenseOutputParametersError", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Dispense.fsh", + "startLine": 61, + "endLine": 69 + }, + { + "outputFile": "Parameters-ExampleDispenseOutputParametersSuccess.json", + "fshName": "ExampleDispenseOutputParametersSuccess", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Dispense.fsh", + "startLine": 48, + "endLine": 59 + }, + { + "outputFile": "Parameters-ExampleOperationActivateParametersInput.json", + "fshName": "ExampleOperationActivateParametersInput", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Activate.fsh", + "startLine": 1, + "endLine": 6 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParameters.json", + "fshName": "ExampleOperationCloseInputParameters", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 1, + "endLine": 12 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParametersDiGA.json", + "fshName": "ExampleOperationCloseInputParametersDiGA", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 71, + "endLine": 79 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParametersKombipackung.json", + "fshName": "ExampleOperationCloseInputParametersKombipackung", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 45, + "endLine": 56 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json", + "fshName": "ExampleOperationCloseInputParametersMultipleMedicationDispenses", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 24, + "endLine": 43 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParametersRezeptur.json", + "fshName": "ExampleOperationCloseInputParametersRezeptur", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 58, + "endLine": 69 + }, + { + "outputFile": "Parameters-ExampleOperationCloseInputParametersWithoutMedication.json", + "fshName": "ExampleOperationCloseInputParametersWithoutMedication", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Close.fsh", + "startLine": 14, + "endLine": 22 + }, + { + "outputFile": "Parameters-OperationCreateParametersInputExample.json", + "fshName": "OperationCreateParametersInputExample", + "fshType": "Instance", + "fshFile": "examples/Example_Operation_Create.fsh", + "startLine": 1, + "endLine": 6 + }, + { + "outputFile": "Provenance-64d5081e-8d65-11ec-b909-0242ac120002.json", + "fshName": "PractitionersNarcoticsApproval", + "fshType": "Instance", + "fshFile": "examples/Example_Provenance.fsh", + "startLine": 2, + "endLine": 21 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-AcceptDate.json", + "fshName": "GEM_ERP_EX_AcceptDate", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_AcceptDate.fsh", + "startLine": 1, + "endLine": 10 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-AvailabilityState.json", + "fshName": "GEM_ERP_EX_AvailabilityState", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_AvailabilityState.fsh", + "startLine": 1, + "endLine": 10 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-Beneficiary.json", + "fshName": "GEM_ERP_EX_Beneficiary", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_Beneficiary.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-DeepLink.json", + "fshName": "GEM_ERP_EX_DeepLink", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_DeepLink.fsh", + "startLine": 1, + "endLine": 7 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-ExpiryDate.json", + "fshName": "GEM_ERP_EX_ExpiryDate", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_ExpiryDate.fsh", + "startLine": 1, + "endLine": 10 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-InsuranceProvider.json", + "fshName": "GEM_ERP_EX_InsuranceProvider", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_InsuranceProvider.fsh", + "startLine": 1, + "endLine": 7 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json", + "fshName": "GEM_ERP_EX_LastMedicationDispense", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_LastMedicationDispense.fsh", + "startLine": 1, + "endLine": 12 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-PackageQuantity.json", + "fshName": "GEM_ERP_EX_PackageQuantity", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_PackageQuantity.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-PrescriptionType.json", + "fshName": "GEM_ERP_EX_PrescriptionType", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_PrescriptionType.fsh", + "startLine": 1, + "endLine": 16 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-RedeemCode.json", + "fshName": "GEM_ERP_EX_RedeemCode", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_RedeemCode.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json", + "fshName": "GEM_ERP_EX_SubstitutionAllowedType", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_SubstitutionAllowedType.fsh", + "startLine": 1, + "endLine": 11 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json", + "fshName": "GEM_ERP_EX_SupplyOptionsType", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERP_EX_SupplyOptionsType.fsh", + "startLine": 1, + "endLine": 26 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json", + "fshName": "GEM_ERP_OUT_OP_Accept_Bundle", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh", + "startLine": 1, + "endLine": 16 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-AccessCode.json", + "fshName": "GEM_ERP_PR_AccessCode", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_AccessCode.fsh", + "startLine": 1, + "endLine": 11 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-AuditEvent.json", + "fshName": "GEM_ERP_PR_AuditEvent", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_AuditEvent.fsh", + "startLine": 1, + "endLine": 32 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-BfArMApproval.json", + "fshName": "GEM_ERP_PR_BfArMApproval", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_BfArMApproval.fsh", + "startLine": 1, + "endLine": 71 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Binary.json", + "fshName": "GEM_ERP_PR_Binary", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Binary.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Bundle.json", + "fshName": "GEM_ERP_PR_Bundle", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Bundle.fsh", + "startLine": 1, + "endLine": 49 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Communication-DispReq.json", + "fshName": "GEM_ERP_PR_Communication_DispReq", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Communication_DispReq.fsh", + "startLine": 1, + "endLine": 40 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json", + "fshName": "GEM_ERP_PR_Communication_InfoReq", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Communication_InfoReq.fsh", + "startLine": 1, + "endLine": 54 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Communication-Reply.json", + "fshName": "GEM_ERP_PR_Communication_Reply", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Communication_Reply.fsh", + "startLine": 1, + "endLine": 51 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Communication-Representative.json", + "fshName": "GEM_ERP_PR_Communication_Representative", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Communication_Representative.fsh", + "startLine": 1, + "endLine": 34 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Composition.json", + "fshName": "GEM_ERP_PR_Composition", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Composition.fsh", + "startLine": 1, + "endLine": 44 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Device.json", + "fshName": "GEM_ERP_PR_Device", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Device.fsh", + "startLine": 1, + "endLine": 11 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Digest.json", + "fshName": "GEM_ERP_PR_Digest", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Digest.fsh", + "startLine": 1, + "endLine": 8 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Medication.json", + "fshName": "GEM_ERP_PR_Medication", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Medication.fsh", + "startLine": 1, + "endLine": 22 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json", + "fshName": "GEM_ERP_PR_MedicationDispense_DiGA", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh", + "startLine": 1, + "endLine": 57 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-MedicationDispense.json", + "fshName": "GEM_ERP_PR_MedicationDispense", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_MedicationDispense.fsh", + "startLine": 1, + "endLine": 26 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-PrescriptionId.json", + "fshName": "GEM_ERP_PR_PrescriptionId", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_PrescriptionId.fsh", + "startLine": 1, + "endLine": 13 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Secret.json", + "fshName": "GEM_ERP_PR_Secret", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Secret.fsh", + "startLine": 1, + "endLine": 12 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Signature.json", + "fshName": "GEM_ERP_PR_Signature", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Signature.fsh", + "startLine": 1, + "endLine": 23 + }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Task.json", + "fshName": "GEM_ERP_PR_Task", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Task.fsh", + "startLine": 1, + "endLine": 77 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-accept-operation-output.json", + "fshName": "GEM_ERP_PR_AcceptOperation_Output", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_AcceptOperation_Output.fsh", + "startLine": 1, + "endLine": 22 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-activate-operation-input.json", + "fshName": "GEM_ERP_PR_ActivateOperation_Input", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_ActivateOperation_Input.fsh", + "startLine": 1, + "endLine": 20 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-activate-operation-output.json", + "fshName": "GEM_ERP_PR_ActivateOperation_Output", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_ActivateOperation_Output.fsh", + "startLine": 1, + "endLine": 22 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-close-operation-input.json", + "fshName": "GEM_ERP_PR_CloseOperation_Input", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_CloseOperation_Input.fsh", + "startLine": 1, + "endLine": 41 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-close-operation-output.json", + "fshName": "GEM_ERP_PR_CloseOperation_Output", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_CloseOperation_Output.fsh", + "startLine": 1, + "endLine": 22 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-create-operation-input.json", + "fshName": "GEM_ERP_PR_CreateOperation_Input", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_CreateOperation_Input.fsh", + "startLine": 1, + "endLine": 20 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-create-operation-output.json", + "fshName": "GEM_ERP_PR_CreateOperation_Output", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_CreateOperation_Output.fsh", + "startLine": 1, + "endLine": 22 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-dispense-operation-input.json", + "fshName": "GEM_ERP_PR_DispenseOperation_Input", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_DispenseOperation_Input.fsh", + "startLine": 1, + "endLine": 41 + }, + { + "outputFile": "StructureDefinition-gem-erp-pr-dispense-operation-output.json", + "fshName": "GEM_ERP_PR_DispenseOperation_Output", + "fshType": "Profile", + "fshFile": "parameters/GEM_ERP_PR_DispenseOperation_Output.fsh", + "startLine": 1, + "endLine": 48 + }, + { + "outputFile": "StructureDefinition-logMedDispense.json", + "fshName": "GEM_ERP_LOG_MedicationDispense", + "fshType": "Logical", + "fshFile": "logicalmodels/logical-medication-dispense.fsh", + "startLine": 1, + "endLine": 113 + }, + { + "outputFile": "StructureDefinition-logMedDispenseDiGA.json", + "fshName": "GEM_ERP_LOG_MedicationDispense_DiGA", + "fshType": "Logical", + "fshFile": "logicalmodels/logical-medication-dispense-diga.fsh", + "startLine": 1, + "endLine": 19 + }, + { + "outputFile": "Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json", + "fshName": "TaskInClosedState", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 144, + "endLine": 173 + }, + { + "outputFile": "Task-607255ed-ce41-47fc-aad3-cfce1c39963f.json", + "fshName": "TaskInReadyState", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 26, + "endLine": 53 + }, + { + "outputFile": "Task-9b48f82c-9c11-4a57-aa72-a805f9537a82.json", + "fshName": "TaskIn-ProgressState-Dispensed", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 82, + "endLine": 111 + }, + { + "outputFile": "Task-b12eb5f7-91ce-4887-93c7-800454601377.json", + "fshName": "TaskInCreatedState", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 2, + "endLine": 24 + }, + { + "outputFile": "Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json", + "fshName": "TaskIn-ProgressState", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 55, + "endLine": 80 + }, + { + "outputFile": "Task-f5c21409-b84b-4125-8649-5630a00906b1.json", + "fshName": "TaskIn-ProgressState-Dispensed-Multiple-MedicationDispenses", + "fshType": "Instance", + "fshFile": "examples/Example_Task.fsh", + "startLine": 113, + "endLine": 142 + }, + { + "outputFile": "ValueSet-GEM-ERP-VS-AvailabilityStatus.json", + "fshName": "GEM_ERP_VS_AvailabilityStatus", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERP_VS_AvailabilityStatus.fsh", + "startLine": 1, + "endLine": 6 + }, + { + "outputFile": "ValueSet-GEM-ERP-VS-DocumentType.json", + "fshName": "GEM_ERP_VS_DocumentType", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERP_VS_DocumentType.fsh", + "startLine": 1, + "endLine": 11 + }, + { + "outputFile": "ValueSet-GEM-ERP-VS-FlowType.json", + "fshName": "GEM_ERP_VS_FlowType", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERP_VS_FlowType.fsh", + "startLine": 1, + "endLine": 6 + }, + { + "outputFile": "ValueSet-GEM-ERP-VS-OrganizationType.json", + "fshName": "GEM_ERP_VS_OrganizationType", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERP_VS_OrganizationType.fsh", + "startLine": 1, + "endLine": 6 + }, + { + "outputFile": "ValueSet-GEM-ERP-VS-PerformerType.json", + "fshName": "PerformerTypeVS", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERP_VS_PerformerType.fsh", + "startLine": 5, + "endLine": 16 + } +] diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt new file mode 100644 index 00000000..d302c782 --- /dev/null +++ b/Resources/fsh-generated/fsh-index.txt @@ -0,0 +1,112 @@ +Output File Name Type FSH File Lines +AuditEvent-9361863d-fec0-4ba9-8776-7905cf1b0cfa.json AuditEventSample Instance examples/Example_AuditEvent.fsh 2 - 32 +Bundle-Bundle-AcceptOperation.json Bundle-AcceptOperation Instance examples/Example_Bundle.fsh 34 - 45 +Bundle-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json ReceiptBundleQuittung Instance examples/Example_Bundle.fsh 10 - 32 +CodeSystem-GEM-ERP-CS-AvailabilityStatus.json GEM_ERP_CS_AvailabilityStatus CodeSystem codesystems/GEM_ERP_CS_AvailabilityStatus.fsh 1 - 12 +CodeSystem-GEM-ERP-CS-DocumentType.json GEM_ERP_CS_DocumentType CodeSystem codesystems/GEM_ERP_CS_DocumentType.fsh 1 - 10 +CodeSystem-GEM-ERP-CS-FlowType.json GEM_ERP_CS_FlowType CodeSystem codesystems/GEM_ERP_CS_FlowType.fsh 1 - 16 +CodeSystem-GEM-ERP-CS-OrganizationType.json GEM_ERP_CS_OrganizationType CodeSystem codesystems/GEM_ERP_CS_OrganizationType.fsh 1 - 8 +Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json Communication_DispenseRequest_DiGA Instance examples/Example_Communication_DispReq.fsh 20 - 35 +Communication-7977a4ab-97a9-4d95-afb3-6c4c1e2ac596.json Communication_Reply Instance examples/Example_Communication_Reply.fsh 2 - 26 +Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json Communication_InformationRequest Instance examples/Example_Communication_InfoReq.fsh 1 - 35 +Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json Communication_DispenseRequest Instance examples/Example_Communication_DispReq.fsh 2 - 18 +Medication-Augentropfen.json Augentropfen Instance examples/Example_Medication_Kombipackung.fsh 19 - 37 +Medication-Medication-Kombipackung.json Medication-Kombipackung Instance examples/Example_Medication_Kombipackung.fsh 2 - 17 +Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 +Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 +Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 42 +Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 +Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 +Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 +Medication-MedicationHydrocortison.json MedicationHydrocortison Instance examples/Example_Medication_Rezeptur.fsh 43 - 51 +Medication-NasenSpray.json NasenSpray Instance examples/Example_Medication_Kombipackung.fsh 39 - 57 +Medication-SumatripanMedication.json SumatripanMedication Instance examples/Example_Medication.fsh 2 - 23 +MedicationDispense-Example-MedicationDispense-2.json Example-MedicationDispense-2 Instance examples/Example_MedicationDispense.fsh 17 - 30 +MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json Example-MedicationDispense-DiGA-DeepLink Instance examples/Example_MedicationDispense_DiGA.fsh 18 - 34 +MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json Example-MedicationDispense-DiGA-Name-And-PZN Instance examples/Example_MedicationDispense_DiGA.fsh 1 - 16 +MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json Example-MedicationDispense-DiGA-NoRedeemCode Instance examples/Example_MedicationDispense_DiGA.fsh 36 - 49 +MedicationDispense-Example-MedicationDispense-Kombipackung.json Example-MedicationDispense-Kombipackung Instance examples/Example_MedicationDispense.fsh 32 - 45 +MedicationDispense-Example-MedicationDispense-Rezeptur.json Example-MedicationDispense-Rezeptur Instance examples/Example_MedicationDispense.fsh 47 - 60 +MedicationDispense-Example-MedicationDispense.json Example-MedicationDispense Instance examples/Example_MedicationDispense.fsh 2 - 15 +OperationDefinition-AbortOperation.json AbortOperation Instance operationdefinitions/GEM_ERP_OP_Abort.fsh 1 - 23 +OperationDefinition-AcceptOperation.json AcceptOperation Instance operationdefinitions/GEM_ERP_OP_Accept.fsh 1 - 25 +OperationDefinition-ActivateOperation.json ActivateOperation Instance operationdefinitions/GEM_ERP_OP_Activate.fsh 1 - 26 +OperationDefinition-CloseOperation.json CloseOperation Instance operationdefinitions/GEM_ERP_OP_Close.fsh 1 - 51 +OperationDefinition-CreateOperation.json CreateOperation Instance operationdefinitions/GEM_ERP_OP_Create.fsh 1 - 28 +OperationDefinition-DispenseOperation.json DispenseOperation Instance operationdefinitions/GEM_ERP_OP_Dispense.fsh 1 - 69 +OperationDefinition-RejectOperation.json RejectOperation Instance operationdefinitions/GEM_ERP_OP_Reject.fsh 1 - 15 +OperationOutcome-ExampleOperationAbortErrorAVS.json ExampleOperationAbortErrorAVS Instance examples/Example_Operation_Abort.fsh 1 - 8 +OperationOutcome-ExampleOperationAbortErrorPVS.json ExampleOperationAbortErrorPVS Instance examples/Example_Operation_Abort.fsh 10 - 17 +OperationOutcome-ExampleOperationAcceptError.json ExampleOperationAcceptError Instance examples/Example_Operation_Accept.fsh 1 - 8 +OperationOutcome-ExampleOperationActivateError.json ExampleOperationActivateError Instance examples/Example_Operation_Activate.fsh 8 - 16 +OperationOutcome-ExampleOperationCloseError.json ExampleOperationCloseError Instance examples/Example_Operation_Close.fsh 81 - 89 +OperationOutcome-ExampleOperationCreateError.json ExampleOperationCreateError Instance examples/Example_Operation_Create.fsh 8 - 16 +OperationOutcome-ExampleOperationRejectError.json ExampleOperationRejectError Instance examples/Example_Operation_Reject.fsh 1 - 8 +Parameters-ExampleDispenseInputParameters.json ExampleDispenseInputParameters Instance examples/Example_Operation_Dispense.fsh 1 - 12 +Parameters-ExampleDispenseInputParametersKombipackung.json ExampleDispenseInputParametersKombipackung Instance examples/Example_Operation_Dispense.fsh 35 - 46 +Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json ExampleDispenseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Dispense.fsh 14 - 33 +Parameters-ExampleDispenseOutputParametersError.json ExampleDispenseOutputParametersError Instance examples/Example_Operation_Dispense.fsh 61 - 69 +Parameters-ExampleDispenseOutputParametersSuccess.json ExampleDispenseOutputParametersSuccess Instance examples/Example_Operation_Dispense.fsh 48 - 59 +Parameters-ExampleOperationActivateParametersInput.json ExampleOperationActivateParametersInput Instance examples/Example_Operation_Activate.fsh 1 - 6 +Parameters-ExampleOperationCloseInputParameters.json ExampleOperationCloseInputParameters Instance examples/Example_Operation_Close.fsh 1 - 12 +Parameters-ExampleOperationCloseInputParametersDiGA.json ExampleOperationCloseInputParametersDiGA Instance examples/Example_Operation_Close.fsh 71 - 79 +Parameters-ExampleOperationCloseInputParametersKombipackung.json ExampleOperationCloseInputParametersKombipackung Instance examples/Example_Operation_Close.fsh 45 - 56 +Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json ExampleOperationCloseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Close.fsh 24 - 43 +Parameters-ExampleOperationCloseInputParametersRezeptur.json ExampleOperationCloseInputParametersRezeptur Instance examples/Example_Operation_Close.fsh 58 - 69 +Parameters-ExampleOperationCloseInputParametersWithoutMedication.json ExampleOperationCloseInputParametersWithoutMedication Instance examples/Example_Operation_Close.fsh 14 - 22 +Parameters-OperationCreateParametersInputExample.json OperationCreateParametersInputExample Instance examples/Example_Operation_Create.fsh 1 - 6 +Provenance-64d5081e-8d65-11ec-b909-0242ac120002.json PractitionersNarcoticsApproval Instance examples/Example_Provenance.fsh 2 - 21 +StructureDefinition-GEM-ERP-EX-AcceptDate.json GEM_ERP_EX_AcceptDate Extension extensions/GEM_ERP_EX_AcceptDate.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-AvailabilityState.json GEM_ERP_EX_AvailabilityState Extension extensions/GEM_ERP_EX_AvailabilityState.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-Beneficiary.json GEM_ERP_EX_Beneficiary Extension extensions/GEM_ERP_EX_Beneficiary.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-DeepLink.json GEM_ERP_EX_DeepLink Extension extensions/GEM_ERP_EX_DeepLink.fsh 1 - 7 +StructureDefinition-GEM-ERP-EX-ExpiryDate.json GEM_ERP_EX_ExpiryDate Extension extensions/GEM_ERP_EX_ExpiryDate.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-InsuranceProvider.json GEM_ERP_EX_InsuranceProvider Extension extensions/GEM_ERP_EX_InsuranceProvider.fsh 1 - 7 +StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json GEM_ERP_EX_LastMedicationDispense Extension extensions/GEM_ERP_EX_LastMedicationDispense.fsh 1 - 12 +StructureDefinition-GEM-ERP-EX-PackageQuantity.json GEM_ERP_EX_PackageQuantity Extension extensions/GEM_ERP_EX_PackageQuantity.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-PrescriptionType.json GEM_ERP_EX_PrescriptionType Extension extensions/GEM_ERP_EX_PrescriptionType.fsh 1 - 16 +StructureDefinition-GEM-ERP-EX-RedeemCode.json GEM_ERP_EX_RedeemCode Extension extensions/GEM_ERP_EX_RedeemCode.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json GEM_ERP_EX_SubstitutionAllowedType Extension extensions/GEM_ERP_EX_SubstitutionAllowedType.fsh 1 - 11 +StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json GEM_ERP_EX_SupplyOptionsType Extension extensions/GEM_ERP_EX_SupplyOptionsType.fsh 1 - 26 +StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json GEM_ERP_OUT_OP_Accept_Bundle Profile parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh 1 - 16 +StructureDefinition-GEM-ERP-PR-AccessCode.json GEM_ERP_PR_AccessCode Profile profiles/GEM_ERP_PR_AccessCode.fsh 1 - 11 +StructureDefinition-GEM-ERP-PR-AuditEvent.json GEM_ERP_PR_AuditEvent Profile profiles/GEM_ERP_PR_AuditEvent.fsh 1 - 32 +StructureDefinition-GEM-ERP-PR-BfArMApproval.json GEM_ERP_PR_BfArMApproval Profile profiles/GEM_ERP_PR_BfArMApproval.fsh 1 - 71 +StructureDefinition-GEM-ERP-PR-Binary.json GEM_ERP_PR_Binary Profile profiles/GEM_ERP_PR_Binary.fsh 1 - 8 +StructureDefinition-GEM-ERP-PR-Bundle.json GEM_ERP_PR_Bundle Profile profiles/GEM_ERP_PR_Bundle.fsh 1 - 49 +StructureDefinition-GEM-ERP-PR-Communication-DispReq.json GEM_ERP_PR_Communication_DispReq Profile profiles/GEM_ERP_PR_Communication_DispReq.fsh 1 - 40 +StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json GEM_ERP_PR_Communication_InfoReq Profile profiles/GEM_ERP_PR_Communication_InfoReq.fsh 1 - 54 +StructureDefinition-GEM-ERP-PR-Communication-Reply.json GEM_ERP_PR_Communication_Reply Profile profiles/GEM_ERP_PR_Communication_Reply.fsh 1 - 51 +StructureDefinition-GEM-ERP-PR-Communication-Representative.json GEM_ERP_PR_Communication_Representative Profile profiles/GEM_ERP_PR_Communication_Representative.fsh 1 - 34 +StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 +StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 +StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 +StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 +StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 +StructureDefinition-GEM-ERP-PR-PrescriptionId.json GEM_ERP_PR_PrescriptionId Profile profiles/GEM_ERP_PR_PrescriptionId.fsh 1 - 13 +StructureDefinition-GEM-ERP-PR-Secret.json GEM_ERP_PR_Secret Profile profiles/GEM_ERP_PR_Secret.fsh 1 - 12 +StructureDefinition-GEM-ERP-PR-Signature.json GEM_ERP_PR_Signature Profile profiles/GEM_ERP_PR_Signature.fsh 1 - 23 +StructureDefinition-GEM-ERP-PR-Task.json GEM_ERP_PR_Task Profile profiles/GEM_ERP_PR_Task.fsh 1 - 77 +StructureDefinition-gem-erp-pr-accept-operation-output.json GEM_ERP_PR_AcceptOperation_Output Profile parameters/GEM_ERP_PR_AcceptOperation_Output.fsh 1 - 22 +StructureDefinition-gem-erp-pr-activate-operation-input.json GEM_ERP_PR_ActivateOperation_Input Profile parameters/GEM_ERP_PR_ActivateOperation_Input.fsh 1 - 20 +StructureDefinition-gem-erp-pr-activate-operation-output.json GEM_ERP_PR_ActivateOperation_Output Profile parameters/GEM_ERP_PR_ActivateOperation_Output.fsh 1 - 22 +StructureDefinition-gem-erp-pr-close-operation-input.json GEM_ERP_PR_CloseOperation_Input Profile parameters/GEM_ERP_PR_CloseOperation_Input.fsh 1 - 41 +StructureDefinition-gem-erp-pr-close-operation-output.json GEM_ERP_PR_CloseOperation_Output Profile parameters/GEM_ERP_PR_CloseOperation_Output.fsh 1 - 22 +StructureDefinition-gem-erp-pr-create-operation-input.json GEM_ERP_PR_CreateOperation_Input Profile parameters/GEM_ERP_PR_CreateOperation_Input.fsh 1 - 20 +StructureDefinition-gem-erp-pr-create-operation-output.json GEM_ERP_PR_CreateOperation_Output Profile parameters/GEM_ERP_PR_CreateOperation_Output.fsh 1 - 22 +StructureDefinition-gem-erp-pr-dispense-operation-input.json GEM_ERP_PR_DispenseOperation_Input Profile parameters/GEM_ERP_PR_DispenseOperation_Input.fsh 1 - 41 +StructureDefinition-gem-erp-pr-dispense-operation-output.json GEM_ERP_PR_DispenseOperation_Output Profile parameters/GEM_ERP_PR_DispenseOperation_Output.fsh 1 - 48 +StructureDefinition-logMedDispense.json GEM_ERP_LOG_MedicationDispense Logical logicalmodels/logical-medication-dispense.fsh 1 - 113 +StructureDefinition-logMedDispenseDiGA.json GEM_ERP_LOG_MedicationDispense_DiGA Logical logicalmodels/logical-medication-dispense-diga.fsh 1 - 19 +Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json TaskInClosedState Instance examples/Example_Task.fsh 144 - 173 +Task-607255ed-ce41-47fc-aad3-cfce1c39963f.json TaskInReadyState Instance examples/Example_Task.fsh 26 - 53 +Task-9b48f82c-9c11-4a57-aa72-a805f9537a82.json TaskIn-ProgressState-Dispensed Instance examples/Example_Task.fsh 82 - 111 +Task-b12eb5f7-91ce-4887-93c7-800454601377.json TaskInCreatedState Instance examples/Example_Task.fsh 2 - 24 +Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json TaskIn-ProgressState Instance examples/Example_Task.fsh 55 - 80 +Task-f5c21409-b84b-4125-8649-5630a00906b1.json TaskIn-ProgressState-Dispensed-Multiple-MedicationDispenses Instance examples/Example_Task.fsh 113 - 142 +ValueSet-GEM-ERP-VS-AvailabilityStatus.json GEM_ERP_VS_AvailabilityStatus ValueSet valuesets/GEM_ERP_VS_AvailabilityStatus.fsh 1 - 6 +ValueSet-GEM-ERP-VS-DocumentType.json GEM_ERP_VS_DocumentType ValueSet valuesets/GEM_ERP_VS_DocumentType.fsh 1 - 11 +ValueSet-GEM-ERP-VS-FlowType.json GEM_ERP_VS_FlowType ValueSet valuesets/GEM_ERP_VS_FlowType.fsh 1 - 6 +ValueSet-GEM-ERP-VS-OrganizationType.json GEM_ERP_VS_OrganizationType ValueSet valuesets/GEM_ERP_VS_OrganizationType.fsh 1 - 6 +ValueSet-GEM-ERP-VS-PerformerType.json PerformerTypeVS ValueSet valuesets/GEM_ERP_VS_PerformerType.fsh 5 - 16 \ No newline at end of file diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json index b835727a..62aead1d 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json @@ -6,6 +6,7 @@ "id": "GEM-ERP-CS-AvailabilityStatus", "title": "CodeSystem of AvailabilityStatus", "description": "Type of the availability status for medication availability request.", + "version": "1.4", "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_AvailabilityStatus", "concept": [ { @@ -33,7 +34,6 @@ "display": "unbekannt" } ], - "version": "1.4", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json index 5a24f309..bf041fad 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json @@ -6,6 +6,7 @@ "id": "GEM-ERP-CS-DocumentType", "title": "CodeSystem of Documenttypes", "description": "Type of document depending on the recipient of the Bundle.", + "version": "1.4", "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType", "concept": [ { @@ -25,7 +26,6 @@ "display": "Medication Dispense" } ], - "version": "1.4", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json index 20153ed8..431b881d 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json @@ -6,6 +6,7 @@ "id": "GEM-ERP-CS-FlowType", "title": "CodeSystem of Flowtypes", "description": "Shows the different types of the ePrescription according to the prescription forms.", + "version": "1.4", "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", "concept": [ { @@ -49,7 +50,6 @@ "display": "reserviert für Pharmazeutische Dienstleistungen bzw. Impfungen durch Apotheker" } ], - "version": "1.4", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json index 3b83a9aa..28e77cef 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json @@ -6,6 +6,7 @@ "id": "GEM-ERP-CS-OrganizationType", "title": "CodeSystem of Organizationtype Codes", "description": "Type of Organiziation where to get e-prescriptions dispensed", + "version": "1.4", "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_OrganizationType", "concept": [ { @@ -17,7 +18,6 @@ "display": "Kostenträger" } ], - "version": "1.4", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json index e607b490..982fcdd4 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json @@ -9,13 +9,6 @@ "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It stores the Date till when an insurance company will accept and pay the prescription.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json index 009a31f3..9079b256 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json @@ -7,13 +7,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json index 81119e05..8f96af30 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json @@ -8,13 +8,6 @@ "date": "2024-07-15", "description": "The beneficiary (e.g. pharmacy) of the erx-receipt that is created when the ePrescription-workflow finishes", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json index db34beac..47932afc 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json @@ -2,18 +2,12 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-DeepLink", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink", + "version": "1.4.0-rc2", "name": "GEM_ERP_EX_DeepLink", "title": "DiGA-DeepLink", "status": "draft", "description": "Contains information regarding deep link for a DiGA.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json index 31b67686..5018ab84 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json @@ -9,13 +9,6 @@ "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It shows the presciption expiry date.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json index 073bf22b..1ac14a01 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json @@ -8,13 +8,6 @@ "date": "2024-07-15", "description": "IK-number (Instituskennzeichen) of Insurance Provider covering the requested medication", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json index f2958e1d..23ec1b16 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json @@ -9,13 +9,6 @@ "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It shows the timestamp of the last dispense.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json index bf8da25b..0c81bb0e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json @@ -7,13 +7,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json index ce46555e..9714993e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json @@ -8,13 +8,6 @@ "date": "2024-07-15", "description": "Definies the Type of a prescription.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json index 979456e2..0ab119ae 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json @@ -2,18 +2,12 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-RedeemCode", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", + "version": "1.4.0-rc2", "name": "GEM_ERP_EX_RedeemCode", "title": "DiGA-RedeemCode", "status": "draft", "description": "States the redeem code for a DiGA.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json index 9a7ccdee..de707910 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json @@ -7,13 +7,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json index 1024b53b..5cb42ca1 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json @@ -7,13 +7,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json index b258141f..6a6f61cf 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json @@ -7,28 +7,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Bundle", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json index e2966f72..d51537df 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json @@ -9,23 +9,6 @@ "date": "2024-07-15", "description": "The AccessCode is a generated secret, that grants access to an ePrescription resource, eg. Task", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "servd", - "uri": "http://www.omg.org/spec/ServD/1.0/", - "name": "ServD" - } - ], "kind": "complex-type", "abstract": false, "type": "Identifier", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json index aab5420f..8cf3e526 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json @@ -11,38 +11,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "dicom", - "uri": "http://nema.org/dicom", - "name": "DICOM Tag Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "w3c.prov", - "uri": "http://www.w3.org/ns/prov", - "name": "W3C PROV" - }, - { - "identity": "fhirprovenance", - "uri": "http://hl7.org/fhir/provenance", - "name": "FHIR Provenance Mapping" - } - ], "kind": "resource", "abstract": false, "type": "AuditEvent", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json index 92dfb9b1..a3d6e72c 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json @@ -9,33 +9,6 @@ "date": "2024-07-15", "description": "On serverside validton of prescription (QES, FHIR-validity, etc.) the eprescription server requests authorization for narcotics within the doctor s quota. If approved, the server returns a signed Provenance for documentation purpose", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w3c.prov", - "uri": "http://www.w3.org/ns/prov", - "name": "W3C PROV" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "fhirauditevent", - "uri": "http://hl7.org/fhir/auditevent", - "name": "FHIR AuditEvent Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Provenance", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json index ecca743f..dec19cec 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json @@ -9,13 +9,6 @@ "date": "2024-07-15", "description": "PCKS7 signed ePrescription Bundle or Receipt", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Binary", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json index 1da126f7..3e7a2238 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json @@ -9,28 +9,6 @@ "date": "2024-07-15", "description": "A document style representation of the receipt (complete, self-contained, signed)", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Bundle", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json index 3612fa2d..8d3c01fa 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json @@ -9,23 +9,6 @@ "date": "2024-07-15", "description": "Ressource used for the communication of dispense request between patient/representative and provider based on ePrescription", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json index 0902c0fb..624d3369 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json @@ -12,23 +12,6 @@ "date": "2024-07-15", "description": "Ressource used for the communication of informative requests between patient and provider.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json index ea5a66fa..187607e9 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json @@ -12,23 +12,6 @@ "date": "2024-07-15", "description": "Ressource used for the communication of the reply to dispense/info request from provider to patient/representative", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json index 88388e23..f026a7d3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json @@ -12,23 +12,6 @@ "date": "2024-07-15", "description": "Ressource used for the communication between patients and their representative pertaining to an ePrescription", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json index 5e2c71d3..aadc59d3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json @@ -12,33 +12,6 @@ "date": "2024-07-15", "description": "Upon completion of the ePrescription workflow, the prescription filler receives a signed receipt for billing and verification purposes.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "cda", - "uri": "http://hl7.org/v3/cda", - "name": "CDA (R2)" - }, - { - "identity": "fhirdocumentreference", - "uri": "http://hl7.org/fhir/documentreference", - "name": "FHIR DocumentReference" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Composition", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json index 7df9105a..272aeaeb 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json @@ -8,23 +8,6 @@ "date": "2024-07-15", "description": "static information on the ePrescription backend server", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "udi", - "uri": "http://fda.gov/UDI", - "name": "UDI Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Device", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json index 6c633db8..7240f7aa 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json @@ -9,13 +9,6 @@ "date": "2024-07-15", "description": "QES-Digest in Binary", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Binary", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json index a1c2ecef..0b71b876 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json @@ -9,23 +9,6 @@ "date": "2024-07-15", "description": "The prescriptionID is an generated and not changeable sequence of numbers seperated by dots. The first three numbers define the type of the prescription. The next twelve numbers are the generated unique and consecutive sequence of the prescription. The last two digits are the check numbers according to ISO 7064.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "servd", - "uri": "http://www.omg.org/spec/ServD/1.0/", - "name": "ServD" - } - ], "kind": "complex-type", "abstract": false, "type": "Identifier", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json index b17d1bdd..84f1cd4c 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json @@ -9,23 +9,6 @@ "date": "2024-07-15", "description": "The Secret is a generated secret, that grants access to an ePrescription resource, eg. Task", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "servd", - "uri": "http://www.omg.org/spec/ServD/1.0/", - "name": "ServD" - } - ], "kind": "complex-type", "abstract": false, "type": "Identifier", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json index d44329ef..972349f5 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json @@ -8,13 +8,6 @@ "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "type": "Signature", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json index 510e389a..d069628d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json @@ -9,28 +9,6 @@ "date": "2024-07-15", "description": "This resource manages the ePrescription workflow", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Task", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json index de487b8b..f32eea9e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for accepting a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $accept-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json index fbcbdf80..821dfcfe 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for activating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json index 042039a4..6c7afcca 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for activating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $activate-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json index 6ac7c74a..63ffe44e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json index 7bdcdddc..6cd57050 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $close-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json index 079d121e..d20a290a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for creating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json index 3d1ce4f1..e807b71f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for creating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $create-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json index a1738c1b..b7db5fd7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json index aa65aaef..f1918a17 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json @@ -9,18 +9,6 @@ "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Parameters", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json index 056de020..58b61f8a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json @@ -2,18 +2,12 @@ "resourceType": "StructureDefinition", "id": "logMedDispense", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", + "version": "1.4.0-rc2", "name": "GEM_ERP_LOG_MedicationDispense", "title": "Logical Medication Dispense", "status": "draft", "description": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden.", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "logical", "abstract": false, "type": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json index 5da1ff1f..f18fccee 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json @@ -2,17 +2,13 @@ "resourceType": "StructureDefinition", "id": "logMedDispenseDiGA", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispenseDiGA", + "version": "1.4.0-rc2", "name": "GEM_ERP_LOG_MedicationDispense_DiGA", "title": "Logical DiGA Medication Dispense", "status": "draft", "description": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource für DiGAs übermittelt werden.", "fhirVersion": "4.0.1", "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, { "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", "name": "Mapping for MedicationDispense DiGA", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json index c6b65584..d02aa682 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json @@ -5,8 +5,8 @@ "id": "GEM-ERP-VS-AvailabilityStatus", "title": "ValueSet of AvailabilityStatus Codes", "description": "Type of the availability status for medication availability request", - "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_AvailabilityStatus", "version": "1.4", + "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_AvailabilityStatus", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json index f88f5680..7355e27c 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json @@ -5,8 +5,8 @@ "id": "GEM-ERP-VS-DocumentType", "title": "ValueSet of Documenttype Codes", "description": "Type of document depending on the recipient.", - "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType", "version": "1.4", + "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json index b293bf57..e34d70dd 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json @@ -5,8 +5,8 @@ "id": "GEM-ERP-VS-FlowType", "title": "ValueSet of Flowtype Codes", "description": "Shows the different types of the ePrescription according to the prescription forms.", - "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType", "version": "1.4", + "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_FlowType", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json index b37fc8cd..6f1d0304 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json @@ -5,8 +5,8 @@ "id": "GEM-ERP-VS-OrganizationType", "title": "ValueSet of Organizationtype Codes", "description": "Type of Organiziation", - "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType", "version": "1.4", + "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json index 57b0bd99..c58e64a4 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json @@ -5,8 +5,8 @@ "id": "GEM-ERP-VS-PerformerType", "title": "ValueSet of Performertype Codes", "description": "Type of performer", - "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_PerformerType", "version": "1.4", + "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_PerformerType", "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index 5994c6bb..f08850c6 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -22,6 +22,7 @@ Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr // National Codings Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc Alias: $cs-product-key = http://fhir.de/CodeSystem/abdata/Komponentennummer +//Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-Produkt // Codings Alias: $pzn = http://fhir.de/CodeSystem/ifa/pzn From b6912988a8c73ced570983417689aece6e67aa82 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 08:01:46 +0200 Subject: [PATCH 35/57] Set new alias for pharmaceutical product --- .../resources/Medication-Augentropfen.json | 9 --------- .../Medication-Medication-Kombipackung.json | 18 ------------------ .../resources/Medication-NasenSpray.json | 9 --------- ...pleDispenseInputParametersKombipackung.json | 18 ------------------ ...rationCloseInputParametersKombipackung.json | 18 ------------------ Resources/input/fsh/aliases.fsh | 3 +-- 6 files changed, 1 insertion(+), 74 deletions(-) diff --git a/Resources/fsh-generated/resources/Medication-Augentropfen.json b/Resources/fsh-generated/resources/Medication-Augentropfen.json index 1968a70e..f5ba02be 100644 --- a/Resources/fsh-generated/resources/Medication-Augentropfen.json +++ b/Resources/fsh-generated/resources/Medication-Augentropfen.json @@ -16,15 +16,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-1", - "display": "Augentropfen" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json index 6536d7ec..b6b9e74d 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -65,15 +65,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-1", - "display": "Augentropfen" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { @@ -123,15 +114,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-2", - "display": "Nasenspray, Lösung" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Medication-NasenSpray.json b/Resources/fsh-generated/resources/Medication-NasenSpray.json index 08fdd3e4..19ccd6bb 100644 --- a/Resources/fsh-generated/resources/Medication-NasenSpray.json +++ b/Resources/fsh-generated/resources/Medication-NasenSpray.json @@ -16,15 +16,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-2", - "display": "Nasenspray, Lösung" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 7cf86cb0..ca6b1e5e 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -119,15 +119,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-1", - "display": "Augentropfen" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { @@ -177,15 +168,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-2", - "display": "Nasenspray, Lösung" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json index cf985f05..9877a7b6 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json @@ -119,15 +119,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-1", - "display": "Augentropfen" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { @@ -177,15 +168,6 @@ } } ], - "code": { - "coding": [ - { - "system": "http://fhir.de/CodeSystem/abdata/Komponentennummer", - "code": "01746517-2", - "display": "Nasenspray, Lösung" - } - ] - }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index f08850c6..4ca3ca5f 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -21,8 +21,7 @@ Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr // National Codings Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc -Alias: $cs-product-key = http://fhir.de/CodeSystem/abdata/Komponentennummer -//Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-Produkt +Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-Produkt // Codings Alias: $pzn = http://fhir.de/CodeSystem/ifa/pzn From 4fb3714c68dd1471216790f6f945fd6f811b5bc0 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 08:02:45 +0200 Subject: [PATCH 36/57] update version to rc-3 --- .../resources/StructureDefinition-GEM-ERP-EX-DeepLink.json | 2 +- .../resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json | 2 +- .../resources/StructureDefinition-logMedDispense.json | 2 +- .../resources/StructureDefinition-logMedDispenseDiGA.json | 2 +- Resources/sushi-config.yaml | 2 +- package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json index 47932afc..59fa90e4 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-DeepLink", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink", - "version": "1.4.0-rc2", + "version": "1.4.0-rc3", "name": "GEM_ERP_EX_DeepLink", "title": "DiGA-DeepLink", "status": "draft", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json index 0ab119ae..8fbc3020 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-RedeemCode", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", - "version": "1.4.0-rc2", + "version": "1.4.0-rc3", "name": "GEM_ERP_EX_RedeemCode", "title": "DiGA-RedeemCode", "status": "draft", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json index 58b61f8a..5cb7e36f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "logMedDispense", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", - "version": "1.4.0-rc2", + "version": "1.4.0-rc3", "name": "GEM_ERP_LOG_MedicationDispense", "title": "Logical Medication Dispense", "status": "draft", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json index f18fccee..2fffafa4 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "logMedDispenseDiGA", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispenseDiGA", - "version": "1.4.0-rc2", + "version": "1.4.0-rc3", "name": "GEM_ERP_LOG_MedicationDispense_DiGA", "title": "Logical DiGA Medication Dispense", "status": "draft", diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index e09d51fd..e33a3c81 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -3,7 +3,7 @@ fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false -version: "1.4.0-rc2" +version: "1.4.0-rc3" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.5.0-ballot2 diff --git a/package.json b/package.json index bd436a9f..8ccc150e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "4.0.1" ], "name": "de.gematik.erezept-workflow.r4", - "version": "1.4.0-rc2", + "version": "1.4.0-rc3", "description": "ePrescription workflow specification.", "author": "gematik", "dependencies": { From 9e4ebfadb7face9339f3efe2e0cfa50edaf7dc7e Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 08:04:07 +0200 Subject: [PATCH 37/57] set versions of basisprofil and epa medication --- Resources/sushi-config.yaml | 4 ++-- fhirpkg.lock.json | 10 ++++++---- package.json | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index e33a3c81..a8558e69 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -6,8 +6,8 @@ applyExtensionMetadataToRoot: false version: "1.4.0-rc3" dependencies: hl7.fhir.r4.core: 4.0.1 - de.basisprofil.r4: 1.5.0-ballot2 - de.gematik.dev.epa.medication: 1.1.0-alpha.1 + de.basisprofil.r4: 1.5.0 + de.gematik.epa.medication: 1.0.2 kbv.basis: 1.3.0 kbv.ita.for: 1.1.x kbv.ita.erp: 1.1.x \ No newline at end of file diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index 8c6099de..a06aa98b 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,14 +1,16 @@ { - "updated": "2024-06-07T12:57:23.405634+02:00", + "updated": "2024-07-11T08:03:36.505352+02:00", "dependencies": { "kbv.ita.erp": "1.1.2", "KBV.Basis": "1.3.0", "hl7.fhir.r4.core": "4.0.1", "kbv.ita.for": "1.1.0", - "de.basisprofil.r4": "1.5.0-ballot2", - "de.gematik.epa.medication": "1.0.2-rc1", + "de.basisprofil.r4": "1.5.0", + "de.gematik.dev.epa.medication": "1.1.0-alpha.1", "de.gematik.fhir.directory": "0.11.7", - "de.ihe-d.terminology": "3.0.0" + "de.ihe-d.terminology": "3.0.0", + "de.gematik.dev.epa": "1.1.0-alpha.1", + "de.gematik.epa.medication": "1.0.2-rc1" }, "missing": {} } diff --git a/package.json b/package.json index 8ccc150e..efe68463 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "kbv.ita.erp": "1.1.x", "kbv.ita.for": "1.1.x", "hl7.fhir.r4.core": "4.0.1", - "de.basisprofil.r4": "1.5.0-ballot2", - "de.gematik.dev.epa.medication": "1.1.0-alpha.1" + "de.basisprofil.r4": "1.5.0", + "de.gematik.dev.epa.medication": "1.1.0-alpha.1", + "de.gematik.epa.medication": "1.0.2-rc1" } } From 233f0ce62516d1aa385dd60be3de3a8447c02056 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Thu, 11 Jul 2024 11:21:03 +0200 Subject: [PATCH 38/57] fix typo in alias --- Resources/input/fsh/aliases.fsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index 4ca3ca5f..94ca1e77 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -21,7 +21,7 @@ Alias: $identifier-iknr = http://fhir.de/StructureDefinition/identifier-iknr // National Codings Alias: $cs-atc-de = http://fhir.de/CodeSystem/bfarm/atc -Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-Produkt +Alias: $cs-product-key = https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt // Codings Alias: $pzn = http://fhir.de/CodeSystem/ifa/pzn From 2588db66b8b9a617365aab1649c324d9d9290e49 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 12 Jul 2024 08:31:43 +0200 Subject: [PATCH 39/57] set versions --- Resources/sushi-config.yaml | 3 ++- fhirpkg.lock.json | 10 +++++----- package.json | 3 +-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index a8558e69..db2bc785 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -7,7 +7,8 @@ version: "1.4.0-rc3" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.5.0 - de.gematik.epa.medication: 1.0.2 + # de.gematik.epa.medication: 1.0.2-rc1 #//TODO: Update to 1.0.2 + de.gematik.dev.epa.medication: 1.1.0-alpha.4 kbv.basis: 1.3.0 kbv.ita.for: 1.1.x kbv.ita.erp: 1.1.x \ No newline at end of file diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index a06aa98b..c3624915 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,16 +1,16 @@ { - "updated": "2024-07-11T08:03:36.505352+02:00", + "updated": "2024-07-12T08:31:17.061479+02:00", "dependencies": { "kbv.ita.erp": "1.1.2", "KBV.Basis": "1.3.0", "hl7.fhir.r4.core": "4.0.1", "kbv.ita.for": "1.1.0", "de.basisprofil.r4": "1.5.0", - "de.gematik.dev.epa.medication": "1.1.0-alpha.1", - "de.gematik.fhir.directory": "0.11.7", + "de.gematik.dev.epa.medication": "1.1.0-alpha.4", + "kbv.all.st": "1.3.1", + "de.gematik.fhir.directory": "0.11.8", "de.ihe-d.terminology": "3.0.0", - "de.gematik.dev.epa": "1.1.0-alpha.1", - "de.gematik.epa.medication": "1.0.2-rc1" + "de.gematik.dev.epa": "1.1.0-alpha.4" }, "missing": {} } diff --git a/package.json b/package.json index efe68463..4ae331d8 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "kbv.ita.for": "1.1.x", "hl7.fhir.r4.core": "4.0.1", "de.basisprofil.r4": "1.5.0", - "de.gematik.dev.epa.medication": "1.1.0-alpha.1", - "de.gematik.epa.medication": "1.0.2-rc1" + "de.gematik.dev.epa.medication": "1.1.0-alpha.4" } } From f89c7788dcf8203cc1c745ccd40cca1124cef704 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 12 Jul 2024 08:32:28 +0200 Subject: [PATCH 40/57] Build with new epa dependency --- ...-8ca3c379-ac86-470f-bc12-178c9008f5c9.json | 8 ++--- .../resources/Medication-Augentropfen.json | 13 +++++-- .../Medication-Medication-Kombipackung.json | 34 ++++++++++++++----- .../Medication-Medication-Rezeptur-FD.json | 26 +++++++------- .../Medication-Medication-Rezeptur.json | 18 +++++----- .../Medication-MedicationDexpanthenol-FD.json | 4 +-- .../Medication-MedicationDexpanthenol.json | 4 +-- ...Medication-MedicationHydrocortison-FD.json | 4 +-- .../Medication-MedicationHydrocortison.json | 4 +-- .../resources/Medication-NasenSpray.json | 13 +++++-- .../Medication-SumatripanMedication.json | 8 ++--- .../OperationDefinition-AbortOperation.json | 4 +-- .../OperationDefinition-AcceptOperation.json | 2 +- .../OperationDefinition-CloseOperation.json | 2 +- ...OperationDefinition-DispenseOperation.json | 2 +- ...meters-ExampleDispenseInputParameters.json | 8 ++--- ...leDispenseInputParametersKombipackung.json | 34 ++++++++++++++----- ...ParametersMultipleMedicationDispenses.json | 8 ++--- ...xampleDispenseOutputParametersSuccess.json | 8 ++--- ...-ExampleOperationCloseInputParameters.json | 8 ++--- ...ationCloseInputParametersKombipackung.json | 34 ++++++++++++++----- ...OperationCloseInputParametersRezeptur.json | 18 +++++----- ...ctureDefinition-GEM-ERP-PR-Medication.json | 19 ++--------- ...on-GEM-ERP-PR-MedicationDispense-DiGA.json | 5 ++- ...inition-GEM-ERP-PR-MedicationDispense.json | 2 +- .../operationdefinitions/GEM_ERP_OP_Abort.fsh | 4 +-- .../GEM_ERP_OP_Accept.fsh | 2 +- .../operationdefinitions/GEM_ERP_OP_Close.fsh | 2 +- .../GEM_ERP_OP_Dispense.fsh | 2 +- 29 files changed, 179 insertions(+), 121 deletions(-) diff --git a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json index f7020deb..6bf39215 100644 --- a/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json +++ b/Resources/fsh-generated/resources/Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json @@ -80,14 +80,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -116,7 +116,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Medication-Augentropfen.json b/Resources/fsh-generated/resources/Medication-Augentropfen.json index f5ba02be..7a057c24 100644 --- a/Resources/fsh-generated/resources/Medication-Augentropfen.json +++ b/Resources/fsh-generated/resources/Medication-Augentropfen.json @@ -3,12 +3,12 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -16,6 +16,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-1", + "display": "Augentropfen" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json index b6b9e74d..c4a46e28 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Kombipackung.json @@ -8,7 +8,7 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -16,14 +16,14 @@ } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } @@ -52,12 +52,12 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -65,6 +65,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-1", + "display": "Augentropfen" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { @@ -101,12 +110,12 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -114,6 +123,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json index 0078bd56..a6b18c04 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur-FD.json @@ -8,26 +8,26 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-manufacturing-instructions-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-manufacturing-instructions-extension", "valueString": "Bitte kühl zubereiten und lagern." }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-formulation-packaging-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-formulation-packaging-extension", "valueString": "Tube" }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "1208954007", "system": "http://snomed.info/sct", @@ -40,7 +40,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100 ml" } ], @@ -55,7 +55,7 @@ { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", "valueString": "Salbe" } ], @@ -109,7 +109,7 @@ { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-darreichungsform-extension", "valueString": "Salbe" } ], @@ -167,12 +167,12 @@ "id": "MedicationHydrocortison-FD", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -197,12 +197,12 @@ "id": "MedicationDexpanthenol-FD", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json index fe9f676d..b89b35b3 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Rezeptur.json @@ -8,14 +8,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "1208954007", "system": "http://snomed.info/sct", @@ -24,7 +24,7 @@ } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false } ], @@ -40,7 +40,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100 ml" } ], @@ -57,12 +57,12 @@ "id": "MedicationHydrocortison", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -89,12 +89,12 @@ "id": "MedicationDexpanthenol", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json index 7f250d16..935ecb82 100644 --- a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json +++ b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol-FD.json @@ -3,12 +3,12 @@ "id": "MedicationDexpanthenol-FD", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json index dd874847..b7601a45 100644 --- a/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json +++ b/Resources/fsh-generated/resources/Medication-MedicationDexpanthenol.json @@ -3,12 +3,12 @@ "id": "MedicationDexpanthenol", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json index 94d64629..0c301851 100644 --- a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json +++ b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison-FD.json @@ -3,12 +3,12 @@ "id": "MedicationHydrocortison-FD", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json index 89ae4d2c..5a54a0a1 100644 --- a/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json +++ b/Resources/fsh-generated/resources/Medication-MedicationHydrocortison.json @@ -3,12 +3,12 @@ "id": "MedicationHydrocortison", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/Medication-NasenSpray.json b/Resources/fsh-generated/resources/Medication-NasenSpray.json index 19ccd6bb..ebd6d5c1 100644 --- a/Resources/fsh-generated/resources/Medication-NasenSpray.json +++ b/Resources/fsh-generated/resources/Medication-NasenSpray.json @@ -3,12 +3,12 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -16,6 +16,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json index 4369244a..577208c1 100644 --- a/Resources/fsh-generated/resources/Medication-SumatripanMedication.json +++ b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json @@ -8,14 +8,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -44,7 +44,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json index 2e35e0a4..7e830c85 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json @@ -22,7 +22,7 @@ "use": "in", "min": 0, "max": "1", - "documentation": "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac.", + "documentation": "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Parameter ?ac.", "type": "string" }, { @@ -30,7 +30,7 @@ "use": "in", "min": 0, "max": "1", - "documentation": "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Paramter ?secret.", + "documentation": "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Parameter ?secret.", "type": "string" } ] diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index 01415b6b..7ef2088e 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -23,7 +23,7 @@ "use": "in", "min": 1, "max": "1", - "documentation": "The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac.", + "documentation": "The secret parameter that lets users access the Task exclusively as the URL an Parameter ?ac.", "type": "string" }, { diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 78186572..70863862 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -24,7 +24,7 @@ "use": "in", "min": 1, "max": "1", - "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error.", + "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error.", "type": "string" }, { diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index 6682a3f0..4079d182 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -24,7 +24,7 @@ "use": "in", "min": 1, "max": "1", - "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error.", + "documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error.", "type": "string" }, { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index 57c55d33..427b16f4 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index ca6b1e5e..517ab9b6 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -62,7 +62,7 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -70,14 +70,14 @@ } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } @@ -106,12 +106,12 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -119,6 +119,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-1", + "display": "Augentropfen" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { @@ -155,12 +164,12 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -168,6 +177,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json index acebf1a5..79770d1c 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json index 1e6c0796..6773bbfe 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json index 8c4d8d2b..673a05ee 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -98,7 +98,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "20 St." } ], diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json index 9877a7b6..0ac45466 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json @@ -62,7 +62,7 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -70,14 +70,14 @@ } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "display": "Arzneimittel oder in die Arzneimittelversorgung nach § 31 SGB V einbezogenes Produkt" } } @@ -106,12 +106,12 @@ "id": "Augentropfen", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -119,6 +119,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-1", + "display": "Augentropfen" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { @@ -155,12 +164,12 @@ "id": "NasenSpray", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "373873005", "system": "http://snomed.info/sct", @@ -168,6 +177,15 @@ } } ], + "code": { + "coding": [ + { + "system": "https://terminologieserver.bfarm.de/fhir/CodeSystem/arzneimittel-referenzdaten-pharmazeutisches-produkt", + "code": "01746517-2", + "display": "Nasenspray, Lösung" + } + ] + }, "ingredient": [ { "itemCodeableConcept": { diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json index 4b646520..bfbbdb39 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json @@ -62,14 +62,14 @@ }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/drug-category-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { "code": "00", - "system": "https://gematik.de/fhir/dev-epa-medication/CodeSystem/epa-drug-category-cs" + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs" } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "1208954007", "system": "http://snomed.info/sct", @@ -78,7 +78,7 @@ } }, { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-id-vaccine-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false } ], @@ -94,7 +94,7 @@ "numerator": { "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension", "valueString": "100 ml" } ], @@ -111,12 +111,12 @@ "id": "MedicationHydrocortison", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", @@ -143,12 +143,12 @@ "id": "MedicationDexpanthenol", "meta": { "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] }, "extension": [ { - "url": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-type-extension", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension", "valueCoding": { "code": "781405001", "system": "http://snomed.info/sct", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index f369f9df..c5cb705a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "Medication", - "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication", + "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication", "derivation": "constraint", "differential": { "element": [ @@ -28,19 +28,6 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, - { - "id": "Medication.contained", - "path": "Medication.contained", - "type": [ - { - "code": "Medication", - "profile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" - ] - } - ] - }, { "id": "Medication.ingredient.item[x]:itemReference", "path": "Medication.ingredient.item[x]", @@ -49,8 +36,8 @@ { "code": "Reference", "targetProfile": [ - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", - "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ] } ] 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 2d7defa6..c00d5b6d 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 @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "MedicationDispense", - "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-dispense", + "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense", "derivation": "constraint", "differential": { "element": [ @@ -169,8 +169,7 @@ "id": "MedicationDispense.subject.identifier", "path": "MedicationDispense.subject.identifier", "short": "The patients KVNR", - "comment": "There is no PKV identifier available since it is not in the scope for DiGA prescriptions.", - "min": 1 + "comment": "There is no PKV identifier available since it is not in the scope for DiGA prescriptions." }, { "id": "MedicationDispense.performer.actor.identifier", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json index ebd1f1e7..df2a0271 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -12,7 +12,7 @@ "kind": "resource", "abstract": false, "type": "MedicationDispense", - "baseDefinition": "https://gematik.de/fhir/dev-epa-medication/StructureDefinition/epa-medication-dispense", + "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense", "derivation": "constraint", "differential": { "element": [ diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh index 5eb333f5..17318be6 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Abort.fsh @@ -10,7 +10,7 @@ Usage: #definition * use = #in * min = 0 * max = "1" - * documentation = "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." + * documentation = "[To be used by patient and providers(doctors/dentists) only] The secret parameter that lets users access the Task exclusively as the URL an Parameter ?ac." * type = #string // alternative in @@ -19,7 +19,7 @@ Usage: #definition * use = #in * min = 0 * max = "1" - * documentation = "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Paramter ?secret." + * documentation = "[To be used by pharmacy only] The secret parameter that lets a pharmacy access the Task exclusively as the URL an Parameter ?secret." * type = #string //TODO Return OperationOutcome definieren und Parameters Profil erstellen \ No newline at end of file diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index eb382132..847c1949 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -12,7 +12,7 @@ Usage: #definition * use = #in * min = 1 * max = "1" - * documentation = "The secret parameter that lets users access the Task exclusively as the URL an Paramter ?ac." + * documentation = "The secret parameter that lets users access the Task exclusively as the URL an Parameter ?ac." * type = #string // out diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index b69caf9b..9bd9f2f6 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -18,7 +18,7 @@ Usage: #definition * use = #in * min = 1 * max = "1" - * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." * type = #string // in diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index 445ab985..96a14c84 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -18,7 +18,7 @@ Usage: #definition * use = #in * min = 1 * max = "1" - * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." + * documentation = "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error." * type = #string // in From c4c8d4f06672fcf5b5f0508ec2e8725836c7cc79 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 12 Jul 2024 12:34:29 +0200 Subject: [PATCH 41/57] Set DiGA Constraint --- ...tion-GEM-ERP-PR-Communication-DispReq.json | 22 +++++++----- .../Example_Communication_DispReq.fsh | 35 +++++++++++++++++++ .../GEM_ERP_PR_Communication_DispReq.fsh | 5 +-- 3 files changed, 51 insertions(+), 11 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json index 8d3c01fa..cbcfd7e6 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json @@ -16,6 +16,19 @@ "derivation": "constraint", "differential": { "element": [ + { + "id": "Communication", + "path": "Communication", + "constraint": [ + { + "key": "workflow-communication-payload-1", + "human": "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird", + "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq", + "severity": "error", + "expression": "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and\n(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" + } + ] + }, { "id": "Communication.meta", "path": "Communication.meta", @@ -142,15 +155,6 @@ "id": "Communication.payload", "path": "Communication.payload", "max": "1", - "constraint": [ - { - "key": "workflow-communication-payload-1", - "human": "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird", - "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq", - "severity": "error", - "expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty() or payload.exists()" - } - ], "mustSupport": true }, { diff --git a/Resources/input/fsh/examples/Example_Communication_DispReq.fsh b/Resources/input/fsh/examples/Example_Communication_DispReq.fsh index 4e74ccf6..443336f9 100644 --- a/Resources/input/fsh/examples/Example_Communication_DispReq.fsh +++ b/Resources/input/fsh/examples/Example_Communication_DispReq.fsh @@ -33,3 +33,38 @@ Usage: #example * sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * sender.identifier.value = "X234567890" * sent = "2020-04-29T13:44:30.128+02:00" + +/* +Instance: INVALID-Communication-DispenseRequest-DiGA +InstanceOf: GEM_ERP_PR_Communication_DispReq +Title: "Communication message sent by patient to insurance company to request the dispensation of a DiGA by providing the AccessCode" +Usage: #example +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) +* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#162 "Muster 16 (Digitale Gesundheitsanwendungen)" +* basedOn.reference = "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "8-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:44:30.128+02:00" +* payload.contentString = "U.N.V.E.U" + +Instance: INVALID-Communication-DispenseRequest +InstanceOf: GEM_ERP_PR_Communication_DispReq +Title: "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +Usage: #example +* insert PackageMetaProfile(StructureDefinition/GEM_ERP_PR_Communication_DispReq) +* meta.tag.display = "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" +* extension[flowType].url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" +* extension[flowType].valueCoding = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType#160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* basedOn.reference = "Task/160.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:44:30.128+02:00" +*/ \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh index 0d6f9860..1232f5ea 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh @@ -4,6 +4,7 @@ Id: GEM-ERP-PR-Communication-DispReq Title: "Request for Dispense of ePrescription" Description: "Ressource used for the communication of dispense request between patient/representative and provider based on ePrescription" * insert Profile(GEM_ERP_PR_Communication_DispReq) +* obeys workflow-communication-payload-1 * ^abstract = true * extension contains GEM_ERP_EX_PrescriptionType named flowType 1..1 * basedOn 1..1 MS @@ -30,7 +31,6 @@ Description: "Ressource used for the communication of dispense request between p * sender.identifier 1.. MS * sender.identifier only $identifier-kvid-10 or $identifier-pkv * payload 0..1 MS -* payload obeys workflow-communication-payload-1 //* payload.extension ^slicing.discriminator.type = #value //* payload.extension ^slicing.discriminator.path = "url" * payload.extension ^slicing.rules = #closed @@ -42,4 +42,5 @@ Description: "Ressource used for the communication of dispense request between p Invariant: workflow-communication-payload-1 Description: "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird" * severity = #error -* expression = "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty() or payload.exists()" +* expression = "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and +(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" From 45dc2ae841615747d352b25d7bbfdd05df9f3420 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 12 Jul 2024 12:39:06 +0200 Subject: [PATCH 42/57] medication-fix for itemReference --- Resources/fsh-generated/fsh-index.json | 4 ++-- Resources/fsh-generated/fsh-index.txt | 4 ++-- ...ctureDefinition-GEM-ERP-PR-Medication.json | 14 ------------- .../input/fsh/examples/Example_Medication.fsh | 21 ++++++++++--------- .../fsh/profiles/GEM_ERP_PR_Medication.fsh | 12 +++++------ 5 files changed, 20 insertions(+), 35 deletions(-) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index 0bfe4b42..424113aa 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -125,7 +125,7 @@ "fshType": "Instance", "fshFile": "examples/Example_Medication.fsh", "startLine": 26, - "endLine": 42 + "endLine": 43 }, { "outputFile": "Medication-MedicationDexpanthenol-FD.json", @@ -661,7 +661,7 @@ "fshType": "Profile", "fshFile": "profiles/GEM_ERP_PR_Medication.fsh", "startLine": 1, - "endLine": 22 + "endLine": 20 }, { "outputFile": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index d302c782..3e19a27a 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -14,7 +14,7 @@ Medication-Augentropfen.json Medication-Medication-Kombipackung.json Medication-Kombipackung Instance examples/Example_Medication_Kombipackung.fsh 2 - 17 Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 -Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 42 +Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 43 Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 @@ -81,7 +81,7 @@ StructureDefinition-GEM-ERP-PR-Communication-Representative.json StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 -StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 20 StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 StructureDefinition-GEM-ERP-PR-PrescriptionId.json GEM_ERP_PR_PrescriptionId Profile profiles/GEM_ERP_PR_PrescriptionId.fsh 1 - 13 diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index c5cb705a..522ba2da 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -28,20 +28,6 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, - { - "id": "Medication.ingredient.item[x]:itemReference", - "path": "Medication.ingredient.item[x]", - "sliceName": "itemReference", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", - "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" - ] - } - ] - }, { "id": "Medication.ingredient.strength.numerator.system.extension:dataAbsentReason", "path": "Medication.ingredient.strength.numerator.system.extension", diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index 61a446b2..bff3139f 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -29,14 +29,15 @@ Title: "Medication Without code or system for Strength" Usage: #example * code.text = "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" * form = http://standardterms.edqm.eu#11210000 "Solution for infusion" -* ingredient.itemCodeableConcept = http://fhir.de/CodeSystem/bfarm/atc#L01DB01 "Doxorubicin" -* ingredient.isActive = true -* ingredient.strength.numerator.value = 85 -* ingredient.strength.numerator.unit = "mg" -* ingredient.strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown +* ingredient[+] + * itemCodeableConcept = http://fhir.de/CodeSystem/bfarm/atc#L01DB01 "Doxorubicin" + * isActive = true + * strength.numerator.value = 85 + * strength.numerator.unit = "mg" + * strength.numerator.system.extension[dataAbsentReason].valueCode = #unknown + * strength.numerator.code.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.denominator.value = 250 -* ingredient.strength.denominator.unit = "Milliliter" -* ingredient.strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown -* ingredient.strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator.value = 250 + * strength.denominator.unit = "Milliliter" + * strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 61b2fafb..a1bb0d20 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -4,18 +4,16 @@ Id: GEM-ERP-PR-Medication Title: "Medication for the Dispensation of the Prescription" Description: "Handles medical information about the redeemed prescription" * insert Profile(GEM_ERP_PR_Medication) - + * contained MS -* contained only EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient - * ^short = "Contains PZN Ingredients for Compounding Medications & PharmaceuticalProducts in case of a 'Kombipackung'" - -* ingredient.itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) - +* ingredient MS + //TODO fix* itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) + * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.numerator.system.extension[dataAbsentReason].value[x] = #unknown * ingredient.strength.numerator.code.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.numerator.code.extension[dataAbsentReason].value[x] = #unknown - + * ingredient.strength.denominator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.denominator.system.extension[dataAbsentReason].value[x] = #unknown * ingredient.strength.denominator.code.extension contains $data-absent-reason named dataAbsentReason 0..1 MS From db69d1a5881f572eb280eede87cff24887b0bbf6 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Fri, 12 Jul 2024 13:13:14 +0200 Subject: [PATCH 43/57] fix for constraint --- .../StructureDefinition-GEM-ERP-PR-Communication-DispReq.json | 2 +- .../input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json index cbcfd7e6..07c1bcec 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json @@ -25,7 +25,7 @@ "human": "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird", "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq", "severity": "error", - "expression": "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and\n(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" + "expression": "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" } ] }, diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh index 1232f5ea..4aa6b122 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh @@ -42,5 +42,4 @@ Description: "Ressource used for the communication of dispense request between p Invariant: workflow-communication-payload-1 Description: "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird" * severity = #error -* expression = "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and -(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" +* expression = "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" From fce234851b90da10a481d6f79b444a884fa6cfd1 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 15 Jul 2024 06:51:23 +0200 Subject: [PATCH 44/57] set correct install versions --- Resources/sushi-config.yaml | 3 +-- fhirpkg.lock.json | 8 +++----- package.json | 3 ++- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index db2bc785..a8558e69 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -7,8 +7,7 @@ version: "1.4.0-rc3" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.5.0 - # de.gematik.epa.medication: 1.0.2-rc1 #//TODO: Update to 1.0.2 - de.gematik.dev.epa.medication: 1.1.0-alpha.4 + de.gematik.epa.medication: 1.0.2 kbv.basis: 1.3.0 kbv.ita.for: 1.1.x kbv.ita.erp: 1.1.x \ No newline at end of file diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index c3624915..8f6000b2 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,16 +1,14 @@ { - "updated": "2024-07-12T08:31:17.061479+02:00", + "updated": "2024-07-15T06:50:23.30202+02:00", "dependencies": { "kbv.ita.erp": "1.1.2", "KBV.Basis": "1.3.0", "hl7.fhir.r4.core": "4.0.1", "kbv.ita.for": "1.1.0", "de.basisprofil.r4": "1.5.0", - "de.gematik.dev.epa.medication": "1.1.0-alpha.4", - "kbv.all.st": "1.3.1", + "de.gematik.epa.medication": "1.0.2", "de.gematik.fhir.directory": "0.11.8", - "de.ihe-d.terminology": "3.0.0", - "de.gematik.dev.epa": "1.1.0-alpha.4" + "de.ihe-d.terminology": "3.0.0" }, "missing": {} } diff --git a/package.json b/package.json index 4ae331d8..29779158 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "kbv.ita.for": "1.1.x", "hl7.fhir.r4.core": "4.0.1", "de.basisprofil.r4": "1.5.0", - "de.gematik.dev.epa.medication": "1.1.0-alpha.4" + "de.gematik.epa.medication": "1.0.2", + "de.gematik.fhir.directory": "0.11.8" } } From b9ae4a5f2ccaa382588009ecee73efcdd8c6b4dc Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 15 Jul 2024 06:52:19 +0200 Subject: [PATCH 45/57] Set medication constraint --- .../StructureDefinition-GEM-ERP-PR-Medication.json | 14 ++++++++++++++ .../input/fsh/profiles/GEM_ERP_PR_Medication.fsh | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index 522ba2da..c5cb705a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -28,6 +28,20 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, + { + "id": "Medication.ingredient.item[x]:itemReference", + "path": "Medication.ingredient.item[x]", + "sliceName": "itemReference", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", + "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ] + } + ] + }, { "id": "Medication.ingredient.strength.numerator.system.extension:dataAbsentReason", "path": "Medication.ingredient.strength.numerator.system.extension", diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index a1bb0d20..c863467f 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -7,7 +7,7 @@ Description: "Handles medical information about the redeemed prescription" * contained MS * ingredient MS - //TODO fix* itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) + * itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.numerator.system.extension[dataAbsentReason].value[x] = #unknown From 0b5feb4a4742761f1ccc6f3703704ba13eb818a7 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 15 Jul 2024 06:52:23 +0200 Subject: [PATCH 46/57] build with sushi --- ...StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 c00d5b6d..0834c0cb 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 @@ -169,7 +169,8 @@ "id": "MedicationDispense.subject.identifier", "path": "MedicationDispense.subject.identifier", "short": "The patients KVNR", - "comment": "There is no PKV identifier available since it is not in the scope for DiGA prescriptions." + "comment": "There is no PKV identifier available since it is not in the scope for DiGA prescriptions.", + "min": 1 }, { "id": "MedicationDispense.performer.actor.identifier", From 9fc2ed2e9b7e399e586761cdf2737127643186ba Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 15 Jul 2024 07:26:30 +0200 Subject: [PATCH 47/57] Rename Parameters profiles --- Resources/fsh-generated/fsh-index.json | 112 ++++----- Resources/fsh-generated/fsh-index.txt | 224 +++++++++--------- .../Bundle-Bundle-AcceptOperation.json | 2 +- .../OperationDefinition-AcceptOperation.json | 2 +- ...OperationDefinition-ActivateOperation.json | 4 +- .../OperationDefinition-CloseOperation.json | 4 +- .../OperationDefinition-CreateOperation.json | 4 +- ...OperationDefinition-DispenseOperation.json | 4 +- ...meters-ExampleDispenseInputParameters.json | 2 +- ...leDispenseInputParametersKombipackung.json | 2 +- ...ParametersMultipleMedicationDispenses.json | 2 +- ...-ExampleDispenseOutputParametersError.json | 2 +- ...xampleDispenseOutputParametersSuccess.json | 2 +- ...ampleOperationActivateParametersInput.json | 2 +- ...-ExampleOperationCloseInputParameters.json | 2 +- ...mpleOperationCloseInputParametersDiGA.json | 2 +- ...ationCloseInputParametersKombipackung.json | 2 +- ...ParametersMultipleMedicationDispenses.json | 2 +- ...OperationCloseInputParametersRezeptur.json | 2 +- ...CloseInputParametersWithoutMedication.json | 2 +- ...OperationCreateParametersInputExample.json | 2 +- ...finition-GEM-ERP-PR-Bundle-OP-Accept.json} | 6 +- ...M-ERP-PR-PAR-Accept-Operation-Output.json} | 10 +- ...-ERP-PR-PAR-Activate-Operation-Input.json} | 8 +- ...ERP-PR-PAR-Activate-Operation-Output.json} | 8 +- ...GEM-ERP-PR-PAR-Close-Operation-Input.json} | 8 +- ...EM-ERP-PR-PAR-Close-Operation-Output.json} | 8 +- ...EM-ERP-PR-PAR-Create-Operation-Input.json} | 8 +- ...M-ERP-PR-PAR-Create-Operation-Output.json} | 8 +- ...-ERP-PR-PAR-Dispense-Operation-Input.json} | 8 +- ...ERP-PR-PAR-Dispense-Operation-Output.json} | 8 +- .../input/fsh/examples/Example_Bundle.fsh | 2 +- .../examples/Example_Operation_Activate.fsh | 2 +- .../fsh/examples/Example_Operation_Close.fsh | 12 +- .../fsh/examples/Example_Operation_Create.fsh | 2 +- .../examples/Example_Operation_Dispense.fsh | 10 +- .../GEM_ERP_OP_Accept.fsh | 2 +- .../GEM_ERP_OP_Activate.fsh | 4 +- .../operationdefinitions/GEM_ERP_OP_Close.fsh | 4 +- .../GEM_ERP_OP_Create.fsh | 4 +- .../GEM_ERP_OP_Dispense.fsh | 4 +- ...GEM_ERP_PR_PAR_AcceptOperation_Output.fsh} | 8 +- ...EM_ERP_PR_PAR_ActivateOperation_Input.fsh} | 6 +- ...M_ERP_PR_PAR_ActivateOperation_Output.fsh} | 6 +- ...> GEM_ERP_PR_PAR_CloseOperation_Input.fsh} | 6 +- ... GEM_ERP_PR_PAR_CloseOperation_Output.fsh} | 6 +- ... GEM_ERP_PR_PAR_CreateOperation_Input.fsh} | 6 +- ...GEM_ERP_PR_PAR_CreateOperation_Output.fsh} | 6 +- ...EM_ERP_PR_PAR_DispenseOperation_Input.fsh} | 6 +- ...M_ERP_PR_PAR_DispenseOperation_Output.fsh} | 6 +- .../GEM_ERP_PR_Bundle_OP_Accept.fsh} | 6 +- 51 files changed, 285 insertions(+), 285 deletions(-) rename Resources/fsh-generated/resources/{StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json => StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json} (94%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-accept-operation-output.json => StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json} (91%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-activate-operation-input.json => StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json} (91%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-activate-operation-output.json => StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json} (91%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-close-operation-input.json => StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json} (96%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-close-operation-output.json => StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json} (92%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-create-operation-input.json => StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json} (91%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-create-operation-output.json => StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json} (92%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-dispense-operation-input.json => StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json} (96%) rename Resources/fsh-generated/resources/{StructureDefinition-gem-erp-pr-dispense-operation-output.json => StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json} (96%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_AcceptOperation_Output.fsh => GEM_ERP_PR_PAR_AcceptOperation_Output.fsh} (72%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_ActivateOperation_Input.fsh => GEM_ERP_PR_PAR_ActivateOperation_Input.fsh} (78%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_ActivateOperation_Output.fsh => GEM_ERP_PR_PAR_ActivateOperation_Output.fsh} (78%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_CloseOperation_Input.fsh => GEM_ERP_PR_PAR_CloseOperation_Input.fsh} (89%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_CloseOperation_Output.fsh => GEM_ERP_PR_PAR_CloseOperation_Output.fsh} (79%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_CreateOperation_Input.fsh => GEM_ERP_PR_PAR_CreateOperation_Input.fsh} (79%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_CreateOperation_Output.fsh => GEM_ERP_PR_PAR_CreateOperation_Output.fsh} (78%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_DispenseOperation_Input.fsh => GEM_ERP_PR_PAR_DispenseOperation_Input.fsh} (87%) rename Resources/input/fsh/parameters/{GEM_ERP_PR_DispenseOperation_Output.fsh => GEM_ERP_PR_PAR_DispenseOperation_Output.fsh} (89%) rename Resources/input/fsh/{parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh => profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh} (76%) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index 424113aa..07cee509 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -551,14 +551,6 @@ "startLine": 1, "endLine": 26 }, - { - "outputFile": "StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json", - "fshName": "GEM_ERP_OUT_OP_Accept_Bundle", - "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh", - "startLine": 1, - "endLine": 16 - }, { "outputFile": "StructureDefinition-GEM-ERP-PR-AccessCode.json", "fshName": "GEM_ERP_PR_AccessCode", @@ -591,6 +583,14 @@ "startLine": 1, "endLine": 8 }, + { + "outputFile": "StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json", + "fshName": "GEM_ERP_PR_Bundle_OP_Accept", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh", + "startLine": 1, + "endLine": 16 + }, { "outputFile": "StructureDefinition-GEM-ERP-PR-Bundle.json", "fshName": "GEM_ERP_PR_Bundle", @@ -680,108 +680,108 @@ "endLine": 26 }, { - "outputFile": "StructureDefinition-GEM-ERP-PR-PrescriptionId.json", - "fshName": "GEM_ERP_PR_PrescriptionId", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json", + "fshName": "GEM_ERP_PR_PAR_AcceptOperation_Output", "fshType": "Profile", - "fshFile": "profiles/GEM_ERP_PR_PrescriptionId.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh", "startLine": 1, - "endLine": 13 + "endLine": 22 }, { - "outputFile": "StructureDefinition-GEM-ERP-PR-Secret.json", - "fshName": "GEM_ERP_PR_Secret", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json", + "fshName": "GEM_ERP_PR_PAR_ActivateOperation_Input", "fshType": "Profile", - "fshFile": "profiles/GEM_ERP_PR_Secret.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_ActivateOperation_Input.fsh", "startLine": 1, - "endLine": 12 + "endLine": 20 }, { - "outputFile": "StructureDefinition-GEM-ERP-PR-Signature.json", - "fshName": "GEM_ERP_PR_Signature", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json", + "fshName": "GEM_ERP_PR_PAR_ActivateOperation_Output", "fshType": "Profile", - "fshFile": "profiles/GEM_ERP_PR_Signature.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_ActivateOperation_Output.fsh", "startLine": 1, - "endLine": 23 + "endLine": 22 }, { - "outputFile": "StructureDefinition-GEM-ERP-PR-Task.json", - "fshName": "GEM_ERP_PR_Task", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json", + "fshName": "GEM_ERP_PR_PAR_CloseOperation_Input", "fshType": "Profile", - "fshFile": "profiles/GEM_ERP_PR_Task.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh", "startLine": 1, - "endLine": 77 + "endLine": 41 }, { - "outputFile": "StructureDefinition-gem-erp-pr-accept-operation-output.json", - "fshName": "GEM_ERP_PR_AcceptOperation_Output", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json", + "fshName": "GEM_ERP_PR_PAR_CloseOperation_Output", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_AcceptOperation_Output.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_CloseOperation_Output.fsh", "startLine": 1, "endLine": 22 }, { - "outputFile": "StructureDefinition-gem-erp-pr-activate-operation-input.json", - "fshName": "GEM_ERP_PR_ActivateOperation_Input", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json", + "fshName": "GEM_ERP_PR_PAR_CreateOperation_Input", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_ActivateOperation_Input.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_CreateOperation_Input.fsh", "startLine": 1, "endLine": 20 }, { - "outputFile": "StructureDefinition-gem-erp-pr-activate-operation-output.json", - "fshName": "GEM_ERP_PR_ActivateOperation_Output", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json", + "fshName": "GEM_ERP_PR_PAR_CreateOperation_Output", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_ActivateOperation_Output.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_CreateOperation_Output.fsh", "startLine": 1, "endLine": 22 }, { - "outputFile": "StructureDefinition-gem-erp-pr-close-operation-input.json", - "fshName": "GEM_ERP_PR_CloseOperation_Input", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json", + "fshName": "GEM_ERP_PR_PAR_DispenseOperation_Input", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_CloseOperation_Input.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_DispenseOperation_Input.fsh", "startLine": 1, "endLine": 41 }, { - "outputFile": "StructureDefinition-gem-erp-pr-close-operation-output.json", - "fshName": "GEM_ERP_PR_CloseOperation_Output", + "outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json", + "fshName": "GEM_ERP_PR_PAR_DispenseOperation_Output", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_CloseOperation_Output.fsh", + "fshFile": "parameters/GEM_ERP_PR_PAR_DispenseOperation_Output.fsh", "startLine": 1, - "endLine": 22 + "endLine": 48 }, { - "outputFile": "StructureDefinition-gem-erp-pr-create-operation-input.json", - "fshName": "GEM_ERP_PR_CreateOperation_Input", + "outputFile": "StructureDefinition-GEM-ERP-PR-PrescriptionId.json", + "fshName": "GEM_ERP_PR_PrescriptionId", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_CreateOperation_Input.fsh", + "fshFile": "profiles/GEM_ERP_PR_PrescriptionId.fsh", "startLine": 1, - "endLine": 20 + "endLine": 13 }, { - "outputFile": "StructureDefinition-gem-erp-pr-create-operation-output.json", - "fshName": "GEM_ERP_PR_CreateOperation_Output", + "outputFile": "StructureDefinition-GEM-ERP-PR-Secret.json", + "fshName": "GEM_ERP_PR_Secret", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_CreateOperation_Output.fsh", + "fshFile": "profiles/GEM_ERP_PR_Secret.fsh", "startLine": 1, - "endLine": 22 + "endLine": 12 }, { - "outputFile": "StructureDefinition-gem-erp-pr-dispense-operation-input.json", - "fshName": "GEM_ERP_PR_DispenseOperation_Input", + "outputFile": "StructureDefinition-GEM-ERP-PR-Signature.json", + "fshName": "GEM_ERP_PR_Signature", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_DispenseOperation_Input.fsh", + "fshFile": "profiles/GEM_ERP_PR_Signature.fsh", "startLine": 1, - "endLine": 41 + "endLine": 23 }, { - "outputFile": "StructureDefinition-gem-erp-pr-dispense-operation-output.json", - "fshName": "GEM_ERP_PR_DispenseOperation_Output", + "outputFile": "StructureDefinition-GEM-ERP-PR-Task.json", + "fshName": "GEM_ERP_PR_Task", "fshType": "Profile", - "fshFile": "parameters/GEM_ERP_PR_DispenseOperation_Output.fsh", + "fshFile": "profiles/GEM_ERP_PR_Task.fsh", "startLine": 1, - "endLine": 48 + "endLine": 77 }, { "outputFile": "StructureDefinition-logMedDispense.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index 3e19a27a..b570b2f6 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -1,112 +1,112 @@ -Output File Name Type FSH File Lines -AuditEvent-9361863d-fec0-4ba9-8776-7905cf1b0cfa.json AuditEventSample Instance examples/Example_AuditEvent.fsh 2 - 32 -Bundle-Bundle-AcceptOperation.json Bundle-AcceptOperation Instance examples/Example_Bundle.fsh 34 - 45 -Bundle-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json ReceiptBundleQuittung Instance examples/Example_Bundle.fsh 10 - 32 -CodeSystem-GEM-ERP-CS-AvailabilityStatus.json GEM_ERP_CS_AvailabilityStatus CodeSystem codesystems/GEM_ERP_CS_AvailabilityStatus.fsh 1 - 12 -CodeSystem-GEM-ERP-CS-DocumentType.json GEM_ERP_CS_DocumentType CodeSystem codesystems/GEM_ERP_CS_DocumentType.fsh 1 - 10 -CodeSystem-GEM-ERP-CS-FlowType.json GEM_ERP_CS_FlowType CodeSystem codesystems/GEM_ERP_CS_FlowType.fsh 1 - 16 -CodeSystem-GEM-ERP-CS-OrganizationType.json GEM_ERP_CS_OrganizationType CodeSystem codesystems/GEM_ERP_CS_OrganizationType.fsh 1 - 8 -Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json Communication_DispenseRequest_DiGA Instance examples/Example_Communication_DispReq.fsh 20 - 35 -Communication-7977a4ab-97a9-4d95-afb3-6c4c1e2ac596.json Communication_Reply Instance examples/Example_Communication_Reply.fsh 2 - 26 -Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json Communication_InformationRequest Instance examples/Example_Communication_InfoReq.fsh 1 - 35 -Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json Communication_DispenseRequest Instance examples/Example_Communication_DispReq.fsh 2 - 18 -Medication-Augentropfen.json Augentropfen Instance examples/Example_Medication_Kombipackung.fsh 19 - 37 -Medication-Medication-Kombipackung.json Medication-Kombipackung Instance examples/Example_Medication_Kombipackung.fsh 2 - 17 -Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 -Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 -Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 43 -Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 -Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 -Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 -Medication-MedicationHydrocortison.json MedicationHydrocortison Instance examples/Example_Medication_Rezeptur.fsh 43 - 51 -Medication-NasenSpray.json NasenSpray Instance examples/Example_Medication_Kombipackung.fsh 39 - 57 -Medication-SumatripanMedication.json SumatripanMedication Instance examples/Example_Medication.fsh 2 - 23 -MedicationDispense-Example-MedicationDispense-2.json Example-MedicationDispense-2 Instance examples/Example_MedicationDispense.fsh 17 - 30 -MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json Example-MedicationDispense-DiGA-DeepLink Instance examples/Example_MedicationDispense_DiGA.fsh 18 - 34 -MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json Example-MedicationDispense-DiGA-Name-And-PZN Instance examples/Example_MedicationDispense_DiGA.fsh 1 - 16 -MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json Example-MedicationDispense-DiGA-NoRedeemCode Instance examples/Example_MedicationDispense_DiGA.fsh 36 - 49 -MedicationDispense-Example-MedicationDispense-Kombipackung.json Example-MedicationDispense-Kombipackung Instance examples/Example_MedicationDispense.fsh 32 - 45 -MedicationDispense-Example-MedicationDispense-Rezeptur.json Example-MedicationDispense-Rezeptur Instance examples/Example_MedicationDispense.fsh 47 - 60 -MedicationDispense-Example-MedicationDispense.json Example-MedicationDispense Instance examples/Example_MedicationDispense.fsh 2 - 15 -OperationDefinition-AbortOperation.json AbortOperation Instance operationdefinitions/GEM_ERP_OP_Abort.fsh 1 - 23 -OperationDefinition-AcceptOperation.json AcceptOperation Instance operationdefinitions/GEM_ERP_OP_Accept.fsh 1 - 25 -OperationDefinition-ActivateOperation.json ActivateOperation Instance operationdefinitions/GEM_ERP_OP_Activate.fsh 1 - 26 -OperationDefinition-CloseOperation.json CloseOperation Instance operationdefinitions/GEM_ERP_OP_Close.fsh 1 - 51 -OperationDefinition-CreateOperation.json CreateOperation Instance operationdefinitions/GEM_ERP_OP_Create.fsh 1 - 28 -OperationDefinition-DispenseOperation.json DispenseOperation Instance operationdefinitions/GEM_ERP_OP_Dispense.fsh 1 - 69 -OperationDefinition-RejectOperation.json RejectOperation Instance operationdefinitions/GEM_ERP_OP_Reject.fsh 1 - 15 -OperationOutcome-ExampleOperationAbortErrorAVS.json ExampleOperationAbortErrorAVS Instance examples/Example_Operation_Abort.fsh 1 - 8 -OperationOutcome-ExampleOperationAbortErrorPVS.json ExampleOperationAbortErrorPVS Instance examples/Example_Operation_Abort.fsh 10 - 17 -OperationOutcome-ExampleOperationAcceptError.json ExampleOperationAcceptError Instance examples/Example_Operation_Accept.fsh 1 - 8 -OperationOutcome-ExampleOperationActivateError.json ExampleOperationActivateError Instance examples/Example_Operation_Activate.fsh 8 - 16 -OperationOutcome-ExampleOperationCloseError.json ExampleOperationCloseError Instance examples/Example_Operation_Close.fsh 81 - 89 -OperationOutcome-ExampleOperationCreateError.json ExampleOperationCreateError Instance examples/Example_Operation_Create.fsh 8 - 16 -OperationOutcome-ExampleOperationRejectError.json ExampleOperationRejectError Instance examples/Example_Operation_Reject.fsh 1 - 8 -Parameters-ExampleDispenseInputParameters.json ExampleDispenseInputParameters Instance examples/Example_Operation_Dispense.fsh 1 - 12 -Parameters-ExampleDispenseInputParametersKombipackung.json ExampleDispenseInputParametersKombipackung Instance examples/Example_Operation_Dispense.fsh 35 - 46 -Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json ExampleDispenseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Dispense.fsh 14 - 33 -Parameters-ExampleDispenseOutputParametersError.json ExampleDispenseOutputParametersError Instance examples/Example_Operation_Dispense.fsh 61 - 69 -Parameters-ExampleDispenseOutputParametersSuccess.json ExampleDispenseOutputParametersSuccess Instance examples/Example_Operation_Dispense.fsh 48 - 59 -Parameters-ExampleOperationActivateParametersInput.json ExampleOperationActivateParametersInput Instance examples/Example_Operation_Activate.fsh 1 - 6 -Parameters-ExampleOperationCloseInputParameters.json ExampleOperationCloseInputParameters Instance examples/Example_Operation_Close.fsh 1 - 12 -Parameters-ExampleOperationCloseInputParametersDiGA.json ExampleOperationCloseInputParametersDiGA Instance examples/Example_Operation_Close.fsh 71 - 79 -Parameters-ExampleOperationCloseInputParametersKombipackung.json ExampleOperationCloseInputParametersKombipackung Instance examples/Example_Operation_Close.fsh 45 - 56 -Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json ExampleOperationCloseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Close.fsh 24 - 43 -Parameters-ExampleOperationCloseInputParametersRezeptur.json ExampleOperationCloseInputParametersRezeptur Instance examples/Example_Operation_Close.fsh 58 - 69 -Parameters-ExampleOperationCloseInputParametersWithoutMedication.json ExampleOperationCloseInputParametersWithoutMedication Instance examples/Example_Operation_Close.fsh 14 - 22 -Parameters-OperationCreateParametersInputExample.json OperationCreateParametersInputExample Instance examples/Example_Operation_Create.fsh 1 - 6 -Provenance-64d5081e-8d65-11ec-b909-0242ac120002.json PractitionersNarcoticsApproval Instance examples/Example_Provenance.fsh 2 - 21 -StructureDefinition-GEM-ERP-EX-AcceptDate.json GEM_ERP_EX_AcceptDate Extension extensions/GEM_ERP_EX_AcceptDate.fsh 1 - 10 -StructureDefinition-GEM-ERP-EX-AvailabilityState.json GEM_ERP_EX_AvailabilityState Extension extensions/GEM_ERP_EX_AvailabilityState.fsh 1 - 10 -StructureDefinition-GEM-ERP-EX-Beneficiary.json GEM_ERP_EX_Beneficiary Extension extensions/GEM_ERP_EX_Beneficiary.fsh 1 - 8 -StructureDefinition-GEM-ERP-EX-DeepLink.json GEM_ERP_EX_DeepLink Extension extensions/GEM_ERP_EX_DeepLink.fsh 1 - 7 -StructureDefinition-GEM-ERP-EX-ExpiryDate.json GEM_ERP_EX_ExpiryDate Extension extensions/GEM_ERP_EX_ExpiryDate.fsh 1 - 10 -StructureDefinition-GEM-ERP-EX-InsuranceProvider.json GEM_ERP_EX_InsuranceProvider Extension extensions/GEM_ERP_EX_InsuranceProvider.fsh 1 - 7 -StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json GEM_ERP_EX_LastMedicationDispense Extension extensions/GEM_ERP_EX_LastMedicationDispense.fsh 1 - 12 -StructureDefinition-GEM-ERP-EX-PackageQuantity.json GEM_ERP_EX_PackageQuantity Extension extensions/GEM_ERP_EX_PackageQuantity.fsh 1 - 8 -StructureDefinition-GEM-ERP-EX-PrescriptionType.json GEM_ERP_EX_PrescriptionType Extension extensions/GEM_ERP_EX_PrescriptionType.fsh 1 - 16 -StructureDefinition-GEM-ERP-EX-RedeemCode.json GEM_ERP_EX_RedeemCode Extension extensions/GEM_ERP_EX_RedeemCode.fsh 1 - 8 -StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json GEM_ERP_EX_SubstitutionAllowedType Extension extensions/GEM_ERP_EX_SubstitutionAllowedType.fsh 1 - 11 -StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json GEM_ERP_EX_SupplyOptionsType Extension extensions/GEM_ERP_EX_SupplyOptionsType.fsh 1 - 26 -StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json GEM_ERP_OUT_OP_Accept_Bundle Profile parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh 1 - 16 -StructureDefinition-GEM-ERP-PR-AccessCode.json GEM_ERP_PR_AccessCode Profile profiles/GEM_ERP_PR_AccessCode.fsh 1 - 11 -StructureDefinition-GEM-ERP-PR-AuditEvent.json GEM_ERP_PR_AuditEvent Profile profiles/GEM_ERP_PR_AuditEvent.fsh 1 - 32 -StructureDefinition-GEM-ERP-PR-BfArMApproval.json GEM_ERP_PR_BfArMApproval Profile profiles/GEM_ERP_PR_BfArMApproval.fsh 1 - 71 -StructureDefinition-GEM-ERP-PR-Binary.json GEM_ERP_PR_Binary Profile profiles/GEM_ERP_PR_Binary.fsh 1 - 8 -StructureDefinition-GEM-ERP-PR-Bundle.json GEM_ERP_PR_Bundle Profile profiles/GEM_ERP_PR_Bundle.fsh 1 - 49 -StructureDefinition-GEM-ERP-PR-Communication-DispReq.json GEM_ERP_PR_Communication_DispReq Profile profiles/GEM_ERP_PR_Communication_DispReq.fsh 1 - 40 -StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json GEM_ERP_PR_Communication_InfoReq Profile profiles/GEM_ERP_PR_Communication_InfoReq.fsh 1 - 54 -StructureDefinition-GEM-ERP-PR-Communication-Reply.json GEM_ERP_PR_Communication_Reply Profile profiles/GEM_ERP_PR_Communication_Reply.fsh 1 - 51 -StructureDefinition-GEM-ERP-PR-Communication-Representative.json GEM_ERP_PR_Communication_Representative Profile profiles/GEM_ERP_PR_Communication_Representative.fsh 1 - 34 -StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 -StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 -StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 -StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 20 -StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 -StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 -StructureDefinition-GEM-ERP-PR-PrescriptionId.json GEM_ERP_PR_PrescriptionId Profile profiles/GEM_ERP_PR_PrescriptionId.fsh 1 - 13 -StructureDefinition-GEM-ERP-PR-Secret.json GEM_ERP_PR_Secret Profile profiles/GEM_ERP_PR_Secret.fsh 1 - 12 -StructureDefinition-GEM-ERP-PR-Signature.json GEM_ERP_PR_Signature Profile profiles/GEM_ERP_PR_Signature.fsh 1 - 23 -StructureDefinition-GEM-ERP-PR-Task.json GEM_ERP_PR_Task Profile profiles/GEM_ERP_PR_Task.fsh 1 - 77 -StructureDefinition-gem-erp-pr-accept-operation-output.json GEM_ERP_PR_AcceptOperation_Output Profile parameters/GEM_ERP_PR_AcceptOperation_Output.fsh 1 - 22 -StructureDefinition-gem-erp-pr-activate-operation-input.json GEM_ERP_PR_ActivateOperation_Input Profile parameters/GEM_ERP_PR_ActivateOperation_Input.fsh 1 - 20 -StructureDefinition-gem-erp-pr-activate-operation-output.json GEM_ERP_PR_ActivateOperation_Output Profile parameters/GEM_ERP_PR_ActivateOperation_Output.fsh 1 - 22 -StructureDefinition-gem-erp-pr-close-operation-input.json GEM_ERP_PR_CloseOperation_Input Profile parameters/GEM_ERP_PR_CloseOperation_Input.fsh 1 - 41 -StructureDefinition-gem-erp-pr-close-operation-output.json GEM_ERP_PR_CloseOperation_Output Profile parameters/GEM_ERP_PR_CloseOperation_Output.fsh 1 - 22 -StructureDefinition-gem-erp-pr-create-operation-input.json GEM_ERP_PR_CreateOperation_Input Profile parameters/GEM_ERP_PR_CreateOperation_Input.fsh 1 - 20 -StructureDefinition-gem-erp-pr-create-operation-output.json GEM_ERP_PR_CreateOperation_Output Profile parameters/GEM_ERP_PR_CreateOperation_Output.fsh 1 - 22 -StructureDefinition-gem-erp-pr-dispense-operation-input.json GEM_ERP_PR_DispenseOperation_Input Profile parameters/GEM_ERP_PR_DispenseOperation_Input.fsh 1 - 41 -StructureDefinition-gem-erp-pr-dispense-operation-output.json GEM_ERP_PR_DispenseOperation_Output Profile parameters/GEM_ERP_PR_DispenseOperation_Output.fsh 1 - 48 -StructureDefinition-logMedDispense.json GEM_ERP_LOG_MedicationDispense Logical logicalmodels/logical-medication-dispense.fsh 1 - 113 -StructureDefinition-logMedDispenseDiGA.json GEM_ERP_LOG_MedicationDispense_DiGA Logical logicalmodels/logical-medication-dispense-diga.fsh 1 - 19 -Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json TaskInClosedState Instance examples/Example_Task.fsh 144 - 173 -Task-607255ed-ce41-47fc-aad3-cfce1c39963f.json TaskInReadyState Instance examples/Example_Task.fsh 26 - 53 -Task-9b48f82c-9c11-4a57-aa72-a805f9537a82.json TaskIn-ProgressState-Dispensed Instance examples/Example_Task.fsh 82 - 111 -Task-b12eb5f7-91ce-4887-93c7-800454601377.json TaskInCreatedState Instance examples/Example_Task.fsh 2 - 24 -Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json TaskIn-ProgressState Instance examples/Example_Task.fsh 55 - 80 -Task-f5c21409-b84b-4125-8649-5630a00906b1.json TaskIn-ProgressState-Dispensed-Multiple-MedicationDispenses Instance examples/Example_Task.fsh 113 - 142 -ValueSet-GEM-ERP-VS-AvailabilityStatus.json GEM_ERP_VS_AvailabilityStatus ValueSet valuesets/GEM_ERP_VS_AvailabilityStatus.fsh 1 - 6 -ValueSet-GEM-ERP-VS-DocumentType.json GEM_ERP_VS_DocumentType ValueSet valuesets/GEM_ERP_VS_DocumentType.fsh 1 - 11 -ValueSet-GEM-ERP-VS-FlowType.json GEM_ERP_VS_FlowType ValueSet valuesets/GEM_ERP_VS_FlowType.fsh 1 - 6 -ValueSet-GEM-ERP-VS-OrganizationType.json GEM_ERP_VS_OrganizationType ValueSet valuesets/GEM_ERP_VS_OrganizationType.fsh 1 - 6 -ValueSet-GEM-ERP-VS-PerformerType.json PerformerTypeVS ValueSet valuesets/GEM_ERP_VS_PerformerType.fsh 5 - 16 \ No newline at end of file +Output File Name Type FSH File Lines +AuditEvent-9361863d-fec0-4ba9-8776-7905cf1b0cfa.json AuditEventSample Instance examples/Example_AuditEvent.fsh 2 - 32 +Bundle-Bundle-AcceptOperation.json Bundle-AcceptOperation Instance examples/Example_Bundle.fsh 34 - 45 +Bundle-dffbfd6a-5712-4798-bdc8-07201eb77ab8.json ReceiptBundleQuittung Instance examples/Example_Bundle.fsh 10 - 32 +CodeSystem-GEM-ERP-CS-AvailabilityStatus.json GEM_ERP_CS_AvailabilityStatus CodeSystem codesystems/GEM_ERP_CS_AvailabilityStatus.fsh 1 - 12 +CodeSystem-GEM-ERP-CS-DocumentType.json GEM_ERP_CS_DocumentType CodeSystem codesystems/GEM_ERP_CS_DocumentType.fsh 1 - 10 +CodeSystem-GEM-ERP-CS-FlowType.json GEM_ERP_CS_FlowType CodeSystem codesystems/GEM_ERP_CS_FlowType.fsh 1 - 16 +CodeSystem-GEM-ERP-CS-OrganizationType.json GEM_ERP_CS_OrganizationType CodeSystem codesystems/GEM_ERP_CS_OrganizationType.fsh 1 - 8 +Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json Communication_DispenseRequest_DiGA Instance examples/Example_Communication_DispReq.fsh 20 - 35 +Communication-7977a4ab-97a9-4d95-afb3-6c4c1e2ac596.json Communication_Reply Instance examples/Example_Communication_Reply.fsh 2 - 26 +Communication-8ca3c379-ac86-470f-bc12-178c9008f5c9.json Communication_InformationRequest Instance examples/Example_Communication_InfoReq.fsh 1 - 35 +Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json Communication_DispenseRequest Instance examples/Example_Communication_DispReq.fsh 2 - 18 +Medication-Augentropfen.json Augentropfen Instance examples/Example_Medication_Kombipackung.fsh 19 - 37 +Medication-Medication-Kombipackung.json Medication-Kombipackung Instance examples/Example_Medication_Kombipackung.fsh 2 - 17 +Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 +Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 +Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 43 +Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 +Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 +Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 +Medication-MedicationHydrocortison.json MedicationHydrocortison Instance examples/Example_Medication_Rezeptur.fsh 43 - 51 +Medication-NasenSpray.json NasenSpray Instance examples/Example_Medication_Kombipackung.fsh 39 - 57 +Medication-SumatripanMedication.json SumatripanMedication Instance examples/Example_Medication.fsh 2 - 23 +MedicationDispense-Example-MedicationDispense-2.json Example-MedicationDispense-2 Instance examples/Example_MedicationDispense.fsh 17 - 30 +MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json Example-MedicationDispense-DiGA-DeepLink Instance examples/Example_MedicationDispense_DiGA.fsh 18 - 34 +MedicationDispense-Example-MedicationDispense-DiGA-Name-And-PZN.json Example-MedicationDispense-DiGA-Name-And-PZN Instance examples/Example_MedicationDispense_DiGA.fsh 1 - 16 +MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json Example-MedicationDispense-DiGA-NoRedeemCode Instance examples/Example_MedicationDispense_DiGA.fsh 36 - 49 +MedicationDispense-Example-MedicationDispense-Kombipackung.json Example-MedicationDispense-Kombipackung Instance examples/Example_MedicationDispense.fsh 32 - 45 +MedicationDispense-Example-MedicationDispense-Rezeptur.json Example-MedicationDispense-Rezeptur Instance examples/Example_MedicationDispense.fsh 47 - 60 +MedicationDispense-Example-MedicationDispense.json Example-MedicationDispense Instance examples/Example_MedicationDispense.fsh 2 - 15 +OperationDefinition-AbortOperation.json AbortOperation Instance operationdefinitions/GEM_ERP_OP_Abort.fsh 1 - 23 +OperationDefinition-AcceptOperation.json AcceptOperation Instance operationdefinitions/GEM_ERP_OP_Accept.fsh 1 - 25 +OperationDefinition-ActivateOperation.json ActivateOperation Instance operationdefinitions/GEM_ERP_OP_Activate.fsh 1 - 26 +OperationDefinition-CloseOperation.json CloseOperation Instance operationdefinitions/GEM_ERP_OP_Close.fsh 1 - 51 +OperationDefinition-CreateOperation.json CreateOperation Instance operationdefinitions/GEM_ERP_OP_Create.fsh 1 - 28 +OperationDefinition-DispenseOperation.json DispenseOperation Instance operationdefinitions/GEM_ERP_OP_Dispense.fsh 1 - 69 +OperationDefinition-RejectOperation.json RejectOperation Instance operationdefinitions/GEM_ERP_OP_Reject.fsh 1 - 15 +OperationOutcome-ExampleOperationAbortErrorAVS.json ExampleOperationAbortErrorAVS Instance examples/Example_Operation_Abort.fsh 1 - 8 +OperationOutcome-ExampleOperationAbortErrorPVS.json ExampleOperationAbortErrorPVS Instance examples/Example_Operation_Abort.fsh 10 - 17 +OperationOutcome-ExampleOperationAcceptError.json ExampleOperationAcceptError Instance examples/Example_Operation_Accept.fsh 1 - 8 +OperationOutcome-ExampleOperationActivateError.json ExampleOperationActivateError Instance examples/Example_Operation_Activate.fsh 8 - 16 +OperationOutcome-ExampleOperationCloseError.json ExampleOperationCloseError Instance examples/Example_Operation_Close.fsh 81 - 89 +OperationOutcome-ExampleOperationCreateError.json ExampleOperationCreateError Instance examples/Example_Operation_Create.fsh 8 - 16 +OperationOutcome-ExampleOperationRejectError.json ExampleOperationRejectError Instance examples/Example_Operation_Reject.fsh 1 - 8 +Parameters-ExampleDispenseInputParameters.json ExampleDispenseInputParameters Instance examples/Example_Operation_Dispense.fsh 1 - 12 +Parameters-ExampleDispenseInputParametersKombipackung.json ExampleDispenseInputParametersKombipackung Instance examples/Example_Operation_Dispense.fsh 35 - 46 +Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json ExampleDispenseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Dispense.fsh 14 - 33 +Parameters-ExampleDispenseOutputParametersError.json ExampleDispenseOutputParametersError Instance examples/Example_Operation_Dispense.fsh 61 - 69 +Parameters-ExampleDispenseOutputParametersSuccess.json ExampleDispenseOutputParametersSuccess Instance examples/Example_Operation_Dispense.fsh 48 - 59 +Parameters-ExampleOperationActivateParametersInput.json ExampleOperationActivateParametersInput Instance examples/Example_Operation_Activate.fsh 1 - 6 +Parameters-ExampleOperationCloseInputParameters.json ExampleOperationCloseInputParameters Instance examples/Example_Operation_Close.fsh 1 - 12 +Parameters-ExampleOperationCloseInputParametersDiGA.json ExampleOperationCloseInputParametersDiGA Instance examples/Example_Operation_Close.fsh 71 - 79 +Parameters-ExampleOperationCloseInputParametersKombipackung.json ExampleOperationCloseInputParametersKombipackung Instance examples/Example_Operation_Close.fsh 45 - 56 +Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json ExampleOperationCloseInputParametersMultipleMedicationDispenses Instance examples/Example_Operation_Close.fsh 24 - 43 +Parameters-ExampleOperationCloseInputParametersRezeptur.json ExampleOperationCloseInputParametersRezeptur Instance examples/Example_Operation_Close.fsh 58 - 69 +Parameters-ExampleOperationCloseInputParametersWithoutMedication.json ExampleOperationCloseInputParametersWithoutMedication Instance examples/Example_Operation_Close.fsh 14 - 22 +Parameters-OperationCreateParametersInputExample.json OperationCreateParametersInputExample Instance examples/Example_Operation_Create.fsh 1 - 6 +Provenance-64d5081e-8d65-11ec-b909-0242ac120002.json PractitionersNarcoticsApproval Instance examples/Example_Provenance.fsh 2 - 21 +StructureDefinition-GEM-ERP-EX-AcceptDate.json GEM_ERP_EX_AcceptDate Extension extensions/GEM_ERP_EX_AcceptDate.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-AvailabilityState.json GEM_ERP_EX_AvailabilityState Extension extensions/GEM_ERP_EX_AvailabilityState.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-Beneficiary.json GEM_ERP_EX_Beneficiary Extension extensions/GEM_ERP_EX_Beneficiary.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-DeepLink.json GEM_ERP_EX_DeepLink Extension extensions/GEM_ERP_EX_DeepLink.fsh 1 - 7 +StructureDefinition-GEM-ERP-EX-ExpiryDate.json GEM_ERP_EX_ExpiryDate Extension extensions/GEM_ERP_EX_ExpiryDate.fsh 1 - 10 +StructureDefinition-GEM-ERP-EX-InsuranceProvider.json GEM_ERP_EX_InsuranceProvider Extension extensions/GEM_ERP_EX_InsuranceProvider.fsh 1 - 7 +StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json GEM_ERP_EX_LastMedicationDispense Extension extensions/GEM_ERP_EX_LastMedicationDispense.fsh 1 - 12 +StructureDefinition-GEM-ERP-EX-PackageQuantity.json GEM_ERP_EX_PackageQuantity Extension extensions/GEM_ERP_EX_PackageQuantity.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-PrescriptionType.json GEM_ERP_EX_PrescriptionType Extension extensions/GEM_ERP_EX_PrescriptionType.fsh 1 - 16 +StructureDefinition-GEM-ERP-EX-RedeemCode.json GEM_ERP_EX_RedeemCode Extension extensions/GEM_ERP_EX_RedeemCode.fsh 1 - 8 +StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json GEM_ERP_EX_SubstitutionAllowedType Extension extensions/GEM_ERP_EX_SubstitutionAllowedType.fsh 1 - 11 +StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json GEM_ERP_EX_SupplyOptionsType Extension extensions/GEM_ERP_EX_SupplyOptionsType.fsh 1 - 26 +StructureDefinition-GEM-ERP-PR-AccessCode.json GEM_ERP_PR_AccessCode Profile profiles/GEM_ERP_PR_AccessCode.fsh 1 - 11 +StructureDefinition-GEM-ERP-PR-AuditEvent.json GEM_ERP_PR_AuditEvent Profile profiles/GEM_ERP_PR_AuditEvent.fsh 1 - 32 +StructureDefinition-GEM-ERP-PR-BfArMApproval.json GEM_ERP_PR_BfArMApproval Profile profiles/GEM_ERP_PR_BfArMApproval.fsh 1 - 71 +StructureDefinition-GEM-ERP-PR-Binary.json GEM_ERP_PR_Binary Profile profiles/GEM_ERP_PR_Binary.fsh 1 - 8 +StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json GEM_ERP_PR_Bundle_OP_Accept Profile profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh 1 - 16 +StructureDefinition-GEM-ERP-PR-Bundle.json GEM_ERP_PR_Bundle Profile profiles/GEM_ERP_PR_Bundle.fsh 1 - 49 +StructureDefinition-GEM-ERP-PR-Communication-DispReq.json GEM_ERP_PR_Communication_DispReq Profile profiles/GEM_ERP_PR_Communication_DispReq.fsh 1 - 40 +StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json GEM_ERP_PR_Communication_InfoReq Profile profiles/GEM_ERP_PR_Communication_InfoReq.fsh 1 - 54 +StructureDefinition-GEM-ERP-PR-Communication-Reply.json GEM_ERP_PR_Communication_Reply Profile profiles/GEM_ERP_PR_Communication_Reply.fsh 1 - 51 +StructureDefinition-GEM-ERP-PR-Communication-Representative.json GEM_ERP_PR_Communication_Representative Profile profiles/GEM_ERP_PR_Communication_Representative.fsh 1 - 34 +StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 +StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 +StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 +StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 20 +StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 +StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 +StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json GEM_ERP_PR_PAR_AcceptOperation_Output Profile parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json GEM_ERP_PR_PAR_ActivateOperation_Input Profile parameters/GEM_ERP_PR_PAR_ActivateOperation_Input.fsh 1 - 20 +StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json GEM_ERP_PR_PAR_ActivateOperation_Output Profile parameters/GEM_ERP_PR_PAR_ActivateOperation_Output.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json GEM_ERP_PR_PAR_CloseOperation_Input Profile parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh 1 - 41 +StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json GEM_ERP_PR_PAR_CloseOperation_Output Profile parameters/GEM_ERP_PR_PAR_CloseOperation_Output.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json GEM_ERP_PR_PAR_CreateOperation_Input Profile parameters/GEM_ERP_PR_PAR_CreateOperation_Input.fsh 1 - 20 +StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json GEM_ERP_PR_PAR_CreateOperation_Output Profile parameters/GEM_ERP_PR_PAR_CreateOperation_Output.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json GEM_ERP_PR_PAR_DispenseOperation_Input Profile parameters/GEM_ERP_PR_PAR_DispenseOperation_Input.fsh 1 - 41 +StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json GEM_ERP_PR_PAR_DispenseOperation_Output Profile parameters/GEM_ERP_PR_PAR_DispenseOperation_Output.fsh 1 - 48 +StructureDefinition-GEM-ERP-PR-PrescriptionId.json GEM_ERP_PR_PrescriptionId Profile profiles/GEM_ERP_PR_PrescriptionId.fsh 1 - 13 +StructureDefinition-GEM-ERP-PR-Secret.json GEM_ERP_PR_Secret Profile profiles/GEM_ERP_PR_Secret.fsh 1 - 12 +StructureDefinition-GEM-ERP-PR-Signature.json GEM_ERP_PR_Signature Profile profiles/GEM_ERP_PR_Signature.fsh 1 - 23 +StructureDefinition-GEM-ERP-PR-Task.json GEM_ERP_PR_Task Profile profiles/GEM_ERP_PR_Task.fsh 1 - 77 +StructureDefinition-logMedDispense.json GEM_ERP_LOG_MedicationDispense Logical logicalmodels/logical-medication-dispense.fsh 1 - 113 +StructureDefinition-logMedDispenseDiGA.json GEM_ERP_LOG_MedicationDispense_DiGA Logical logicalmodels/logical-medication-dispense-diga.fsh 1 - 19 +Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json TaskInClosedState Instance examples/Example_Task.fsh 144 - 173 +Task-607255ed-ce41-47fc-aad3-cfce1c39963f.json TaskInReadyState Instance examples/Example_Task.fsh 26 - 53 +Task-9b48f82c-9c11-4a57-aa72-a805f9537a82.json TaskIn-ProgressState-Dispensed Instance examples/Example_Task.fsh 82 - 111 +Task-b12eb5f7-91ce-4887-93c7-800454601377.json TaskInCreatedState Instance examples/Example_Task.fsh 2 - 24 +Task-d70932d1-9e1c-483c-b2d4-b7dced09b35e.json TaskIn-ProgressState Instance examples/Example_Task.fsh 55 - 80 +Task-f5c21409-b84b-4125-8649-5630a00906b1.json TaskIn-ProgressState-Dispensed-Multiple-MedicationDispenses Instance examples/Example_Task.fsh 113 - 142 +ValueSet-GEM-ERP-VS-AvailabilityStatus.json GEM_ERP_VS_AvailabilityStatus ValueSet valuesets/GEM_ERP_VS_AvailabilityStatus.fsh 1 - 6 +ValueSet-GEM-ERP-VS-DocumentType.json GEM_ERP_VS_DocumentType ValueSet valuesets/GEM_ERP_VS_DocumentType.fsh 1 - 11 +ValueSet-GEM-ERP-VS-FlowType.json GEM_ERP_VS_FlowType ValueSet valuesets/GEM_ERP_VS_FlowType.fsh 1 - 6 +ValueSet-GEM-ERP-VS-OrganizationType.json GEM_ERP_VS_OrganizationType ValueSet valuesets/GEM_ERP_VS_OrganizationType.fsh 1 - 6 +ValueSet-GEM-ERP-VS-PerformerType.json PerformerTypeVS ValueSet valuesets/GEM_ERP_VS_PerformerType.fsh 5 - 16 \ No newline at end of file diff --git a/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json index 0f5530a2..ae300226 100644 --- a/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json +++ b/Resources/fsh-generated/resources/Bundle-Bundle-AcceptOperation.json @@ -3,7 +3,7 @@ "id": "Bundle-AcceptOperation", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept" ] }, "type": "collection", diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index 7ef2088e..a27d1686 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -16,7 +16,7 @@ "instance": true, "description": "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'.", "code": "accept", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_AcceptOperation_Output", "parameter": [ { "name": "ac", diff --git a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json index 619aa713..b7e72485 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json @@ -16,8 +16,8 @@ "instance": true, "description": "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow.", "code": "activate", - "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Output", "parameter": [ { "name": "ePrescription", diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 70863862..89162c7e 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -16,8 +16,8 @@ "instance": true, "description": "The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed", "code": "close", - "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Output", "parameter": [ { "name": "secret", diff --git a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json index 360c8c2c..d9672006 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json @@ -16,8 +16,8 @@ "instance": false, "description": "This operation creates a Task for the prescription of a specific workflowType.", "code": "create", - "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Output", "parameter": [ { "name": "workflowType", diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index 4079d182..06b67de0 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -16,8 +16,8 @@ "instance": true, "description": "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy.", "code": "dispense", - "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", - "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", + "inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input", + "outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output", "parameter": [ { "name": "secret", diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index 427b16f4..3e5178aa 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -3,7 +3,7 @@ "id": "ExampleDispenseInputParameters", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 517ab9b6..3ff34e42 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -3,7 +3,7 @@ "id": "ExampleDispenseInputParametersKombipackung", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json index 79770d1c..38816952 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -3,7 +3,7 @@ "id": "ExampleDispenseInputParametersMultipleMedicationDispenses", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json index 54dfe9ff..77773c30 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersError.json @@ -3,7 +3,7 @@ "id": "ExampleDispenseOutputParametersError", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json index 6773bbfe..90edf165 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json @@ -3,7 +3,7 @@ "id": "ExampleDispenseOutputParametersSuccess", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json index ef9d86a8..eeb2a44b 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationActivateParametersInput.json @@ -3,7 +3,7 @@ "id": "ExampleOperationActivateParametersInput", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json index 673a05ee..f4464472 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParameters", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json index ed774cbb..e5bb6d74 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParametersDiGA", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json index 0ac45466..5edb7b2c 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParametersKombipackung", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json index 68978db9..5e7c68f0 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParametersMultipleMedicationDispenses", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json index bfbbdb39..3cf2bf53 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParametersRezeptur", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json index e6444afb..f04cdbf6 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json @@ -3,7 +3,7 @@ "id": "ExampleOperationCloseInputParametersWithoutMedication", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json index ddd3d81d..224a028d 100644 --- a/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json +++ b/Resources/fsh-generated/resources/Parameters-OperationCreateParametersInputExample.json @@ -3,7 +3,7 @@ "id": "OperationCreateParametersInputExample", "meta": { "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input|1.4" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Input|1.4" ] }, "parameter": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json similarity index 94% rename from Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json index 6a6f61cf..bca53b7c 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PAR-OUT-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "GEM-ERP-PAR-OUT-OP-Accept", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle", + "id": "GEM-ERP-PR-Bundle-OP-Accept", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept", "version": "1.4", - "name": "GEM_ERP_OUT_OP_Accept_Bundle", + "name": "GEM_ERP_PR_Bundle_OP_Accept", "status": "draft", "date": "2024-07-15", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json similarity index 91% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json index f32eea9e..33827a78 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-accept-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-accept-operation-output", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output", + "id": "GEM-ERP-PR-PAR-Accept-Operation-Output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_AcceptOperation_Output", "version": "1.4", - "name": "GEM_ERP_PR_AcceptOperation_Output", + "name": "GEM_ERP_PR_PAR_AcceptOperation_Output", "title": "GEM ERP PR AcceptOperation Output", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_AcceptOperation_Output|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_AcceptOperation_Output|1.4" }, { "id": "Parameters.parameter", @@ -69,7 +69,7 @@ { "code": "Bundle", "profile": [ - "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_OUT_OP_Accept_Bundle" + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept" ] } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json similarity index 91% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json index 821dfcfe..e1ba45c3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-activate-operation-input", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input", + "id": "GEM-ERP-PR-PAR-Activate-Operation-Input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Input", "version": "1.4", - "name": "GEM_ERP_PR_ActivateOperation_Input", + "name": "GEM_ERP_PR_PAR_ActivateOperation_Input", "title": "GEM ERP PR ActivateOperation Input", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Input|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Input|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json similarity index 91% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json index 6c7afcca..4aac6542 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-activate-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-activate-operation-output", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output", + "id": "GEM-ERP-PR-PAR-Activate-Operation-Output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Output", "version": "1.4", - "name": "GEM_ERP_PR_ActivateOperation_Output", + "name": "GEM_ERP_PR_PAR_ActivateOperation_Output", "title": "GEM ERP PR ActivateOperation Output", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_ActivateOperation_Output|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_ActivateOperation_Output|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json similarity index 96% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json index 63ffe44e..f4dbc448 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-close-operation-input", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input", + "id": "GEM-ERP-PR-PAR-Close-Operation-Input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input", "version": "1.4", - "name": "GEM_ERP_PR_CloseOperation_Input", + "name": "GEM_ERP_PR_PAR_CloseOperation_Input", "title": "GEM ERP PR CloseOperation Input", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Input|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json similarity index 92% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json index 6cd57050..f288c242 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-close-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-close-operation-output", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output", + "id": "GEM-ERP-PR-PAR-Close-Operation-Output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Output", "version": "1.4", - "name": "GEM_ERP_PR_CloseOperation_Output", + "name": "GEM_ERP_PR_PAR_CloseOperation_Output", "title": "GEM ERP PR CloseOperation Output", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperation_Output|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Output|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json similarity index 91% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json index d20a290a..da886020 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-create-operation-input", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input", + "id": "GEM-ERP-PR-PAR-Create-Operation-Input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Input", "version": "1.4", - "name": "GEM_ERP_PR_CreateOperation_Input", + "name": "GEM_ERP_PR_PAR_CreateOperation_Input", "title": "GEM ERP PR CreateOperation Input Parameter", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Input|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Input|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json similarity index 92% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json index e807b71f..386f6d08 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-create-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-create-operation-output", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output", + "id": "GEM-ERP-PR-PAR-Create-Operation-Output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Output", "version": "1.4", - "name": "GEM_ERP_PR_CreateOperation_Output", + "name": "GEM_ERP_PR_PAR_CreateOperation_Output", "title": "GEM ERP PR CreateOperation Output", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CreateOperation_Output|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CreateOperation_Output|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json similarity index 96% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json index b7db5fd7..b03cbac7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-dispense-operation-input", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input", + "id": "GEM-ERP-PR-PAR-Dispense-Operation-Input", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input", "version": "1.4", - "name": "GEM_ERP_PR_DispenseOperation_Input", + "name": "GEM_ERP_PR_PAR_DispenseOperation_Input", "title": "GEM ERP PR DispenseOperation Input", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Input|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json similarity index 96% rename from Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json rename to Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json index f1918a17..140d2774 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-gem-erp-pr-dispense-operation-output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json @@ -1,9 +1,9 @@ { "resourceType": "StructureDefinition", - "id": "gem-erp-pr-dispense-operation-output", - "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output", + "id": "GEM-ERP-PR-PAR-Dispense-Operation-Output", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output", "version": "1.4", - "name": "GEM_ERP_PR_DispenseOperation_Output", + "name": "GEM_ERP_PR_PAR_DispenseOperation_Output", "title": "GEM ERP PR DispenseOperation Output", "status": "draft", "date": "2024-07-15", @@ -26,7 +26,7 @@ "path": "Parameters.meta.profile", "min": 1, "max": "1", - "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_DispenseOperation_Output|1.4" + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output|1.4" }, { "id": "Parameters.parameter", diff --git a/Resources/input/fsh/examples/Example_Bundle.fsh b/Resources/input/fsh/examples/Example_Bundle.fsh index 97209a42..b1274fb3 100644 --- a/Resources/input/fsh/examples/Example_Bundle.fsh +++ b/Resources/input/fsh/examples/Example_Bundle.fsh @@ -32,7 +32,7 @@ Usage: #example * signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" Instance: Bundle-AcceptOperation -InstanceOf: GEM_ERP_OUT_OP_Accept_Bundle +InstanceOf: GEM_ERP_PR_Bundle_OP_Accept Usage: #example Title: "Example Accept Bundle" Description: "This Bundle contains the Task and the qualified signed ePrescription." diff --git a/Resources/input/fsh/examples/Example_Operation_Activate.fsh b/Resources/input/fsh/examples/Example_Operation_Activate.fsh index 4778b959..1a5dc122 100644 --- a/Resources/input/fsh/examples/Example_Operation_Activate.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Activate.fsh @@ -1,5 +1,5 @@ Instance: ExampleOperationActivateParametersInput -InstanceOf: GEM_ERP_PR_ActivateOperation_Input +InstanceOf: GEM_ERP_PR_PAR_ActivateOperation_Input Title: "Example Activate operation input parameters" Usage: #example * parameter[ePrescription].name = "ePrescription" diff --git a/Resources/input/fsh/examples/Example_Operation_Close.fsh b/Resources/input/fsh/examples/Example_Operation_Close.fsh index 71955de9..4e4e4748 100644 --- a/Resources/input/fsh/examples/Example_Operation_Close.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Close.fsh @@ -1,5 +1,5 @@ Instance: ExampleOperationCloseInputParameters -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] @@ -12,7 +12,7 @@ Title: "Example Close Parameters" * resource = SumatripanMedication Instance: ExampleOperationCloseInputParametersWithoutMedication -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] @@ -22,7 +22,7 @@ Title: "Example Close Parameters" * resource = Example-MedicationDispense Instance: ExampleOperationCloseInputParametersMultipleMedicationDispenses -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] @@ -43,7 +43,7 @@ Title: "Example Close Parameters" * resource = Medication-Without-Strength-Code Instance: ExampleOperationCloseInputParametersKombipackung -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] @@ -56,7 +56,7 @@ Title: "Example Close Parameters" * resource = Medication-Kombipackung Instance: ExampleOperationCloseInputParametersRezeptur -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] @@ -69,7 +69,7 @@ Title: "Example Close Parameters" * resource = Medication-Rezeptur Instance: ExampleOperationCloseInputParametersDiGA -InstanceOf: GEM_ERP_PR_CloseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input Usage: #example Title: "Example Close Parameters" * parameter[rxDispensation] diff --git a/Resources/input/fsh/examples/Example_Operation_Create.fsh b/Resources/input/fsh/examples/Example_Operation_Create.fsh index e83731db..7f04be3e 100644 --- a/Resources/input/fsh/examples/Example_Operation_Create.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Create.fsh @@ -1,5 +1,5 @@ Instance: OperationCreateParametersInputExample -InstanceOf: GEM_ERP_PR_CreateOperation_Input +InstanceOf: GEM_ERP_PR_PAR_CreateOperation_Input Title: "$create Operation Parameters sample" Usage: #example * parameter[workflowType].name = "workflowType" diff --git a/Resources/input/fsh/examples/Example_Operation_Dispense.fsh b/Resources/input/fsh/examples/Example_Operation_Dispense.fsh index d2c9aa3f..7348e6dc 100644 --- a/Resources/input/fsh/examples/Example_Operation_Dispense.fsh +++ b/Resources/input/fsh/examples/Example_Operation_Dispense.fsh @@ -1,5 +1,5 @@ Instance: ExampleDispenseInputParameters -InstanceOf: GEM_ERP_PR_DispenseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_DispenseOperation_Input Usage: #example Title: "Example Dispense Parameters" * parameter[rxDispensation] @@ -12,7 +12,7 @@ Title: "Example Dispense Parameters" * resource = SumatripanMedication Instance: ExampleDispenseInputParametersMultipleMedicationDispenses -InstanceOf: GEM_ERP_PR_DispenseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_DispenseOperation_Input Usage: #example Title: "Example Dispense Parameters" * parameter[rxDispensation][+] @@ -33,7 +33,7 @@ Title: "Example Dispense Parameters" * resource = Medication-Without-Strength-Code Instance: ExampleDispenseInputParametersKombipackung -InstanceOf: GEM_ERP_PR_DispenseOperation_Input +InstanceOf: GEM_ERP_PR_PAR_DispenseOperation_Input Usage: #example Title: "Example Dispense Parameters" * parameter[rxDispensation] @@ -46,7 +46,7 @@ Title: "Example Dispense Parameters" * resource = Medication-Kombipackung Instance: ExampleDispenseOutputParametersSuccess -InstanceOf: GEM_ERP_PR_DispenseOperation_Output +InstanceOf: GEM_ERP_PR_PAR_DispenseOperation_Output Usage: #example Title: "Example Dispense Parameters Response on Success" * parameter[rxDispensation] @@ -59,7 +59,7 @@ Title: "Example Dispense Parameters Response on Success" * resource = SumatripanMedication Instance: ExampleDispenseOutputParametersError -InstanceOf: GEM_ERP_PR_DispenseOperation_Output +InstanceOf: GEM_ERP_PR_PAR_DispenseOperation_Output Usage: #example Title: "Example Dispense Parameters Response on Error" * parameter[rxDispensation] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh index 847c1949..2a3390f1 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Accept.fsh @@ -4,7 +4,7 @@ Usage: #definition * insert Operation(Accept) * description = "With the accept operation a pharmacy claims an e-prescription. The status of the referenced Task changes into 'in-progres'." * code = #accept -* outputProfile = Canonical(GEM_ERP_PR_AcceptOperation_Output) +* outputProfile = Canonical(GEM_ERP_PR_PAR_AcceptOperation_Output) // in * parameter[+] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh index 8e02f7ce..7cec3d6d 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Activate.fsh @@ -4,8 +4,8 @@ Usage: #definition * insert Operation(Activate) * description = "This operation activates the created Task for the prescription. The input parameter must contain the qualified signed Bundle of the prescription. The prescription server validates the prescription, updates the task ressource and starts the workflow." * code = #activate -* inputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_ActivateOperation_Output) +* inputProfile = Canonical(GEM_ERP_PR_PAR_ActivateOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_PAR_ActivateOperation_Output) // in * parameter[+] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index 9bd9f2f6..7dc326c6 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -9,8 +9,8 @@ Usage: #definition * instance = true * resource = #Task -* inputProfile = Canonical(GEM_ERP_PR_CloseOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_CloseOperation_Output) +* inputProfile = Canonical(GEM_ERP_PR_PAR_CloseOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_PAR_CloseOperation_Output) // in * parameter[0] diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh index 90850168..7a6205ab 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Create.fsh @@ -6,8 +6,8 @@ Usage: #definition * code = #create * type = true * instance = false -* inputProfile = Canonical(GEM_ERP_PR_CreateOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_CreateOperation_Output) +* inputProfile = Canonical(GEM_ERP_PR_PAR_CreateOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_PAR_CreateOperation_Output) // in * parameter[+] * name = #workflowType diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index 96a14c84..a1b7e2ac 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -9,8 +9,8 @@ Usage: #definition * instance = true * resource = #Task -* inputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Input) -* outputProfile = Canonical(GEM_ERP_PR_DispenseOperation_Output) +* inputProfile = Canonical(GEM_ERP_PR_PAR_DispenseOperation_Input) +* outputProfile = Canonical(GEM_ERP_PR_PAR_DispenseOperation_Output) // in * parameter[0] diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh similarity index 72% rename from Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh index 772db4d2..a1f97e80 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_AcceptOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_AcceptOperation_Output +Profile: GEM_ERP_PR_PAR_AcceptOperation_Output Parent: Parameters -Id: gem-erp-pr-accept-operation-output +Id: GEM-ERP-PR-PAR-Accept-Operation-Output Title: "GEM ERP PR AcceptOperation Output" Description: "This profile defines the parameters for accepting a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $accept-operation." -* insert Profile(GEM_ERP_PR_AcceptOperation_Output) +* insert Profile(GEM_ERP_PR_PAR_AcceptOperation_Output) * parameter 1..1 @@ -18,5 +18,5 @@ Description: "This profile defines the parameters for accepting a medication fro * name = "return" * value[x] 0..0 * resource 1..1 - * resource only GEM_ERP_OUT_OP_Accept_Bundle + * resource only GEM_ERP_PR_Bundle_OP_Accept * part 0..0 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Input.fsh similarity index 78% rename from Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Input.fsh index 9603fd0b..7695fb6d 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Input.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_ActivateOperation_Input +Profile: GEM_ERP_PR_PAR_ActivateOperation_Input Parent: Parameters -Id: gem-erp-pr-activate-operation-input +Id: GEM-ERP-PR-PAR-Activate-Operation-Input Title: "GEM ERP PR ActivateOperation Input" Description: "This profile defines the parameters for activating a workflow for a prescription from PVS to the E-Rezept-Fachdienst." -* insert Profile(GEM_ERP_PR_ActivateOperation_Input) +* insert Profile(GEM_ERP_PR_PAR_ActivateOperation_Input) * parameter 1..1 * parameter ^slicing.discriminator.type = #pattern diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Output.fsh similarity index 78% rename from Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Output.fsh index f49ddddb..bb59c9ae 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_ActivateOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_ActivateOperation_Output.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_ActivateOperation_Output +Profile: GEM_ERP_PR_PAR_ActivateOperation_Output Parent: Parameters -Id: gem-erp-pr-activate-operation-output +Id: GEM-ERP-PR-PAR-Activate-Operation-Output Title: "GEM ERP PR ActivateOperation Output" Description: "This profile defines the parameters for activating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $activate-operation." -* insert Profile(GEM_ERP_PR_ActivateOperation_Output) +* insert Profile(GEM_ERP_PR_PAR_ActivateOperation_Output) * parameter 1..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh similarity index 89% rename from Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh index 3b01750b..9ec431e2 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_CloseOperation_Input +Profile: GEM_ERP_PR_PAR_CloseOperation_Input Parent: Parameters -Id: gem-erp-pr-close-operation-input +Id: GEM-ERP-PR-PAR-Close-Operation-Input Title: "GEM ERP PR CloseOperation Input" Description: "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense." -* insert Profile(GEM_ERP_PR_CloseOperation_Input) +* insert Profile(GEM_ERP_PR_PAR_CloseOperation_Input) * parameter 0..* // optional durch $dispense Operation diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Output.fsh similarity index 79% rename from Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Output.fsh index be243af3..e4d86d26 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CloseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CloseOperation_Output.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_CloseOperation_Output +Profile: GEM_ERP_PR_PAR_CloseOperation_Output Parent: Parameters -Id: gem-erp-pr-close-operation-output +Id: GEM-ERP-PR-PAR-Close-Operation-Output Title: "GEM ERP PR CloseOperation Output" Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $close-operation." -* insert Profile(GEM_ERP_PR_CloseOperation_Output) +* insert Profile(GEM_ERP_PR_PAR_CloseOperation_Output) * parameter 1..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Input.fsh similarity index 79% rename from Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Input.fsh index 22233327..f4c5e721 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Input.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_CreateOperation_Input +Profile: GEM_ERP_PR_PAR_CreateOperation_Input Parent: Parameters -Id: gem-erp-pr-create-operation-input +Id: GEM-ERP-PR-PAR-Create-Operation-Input Title: "GEM ERP PR CreateOperation Input Parameter" Description: "This profile defines the parameters for creating a workflow for a prescription from PVS to the E-Rezept-Fachdienst." -* insert Profile(GEM_ERP_PR_CreateOperation_Input) +* insert Profile(GEM_ERP_PR_PAR_CreateOperation_Input) * parameter 1..1 * parameter ^slicing.discriminator.type = #pattern diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Output.fsh similarity index 78% rename from Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Output.fsh index bce46c49..9252ddcd 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_CreateOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_CreateOperation_Output.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_CreateOperation_Output +Profile: GEM_ERP_PR_PAR_CreateOperation_Output Parent: Parameters -Id: gem-erp-pr-create-operation-output +Id: GEM-ERP-PR-PAR-Create-Operation-Output Title: "GEM ERP PR CreateOperation Output" Description: "This profile defines the parameters for creating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $create-operation." -* insert Profile(GEM_ERP_PR_CreateOperation_Output) +* insert Profile(GEM_ERP_PR_PAR_CreateOperation_Output) * parameter 1..1 diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Input.fsh similarity index 87% rename from Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Input.fsh index 1950b126..d207e5c2 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Input.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Input.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_DispenseOperation_Input +Profile: GEM_ERP_PR_PAR_DispenseOperation_Input Parent: Parameters -Id: gem-erp-pr-dispense-operation-input +Id: GEM-ERP-PR-PAR-Dispense-Operation-Input Title: "GEM ERP PR DispenseOperation Input" Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation." -* insert Profile(GEM_ERP_PR_DispenseOperation_Input) +* insert Profile(GEM_ERP_PR_PAR_DispenseOperation_Input) * parameter 1..* diff --git a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Output.fsh similarity index 89% rename from Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh rename to Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Output.fsh index 3a1f053a..63e5feaa 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_PR_DispenseOperation_Output.fsh +++ b/Resources/input/fsh/parameters/GEM_ERP_PR_PAR_DispenseOperation_Output.fsh @@ -1,9 +1,9 @@ -Profile: GEM_ERP_PR_DispenseOperation_Output +Profile: GEM_ERP_PR_PAR_DispenseOperation_Output Parent: Parameters -Id: gem-erp-pr-dispense-operation-output +Id: GEM-ERP-PR-PAR-Dispense-Operation-Output Title: "GEM ERP PR DispenseOperation Output" Description: "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation." -* insert Profile(GEM_ERP_PR_DispenseOperation_Output) +* insert Profile(GEM_ERP_PR_PAR_DispenseOperation_Output) * parameter 1..* * parameter ^slicing.discriminator.type = #pattern diff --git a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh similarity index 76% rename from Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh rename to Resources/input/fsh/profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh index fd44b94e..226a0613 100644 --- a/Resources/input/fsh/parameters/GEM_ERP_OUT_OP_Accept_Bundle.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Bundle_OP_Accept.fsh @@ -1,7 +1,7 @@ -Profile: GEM_ERP_OUT_OP_Accept_Bundle +Profile: GEM_ERP_PR_Bundle_OP_Accept Parent: Bundle -Id: GEM-ERP-PAR-OUT-OP-Accept -* insert StructureDefinition(GEM_ERP_OUT_OP_Accept_Bundle) +Id: GEM-ERP-PR-Bundle-OP-Accept +* insert StructureDefinition(GEM_ERP_PR_Bundle_OP_Accept) * type = #collection (exactly) * entry 2..2 From b80f168d48417ceaa05f80570cca3028714df574 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Mon, 15 Jul 2024 11:06:09 +0200 Subject: [PATCH 48/57] Fix for slicing bug --- Resources/fsh-generated/fsh-index.json | 2 +- Resources/fsh-generated/fsh-index.txt | 2 +- .../StructureDefinition-GEM-ERP-PR-Medication.json | 11 +++++++++++ .../input/fsh/profiles/GEM_ERP_PR_Medication.fsh | 2 ++ 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index 07cee509..7635bb94 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -661,7 +661,7 @@ "fshType": "Profile", "fshFile": "profiles/GEM_ERP_PR_Medication.fsh", "startLine": 1, - "endLine": 20 + "endLine": 22 }, { "outputFile": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index b570b2f6..a0ecf3f0 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -81,7 +81,7 @@ StructureDefinition-GEM-ERP-PR-Communication-Representative.json StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 -StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 20 +StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 22 StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json GEM_ERP_PR_PAR_AcceptOperation_Output Profile parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh 1 - 22 diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index c5cb705a..9896e7e5 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -28,6 +28,17 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, + { + "id": "Medication.ingredient.item[x]:itemCodeableConcept", + "path": "Medication.ingredient.item[x]", + "sliceName": "itemCodeableConcept", + "short": "Component in coded form", + "type": [ + { + "code": "CodeableConcept" + } + ] + }, { "id": "Medication.ingredient.item[x]:itemReference", "path": "Medication.ingredient.item[x]", diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index c863467f..894f0d15 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -7,6 +7,8 @@ Description: "Handles medical information about the redeemed prescription" * contained MS * ingredient MS + * itemCodeableConcept ^short = "Component in coded form" // This line is necessary to avoid the HAPI Validator Error bug + * itemReference MS * itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS From 0c239c5cb6ed15d1d2cb0659cfb199bb95fe620f Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Tue, 23 Jul 2024 07:19:49 +0200 Subject: [PATCH 49/57] Fix DispReq Constraint --- .../StructureDefinition-GEM-ERP-PR-Communication-DispReq.json | 2 +- .../input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json index 07c1bcec..751094a1 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json @@ -25,7 +25,7 @@ "human": "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird", "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq", "severity": "error", - "expression": "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" + "expression": "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists() and payload.empty().not())" } ] }, diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh index 4aa6b122..3081d878 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh @@ -42,4 +42,4 @@ Description: "Ressource used for the communication of dispense request between p Invariant: workflow-communication-payload-1 Description: "Payload muss angegeben werden, wenn eine Zuweisung für ein Arzneimittel vorgenommen wird" * severity = #error -* expression = "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.empty()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists())" +* expression = "(extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code = '162' implies payload.exists().not()) and (extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType').valueCoding.code != '162' implies payload.exists() and payload.empty().not())" From cd796a7a01421a2171c25952cfb1f4d80ba0f402 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 07:01:02 +0200 Subject: [PATCH 50/57] Add example for medication without numerator --- Resources/fsh-generated/fsh-index.json | 8 +++ Resources/fsh-generated/fsh-index.txt | 1 + ...Medication-Without-Strength-Numerator.json | 63 +++++++++++++++++++ .../input/fsh/examples/Example_Medication.fsh | 25 +++++++- 4 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index 7635bb94..c003cef5 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -127,6 +127,14 @@ "startLine": 26, "endLine": 43 }, + { + "outputFile": "Medication-Medication-Without-Strength-Numerator.json", + "fshName": "Medication-Without-Strength-Numerator", + "fshType": "Instance", + "fshFile": "examples/Example_Medication.fsh", + "startLine": 45, + "endLine": 59 + }, { "outputFile": "Medication-MedicationDexpanthenol-FD.json", "fshName": "MedicationDexpanthenol-FD", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index a0ecf3f0..1e2c9881 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -15,6 +15,7 @@ Medication-Medication-Kombipackung.json Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 43 +Medication-Medication-Without-Strength-Numerator.json Medication-Without-Strength-Numerator Instance examples/Example_Medication.fsh 45 - 59 Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 diff --git a/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json b/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json new file mode 100644 index 00000000..983e9799 --- /dev/null +++ b/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json @@ -0,0 +1,63 @@ +{ + "resourceType": "Medication", + "id": "Medication-Without-Strength-Numerator", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" + ] + }, + "code": { + "text": "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" + }, + "form": { + "coding": [ + { + "code": "11210000", + "system": "http://standardterms.edqm.eu", + "display": "Solution for infusion" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "code": "L01DB01", + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "display": "Doxorubicin" + } + ] + }, + "isActive": true, + "strength": { + "numerator": { + "_value": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "_system": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "_code": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + } + } + ] +} diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index bff3139f..bb6ba69e 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -40,4 +40,27 @@ Usage: #example * strength.denominator.value = 250 * strength.denominator.unit = "Milliliter" * strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown - * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown \ No newline at end of file + * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + +Instance: Medication-Without-Strength-Numerator +InstanceOf: GEM_ERP_PR_Medication +Title: "Medication Without code or system for Strength" +Usage: #example +* code.text = "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" +* form = http://standardterms.edqm.eu#11210000 "Solution for infusion" +* ingredient[+] + * itemCodeableConcept = http://fhir.de/CodeSystem/bfarm/atc#L01DB01 "Doxorubicin" + * isActive = true + * strength.numerator.value.extension.url = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * strength.numerator.value.extension.valueCode = #unknown + * strength.numerator.system.extension.url = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * strength.numerator.system.extension.valueCode = #unknown + * strength.numerator.code.extension.url = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + * strength.numerator.code.extension.valueCode = #unknown + + + + + + + \ No newline at end of file From 6c2a80d0551655899e9fdbfac5ed255782bdee3c Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 07:31:10 +0200 Subject: [PATCH 51/57] remove PZN as medication identifier system --- ...mple-MedicationDispense-DiGA-DeepLink.json | 16 ++++++------- ...-MedicationDispense-DiGA-Name-And-PZN.json | 16 ++++++------- ...mpleOperationCloseInputParametersDiGA.json | 16 ++++++------- ...on-GEM-ERP-PR-MedicationDispense-DiGA.json | 6 ++--- .../examples/Example_MedicationDispense.fsh | 16 ++++++------- .../Example_MedicationDispense_DiGA.fsh | 24 +++++++++---------- .../GEM_ERP_PR_MedicationDispense_DiGA.fsh | 8 +++---- 7 files changed, 50 insertions(+), 52 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 4c146247..c5cfefa7 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json @@ -13,13 +13,6 @@ } ], "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", @@ -46,5 +39,12 @@ "valueUrl": "https://gematico.de?redeemCode=DE12345678901234" } ], - "whenHandedOver": "2024-04-03" + "whenHandedOver": "2024-04-03", + "medicationReference": { + "display": "Gematico Diabetestherapie", + "identifier": { + "system": "https://example.de/fhir/identifier-for-diga", + "value": "12345678" + } + } } 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 53a90285..7dfd6c8f 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,13 +13,6 @@ } ], "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", @@ -42,5 +35,12 @@ "valueString": "DE12345678901234" } ], - "whenHandedOver": "2024-04-03" + "whenHandedOver": "2024-04-03", + "medicationReference": { + "display": "Gematico Diabetestherapie", + "identifier": { + "system": "https://example.de/fhir/identifier-for-diga", + "value": "12345678" + } + } } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json index e5bb6d74..b6783215 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersDiGA.json @@ -27,13 +27,6 @@ } ], "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", @@ -56,7 +49,14 @@ "valueString": "DE12345678901234" } ], - "whenHandedOver": "2024-04-03" + "whenHandedOver": "2024-04-03", + "medicationReference": { + "display": "Gematico Diabetestherapie", + "identifier": { + "system": "https://example.de/fhir/identifier-for-diga", + "value": "12345678" + } + } } } ] 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 0834c0cb..7c991ec2 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 @@ -37,7 +37,7 @@ { "key": "workflow-medicationdispense-redeemcode-3", "severity": "error", - "human": "Name of the DiGA and PZN was not found, but is mandatory if a redeem code is provided.", + "human": "Name and identifier of the DiGA was not found, but is mandatory if a redeem code is provided.", "expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())", "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA" } @@ -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 PZN of a DiGA prescription unit." + "definition": "Information about the medication that is being dispensed. To include are name and the identifier of a DiGA prescription unit." }, { "id": "MedicationDispense.medication[x].extension:data-absent-reason", @@ -149,13 +149,11 @@ "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/examples/Example_MedicationDispense.fsh b/Resources/input/fsh/examples/Example_MedicationDispense.fsh index c564f160..ce399dd2 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense.fsh @@ -8,7 +8,7 @@ Description: "Example of a Medication Dispense." * identifier[prescriptionID].value = "160.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" @@ -23,7 +23,7 @@ Description: "Example of another Medication Dispense." * identifier[prescriptionID].value = "160.153.303.257.459" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" @@ -38,7 +38,7 @@ Description: "Example of a Kombipackung Medication Dispense." * identifier[prescriptionID].value = "160.153.303.257.459" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" @@ -53,7 +53,7 @@ Description: "Example of a Rezeptur Medication Dispense." * identifier[prescriptionID].value = "160.153.303.257.459" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" @@ -70,7 +70,7 @@ Description: "Example of a Medication Dispense." * identifier[prescriptionID].value = "160.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024" * whenPrepared = "2024" @@ -86,7 +86,7 @@ Description: "Example of a Medication Dispense." * identifier[prescriptionID].value = "160.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04" * whenPrepared = "2024-04" @@ -102,7 +102,7 @@ Description: "Example of a Medication Dispense." * identifier[prescriptionID].value = "160.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "1-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03T15:28:00+00:00" * whenPrepared = "2024-04-03T15:28:00+00:00" @@ -118,7 +118,7 @@ Description: "Example of a Medication Dispense." * identifier[prescriptionID].value = "160.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03T00:00:00.000Z" * whenPrepared = "2024-04-03T00:00:00.000Z" diff --git a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh index 5e75459b..173463e0 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense_DiGA.fsh @@ -8,11 +8,11 @@ Description: "Example of a Medication Dispense for DiGAs only stating the name o * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = $pzn +* medicationReference.identifier.system = "https://example.de/fhir/identifier-for-diga" //TODO: Set correct system * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-DeepLink @@ -26,11 +26,11 @@ Description: "Example of a Medication Dispense for DiGAs which states a deep lin * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" -* medicationReference.identifier.system = $pzn +* medicationReference.identifier.system = "https://example.de/fhir/identifier-for-diga" //TODO: Set correct system * medicationReference.identifier.value = "12345678" Instance: Example-MedicationDispense-DiGA-NoRedeemCode @@ -42,7 +42,7 @@ Description: "Example of a Medication Dispense for DiGAs which has no redeem cod * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" @@ -59,7 +59,7 @@ Description: "Example of a Medication Dispense for DiGAs only stating the name o * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" @@ -73,7 +73,7 @@ Description: "A Note needs to be provided if no redeem code is provided." * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.extension[data-absent-reason].valueCode = #asked-declined @@ -87,7 +87,7 @@ Description: "A DataAbsentReason needs to be provided if no redeem code is provi * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * note.text = "Freischaltcode für DiGA konnte nicht erstellt werden" @@ -103,10 +103,10 @@ Description: "When a redeem code is provided, the name of the DiGA is mandatory. * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" -* medicationReference.identifier.system = $pzn +* medicationReference.identifier.system = $pzn //TODO: Set correct system * medicationReference.identifier.value = "12345678" Instance: INVALID-Example-MedicationDispense-Missing-DiGA-PZN @@ -119,7 +119,7 @@ Description: "When a redeem code is provided, the DiGA-PZN is mandatory." * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "Gematico Diabetestherapie" @@ -134,7 +134,7 @@ Description: "When a redeem code is provided, the Name and DiGA-PZN are mandator * identifier[prescriptionID].value = "162.000.033.491.280.78" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X123456789" -* performer.actor.identifier.system = "https://gematik.de/fhir/sid/telematik-id" +* performer.actor.identifier.system = $identifier-telematik-id * performer.actor.identifier.value = "8-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * medicationReference.display = "whitespace" 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 7f2193c1..ac0ede6c 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 PZN of a DiGA prescription unit." +* 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 * 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) +// * medicationReference.identifier.system = $pzn (exactly) //TODO: Festlegen, welches System genutzt werden soll * 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 @@ -67,6 +67,6 @@ Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinit Severity: #error Invariant: workflow-medicationdispense-redeemcode-3 -Description: "Name of the DiGA and PZN was not found, but is mandatory if a redeem code is provided." +Description: "Name and identifier of the DiGA was not found, but is mandatory if a redeem code is provided." Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())" Severity: #error From 5e87bf3826ee0911c91f7e6451dc0ccb2d4d8031 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 07:53:32 +0200 Subject: [PATCH 52/57] Fix medication --- Resources/fsh-generated/fsh-index.json | 2 +- Resources/fsh-generated/fsh-index.txt | 2 +- ...Medication-Without-Strength-Numerator.json | 67 ++++++++++++------- .../input/fsh/examples/Example_Medication.fsh | 4 ++ 4 files changed, 49 insertions(+), 26 deletions(-) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index c003cef5..5c62ceea 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -133,7 +133,7 @@ "fshType": "Instance", "fshFile": "examples/Example_Medication.fsh", "startLine": 45, - "endLine": 59 + "endLine": 63 }, { "outputFile": "Medication-MedicationDexpanthenol-FD.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index 1e2c9881..86dd0d90 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -15,7 +15,7 @@ Medication-Medication-Kombipackung.json Medication-Medication-Rezeptur-FD.json Medication-Rezeptur-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 2 - 45 Medication-Medication-Rezeptur.json Medication-Rezeptur Instance examples/Example_Medication_Rezeptur.fsh 2 - 41 Medication-Medication-Without-Strength-Code.json Medication-Without-Strength-Code Instance examples/Example_Medication.fsh 26 - 43 -Medication-Medication-Without-Strength-Numerator.json Medication-Without-Strength-Numerator Instance examples/Example_Medication.fsh 45 - 59 +Medication-Medication-Without-Strength-Numerator.json Medication-Without-Strength-Numerator Instance examples/Example_Medication.fsh 45 - 63 Medication-MedicationDexpanthenol-FD.json MedicationDexpanthenol-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 57 - 65 Medication-MedicationDexpanthenol.json MedicationDexpanthenol Instance examples/Example_Medication_Rezeptur.fsh 53 - 61 Medication-MedicationHydrocortison-FD.json MedicationHydrocortison-FD Instance examples/Example_Medication_Rezeptur_FD.fsh 47 - 55 diff --git a/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json b/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json index 983e9799..7dc52f46 100644 --- a/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json +++ b/Resources/fsh-generated/resources/Medication-Medication-Without-Strength-Numerator.json @@ -6,31 +6,28 @@ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" ] }, - "code": { - "text": "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" - }, - "form": { - "coding": [ - { - "code": "11210000", - "system": "http://standardterms.edqm.eu", - "display": "Solution for infusion" - } - ] - }, "ingredient": [ { - "itemCodeableConcept": { - "coding": [ - { - "code": "L01DB01", - "system": "http://fhir.de/CodeSystem/bfarm/atc", - "display": "Doxorubicin" - } - ] - }, - "isActive": true, "strength": { + "denominator": { + "value": 1, + "_system": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + }, + "_code": { + "extension": [ + { + "valueCode": "unknown", + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + } + ] + } + }, "numerator": { "_value": { "extension": [ @@ -57,7 +54,29 @@ ] } } - } + }, + "itemCodeableConcept": { + "coding": [ + { + "code": "L01DB01", + "system": "http://fhir.de/CodeSystem/bfarm/atc", + "display": "Doxorubicin" + } + ] + }, + "isActive": true } - ] + ], + "code": { + "text": "Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" + }, + "form": { + "coding": [ + { + "code": "11210000", + "system": "http://standardterms.edqm.eu", + "display": "Solution for infusion" + } + ] + } } diff --git a/Resources/input/fsh/examples/Example_Medication.fsh b/Resources/input/fsh/examples/Example_Medication.fsh index bb6ba69e..f91e4132 100644 --- a/Resources/input/fsh/examples/Example_Medication.fsh +++ b/Resources/input/fsh/examples/Example_Medication.fsh @@ -58,6 +58,10 @@ Usage: #example * strength.numerator.code.extension.url = "http://hl7.org/fhir/StructureDefinition/data-absent-reason" * strength.numerator.code.extension.valueCode = #unknown + * strength.denominator.value = 1 + * strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown + * strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown + From 845ef8ca16da76da3bf4cf8e1f0f097e19fa1b31 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 07:57:54 +0200 Subject: [PATCH 53/57] Set profiles to active --- .../resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json | 2 +- .../resources/CodeSystem-GEM-ERP-CS-DocumentType.json | 2 +- .../resources/CodeSystem-GEM-ERP-CS-FlowType.json | 2 +- .../resources/CodeSystem-GEM-ERP-CS-OrganizationType.json | 2 +- .../resources/OperationDefinition-AbortOperation.json | 2 +- .../resources/OperationDefinition-AcceptOperation.json | 2 +- .../resources/OperationDefinition-ActivateOperation.json | 2 +- .../resources/OperationDefinition-CloseOperation.json | 2 +- .../resources/OperationDefinition-CreateOperation.json | 2 +- .../resources/OperationDefinition-DispenseOperation.json | 2 +- .../resources/OperationDefinition-RejectOperation.json | 2 +- .../resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json | 2 +- .../StructureDefinition-GEM-ERP-EX-AvailabilityState.json | 2 +- .../resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json | 2 +- .../resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json | 2 +- .../StructureDefinition-GEM-ERP-EX-InsuranceProvider.json | 2 +- ...StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json | 2 +- .../StructureDefinition-GEM-ERP-EX-PackageQuantity.json | 2 +- .../StructureDefinition-GEM-ERP-EX-PrescriptionType.json | 2 +- ...tructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json | 2 +- .../StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-AccessCode.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json | 2 +- .../StructureDefinition-GEM-ERP-PR-BfArMApproval.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Binary.json | 2 +- .../StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Bundle.json | 2 +- .../StructureDefinition-GEM-ERP-PR-Communication-DispReq.json | 2 +- .../StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json | 2 +- .../StructureDefinition-GEM-ERP-PR-Communication-Reply.json | 2 +- ...ureDefinition-GEM-ERP-PR-Communication-Representative.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Composition.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Device.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Digest.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Medication.json | 2 +- ...tructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json | 2 +- .../StructureDefinition-GEM-ERP-PR-MedicationDispense.json | 2 +- ...tureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json | 2 +- ...ureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json | 2 +- ...reDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json | 2 +- ...uctureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json | 2 +- ...ctureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json | 2 +- ...ctureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json | 2 +- ...tureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json | 2 +- ...ureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json | 2 +- ...reDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json | 2 +- .../StructureDefinition-GEM-ERP-PR-PrescriptionId.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Secret.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Signature.json | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Task.json | 2 +- .../resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json | 2 +- .../resources/ValueSet-GEM-ERP-VS-DocumentType.json | 2 +- .../fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json | 2 +- .../resources/ValueSet-GEM-ERP-VS-OrganizationType.json | 2 +- .../resources/ValueSet-GEM-ERP-VS-PerformerType.json | 2 +- Resources/input/fsh/rulesets/Versioning.fsh | 4 ++-- 56 files changed, 57 insertions(+), 57 deletions(-) diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json index 62aead1d..0dba40dd 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "draft", + "status": "active", "content": "complete", "name": "GEM_ERP_CS_AvailabilityStatus", "id": "GEM-ERP-CS-AvailabilityStatus", diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json index bf041fad..6158b5f0 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "draft", + "status": "active", "content": "complete", "name": "GEM_ERP_CS_DocumentType", "id": "GEM-ERP-CS-DocumentType", diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json index 431b881d..95762622 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "draft", + "status": "active", "content": "complete", "name": "GEM_ERP_CS_FlowType", "id": "GEM-ERP-CS-FlowType", diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json index 28e77cef..e33b694b 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json @@ -1,6 +1,6 @@ { "resourceType": "CodeSystem", - "status": "draft", + "status": "active", "content": "complete", "name": "GEM_ERP_CS_OrganizationType", "id": "GEM-ERP-CS-OrganizationType", diff --git a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json index 7e830c85..dcf0df9f 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "AbortOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/AbortOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Abort", diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index a27d1686..30b393a1 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "AcceptOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/AcceptOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Accept", diff --git a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json index b7e72485..322e2b1c 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "ActivateOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/ActivateOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Activate", diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index 89162c7e..f9844a5a 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "CloseOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/CloseOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Close", diff --git a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json index d9672006..dd0e6bd8 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "CreateOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/CreateOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Create", diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index 06b67de0..4901b36a 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "DispenseOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/DispenseOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Dispense", diff --git a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json index b099a065..3a1eae8e 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json @@ -2,7 +2,7 @@ "resourceType": "OperationDefinition", "id": "RejectOperation", "url": "https://gematik.de/fhir/erp/OperationDefinition/RejectOperationDefinition", - "status": "draft", + "status": "active", "version": "1.4", "date": "2024-07-15", "name": "Reject", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json index 982fcdd4..597271f3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_AcceptDate", "title": "Date of confirmation of the prescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It stores the Date till when an insurance company will accept and pay the prescription.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json index 9079b256..6c738ec9 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AvailabilityState", "version": "1.4", "name": "GEM_ERP_EX_AvailabilityState", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "complex-type", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json index 8f96af30..fcc70237 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary", "version": "1.4", "name": "GEM_ERP_EX_Beneficiary", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "The beneficiary (e.g. pharmacy) of the erx-receipt that is created when the ePrescription-workflow finishes", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json index 5018ab84..659867d5 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_ExpiryDate", "title": "Presciption expiry date", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It shows the presciption expiry date.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json index 1ac14a01..e49c2755 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider", "version": "1.4", "name": "GEM_ERP_EX_InsuranceProvider", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "IK-number (Instituskennzeichen) of Insurance Provider covering the requested medication", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json index 23ec1b16..2522bfee 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_LastMedicationDispense", "title": "Last Medication Dispense", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This extension should be used in the Task ressource. It shows the timestamp of the last dispense.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json index 0c81bb0e..52fb80e0 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PackageQuantity", "version": "1.4", "name": "GEM_ERP_EX_PackageQuantity", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "complex-type", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json index 9714993e..6d057709 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType", "version": "1.4", "name": "GEM_ERP_EX_PrescriptionType", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Definies the Type of a prescription.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json index de707910..f63ee004 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType", "version": "1.4", "name": "GEM_ERP_EX_SubstitutionAllowedType", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "complex-type", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json index 5cb42ca1..8a67352f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType", "version": "1.4", "name": "GEM_ERP_EX_SupplyOptionsType", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "complex-type", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json index d51537df..10c96d77 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_AccessCode", "title": "Identifier Profile for Prescription IDs", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "The AccessCode is a generated secret, that grants access to an ePrescription resource, eg. Task", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json index 8cf3e526..f6605d75 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json @@ -8,7 +8,7 @@ "version": "1.4", "name": "GEM_ERP_PR_AuditEvent", "title": "AuditEvent for Logging of ePrescription Access", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "resource", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json index a3d6e72c..39114604 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_BfArMApproval", "title": "BfArM Approval of admissibility for doctor s prescription of narcotics", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "On serverside validton of prescription (QES, FHIR-validity, etc.) the eprescription server requests authorization for narcotics within the doctor s quota. If approved, the server returns a signed Provenance for documentation purpose", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json index dec19cec..4c6ae3ca 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Binary", "title": "PKCS7 signed Bundle envelopig style", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "PCKS7 signed ePrescription Bundle or Receipt", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json index bca53b7c..2ab7d80a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle-OP-Accept.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle_OP_Accept", "version": "1.4", "name": "GEM_ERP_PR_Bundle_OP_Accept", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "resource", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json index 3e7a2238..63102d02 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Bundle", "title": "Document Bundle for Receipt", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "A document style representation of the receipt (complete, self-contained, signed)", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json index 751094a1..8abaf072 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-DispReq.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Communication_DispReq", "title": "Request for Dispense of ePrescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Ressource used for the communication of dispense request between patient/representative and provider based on ePrescription", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json index 624d3369..fb2bc1b1 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json @@ -8,7 +8,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Communication_InfoReq", "title": "Informative request from Patient to Provider", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Ressource used for the communication of informative requests between patient and provider.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json index 187607e9..78b61a2f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Reply.json @@ -8,7 +8,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Communication_Reply", "title": "Reply from Provider to Patient", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Ressource used for the communication of the reply to dispense/info request from provider to patient/representative", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json index f026a7d3..ed1ef13e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-Representative.json @@ -8,7 +8,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Communication_Representative", "title": "Communication between Patient and Representative", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Ressource used for the communication between patients and their representative pertaining to an ePrescription", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json index aadc59d3..3f32def2 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json @@ -8,7 +8,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Composition", "title": "Receipt for Fulfillment of ePrescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Upon completion of the ePrescription workflow, the prescription filler receives a signed receipt for billing and verification purposes.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json index 272aeaeb..2ce5f0cf 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Device", "version": "1.4", "name": "GEM_ERP_PR_Device", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "static information on the ePrescription backend server", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json index 7240f7aa..024dc892 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Digest", "title": "QES-Digest in Binary", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "QES-Digest in Binary", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index 9896e7e5..a513d7e9 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Medication", "title": "Medication for the Dispensation of the Prescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Handles medical information about the redeemed prescription", "fhirVersion": "4.0.1", 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 7c991ec2..c316c804 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 @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_MedicationDispense_DiGA", "title": "Dispensation of a DiGA-Prescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Handles information about the dispensed DiGA", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json index df2a0271..5280e151 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_MedicationDispense", "title": "Dispensation of the Prescription", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "Handles information about the redeem of the prescription and the submited medication.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json index 33827a78..83538c30 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_AcceptOperation_Output", "title": "GEM ERP PR AcceptOperation Output", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for accepting a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $accept-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json index e1ba45c3..0d24c017 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Input.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_ActivateOperation_Input", "title": "GEM ERP PR ActivateOperation Input", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for activating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json index 4aac6542..cf697ce1 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Activate-Operation-Output.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_ActivateOperation_Output", "title": "GEM ERP PR ActivateOperation Output", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for activating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $activate-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json index f4dbc448..eb51ef5b 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Input.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_CloseOperation_Input", "title": "GEM ERP PR CloseOperation Input", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for closing a workflow for a prescription from AVS to the E-Rezept-Fachdienst. This can be used for the Operations $close and $dispense.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json index f288c242..d3e405b7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_CloseOperation_Output", "title": "GEM ERP PR CloseOperation Output", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $close-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json index da886020..99435eda 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Input.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_CreateOperation_Input", "title": "GEM ERP PR CreateOperation Input Parameter", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for creating a workflow for a prescription from PVS to the E-Rezept-Fachdienst.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json index 386f6d08..04a4f60d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Create-Operation-Output.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_CreateOperation_Output", "title": "GEM ERP PR CreateOperation Output", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for creating a Task from PVS to the E-Rezept-Fachdienst. This can be used for the $create-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json index b03cbac7..c321be57 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Input.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_DispenseOperation_Input", "title": "GEM ERP PR DispenseOperation Input", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json index 140d2774..494a5bb6 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PAR-Dispense-Operation-Output.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PAR_DispenseOperation_Output", "title": "GEM ERP PR DispenseOperation Output", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This profile defines the parameters for dispensing a medication from AVS to the E-Rezept-Fachdienst. This can be used for the $dispense-operation.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json index 0b71b876..62a954fe 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_PrescriptionId", "title": "Identifier Profile for Prescription IDs", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "The prescriptionID is an generated and not changeable sequence of numbers seperated by dots. The first three numbers define the type of the prescription. The next twelve numbers are the generated unique and consecutive sequence of the prescription. The last two digits are the check numbers according to ISO 7064.", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json index 84f1cd4c..c481cf2f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Secret", "title": "Identifier Profile for Secret", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "The Secret is a generated secret, that grants access to an ePrescription resource, eg. Task", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json index 972349f5..7296c36a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Signature", "title": "Profile for Signature of Bundles in ePrescription Context", - "status": "draft", + "status": "active", "date": "2024-07-15", "fhirVersion": "4.0.1", "kind": "complex-type", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json index d069628d..85c4f9a6 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Task", "title": "Task for Management of ePrescription Workflow", - "status": "draft", + "status": "active", "date": "2024-07-15", "description": "This resource manages the ePrescription workflow", "fhirVersion": "4.0.1", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json index d02aa682..ee3fbe74 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json @@ -1,6 +1,6 @@ { "resourceType": "ValueSet", - "status": "draft", + "status": "active", "name": "GEM_ERP_VS_AvailabilityStatus", "id": "GEM-ERP-VS-AvailabilityStatus", "title": "ValueSet of AvailabilityStatus Codes", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json index 7355e27c..e5a2085e 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json @@ -1,6 +1,6 @@ { "resourceType": "ValueSet", - "status": "draft", + "status": "active", "name": "GEM_ERP_VS_DocumentType", "id": "GEM-ERP-VS-DocumentType", "title": "ValueSet of Documenttype Codes", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json index e34d70dd..003910cd 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json @@ -1,6 +1,6 @@ { "resourceType": "ValueSet", - "status": "draft", + "status": "active", "name": "GEM_ERP_VS_FlowType", "id": "GEM-ERP-VS-FlowType", "title": "ValueSet of Flowtype Codes", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json index 6f1d0304..b0cbf335 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json @@ -1,6 +1,6 @@ { "resourceType": "ValueSet", - "status": "draft", + "status": "active", "name": "GEM_ERP_VS_OrganizationType", "id": "GEM-ERP-VS-OrganizationType", "title": "ValueSet of Organizationtype Codes", diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json index c58e64a4..f0c98373 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json @@ -1,6 +1,6 @@ { "resourceType": "ValueSet", - "status": "draft", + "status": "active", "name": "PerformerTypeVS", "id": "GEM-ERP-VS-PerformerType", "title": "ValueSet of Performertype Codes", diff --git a/Resources/input/fsh/rulesets/Versioning.fsh b/Resources/input/fsh/rulesets/Versioning.fsh index 7f0b2409..0ea14831 100644 --- a/Resources/input/fsh/rulesets/Versioning.fsh +++ b/Resources/input/fsh/rulesets/Versioning.fsh @@ -1,11 +1,11 @@ // General rule for to handle versions for all structure definitions RuleSet: Versioning -* ^status = #draft +* ^status = #active * ^version = "1.4" * ^date = "2024-07-15" RuleSet: OperationVersioning -* status = #draft +* status = #active * version = "1.4" * date = "2024-07-15" From 693a90162ea1b5aa5c456db74027a458d82688c9 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 08:02:52 +0200 Subject: [PATCH 54/57] set version to 1.4.0 --- Resources/sushi-config.yaml | 2 +- fhirpkg.lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index a8558e69..82e00630 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -3,7 +3,7 @@ fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false -version: "1.4.0-rc3" +version: "1.4.0" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.5.0 diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index 8f6000b2..084a841e 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,5 +1,5 @@ { - "updated": "2024-07-15T06:50:23.30202+02:00", + "updated": "2024-07-24T08:02:31.596949+02:00", "dependencies": { "kbv.ita.erp": "1.1.2", "KBV.Basis": "1.3.0", diff --git a/package.json b/package.json index 29779158..1a2bd7a9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "4.0.1" ], "name": "de.gematik.erezept-workflow.r4", - "version": "1.4.0-rc3", + "version": "1.4.0", "description": "ePrescription workflow specification.", "author": "gematik", "dependencies": { From 5c721d909b4613ef1d641fcb67efafb38a55a5e3 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 08:02:59 +0200 Subject: [PATCH 55/57] Set Version for logical models --- Resources/fsh-generated/fsh-index.json | 4 ++-- Resources/fsh-generated/fsh-index.txt | 4 ++-- .../resources/StructureDefinition-GEM-ERP-EX-DeepLink.json | 2 +- .../resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json | 2 +- .../resources/StructureDefinition-logMedDispense.json | 5 +++-- .../resources/StructureDefinition-logMedDispenseDiGA.json | 5 +++-- .../fsh/logicalmodels/logical-medication-dispense-diga.fsh | 1 + .../input/fsh/logicalmodels/logical-medication-dispense.fsh | 1 + 8 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index 5c62ceea..a40b68fb 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -797,7 +797,7 @@ "fshType": "Logical", "fshFile": "logicalmodels/logical-medication-dispense.fsh", "startLine": 1, - "endLine": 113 + "endLine": 114 }, { "outputFile": "StructureDefinition-logMedDispenseDiGA.json", @@ -805,7 +805,7 @@ "fshType": "Logical", "fshFile": "logicalmodels/logical-medication-dispense-diga.fsh", "startLine": 1, - "endLine": 19 + "endLine": 20 }, { "outputFile": "Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index 86dd0d90..3805d2d4 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -98,8 +98,8 @@ StructureDefinition-GEM-ERP-PR-PrescriptionId.json StructureDefinition-GEM-ERP-PR-Secret.json GEM_ERP_PR_Secret Profile profiles/GEM_ERP_PR_Secret.fsh 1 - 12 StructureDefinition-GEM-ERP-PR-Signature.json GEM_ERP_PR_Signature Profile profiles/GEM_ERP_PR_Signature.fsh 1 - 23 StructureDefinition-GEM-ERP-PR-Task.json GEM_ERP_PR_Task Profile profiles/GEM_ERP_PR_Task.fsh 1 - 77 -StructureDefinition-logMedDispense.json GEM_ERP_LOG_MedicationDispense Logical logicalmodels/logical-medication-dispense.fsh 1 - 113 -StructureDefinition-logMedDispenseDiGA.json GEM_ERP_LOG_MedicationDispense_DiGA Logical logicalmodels/logical-medication-dispense-diga.fsh 1 - 19 +StructureDefinition-logMedDispense.json GEM_ERP_LOG_MedicationDispense Logical logicalmodels/logical-medication-dispense.fsh 1 - 114 +StructureDefinition-logMedDispenseDiGA.json GEM_ERP_LOG_MedicationDispense_DiGA Logical logicalmodels/logical-medication-dispense-diga.fsh 1 - 20 Task-09330307-16ce-4cdc-810a-ca24ef80dde3.json TaskInClosedState Instance examples/Example_Task.fsh 144 - 173 Task-607255ed-ce41-47fc-aad3-cfce1c39963f.json TaskInReadyState Instance examples/Example_Task.fsh 26 - 53 Task-9b48f82c-9c11-4a57-aa72-a805f9537a82.json TaskIn-ProgressState-Dispensed Instance examples/Example_Task.fsh 82 - 111 diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json index 59fa90e4..3aa7e39e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-DeepLink", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink", - "version": "1.4.0-rc3", + "version": "1.4.0", "name": "GEM_ERP_EX_DeepLink", "title": "DiGA-DeepLink", "status": "draft", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json index 8fbc3020..10be0a79 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json @@ -2,7 +2,7 @@ "resourceType": "StructureDefinition", "id": "GEM-ERP-EX-RedeemCode", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", - "version": "1.4.0-rc3", + "version": "1.4.0", "name": "GEM_ERP_EX_RedeemCode", "title": "DiGA-RedeemCode", "status": "draft", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json index 5cb7e36f..c2b17e1d 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispense.json @@ -2,10 +2,11 @@ "resourceType": "StructureDefinition", "id": "logMedDispense", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispense", - "version": "1.4.0-rc3", + "version": "1.4", "name": "GEM_ERP_LOG_MedicationDispense", "title": "Logical Medication Dispense", - "status": "draft", + "status": "active", + "date": "2024-07-15", "description": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden.", "fhirVersion": "4.0.1", "kind": "logical", diff --git a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json index 2fffafa4..51e699c7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json +++ b/Resources/fsh-generated/resources/StructureDefinition-logMedDispenseDiGA.json @@ -2,10 +2,11 @@ "resourceType": "StructureDefinition", "id": "logMedDispenseDiGA", "url": "https://gematik.de/fhir/erp/StructureDefinition/logMedDispenseDiGA", - "version": "1.4.0-rc3", + "version": "1.4", "name": "GEM_ERP_LOG_MedicationDispense_DiGA", "title": "Logical DiGA Medication Dispense", - "status": "draft", + "status": "active", + "date": "2024-07-15", "description": "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource für DiGAs übermittelt werden.", "fhirVersion": "4.0.1", "mapping": [ diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh index 3a2bfd58..fb5d7836 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh @@ -3,6 +3,7 @@ Parent: Base Id: logMedDispenseDiGA Title: "Logical DiGA Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource für DiGAs übermittelt werden." +* insert Versioning * prescriptionId 1..1 string "ID des E-Rezepts" * status 1..1 code "Status fixedValue: #completed" * patientKVNR 1..1 string "KVNR des Patienten" diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh index 112a7c93..0d7e532b 100644 --- a/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense.fsh @@ -3,6 +3,7 @@ Parent: Base Id: logMedDispense Title: "Logical Medication Dispense" Description: "Fachliches Modell zur Beschreibung der Informationen, die bei $close und $dispense in der MedicationDispense-Ressource übermittelt werden." +* insert Versioning * prescriptionId 1..1 string "ID des Rezepts" * status 1..1 code "Status fixedValue: #completed" * medication 1..1 BackboneElement "Medikation" From 17561ca03788a1fb1ae963ff8df0a6278f0405c9 Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 08:23:14 +0200 Subject: [PATCH 56/57] Fix References in Medications --- ...ionDispense-Example-MedicationDispense-2.json | 2 +- ...-Example-MedicationDispense-Kombipackung.json | 2 +- ...ense-Example-MedicationDispense-Rezeptur.json | 2 +- ...ationDispense-Example-MedicationDispense.json | 2 +- ...arameters-ExampleDispenseInputParameters.json | 2 +- ...ampleDispenseInputParametersKombipackung.json | 2 +- ...putParametersMultipleMedicationDispenses.json | 4 ++-- ...s-ExampleDispenseOutputParametersSuccess.json | 2 +- ...ers-ExampleOperationCloseInputParameters.json | 2 +- ...perationCloseInputParametersKombipackung.json | 2 +- ...putParametersMultipleMedicationDispenses.json | 2 +- ...pleOperationCloseInputParametersRezeptur.json | 2 +- ...ionCloseInputParametersWithoutMedication.json | 2 +- .../input/fsh/examples/Example_AuditEvent.fsh | 2 +- .../examples/Example_Communication_InfoReq.fsh | 2 +- Resources/input/fsh/examples/Example_Device.fsh | 1 - .../fsh/examples/Example_MedicationDispense.fsh | 16 ++++++++-------- 17 files changed, 24 insertions(+), 25 deletions(-) diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json index 1210d9d1..8905216a 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-2.json @@ -32,6 +32,6 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Without-Strength-Code" + "reference": "Medication/Medication-Without-Strength-Code" } } diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json index 817424e7..f2b0ae79 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Kombipackung.json @@ -32,6 +32,6 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Kombipackung" + "reference": "Medication/Medication-Kombipackung" } } diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json index ed0e874f..ce435d03 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Rezeptur.json @@ -32,6 +32,6 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Rezeptur" + "reference": "Medication/Medication-Rezeptur" } } diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json index 39082195..c16cfac7 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json @@ -32,6 +32,6 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json index 3e5178aa..a2431875 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParameters.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json index 3ff34e42..a17568b4 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersKombipackung.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Kombipackung" + "reference": "Medication/Medication-Kombipackung" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json index 38816952..9dea9f3b 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseInputParametersMultipleMedicationDispenses.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } }, @@ -152,7 +152,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Without-Strength-Code" + "reference": "Medication/Medication-Without-Strength-Code" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json index 90edf165..61b01be3 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleDispenseOutputParametersSuccess.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json index f4464472..067b6ff1 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParameters.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json index 5edb7b2c..245d846b 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersKombipackung.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Kombipackung" + "reference": "Medication/Medication-Kombipackung" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json index 5e7c68f0..4038d5c3 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Without-Strength-Code" + "reference": "Medication/Medication-Without-Strength-Code" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json index 3cf2bf53..2ee0a632 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersRezeptur.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "Medication-Rezeptur" + "reference": "Medication/Medication-Rezeptur" } } }, diff --git a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json index f04cdbf6..a87b4b32 100644 --- a/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json +++ b/Resources/fsh-generated/resources/Parameters-ExampleOperationCloseInputParametersWithoutMedication.json @@ -46,7 +46,7 @@ "whenHandedOver": "2024-04-03", "whenPrepared": "2024-04-03", "medicationReference": { - "reference": "SumatripanMedication" + "reference": "Medication/SumatripanMedication" } } } diff --git a/Resources/input/fsh/examples/Example_AuditEvent.fsh b/Resources/input/fsh/examples/Example_AuditEvent.fsh index e230c144..2873d2ec 100644 --- a/Resources/input/fsh/examples/Example_AuditEvent.fsh +++ b/Resources/input/fsh/examples/Example_AuditEvent.fsh @@ -24,7 +24,7 @@ Usage: #example * agent[=].name = "Praxis Dr. Müller" * agent[=].requestor = false * source.site = "E-Rezept Fachdienst" -* source.observer.reference = "Device/1" +* source.observer = Reference(ReceiptBundleDevice) * entity[+].what.reference = "https://erp.app.ti-dienste.de/Task/160.123.456.789.123.58" * entity[=].what.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * entity[=].what.identifier.value = "160.123.456.789.123.58" diff --git a/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh index ec617519..32ee42b2 100644 --- a/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh +++ b/Resources/input/fsh/examples/Example_Communication_InfoReq.fsh @@ -8,7 +8,7 @@ Usage: #example * contained[+] = SumatripanMedication * basedOn.reference = "Task/160.000.033.491.280.78" * status = #unknown -* about.reference = "#SumatripanMedication" +* about = Reference(SumatripanMedication) * recipient[+].identifier.system = $identifier-telematik-id * recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" * sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" diff --git a/Resources/input/fsh/examples/Example_Device.fsh b/Resources/input/fsh/examples/Example_Device.fsh index ad272870..d69b9d09 100644 --- a/Resources/input/fsh/examples/Example_Device.fsh +++ b/Resources/input/fsh/examples/Example_Device.fsh @@ -1,4 +1,3 @@ - Instance: ReceiptBundleDevice InstanceOf: GEM_ERP_PR_Device Title: "Device for Receipt Bundle 'Quittung'" diff --git a/Resources/input/fsh/examples/Example_MedicationDispense.fsh b/Resources/input/fsh/examples/Example_MedicationDispense.fsh index ce399dd2..9e2a8bec 100644 --- a/Resources/input/fsh/examples/Example_MedicationDispense.fsh +++ b/Resources/input/fsh/examples/Example_MedicationDispense.fsh @@ -12,7 +12,7 @@ Description: "Example of a Medication Dispense." * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" -* medicationReference.reference = "SumatripanMedication" +* medicationReference = Reference(SumatripanMedication) Instance: Example-MedicationDispense-2 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -27,7 +27,7 @@ Description: "Example of another Medication Dispense." * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" -* medicationReference.reference = "Medication-Without-Strength-Code" +* medicationReference = Reference(Medication-Without-Strength-Code) Instance: Example-MedicationDispense-Kombipackung InstanceOf: GEM_ERP_PR_MedicationDispense @@ -42,7 +42,7 @@ Description: "Example of a Kombipackung Medication Dispense." * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" -* medicationReference.reference = "Medication-Kombipackung" +* medicationReference = Reference(Medication-Kombipackung) Instance: Example-MedicationDispense-Rezeptur InstanceOf: GEM_ERP_PR_MedicationDispense @@ -57,7 +57,7 @@ Description: "Example of a Rezeptur Medication Dispense." * performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04-03" * whenPrepared = "2024-04-03" -* medicationReference.reference = "Medication-Rezeptur" +* medicationReference = Reference(Medication-Rezeptur) /* @@ -75,7 +75,7 @@ Description: "Example of a Medication Dispense." * whenHandedOver = "2024" * whenPrepared = "2024" * contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" +* medicationReference = Reference(SumatripanMedication) Instance: INVALID-DATE-Example-MedicationDispense-2 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -91,7 +91,7 @@ Description: "Example of a Medication Dispense." * whenHandedOver = "2024-04" * whenPrepared = "2024-04" * contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" +* medicationReference = Reference(SumatripanMedication) Instance: INVALID-DATE-Example-MedicationDispense-3 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -107,7 +107,7 @@ Description: "Example of a Medication Dispense." * whenHandedOver = "2024-04-03T15:28:00+00:00" * whenPrepared = "2024-04-03T15:28:00+00:00" * contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" +* medicationReference = Reference(SumatripanMedication) Instance: INVALID-DATE-Example-MedicationDispense-4 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -123,6 +123,6 @@ Description: "Example of a Medication Dispense." * whenHandedOver = "2024-04-03T00:00:00.000Z" * whenPrepared = "2024-04-03T00:00:00.000Z" * contained[+] = SumatripanMedication -* medicationReference.reference = "#SumatripanMedication" +* medicationReference = Reference(SumatripanMedication) */ \ No newline at end of file From 2f768a2501f8ab11b799238026bbe88544e6998b Mon Sep 17 00:00:00 2001 From: florianschoffke Date: Wed, 24 Jul 2024 09:20:39 +0200 Subject: [PATCH 57/57] add contained aggregation in medication --- Resources/fsh-generated/fsh-index.json | 2 +- Resources/fsh-generated/fsh-index.txt | 2 +- .../resources/StructureDefinition-GEM-ERP-PR-Medication.json | 3 +++ Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json index a40b68fb..0747bafb 100644 --- a/Resources/fsh-generated/fsh-index.json +++ b/Resources/fsh-generated/fsh-index.json @@ -669,7 +669,7 @@ "fshType": "Profile", "fshFile": "profiles/GEM_ERP_PR_Medication.fsh", "startLine": 1, - "endLine": 22 + "endLine": 23 }, { "outputFile": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json", diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt index 3805d2d4..dcfe7a90 100644 --- a/Resources/fsh-generated/fsh-index.txt +++ b/Resources/fsh-generated/fsh-index.txt @@ -82,7 +82,7 @@ StructureDefinition-GEM-ERP-PR-Communication-Representative.json StructureDefinition-GEM-ERP-PR-Composition.json GEM_ERP_PR_Composition Profile profiles/GEM_ERP_PR_Composition.fsh 1 - 44 StructureDefinition-GEM-ERP-PR-Device.json GEM_ERP_PR_Device Profile profiles/GEM_ERP_PR_Device.fsh 1 - 11 StructureDefinition-GEM-ERP-PR-Digest.json GEM_ERP_PR_Digest Profile profiles/GEM_ERP_PR_Digest.fsh 1 - 8 -StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 22 +StructureDefinition-GEM-ERP-PR-Medication.json GEM_ERP_PR_Medication Profile profiles/GEM_ERP_PR_Medication.fsh 1 - 23 StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json GEM_ERP_PR_MedicationDispense_DiGA Profile profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh 1 - 57 StructureDefinition-GEM-ERP-PR-MedicationDispense.json GEM_ERP_PR_MedicationDispense Profile profiles/GEM_ERP_PR_MedicationDispense.fsh 1 - 26 StructureDefinition-GEM-ERP-PR-PAR-Accept-Operation-Output.json GEM_ERP_PR_PAR_AcceptOperation_Output Profile parameters/GEM_ERP_PR_PAR_AcceptOperation_Output.fsh 1 - 22 diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json index a513d7e9..de15471c 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -49,6 +49,9 @@ "targetProfile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product", "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" + ], + "aggregation": [ + "contained" ] } ] diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 894f0d15..b52bae50 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -10,6 +10,7 @@ Description: "Handles medical information about the redeemed prescription" * itemCodeableConcept ^short = "Component in coded form" // This line is necessary to avoid the HAPI Validator Error bug * itemReference MS * itemReference only Reference(EPAMedicationPharmaceuticalProduct or EPAMedicationPZNIngredient) + * itemReference ^type.aggregation = #contained * ingredient.strength.numerator.system.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.numerator.system.extension[dataAbsentReason].value[x] = #unknown