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 db413709..3e3be342 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 @@ -26,7 +26,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -34,27 +34,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -62,20 +49,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -92,6 +65,21 @@ "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 + } } } ], @@ -103,7 +91,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { @@ -142,7 +130,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -150,27 +138,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -178,20 +153,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -208,6 +169,21 @@ "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 + } } } ], @@ -219,7 +195,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { 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 index de7fdb8b..015569a5 100644 --- a/Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json +++ b/Resources/fsh-generated/resources/Bundle-9145d0d0-7b77-483f-ad89-cd9d34fc1f08.json @@ -26,7 +26,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -34,27 +34,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -62,20 +49,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -92,6 +65,21 @@ "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 + } } } ], @@ -103,7 +91,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { @@ -142,7 +130,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -150,27 +138,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -178,20 +153,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -208,6 +169,21 @@ "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 + } } } ], @@ -219,7 +195,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { 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 e6c22508..b835727a 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-AvailabilityStatus.json @@ -34,7 +34,7 @@ } ], "version": "1.4", - "date": "2024-07-01", + "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 705608c8..5a24f309 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-DocumentType.json @@ -26,7 +26,7 @@ } ], "version": "1.4", - "date": "2024-07-01", + "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 66a8724e..20153ed8 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-FlowType.json @@ -12,6 +12,10 @@ "code": "160", "display": "Muster 16 (Apothekenpflichtige Arzneimittel)" }, + { + "code": "162", + "display": "Muster 16 (Digitale Gesundheitsanwendungen)" + }, { "code": "165", "display": "Muster 16 (Betäubungsmittel)" @@ -46,7 +50,7 @@ } ], "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ { @@ -60,5 +64,5 @@ ], "copyright": "gematik GmbH", "caseSensitive": true, - "count": 9 + "count": 10 } 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 ea18c88d..3b83a9aa 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERP-CS-OrganizationType.json @@ -11,10 +11,14 @@ { "code": "urn:oid:1.2.276.0.76.4.54", "display": "Öffentliche Apotheke" + }, + { + "code": "urn:oid:1.2.276.0.76.4.59", + "display": "Kostenträger" } ], "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ { @@ -28,5 +32,5 @@ ], "copyright": "gematik GmbH", "caseSensitive": true, - "count": 1 + "count": 2 } diff --git a/Resources/fsh-generated/resources/Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json b/Resources/fsh-generated/resources/Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json new file mode 100644 index 00000000..b1b75f14 --- /dev/null +++ b/Resources/fsh-generated/resources/Communication-2be1c6ac-5d10-47f6-84ee-8318b2c22c76.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Communication", + "id": "2be1c6ac-5d10-47f6-84ee-8318b2c22c76", + "meta": { + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.4" + ], + "tag": [ + { + "display": "Communication message sent by patient to pharmacy to request the dispensation of medicine by providing the AccessCode" + } + ] + }, + "status": "unknown", + "extension": [ + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType", + "valueCoding": { + "code": "162", + "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType", + "display": "Muster 16 (Digitale Gesundheitsanwendungen)" + } + } + ], + "recipient": [ + { + "identifier": { + "system": "https://gematik.de/fhir/sid/telematik-id", + "value": "8-SMC-B-Testkarte-883110000123465" + } + } + ], + "basedOn": [ + { + "reference": "Task/162.000.033.491.280.78/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" + } + ], + "sender": { + "identifier": { + "system": "http://fhir.de/sid/gkv/kvid-10", + "value": "X234567890" + } + }, + "sent": "2020-04-29T13:44:30.128+02: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 147f4e69..c3a88a08 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 @@ -72,7 +72,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -80,27 +80,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -108,20 +95,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -138,6 +111,21 @@ "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 + } } } ], @@ -148,7 +136,7 @@ ], "about": [ { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" } ], "sender": { diff --git a/Resources/fsh-generated/resources/Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json b/Resources/fsh-generated/resources/Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json index 212e5843..ceb16e2e 100644 --- a/Resources/fsh-generated/resources/Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json +++ b/Resources/fsh-generated/resources/Communication-a218a36e-f2fd-4603-ba67-c827acfef01b.json @@ -12,6 +12,16 @@ ] }, "status": "unknown", + "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)" + } + } + ], "recipient": [ { "identifier": { diff --git a/Resources/fsh-generated/resources/Medication-001413e4-a5e9-48da-9b07-c17bab476407.json b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json similarity index 53% rename from Resources/fsh-generated/resources/Medication-001413e4-a5e9-48da-9b07-c17bab476407.json rename to Resources/fsh-generated/resources/Medication-SumatripanMedication.json index e6b65651..7ed50301 100644 --- a/Resources/fsh-generated/resources/Medication-001413e4-a5e9-48da-9b07-c17bab476407.json +++ b/Resources/fsh-generated/resources/Medication-SumatripanMedication.json @@ -1,6 +1,6 @@ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -8,27 +8,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -36,20 +23,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -66,5 +39,20 @@ "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/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json b/Resources/fsh-generated/resources/MedicationDispense-26fbffa8-b0df-4074-b2cf-143269aff176.json index 80381483..90d6178d 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 @@ -9,7 +9,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -17,27 +17,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -45,20 +32,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -75,6 +48,21 @@ "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 + } } } ], @@ -86,7 +74,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { 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 index 53e21d9c..dd7a9574 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json +++ b/Resources/fsh-generated/resources/MedicationDispense-3465270a-11e7-4bbf-ae53-378f9cc52747.json @@ -9,7 +9,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -17,27 +17,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -45,20 +32,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -75,6 +48,21 @@ "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 + } } } ], @@ -86,7 +74,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json new file mode 100644 index 00000000..1648b4b0 --- /dev/null +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-DeepLink.json @@ -0,0 +1,50 @@ +{ + "resourceType": "MedicationDispense", + "id": "Example-MedicationDispense-DiGA-DeepLink", + "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" + }, + { + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink", + "valueUrl": "https://gematico.de?redeemCode=DE12345678901234" + } + ], + "whenHandedOver": "2024-04-03" +} diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-DiGA-MedicationDispense.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json similarity index 52% rename from Resources/fsh-generated/resources/MedicationDispense-Example-DiGA-MedicationDispense.json rename to Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json index 5b72c53a..b0e2518e 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-DiGA-MedicationDispense.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-Name-And-VE-ID.json @@ -1,18 +1,25 @@ { "resourceType": "MedicationDispense", - "id": "Example-DiGA-MedicationDispense", + "id": "Example-MedicationDispense-DiGA-Name-And-VE-ID", "meta": { "profile": [ - "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" ] }, "identifier": [ { "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" + "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", @@ -24,14 +31,16 @@ "actor": { "identifier": { "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "1-SMC-B-Testkarte-883110000095957" + "value": "8-SMC-B-Testkarte-883110000095957" } } } ], - "whenHandedOver": "2024-04-03", - "whenPrepared": "2024-04-03", - "medicationReference": { - "display": "Beispiel App für Diabetestherapie" - } + "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/MedicationDispense-Example-MedicationDispense-Without-Medication.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json similarity index 70% rename from Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Without-Medication.json rename to Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json index 0bcc8595..6e93fd59 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-Without-Medication.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense-DiGA-NoRedeemCode.json @@ -1,15 +1,15 @@ { "resourceType": "MedicationDispense", - "id": "Example-MedicationDispense-Without-Medication", + "id": "Example-MedicationDispense-DiGA-NoRedeemCode", "meta": { "profile": [ - "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" ] }, "identifier": [ { "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "160.000.033.491.280.78" + "value": "162.000.033.491.280.78" } ], "status": "completed", @@ -24,7 +24,7 @@ "actor": { "identifier": { "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-SMC-B-Testkarte-883110000095957" + "value": "8-SMC-B-Testkarte-883110000095957" } } } @@ -32,11 +32,15 @@ "medicationReference": { "extension": [ { - "valueCode": "unsupported", + "valueCode": "asked-declined", "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason" } ] }, "whenHandedOver": "2024-04-03", - "whenPrepared": "2024-04-03" + "note": [ + { + "text": "Freischaltcode für DiGA konnte nicht erstellt werden" + } + ] } diff --git a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json index 747ef476..3baca97b 100644 --- a/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json +++ b/Resources/fsh-generated/resources/MedicationDispense-Example-MedicationDispense.json @@ -24,7 +24,7 @@ "actor": { "identifier": { "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "1-SMC-B-Testkarte-883110000095957" + "value": "3-SMC-B-Testkarte-883110000095957" } } } @@ -34,7 +34,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -42,27 +42,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -70,20 +57,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -100,10 +73,25 @@ "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": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" } } 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 321d1dd6..116ee4a7 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 @@ -9,7 +9,7 @@ "contained": [ { "resourceType": "Medication", - "id": "001413e4-a5e9-48da-9b07-c17bab476407", + "id": "SumatripanMedication", "meta": { "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" @@ -17,27 +17,14 @@ }, "extension": [ { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension", "valueCoding": { - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category", + "system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs", "code": "00" } }, { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", + "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension", "valueBoolean": false }, { @@ -45,20 +32,6 @@ "valueCode": "N1" } ], - "amount": { - "numerator": { - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize", - "valueString": "20 St." - } - ], - "unit": "St" - }, - "denominator": { - "value": 1 - } - }, "code": { "coding": [ { @@ -75,6 +48,21 @@ "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 + } } } ], @@ -86,7 +74,7 @@ ], "status": "completed", "medicationReference": { - "reference": "#001413e4-a5e9-48da-9b07-c17bab476407" + "reference": "#SumatripanMedication" }, "subject": { "identifier": { diff --git a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json index 639708ed..2e35e0a4 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AbortOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/AbortOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Abort", "kind": "operation", "affectsState": true, diff --git a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json index 836ab621..b8eb54cf 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-AcceptOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/AcceptOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Accept", "kind": "operation", "affectsState": true, diff --git a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json index 6fde1fca..ace0ab0a 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-ActivateOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/ActivateOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Activate", "kind": "operation", "affectsState": true, diff --git a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json index c4364add..8337007c 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CloseOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/CloseOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Close", "kind": "operation", "affectsState": true, @@ -35,6 +35,7 @@ "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" ] }, diff --git a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json index 84d47406..c1cee189 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-CreateOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/CreateOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Create", "kind": "operation", "affectsState": true, diff --git a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json index f9980c6f..d275bbef 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-DispenseOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/DispenseOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Dispense", "kind": "operation", "affectsState": true, @@ -35,6 +35,7 @@ "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" ] }, @@ -47,6 +48,7 @@ "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" ] } diff --git a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json index 7c840a99..110ce30d 100644 --- a/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json +++ b/Resources/fsh-generated/resources/OperationDefinition-RejectOperation.json @@ -4,7 +4,7 @@ "url": "https://gematik.de/fhir/erp/OperationDefinition/RejectOperationDefinition", "status": "draft", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "name": "Reject", "kind": "operation", "affectsState": true, 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 a8ebd98d..e607b490 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AcceptDate.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_EX_AcceptDate", "title": "Date of confirmation of the prescription", "status": "draft", - "date": "2024-07-01", + "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": [ 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 c2a812e0..009a31f3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-AvailabilityState.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_AvailabilityState", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 09c885c0..81119e05 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-Beneficiary.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_Beneficiary", "status": "draft", - "date": "2024-07-01", + "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": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json new file mode 100644 index 00000000..db34beac --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-DeepLink.json @@ -0,0 +1,56 @@ +{ + "resourceType": "StructureDefinition", + "id": "GEM-ERP-EX-DeepLink", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink", + "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": [ + { + "expression": "MedicationDispense", + "type": "element" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Statement of a deep link which can be used to open the DiGA." + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "type": [ + { + "code": "url" + } + ] + } + ] + } +} 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 88242eb6..31b67686 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-ExpiryDate.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_EX_ExpiryDate", "title": "Presciption expiry date", "status": "draft", - "date": "2024-07-01", + "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": [ 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 897b93f6..073bf22b 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-InsuranceProvider.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_InsuranceProvider", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "IK-number (Instituskennzeichen) of Insurance Provider covering the requested medication", "fhirVersion": "4.0.1", "mapping": [ 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 8a5994aa..16366551 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-LastMedicationDispense.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_EX_LastMedicationDispense", "title": "Last Medication Dispense", "status": "draft", - "date": "2024-07-01", + "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": [ 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 90ce5980..bf8da25b 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PackageQuantity.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_PackageQuantity", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 7c3e1e55..ce46555e 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-PrescriptionType.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_PrescriptionType", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "Definies the Type of a prescription.", "fhirVersion": "4.0.1", "mapping": [ @@ -25,6 +25,10 @@ { "type": "element", "expression": "Communication.payload" + }, + { + "type": "element", + "expression": "Communication" } ], "type": "Extension", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json new file mode 100644 index 00000000..979456e2 --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-RedeemCode.json @@ -0,0 +1,52 @@ +{ + "resourceType": "StructureDefinition", + "id": "GEM-ERP-EX-RedeemCode", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode", + "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": [ + { + "type": "element", + "expression": "MedicationDispense" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "Extension.extension", + "path": "Extension.extension", + "max": "0" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "States the redeem code for a DiGA.", + "type": [ + { + "code": "string" + } + ] + } + ] + } +} 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 f9aa7e06..9a7ccdee 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SubstitutionAllowedType.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_SubstitutionAllowedType", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 0a1a0cd1..1024b53b 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-EX-SupplyOptionsType.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_EX_SupplyOptionsType", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 new file mode 100644 index 00000000..1d879b5a --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-LOG-MedicationDispense-DiGA.json @@ -0,0 +1,291 @@ +{ + "resourceType": "StructureDefinition", + "id": "GEM-ERP-LOG-MedicationDispense-DiGA", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA", + "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", + "uri": "GEM_ERP_PR_MedicationDispense_DiGA", + "comment": "This mapping maps the logical units of the DiGA MedicationDispense to the profile" + } + ], + "kind": "logical", + "abstract": false, + "type": "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-LOG-MedicationDispense-DiGA", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base", + "derivation": "specialization", + "differential": { + "element": [ + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA", + "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": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "GEM_ERP_PR_MedicationDispense_DiGA" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.prescriptionId", + "short": "ID des E-Rezepts", + "definition": "ID des E-Rezepts", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "identifier[prescriptionID].value" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.status", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.status", + "short": "Status fixedValue: #completed", + "definition": "Status fixedValue: #completed", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "status" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.patientKVNR", + "short": "KVNR des Patienten", + "definition": "KVNR des Patienten", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "subject.identifier.value" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabeAbgebendeInstutition", + "short": "Telematik-ID der abgebenden Institution", + "definition": "Telematik-ID der abgebenden Institution", + "min": 1, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "performer.actor.identifier.value" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.freischaltCode", + "short": "Freischaltcode für die DiGA", + "definition": "Optional, da die Kasse die Bereitstellung eines Freischaltcodes ablehnen kann.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "extension[redeemCode].valueString" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.deepLink", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.deepLink", + "short": "Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird", + "definition": "Universeller Deep Link, der vom DiGA Hersteller bereitgestellt wird", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "extension[deepLink].valueUrl" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.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, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "medicationReference" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.name", + "short": "Name der DiGA", + "definition": "Name der DiGA", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "medicationReference.display" + } + ] + }, + { + "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).", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "medicationReference.identifier.value" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.angabenZurDiGA.dataAbsentReason", + "short": "Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown", + "definition": "Wird angegeben, wenn kein Freischaltcode bereitgestellt wird. fixedValue: #unknown", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "medicationReference.extension[data-absent-reason].valueCode" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.datum", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.datum", + "short": "Abgabedatum im Format YYYY-MM-DD", + "definition": "Abgabedatum im Format YYYY-MM-DD", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "whenHandedOver" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.note", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.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, + "max": "1", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "note" + } + ] + }, + { + "id": "GEM-ERP-LOG-MedicationDispense-DiGA.substitution", + "path": "GEM-ERP-LOG-MedicationDispense-DiGA.substitution", + "short": "Substitution darf lt. BAS nicht erfolgen.", + "definition": "Substitution darf lt. BAS nicht erfolgen.", + "min": 0, + "max": "0", + "type": [ + { + "code": "BackboneElement" + } + ], + "mapping": [ + { + "identity": "GEM-ERP-MAP-MedicationDispense-DiGA", + "map": "substitution" + } + ] + } + ] + } +} 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 c64b4e22..e53c1665 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 @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PAR_OUT_OP_Accept", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 1c84d636..e2966f72 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AccessCode.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_AccessCode", "title": "Identifier Profile for Prescription IDs", "status": "draft", - "date": "2024-07-01", + "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": [ 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 2f1f6e54..aab5420f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-AuditEvent.json @@ -9,7 +9,7 @@ "name": "GEM_ERP_PR_AuditEvent", "title": "AuditEvent for Logging of ePrescription Access", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 a8ea9b73..92dfb9b1 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-BfArMApproval.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_BfArMApproval", "title": "BfArM Approval of admissibility for doctor s prescription of narcotics", "status": "draft", - "date": "2024-07-01", + "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": [ 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 324e7a2f..ecca743f 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Binary.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Binary", "title": "PKCS7 signed Bundle envelopig style", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "PCKS7 signed ePrescription Bundle or Receipt", "fhirVersion": "4.0.1", "mapping": [ 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 bbeca229..1da126f7 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Bundle.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Bundle", "title": "Document Bundle for Receipt", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "A document style representation of the receipt (complete, self-contained, signed)", "fhirVersion": "4.0.1", "mapping": [ diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json index c527a92a..1cd417fa 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-CloseOperationInputBundle.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_CloseOperationInputBundle", "title": "Document Bundle for multiple MedicationDispenses on $close Operation", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 6efa941f..3612fa2d 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 @@ -1,15 +1,12 @@ { "resourceType": "StructureDefinition", "id": "GEM-ERP-PR-Communication-DispReq", - "meta": { - "lastUpdated": "2020-04-16T13:43:30.128+00:00" - }, "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq", "version": "1.4", "name": "GEM_ERP_PR_Communication_DispReq", "title": "Request for Dispense of ePrescription", "status": "draft", - "date": "2024-07-01", + "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": [ @@ -48,6 +45,26 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.4" }, + { + "id": "Communication.extension", + "path": "Communication.extension", + "min": 1 + }, + { + "id": "Communication.extension:flowType", + "path": "Communication.extension", + "sliceName": "flowType", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType" + ] + } + ] + }, { "id": "Communication.basedOn", "path": "Communication.basedOn", @@ -141,8 +158,16 @@ { "id": "Communication.payload", "path": "Communication.payload", - "min": 1, "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/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Communication-InfoReq.json index 953ad6d2..0902c0fb 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 @@ -9,7 +9,7 @@ "name": "GEM_ERP_PR_Communication_InfoReq", "title": "Informative request from Patient to Provider", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "Ressource used for the communication of informative requests between patient and provider.", "fhirVersion": "4.0.1", "mapping": [ 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 c58845ec..ea5a66fa 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 @@ -9,7 +9,7 @@ "name": "GEM_ERP_PR_Communication_Reply", "title": "Reply from Provider to Patient", "status": "draft", - "date": "2024-07-01", + "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": [ 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 3d2fb315..88388e23 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 @@ -9,7 +9,7 @@ "name": "GEM_ERP_PR_Communication_Representative", "title": "Communication between Patient and Representative", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "Ressource used for the communication between patients and their representative pertaining to an ePrescription", "fhirVersion": "4.0.1", "mapping": [ 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 e7154ed6..5e2c71d3 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Composition.json @@ -9,7 +9,7 @@ "name": "GEM_ERP_PR_Composition", "title": "Receipt for Fulfillment of ePrescription", "status": "draft", - "date": "2024-07-01", + "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": [ 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 4842f887..7df9105a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Device.json @@ -5,7 +5,7 @@ "version": "1.4", "name": "GEM_ERP_PR_Device", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "static information on the ePrescription backend server", "fhirVersion": "4.0.1", "mapping": [ 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 b558a061..6c633db8 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Digest.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Digest", "title": "QES-Digest in Binary", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "QES-Digest in Binary", "fhirVersion": "4.0.1", "mapping": [ 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 8adc8002..522ba2da 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Medication.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Medication", "title": "Medication for the Dispensation of the Prescription", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "Handles medical information about the redeemed prescription", "fhirVersion": "4.0.1", "kind": "resource", @@ -28,354 +28,6 @@ "max": "1", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" }, - { - "id": "Medication.extension:Kategorie", - "path": "Medication.extension", - "sliceName": "Kategorie", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Arzneimittelkategorie", - "path": "Medication.extension", - "sliceName": "Arzneimittelkategorie", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Arzneimittelkategorie.extension", - "path": "Medication.extension.extension", - "max": "0" - }, - { - "id": "Medication.extension:Arzneimittelkategorie.value[x]", - "path": "Medication.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.extension:Arzneimittelkategorie.value[x]:valueCoding", - "path": "Medication.extension.value[x]", - "sliceName": "valueCoding", - "type": [ - { - "code": "Coding" - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Arzneimittelkategorie.value[x]:valueCoding.system", - "path": "Medication.extension.value[x].system", - "mustSupport": true - }, - { - "id": "Medication.extension:Arzneimittelkategorie.value[x]:valueCoding.code", - "path": "Medication.extension.value[x].code", - "mustSupport": true - }, - { - "id": "Medication.extension:Impfstoff", - "path": "Medication.extension", - "sliceName": "Impfstoff", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Impfstoff.extension", - "path": "Medication.extension.extension", - "max": "0" - }, - { - "id": "Medication.extension:Impfstoff.value[x]", - "path": "Medication.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.extension:Impfstoff.value[x]:valueBoolean", - "path": "Medication.extension.value[x]", - "sliceName": "valueBoolean", - "type": [ - { - "code": "boolean" - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Herstellungsanweisung", - "path": "Medication.extension", - "sliceName": "Herstellungsanweisung", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Herstellungsanweisung.extension", - "path": "Medication.extension.extension", - "max": "0" - }, - { - "id": "Medication.extension:Herstellungsanweisung.value[x]", - "path": "Medication.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.extension:Herstellungsanweisung.value[x]:valueString", - "path": "Medication.extension.value[x]", - "sliceName": "valueString", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Verpackung", - "path": "Medication.extension", - "sliceName": "Verpackung", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Verpackung.extension", - "path": "Medication.extension.extension", - "max": "0" - }, - { - "id": "Medication.extension:Verpackung.value[x]", - "path": "Medication.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.extension:Verpackung.value[x]:valueString", - "path": "Medication.extension.value[x]", - "sliceName": "valueString", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Medication.extension:Normgroesse", - "path": "Medication.extension", - "sliceName": "Normgroesse", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://fhir.de/StructureDefinition/normgroesse" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.amount.numerator.extension", - "path": "Medication.amount.numerator.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "closed" - } - }, - { - "id": "Medication.amount.numerator.extension:Gesamtmenge", - "path": "Medication.amount.numerator.extension", - "sliceName": "Gesamtmenge", - "short": "Gesamtmenge der Rezeptur oder Packungsgröße", - "definition": "Gesamtmenge der Rezeptur (ohne die Einheit) oder Angabe der Packungsgröße", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize" - ] - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "Medication.amount.numerator.extension:Gesamtmenge.extension", - "path": "Medication.amount.numerator.extension.extension", - "max": "0" - }, - { - "id": "Medication.amount.numerator.extension:Gesamtmenge.value[x]", - "path": "Medication.amount.numerator.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.amount.numerator.extension:Gesamtmenge.value[x]:valueString", - "path": "Medication.amount.numerator.extension.value[x]", - "sliceName": "valueString", - "short": "Gesamtmenge der Rezeptur oder Packungsgröße", - "definition": "Gesamtmenge der Rezeptur (ohne die Einheit) oder Angabe der Packungsgröße", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Medication.ingredient.extension", - "path": "Medication.ingredient.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "closed" - } - }, - { - "id": "Medication.ingredient.extension:Darreichungsform", - "path": "Medication.ingredient.extension", - "sliceName": "Darreichungsform", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.ingredient.extension:Darreichungsform.extension", - "path": "Medication.ingredient.extension.extension", - "max": "0" - }, - { - "id": "Medication.ingredient.extension:Darreichungsform.value[x]", - "path": "Medication.ingredient.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.ingredient.extension:Darreichungsform.value[x]:valueString", - "path": "Medication.ingredient.extension.value[x]", - "sliceName": "valueString", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Medication.ingredient.strength.extension", - "path": "Medication.ingredient.strength.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "closed" - } - }, - { - "id": "Medication.ingredient.strength.extension:MengeFreitext", - "path": "Medication.ingredient.strength.extension", - "sliceName": "MengeFreitext", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount" - ] - } - ], - "mustSupport": true - }, - { - "id": "Medication.ingredient.strength.extension:MengeFreitext.extension", - "path": "Medication.ingredient.strength.extension.extension", - "max": "0" - }, - { - "id": "Medication.ingredient.strength.extension:MengeFreitext.value[x]", - "path": "Medication.ingredient.strength.extension.value[x]", - "mustSupport": true - }, - { - "id": "Medication.ingredient.strength.extension:MengeFreitext.value[x]:valueString", - "path": "Medication.ingredient.strength.extension.value[x]", - "sliceName": "valueString", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, { "id": "Medication.ingredient.strength.numerator.system.extension:dataAbsentReason", "path": "Medication.ingredient.strength.numerator.system.extension", 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 new file mode 100644 index 00000000..f02c36db --- /dev/null +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json @@ -0,0 +1,210 @@ +{ + "resourceType": "StructureDefinition", + "id": "GEM-ERP-PR-MedicationDispense-DiGA", + "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA", + "version": "1.4", + "name": "GEM_ERP_PR_MedicationDispense_DiGA", + "title": "Dispensation of a DiGA-Prescription", + "status": "draft", + "date": "2024-07-15", + "description": "Handles information about the dispensed DiGA", + "fhirVersion": "4.0.1", + "kind": "resource", + "abstract": false, + "type": "MedicationDispense", + "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense", + "derivation": "constraint", + "differential": { + "element": [ + { + "id": "MedicationDispense", + "path": "MedicationDispense", + "constraint": [ + { + "key": "workflow-medicationdispense-redeemcode-1", + "severity": "error", + "human": "A note was not found, but is mandatory if no redeem code is provided.", + "expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies note.exists()", + "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA" + }, + { + "key": "workflow-medicationdispense-redeemcode-2", + "severity": "error", + "human": "The data absent reason was not found, but is mandatory if no redeem code is provided.", + "expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA" + }, + { + "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.", + "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" + } + ] + }, + { + "id": "MedicationDispense.meta", + "path": "MedicationDispense.meta", + "min": 1 + }, + { + "id": "MedicationDispense.meta.profile", + "path": "MedicationDispense.meta.profile", + "min": 1, + "max": "1", + "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" + }, + { + "id": "MedicationDispense.extension:redeemCode", + "path": "MedicationDispense.extension", + "sliceName": "redeemCode", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode" + ] + } + ] + }, + { + "id": "MedicationDispense.extension:deepLink", + "path": "MedicationDispense.extension", + "sliceName": "deepLink", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-DeepLink" + ] + } + ] + }, + { + "id": "MedicationDispense.identifier", + "path": "MedicationDispense.identifier", + "short": "ePrescription identifier", + "min": 1 + }, + { + "id": "MedicationDispense.identifier:prescriptionID", + "path": "MedicationDispense.identifier", + "sliceName": "prescriptionID", + "min": 1, + "max": "1", + "type": [ + { + "code": "Identifier", + "profile": [ + "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId" + ] + } + ], + "patternIdentifier": { + "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" + } + }, + { + "id": "MedicationDispense.status", + "path": "MedicationDispense.status", + "short": "completed", + "fixedCode": "completed" + }, + { + "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." + }, + { + "id": "MedicationDispense.medication[x].extension:data-absent-reason", + "path": "MedicationDispense.medication[x].extension", + "sliceName": "data-absent-reason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/data-absent-reason" + ] + } + ] + }, + { + "id": "MedicationDispense.medication[x].extension:data-absent-reason.value[x]", + "path": "MedicationDispense.medication[x].extension.value[x]", + "patternCode": "asked-declined" + }, + { + "id": "MedicationDispense.medication[x].identifier", + "path": "MedicationDispense.medication[x].identifier", + "mustSupport": true + }, + { + "id": "MedicationDispense.medication[x].identifier.system", + "path": "MedicationDispense.medication[x].identifier.system", + "min": 1, + "fixedUri": "https://fhir.bfarm.de/Identifier/DigaVeId", + "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).", + "min": 1, + "mustSupport": true + }, + { + "id": "MedicationDispense.medication[x].display", + "path": "MedicationDispense.medication[x].display", + "short": "Name of the DiGA", + "mustSupport": true + }, + { + "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 + }, + { + "id": "MedicationDispense.performer.actor.identifier", + "path": "MedicationDispense.performer.actor.identifier", + "min": 1, + "type": [ + { + "code": "Identifier", + "profile": [ + "http://fhir.de/StructureDefinition/identifier-telematik-id" + ] + } + ] + }, + { + "id": "MedicationDispense.whenHandedOver", + "path": "MedicationDispense.whenHandedOver", + "short": "Date of dispensation", + "constraint": [ + { + "key": "workflow-abgabeDatumsFormat", + "human": "Wert muss ein Datum in der Form: YYYY-MM-DD sein.", + "source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA", + "severity": "error", + "expression": "toString().length()=10" + } + ] + }, + { + "id": "MedicationDispense.substitution", + "path": "MedicationDispense.substitution", + "comment": "According to BAS the substitution for DiGAs is not allowed", + "max": "0" + } + ] + } +} 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 f215050e..7beaf4eb 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_MedicationDispense", "title": "Dispensation of the Prescription", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "Handles information about the redeem of the prescription and the submited medication.", "fhirVersion": "4.0.1", "kind": "resource", 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 05c90606..a1c2ecef 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-PrescriptionId.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_PrescriptionId", "title": "Identifier Profile for Prescription IDs", "status": "draft", - "date": "2024-07-01", + "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": [ 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 22261fcd..b17d1bdd 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Secret.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Secret", "title": "Identifier Profile for Secret", "status": "draft", - "date": "2024-07-01", + "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": [ 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 73f5b244..d44329ef 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Signature.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Signature", "title": "Profile for Signature of Bundles in ePrescription Context", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "fhirVersion": "4.0.1", "mapping": [ { 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 f481527c..510e389a 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-Task.json @@ -6,7 +6,7 @@ "name": "GEM_ERP_PR_Task", "title": "Task for Management of ePrescription Workflow", "status": "draft", - "date": "2024-07-01", + "date": "2024-07-15", "description": "This resource manages the ePrescription workflow", "fhirVersion": "4.0.1", "mapping": [ 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 cafe5dbb..c6b65584 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-AvailabilityStatus.json @@ -7,7 +7,7 @@ "description": "Type of the availability status for medication availability request", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_AvailabilityStatus", "version": "1.4", - "date": "2024-07-01", + "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 b2c4ce76..f88f5680 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-DocumentType.json @@ -7,7 +7,7 @@ "description": "Type of document depending on the recipient.", "url": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_VS_DocumentType", "version": "1.4", - "date": "2024-07-01", + "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 5df86dfe..b293bf57 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-FlowType.json @@ -7,7 +7,7 @@ "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", - "date": "2024-07-01", + "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 b1d02fad..b37fc8cd 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-OrganizationType.json @@ -7,7 +7,7 @@ "description": "Type of Organiziation", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_OrganizationType", "version": "1.4", - "date": "2024-07-01", + "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 8cf45352..57b0bd99 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERP-VS-PerformerType.json @@ -7,7 +7,7 @@ "description": "Type of performer", "url": "https://gematik.de/fhir/erp/ValueSet/GEM_ERP_VS_PerformerType", "version": "1.4", - "date": "2024-07-01", + "date": "2024-07-15", "publisher": "gematik GmbH", "contact": [ { diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index a15c5597..e4bac0a9 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -19,9 +19,11 @@ 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 +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 // Workflow -Alias: $prescription-id-ns = https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId \ No newline at end of file +Alias: $prescription-id-ns = https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh index e9a008be..4c79ec3e 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_FlowType.fsh @@ -5,6 +5,7 @@ Description: "Shows the different types of the ePrescription according to the pr * insert CodeSystem(GEM_ERP_CS_FlowType) * ^content = #complete * #160 "Muster 16 (Apothekenpflichtige Arzneimittel)" +* #162 "Muster 16 (Digitale Gesundheitsanwendungen)" * #165 "Muster 16 (Betäubungsmittel)" * #166 "Muster 16 (T-Rezepte)" * #169 "Muster 16 (Direkte Zuweisung)" diff --git a/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh b/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh index 5e902233..51bf4954 100644 --- a/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh +++ b/Resources/input/fsh/codesystems/GEM_ERP_CS_OrganizationType.fsh @@ -5,3 +5,4 @@ Description: "Type of Organiziation where to get e-prescriptions dispensed" * insert CodeSystem(GEM_ERP_CS_OrganizationType) * ^caseSensitive = true * #urn:oid:1.2.276.0.76.4.54 "Öffentliche Apotheke" +* #urn:oid:1.2.276.0.76.4.59 "Kostenträger" diff --git a/Resources/input/fsh/extensions/GEM_ERP_EX_DeepLink.fsh b/Resources/input/fsh/extensions/GEM_ERP_EX_DeepLink.fsh new file mode 100644 index 00000000..2e611524 --- /dev/null +++ b/Resources/input/fsh/extensions/GEM_ERP_EX_DeepLink.fsh @@ -0,0 +1,7 @@ +Extension: GEM_ERP_EX_DeepLink +Id: GEM-ERP-EX-DeepLink +Title: "DiGA-DeepLink" +Description: "Contains information regarding deep link for a DiGA." +Context: MedicationDispense +* . ^short = "Statement of a deep link which can be used to open the DiGA." +* value[x] only url \ No newline at end of file diff --git a/Resources/input/fsh/extensions/GEM_ERP_EX_PrescriptionType.fsh b/Resources/input/fsh/extensions/GEM_ERP_EX_PrescriptionType.fsh index c618d5d1..cf72e650 100644 --- a/Resources/input/fsh/extensions/GEM_ERP_EX_PrescriptionType.fsh +++ b/Resources/input/fsh/extensions/GEM_ERP_EX_PrescriptionType.fsh @@ -8,6 +8,8 @@ Description: "Definies the Type of a prescription." * ^context[=].expression = "Task" * ^context[+].type = #element * ^context[=].expression = "Communication.payload" +* ^context[+].type = #element +* ^context[=].expression = "Communication" * value[x] only Coding * value[x] from GEM_ERP_VS_FlowType (required) * value[x].system 1.. diff --git a/Resources/input/fsh/extensions/GEM_ERP_EX_RedeemCode.fsh b/Resources/input/fsh/extensions/GEM_ERP_EX_RedeemCode.fsh new file mode 100644 index 00000000..46e5a0d8 --- /dev/null +++ b/Resources/input/fsh/extensions/GEM_ERP_EX_RedeemCode.fsh @@ -0,0 +1,8 @@ +Extension: GEM_ERP_EX_RedeemCode +Id: GEM-ERP-EX-RedeemCode +Title: "DiGA-RedeemCode" +Description: "States the redeem code for a DiGA." +* ^context[0].type = #element +* ^context[=].expression = "MedicationDispense" +* value[x] only string + * ^short = "States the redeem code for a DiGA." \ No newline at end of file diff --git a/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh new file mode 100644 index 00000000..caaf1663 --- /dev/null +++ b/Resources/input/fsh/logicalmodels/logical-medication-dispense-diga.fsh @@ -0,0 +1,19 @@ +Logical: GEM_ERP_LOG_MedicationDispense_DiGA +Parent: Base +Id: GEM-ERP-LOG-MedicationDispense-DiGA +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" +* status 1..1 code "Status fixedValue: #completed" +* patientKVNR 1..1 string "KVNR des Patienten" +* angabeAbgebendeInstutition 1..1 Identifier "Telematik-ID der abgebenden Institution" +* freischaltCode 0..1 string "Freischaltcode für die DiGA" + * ^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)." + * 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." +* substitution 0..0 BackboneElement "Substitution darf lt. BAS nicht erfolgen." diff --git a/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh b/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh new file mode 100644 index 00000000..e267101f --- /dev/null +++ b/Resources/input/fsh/mappings/mapping-medication-dispense-diga.fsh @@ -0,0 +1,20 @@ +Mapping: GEM_ERP_MAP_MedicationDispense_DiGA +Source: GEM_ERP_LOG_MedicationDispense_DiGA +Target: "GEM_ERP_PR_MedicationDispense_DiGA" +Id: GEM-ERP-MAP-MedicationDispense-DiGA +Title: "Mapping for MedicationDispense DiGA" +Description: "This mapping maps the logical units of the DiGA MedicationDispense to the profile" +* -> "GEM_ERP_PR_MedicationDispense_DiGA" +* prescriptionId -> "identifier[prescriptionID].value" +* status -> "status" +* patientKVNR -> "subject.identifier.value" +* angabeAbgebendeInstutition -> "performer.actor.identifier.value" +* freischaltCode -> "extension[redeemCode].valueString" +* deepLink -> "extension[deepLink].valueUrl" +* angabenZurDiGA -> "medicationReference" + * name -> "medicationReference.display" + * digaVeId -> "medicationReference.identifier.value" + * dataAbsentReason -> "medicationReference.extension[data-absent-reason].valueCode" +* datum -> "whenHandedOver" +* note -> "note" +* substitution -> "substitution" diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh index ff88514d..73729d9f 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Close.fsh @@ -21,6 +21,7 @@ Usage: #definition * 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 @@ -41,7 +42,7 @@ Usage: #example * identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[=].value = "160.000.033.491.280.78" * status = #completed -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X234567890" * performer[+].actor.identifier.system = $identifier-telematik-id diff --git a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh index 9a4b4df8..e086d21a 100644 --- a/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh +++ b/Resources/input/fsh/operationdefinitions/GEM_ERP_OP_Dispense.fsh @@ -21,6 +21,7 @@ Usage: #definition * 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 @@ -32,6 +33,7 @@ Usage: #definition * 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 @@ -44,7 +46,7 @@ Usage: #example * identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[=].value = "160.000.033.491.280.78" * status = #completed -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X234567890" * performer[+].actor.identifier.system = $identifier-telematik-id @@ -62,7 +64,7 @@ Usage: #example * identifier[+].system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" * identifier[=].value = "160.000.033.491.280.78" * status = #completed -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" * subject.identifier.system = "http://fhir.de/sid/gkv/kvid-10" * subject.identifier.value = "X234567890" * performer[+].actor.identifier.system = $identifier-telematik-id diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh index ae216e41..301c84e3 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_CloseOperationInputBundle.fsh @@ -9,4 +9,4 @@ Title: "Document Bundle for multiple MedicationDispenses on $close Operation" * entry ^slicing.rules = #closed * entry contains DispensedMedications 1.. -* entry[DispensedMedications].resource only GEM_ERP_PR_MedicationDispense \ No newline at end of file +* entry[DispensedMedications].resource only GEM_ERP_PR_MedicationDispense //Keine DiGA MedicationDispense, da es nur eine gibt \ 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 d6d32981..ded29871 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_DispReq.fsh @@ -4,8 +4,8 @@ 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) -* ^meta.lastUpdated = "2020-04-16T13:43:30.128+00:00" * ^abstract = true +* extension contains GEM_ERP_EX_PrescriptionType named flowType 1..1 * basedOn 1..1 MS * basedOn only Reference(GEM_ERP_PR_Task) * basedOn ^type.aggregation = #referenced @@ -29,7 +29,8 @@ Description: "Ressource used for the communication of dispense request between p * ^comment = "Set by ePrescription server using client AuthN-Credential" * sender.identifier 1.. MS * sender.identifier only $identifier-kvid-10 or $identifier-pkv -* payload 1..1 MS +* 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 @@ -38,6 +39,11 @@ Description: "Ressource used for the communication of dispense request between p * ^short = "The actual content of the message" * ^comment = "This content needs to be a JSON according to gemSpec_DM_eRp." +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" @@ -45,6 +51,8 @@ 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 @@ -53,3 +61,20 @@ Usage: #example * 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 c75298c9..362dcd3d 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Communication_InfoReq.fsh @@ -63,7 +63,7 @@ Usage: #example * contained[+] = SumatripanMedication * basedOn.reference = "Task/160.000.033.491.280.78" * status = #unknown -* about.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* 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/profiles/GEM_ERP_PR_Medication.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh index 20be7842..4797db7b 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_Medication.fsh @@ -5,56 +5,6 @@ Title: "Medication for the Dispensation of the Prescription" Description: "Handles medical information about the redeemed prescription" * insert Profile(GEM_ERP_PR_Medication) -// Add KBV Extensions -* extension ^slicing.discriminator.type = #value -* extension ^slicing.discriminator.path = "url" -* extension contains - $KBV_EX_Base_Medication_Type named Kategorie 0..1 MS and - $KBV_EX_ERP_Medication_Category named Arzneimittelkategorie 0..1 MS and - $KBV_EX_ERP_Medication_Vaccine named Impfstoff 0..1 MS and - $KBV_EX_ERP_Medication_CompoundingInstruction named Herstellungsanweisung 0..1 MS and - $KBV_EX_ERP_Medication_Packaging named Verpackung 0..1 MS and - $KBV_EX_ERP_Medication_Normgroesse named Normgroesse 0..1 MS - -* extension[Arzneimittelkategorie].value[x] MS -* extension[Arzneimittelkategorie].value[x] only Coding -* extension[Arzneimittelkategorie].valueCoding MS -* extension[Arzneimittelkategorie].valueCoding ^sliceName = "valueCoding" -* extension[Arzneimittelkategorie].valueCoding.system MS -* extension[Arzneimittelkategorie].valueCoding.code MS -* extension[Impfstoff].value[x] MS -* extension[Impfstoff].value[x] only boolean -* extension[Impfstoff].valueBoolean MS -* extension[Impfstoff].valueBoolean ^sliceName = "valueBoolean" -* extension[Herstellungsanweisung].value[x] MS -* extension[Herstellungsanweisung].valueString MS -* extension[Herstellungsanweisung].valueString ^sliceName = "valueString" - -* extension[Verpackung].value[x] MS -* extension[Verpackung].value[x] only string -* extension[Verpackung].valueString MS -* extension[Verpackung].valueString ^sliceName = "valueString" - -// Add KBV Darreichungsform to ingredient for Medication_Compunding -* ingredient.extension ^slicing.discriminator.type = #value -* ingredient.extension ^slicing.discriminator.path = "url" -* ingredient.extension ^slicing.rules = #closed -* ingredient.extension ^min = 0 -* ingredient.extension contains $KBV_EX_ERP_Medication_Ingredient_Form named Darreichungsform 0..1 MS -* ingredient.extension[Darreichungsform].value[x] MS -* ingredient.extension[Darreichungsform].valueString MS -* ingredient.extension[Darreichungsform].valueString ^sliceName = "valueString" - -// Add ingredient strength to ingredient for Medication_Compunding -* ingredient.strength.extension ^slicing.discriminator.type = #value -* ingredient.strength.extension ^slicing.discriminator.path = "url" -* ingredient.strength.extension ^slicing.rules = #closed -* ingredient.strength.extension ^min = 0 -* ingredient.strength.extension contains $KBV_EX_ERP_Medication_Ingredient_Amount named MengeFreitext 0..1 MS -* ingredient.strength.extension[MengeFreitext].value[x] MS -* ingredient.strength.extension[MengeFreitext].valueString MS -* ingredient.strength.extension[MengeFreitext].valueString ^sliceName = "valueString" - * 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 @@ -65,51 +15,31 @@ Description: "Handles medical information about the redeemed prescription" * ingredient.strength.denominator.code.extension contains $data-absent-reason named dataAbsentReason 0..1 MS * ingredient.strength.denominator.code.extension[dataAbsentReason].value[x] = #unknown -// Add amount.numerator Extensions -* amount.numerator.extension ^slicing.discriminator.type = #value -* amount.numerator.extension ^slicing.discriminator.path = "url" -* amount.numerator.extension ^slicing.rules = #closed -* amount.numerator.extension contains $KBV_EX_ERP_Medication_PackagingSize named Gesamtmenge 0..1 MS -* amount.numerator.extension[Gesamtmenge] ^short = "Gesamtmenge der Rezeptur oder Packungsgröße" -* amount.numerator.extension[Gesamtmenge] ^definition = "Gesamtmenge der Rezeptur (ohne die Einheit) oder Angabe der Packungsgröße" -* amount.numerator.extension[Gesamtmenge] ^isModifier = false -* amount.numerator.extension[Gesamtmenge].value[x] MS -* amount.numerator.extension[Gesamtmenge].valueString MS -* amount.numerator.extension[Gesamtmenge].valueString ^sliceName = "valueString" -* amount.numerator.extension[Gesamtmenge].valueString ^short = "Gesamtmenge der Rezeptur oder Packungsgröße" -* amount.numerator.extension[Gesamtmenge].valueString ^definition = "Gesamtmenge der Rezeptur (ohne die Einheit) oder Angabe der Packungsgröße" - - Instance: SumatripanMedication InstanceOf: GEM_ERP_PR_Medication Title: "Sample Medication Sumatripan" Usage: #example -* id = "001413e4-a5e9-48da-9b07-c17bab476407" -//Kategorie -* extension[Kategorie].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type" -* extension[Kategorie].valueCodeableConcept.coding.system = "http://snomed.info/sct" -* extension[Kategorie].valueCodeableConcept.coding.version = "http://snomed.info/sct/900000000000207008/version/20220331" -* extension[Kategorie].valueCodeableConcept.coding.code = #763158003 -* extension[Kategorie].valueCodeableConcept.coding.display = "Medicinal product (product)" // Arzneimittelkategorie -* extension[Arzneimittelkategorie].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category" -* extension[Arzneimittelkategorie].valueCoding.system = "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category" -* extension[Arzneimittelkategorie].valueCoding.code = #00 +* 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[Impfstoff].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine" -* extension[Impfstoff].valueBoolean = false +* extension[isVaccine].url = "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" +* extension[isVaccine].valueBoolean = false + // normgroesse -//* extension[Normgroesse].url = "http://fhir.de/StructureDefinition/normgroesse" -* extension[Normgroesse].valueCode = #N1 -* code.coding[+].system = "http://fhir.de/CodeSystem/ifa/pzn" -* code.coding[=].code = #06313728 +* 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[+].system = "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" -* form.coding[=].code = #TAB -//* amount.numerator.value = 20 +* 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[Gesamtmenge].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize" -* amount.numerator.extension[Gesamtmenge].valueString = "20 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_MedicationDispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh index 69df6ac2..7a93eb25 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh @@ -4,7 +4,6 @@ Id: GEM-ERP-PR-MedicationDispense Title: "Dispensation of the Prescription" Description: "Handles information about the redeem of the prescription and the submited medication." * insert Profile(GEM_ERP_PR_MedicationDispense) - * identifier contains prescriptionID 1..1 * identifier[prescriptionID] only GEM_ERP_PR_PrescriptionId * identifier[prescriptionID] ^patternIdentifier.system = $prescription-id-ns @@ -41,43 +40,11 @@ Description: "Example of a Medication Dispense." * 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-03" -* whenPrepared = "2024-04-03" -* contained[+] = SumatripanMedication -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" - -Instance: Example-MedicationDispense-Without-Medication -InstanceOf: GEM_ERP_PR_MedicationDispense -Usage: #example -Title: "Example-Medication Dispense without Medication" -Description: "Example of a Medication Dispense which does not contain a medication. This is a valid case when the pharmacy is not substituting the medication that was prescribed." -* 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" -* medicationReference.extension[dataAbsentReason].valueCode = #unsupported - -Instance: Example-DiGA-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 = "1-SMC-B-Testkarte-883110000095957" -* whenHandedOver = "2024-04-03" -* whenPrepared = "2024-04-03" -* medicationReference.display = "Beispiel App für Diabetestherapie" - - +* contained[+] = SumatripanMedication +* medicationReference.reference = "#SumatripanMedication" /* @@ -91,11 +58,11 @@ Description: "Example of a Medication Dispense." * 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" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024" * whenPrepared = "2024" * contained[+] = SumatripanMedication -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" Instance: INVALID-DATE-Example-MedicationDispense-2 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -107,11 +74,11 @@ Description: "Example of a Medication Dispense." * 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" +* performer.actor.identifier.value = "3-SMC-B-Testkarte-883110000095957" * whenHandedOver = "2024-04" * whenPrepared = "2024-04" * contained[+] = SumatripanMedication -* medicationReference.reference = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" Instance: INVALID-DATE-Example-MedicationDispense-3 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -127,7 +94,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 = "#001413e4-a5e9-48da-9b07-c17bab476407" +* medicationReference.reference = "#SumatripanMedication" Instance: INVALID-DATE-Example-MedicationDispense-4 InstanceOf: GEM_ERP_PR_MedicationDispense @@ -139,10 +106,10 @@ Description: "Example of a Medication Dispense." * 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" +* 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 = "#001413e4-a5e9-48da-9b07-c17bab476407" +* 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 new file mode 100644 index 00000000..3723c35c --- /dev/null +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense_DiGA.fsh @@ -0,0 +1,215 @@ +Profile: GEM_ERP_PR_MedicationDispense_DiGA +Parent: $ePAMedicationDispense +Id: GEM-ERP-PR-MedicationDispense-DiGA +Title: "Dispensation of a DiGA-Prescription" +Description: "Handles information about the dispensed DiGA" +* insert Profile(GEM_ERP_PR_MedicationDispense_DiGA) +* obeys workflow-medicationdispense-redeemcode-1 +* obeys workflow-medicationdispense-redeemcode-2 +* obeys workflow-medicationdispense-redeemcode-3 + +* extension 0..* +* extension contains + GEM_ERP_EX_RedeemCode named redeemCode 0..1 + and GEM_ERP_EX_DeepLink named deepLink 0..1 + +* identifier contains prescriptionID 1..1 +* identifier[prescriptionID] only GEM_ERP_PR_PrescriptionId +* identifier[prescriptionID] ^patternIdentifier.system = $prescription-id-ns +* identifier ^short = "ePrescription identifier" + +* status = #completed (exactly) +* status ^short = "completed" + +* 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." +* medicationReference.display 0..1 MS + * ^short = "Name of the DiGA" +* medicationReference.identifier 0..1 MS +* medicationReference.identifier.system 1..1 MS +* medicationReference.identifier.system = "https://fhir.bfarm.de/Identifier/DigaVeId" (exactly) +* medicationReference.identifier.value 1..1 MS + * ^short = "Unique identification number for a prescription unit of a DiGA (DiGA-VE-ID)." + +// Extension, falls die DiGA vom Kostenträger nicht bezahlt wird +* medicationReference.extension contains DataAbsentReason named data-absent-reason 0..1 +* medicationReference.extension[data-absent-reason].valueCode = #asked-declined + +// KVNR des Versicherten +* subject 1.. +* subject.identifier 1.. +* subject.identifier only $identifier-kvid-10 // Hier nur die KVNR der GKV, da für PKV kein DiGA angedacht ist +* subject.identifier ^short = "The patients KVNR" +* subject.identifier ^comment = "There is no PKV identifier available since it is not in the scope for DiGA prescriptions." + +// Kostenträger +* performer 1..1 +* performer.actor.identifier 1.. +* performer.actor.identifier only IdentifierTelematikId + +// Abgabedatum +* whenHandedOver 1..1 +* whenHandedOver ^short = "Date of dispensation" +* whenHandedOver obeys workflow-abgabeDatumsFormat + +* substitution 0..0 + * ^comment = "According to BAS the substitution for DiGAs is not allowed" + +Invariant: workflow-medicationdispense-redeemcode-1 +Description: "A note was not found, but is mandatory if no redeem code is provided." +Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies note.exists()" +Severity: #error + +Invariant: workflow-medicationdispense-redeemcode-2 +Description: "The data absent reason was not found, but is mandatory if no redeem code is provided." +Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" +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." +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/rulesets/Versioning.fsh b/Resources/input/fsh/rulesets/Versioning.fsh index fe4dca76..7f0b2409 100644 --- a/Resources/input/fsh/rulesets/Versioning.fsh +++ b/Resources/input/fsh/rulesets/Versioning.fsh @@ -2,12 +2,12 @@ RuleSet: Versioning * ^status = #draft * ^version = "1.4" -* ^date = "2024-07-01" +* ^date = "2024-07-15" RuleSet: OperationVersioning * status = #draft * version = "1.4" -* date = "2024-07-01" +* date = "2024-07-15" // Rules to set meta.profile in profiles and instances RuleSet: PackageMetaProfileExactly(profile) diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index 137a5728..b80b997a 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-beta" +version: "1.4.0-rc1" dependencies: - de.basisprofil.r4: 1.4.0 hl7.fhir.r4.core: 4.0.1 - kbv.ita.for: 1.1.x - kbv.ita.erp: 1.1.x + de.basisprofil.r4: 1.5.0-ballot2 + de.gematik.epa.medication: 1.0.2-rc1 kbv.basis: 1.3.0 - de.gematik.epa.medication: 1.0.0 \ No newline at end of file + 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 97de2804..8c6099de 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,13 +1,14 @@ { - "updated": "2024-05-28T07:52:00.94615+02:00", + "updated": "2024-06-07T12:57:23.405634+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.4.0", - "de.gematik.epa.medication": "1.0.0", - "de.gematik.fhir.directory": "0.10.2" + "de.basisprofil.r4": "1.5.0-ballot2", + "de.gematik.epa.medication": "1.0.2-rc1", + "de.gematik.fhir.directory": "0.11.7", + "de.ihe-d.terminology": "3.0.0" }, "missing": {} } diff --git a/package.json b/package.json index 59245b38..440d206a 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,14 @@ "4.0.1" ], "name": "de.gematik.erezept-workflow.r4", - "version": "1.4.0-beta", + "version": "1.4.0-rc1", "description": "ePrescription workflow specification.", "author": "gematik", "dependencies": { "kbv.ita.erp": "1.1.x", - "kbv.ita.for": "1.1.0", - "de.basisprofil.r4": "1.4.0", + "kbv.ita.for": "1.1.x", "hl7.fhir.r4.core": "4.0.1", - "de.gematik.epa.medication": "1.0.0" + "de.basisprofil.r4": "1.5.0-ballot2", + "de.gematik.epa.medication": "1.0.2-rc1" } }