Skip to content

Commit

Permalink
fix multiple close example
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Jul 26, 2024
1 parent 7244161 commit a90d87d
Showing 1 changed file with 208 additions and 104 deletions.
Original file line number Diff line number Diff line change
@@ -1,105 +1,209 @@
<Parameters xmlns="http://hl7.org/fhir">
<id value="ExampleOperationCloseInputParametersMultipleMedicationDispenses" />
<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="Example-MedicationDispense-2" />
<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.153.303.257.459" />
</identifier>
<status value="completed" />
<medicationReference>
<reference value="Medication/Medication-Without-Strength-Code" />
</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-SMC-B-Testkarte-883110000095957" />
</identifier>
</actor>
</performer>
<whenPrepared value="2024-04-03" />
<whenHandedOver value="2024-04-03" />
</MedicationDispense>
</resource>
</part>
<part>
<name value="medication" />
<resource>
<Medication>
<id value="Medication-Without-Strength-Code" />
<meta>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" />
</meta>
<code>
<text value="Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" />
</code>
<form>
<coding>
<system value="http://standardterms.edqm.eu" />
<code value="11210000" />
<display value="Solution for infusion" />
</coding>
</form>
<ingredient>
<itemCodeableConcept>
<coding>
<system value="http://fhir.de/CodeSystem/bfarm/atc" />
<code value="L01DB01" />
<display value="Doxorubicin" />
</coding>
</itemCodeableConcept>
<isActive value="true" />
<strength>
<numerator>
<value value="85" />
<unit value="mg" />
<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 value="250" />
<unit value="Milliliter" />
<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>
<?xml version="1.0" encoding="UTF-8"?>
<Parameters xmlns="http://hl7.org/fhir">
<id value="ExampleOperationCloseInputParametersMultipleMedicationDispenses" />
<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="Example-MedicationDispense" />
<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.033.491.280.78" />
</identifier>
<status value="completed" />
<medicationReference>
<reference value="Medication/SumatripanMedication" />
</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-SMC-B-Testkarte-883110000095957" />
</identifier>
</actor>
</performer>
<whenPrepared value="2024-04-03" />
<whenHandedOver value="2024-04-03" />
</MedicationDispense>
</resource>
</part>
<part>
<name value="medication" />
<resource>
<Medication>
<id value="SumatripanMedication" />
<meta>
<profile
value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" />
</meta>
<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/medication-id-vaccine-extension">
<valueBoolean value="false" />
</extension>
<extension url="http://fhir.de/StructureDefinition/normgroesse">
<valueCode value="N1" />
</extension>
<code>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn" />
<code value="06313728" />
</coding>
<text value="Sumatriptan-1a Pharma 100 mg Tabletten" />
</code>
<form>
<coding>
<system
value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" />
<code value="TAB" />
</coding>
</form>
<amount>
<numerator>
<extension
url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension">
<valueString value="20 St." />
</extension>
<value value="20" />
<unit value="St" />
</numerator>
<denominator>
<value value="1" />
</denominator>
</amount>
</Medication>
</resource>
</part>
</parameter>
<parameter>
<name value="rxDispensation" />
<part>
<name value="medicationDispense" />
<resource>
<MedicationDispense>
<id value="Example-MedicationDispense-2" />
<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.153.303.257.459" />
</identifier>
<status value="completed" />
<medicationReference>
<reference value="Medication/Medication-Without-Strength-Code" />
</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-SMC-B-Testkarte-883110000095957" />
</identifier>
</actor>
</performer>
<whenPrepared value="2024-04-03" />
<whenHandedOver value="2024-04-03" />
</MedicationDispense>
</resource>
</part>
<part>
<name value="medication" />
<resource>
<Medication>
<id value="Medication-Without-Strength-Code" />
<meta>
<profile
value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4" />
</meta>
<code>
<text
value="Infusion bestehend aus 85mg Doxorubicin aufgeloest zur Verabreichung in 250ml 5-%iger (50 mg/ml) Glucose-Infusionsloesung" />
</code>
<form>
<coding>
<system value="http://standardterms.edqm.eu" />
<code value="11210000" />
<display value="Solution for infusion" />
</coding>
</form>
<ingredient>
<itemCodeableConcept>
<coding>
<system value="http://fhir.de/CodeSystem/bfarm/atc" />
<code value="L01DB01" />
<display value="Doxorubicin" />
</coding>
</itemCodeableConcept>
<isActive value="true" />
<strength>
<numerator>
<value value="85" />
<unit value="mg" />
<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 value="250" />
<unit value="Milliliter" />
<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>

0 comments on commit a90d87d

Please sign in to comment.