Skip to content

Commit

Permalink
Merge pull request #74 from gematik/feature/eml-examples
Browse files Browse the repository at this point in the history
Add more eml examples
  • Loading branch information
florianschoffke authored Dec 16, 2024
2 parents 28045c8 + 3128a61 commit 7b68660
Show file tree
Hide file tree
Showing 17 changed files with 1,070 additions and 149 deletions.
207 changes: 207 additions & 0 deletions API-Examples/2025-01-15/erp_abrufen/06_request_taskClose_rezeptur.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
<Parameters xmlns="http://hl7.org/fhir">
<id value="erp-abrufen-06-request-taskClose-rezeptur"/>
<meta>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_CloseOperation_Input|1.4"/>
</meta>
<parameter>
<name value="rxDispensation"/>
<part>
<name value="medicationDispense"/>
<resource>
<MedicationDispense>
<id value="erp-abrufen-06-request-taskClose-medicationDispense-rezeptur"/>
<meta>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.4"/>
</meta>
<identifier>
<system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/>
<value value="160.000.000.000.000.01"/>
</identifier>
<status value="completed"/>
<medicationReference>
<reference value="Medication/rezeptur-medication"/>
</medicationReference>
<subject>
<identifier>
<system value="http://fhir.de/sid/gkv/kvid-10"/>
<value value="X123456789"/>
</identifier>
</subject>
<performer>
<actor>
<identifier>
<system value="https://gematik.de/fhir/sid/telematik-id"/>
<value value="3-2-APO-XanthippeVeilchenblau01"/>
</identifier>
</actor>
</performer>
<quantity>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="{Package}"/>
</quantity>
<whenHandedOver value="2025-01-15"/>
<dosageInstruction>
<text value="1-0-1-0"/>
</dosageInstruction>
</MedicationDispense>
</resource>
</part>
<part>
<name value="medication"/>
<resource>
<Medication>
<id value="rezeptur-medication"/>
<meta>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"/>
</meta>
<contained>
<Medication>
<id value="MedicationPropanol-close"/>
<meta>
<profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient"/>
</meta>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension">
<valueCoding>
<system value="http://snomed.info/sct"/>
<code value="781405001"/>
<display value="Medicinal product package (product)"/>
</valueCoding>
</extension>
<code>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="987654321"/>
<display value="2-propanol 70 %"/>
</coding>
<text value="2-propanol 70 %"/>
</code>
</Medication>
</contained>
<contained>
<Medication>
<id value="MedicationSalicylsaeure-close"/>
<meta>
<profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient"/>
</meta>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension">
<valueCoding>
<system value="http://snomed.info/sct"/>
<code value="781405001"/>
<display value="Medicinal product package (product)"/>
</valueCoding>
</extension>
<code>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="123456789"/>
<display value="Salicylsäure"/>
</coding>
<text value="Salicylsäure"/>
</code>
</Medication>
</contained>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
<valueCoding>
<system value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
<code value="00"/>
</valueCoding>
</extension>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension">
<valueCoding>
<system value="http://snomed.info/sct"/>
<code value="1208954007"/>
<display value="Extemporaneous preparation (product)"/>
</valueCoding>
</extension>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
<valueBoolean value="false"/>
</extension>
<form>
<text value="Lösung"/>
</form>
<amount>
<numerator>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension">
<valueString value="100"/>
</extension>
<unit value="ml"/>
</numerator>
<denominator>
<value value="1"/>
</denominator>
</amount>
<ingredient>
<itemReference>
<reference value="#MedicationSalicylsaeure-close"/>
</itemReference>
<strength>
<numerator>
<value value="5"/>
<system value="http://unitsofmeasure.org"/>
<code value="g"/>
</numerator>
<denominator>
<value value="1"/>
<system>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</system>
<code>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</code>
</denominator>
</strength>
</ingredient>
<ingredient>
<itemReference>
<reference value="#MedicationPropanol-close"/>
</itemReference>
<strength>
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension">
<valueString value="Ad 100 g"/>
</extension>
<numerator>
<value>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</value>
<system>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</system>
<code>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</code>
</numerator>
<denominator>
<value>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</value>
<system>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</system>
<code>
<extension url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="unknown"/>
</extension>
</code>
</denominator>
</strength>
</ingredient>
</Medication>
</resource>
</part>
</parameter>
</Parameters>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<Medication xmlns="http://hl7.org/fhir">
<id value="erp-eml-epa-notes-05-RezepturVerordnung-PZN"/>
<meta>
<profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding|1.1.0"/>
</meta>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type">
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<version value="http://snomed.info/sct/900000000000207008/version/20220331"/>
<code value="373873005:860781008=362943005"/>
<display value="Pharmaceutical / biologic product (product) : Has product characteristic (attribute) = Manual method (qualifier value)"/>
</coding>
</valueCodeableConcept>
</extension>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category">
<valueCoding>
<system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category"/>
<code value="00"/>
</valueCoding>
</extension>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine">
<valueBoolean value="false"/>
</extension>
<code>
<coding>
<system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type"/>
<code value="rezeptur"/>
</coding>
</code>
<form>
<text value="Lösung"/>
</form>
<amount>
<numerator>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize">
<valueString value="100"/>
</extension>
<unit value="ml"/>
</numerator>
<denominator>
<value value="1"/>
</denominator>
</amount>
<ingredient>
<itemCodeableConcept>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="12345678"/>
</coding>
<text value="Salicylsäure"/>
</itemCodeableConcept>
<strength>
<numerator>
<value value="5"/>
<unit value="g"/>
</numerator>
<denominator>
<value value="1"/>
</denominator>
</strength>
</ingredient>
<ingredient>
<itemCodeableConcept>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="87654321"/>
</coding>
<text value="2-propanol 70 %"/>
</itemCodeableConcept>
<strength>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount">
<valueString value="Ad 100 g"/>
</extension>
</strength>
</ingredient>
</Medication>
Loading

0 comments on commit 7b68660

Please sign in to comment.