-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b68660
commit 1644be1
Showing
4 changed files
with
295 additions
and
0 deletions.
There are no files selected for viewing
88 changes: 88 additions & 0 deletions
88
API-Examples/2025-01-15/erp_eml-epa-notes/11_ibm_medication_compounding.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<Medication xmlns="http://hl7.org/fhir"> | ||
<id value="erp-eml-epa-notes-11-ibm-medication-compounding"/> | ||
<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> | ||
<text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> | ||
</code> | ||
<form> | ||
<text value="TAB"/> | ||
</form> | ||
<amount> | ||
<numerator> | ||
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize"> | ||
<valueString value="12"/> | ||
</extension> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</numerator> | ||
<denominator> | ||
<value value="1"/> | ||
</denominator> | ||
</amount> | ||
<ingredient> | ||
<itemCodeableConcept> | ||
<coding> | ||
<system value="http://fhir.de/CodeSystem/ifa/pzn"/> | ||
<code value="12343219"/> | ||
</coding> | ||
<text value="1st ingredient"/> | ||
</itemCodeableConcept> | ||
<strength> | ||
<numerator> | ||
<value value="1"/> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</numerator> | ||
<denominator> | ||
<value value="1"/> | ||
</denominator> | ||
</strength> | ||
</ingredient> | ||
<ingredient> | ||
<itemCodeableConcept> | ||
<coding> | ||
<system value="http://fhir.de/CodeSystem/ifa/pzn"/> | ||
<code value="56781239"/> | ||
</coding> | ||
<text value="2nd ingredient"/> | ||
</itemCodeableConcept> | ||
<strength> | ||
<numerator> | ||
<value value="2"/> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</numerator> | ||
<denominator> | ||
<value value="1"/> | ||
</denominator> | ||
</strength> | ||
</ingredient> | ||
</Medication> |
139 changes: 139 additions & 0 deletions
139
API-Examples/2025-01-15/erp_eml-epa-notes/12_ibm_medication_compounding_Mapped.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
<Medication xmlns="http://hl7.org/fhir"> | ||
<id value="erp-eml-epa-notes-12-ibm-medication-compounding-Mapped"/> | ||
<meta> | ||
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"/> | ||
</meta> | ||
<contained> | ||
<Medication> | ||
<id value="FirstIngredient"/> | ||
<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="12343219"/> | ||
<display value="1st ingredient"/> | ||
</coding> | ||
<text value="1st ingredient"/> | ||
</code> | ||
</Medication> | ||
</contained> | ||
<contained> | ||
<Medication> | ||
<id value="SecondIngredient"/> | ||
<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="56781239"/> | ||
<display value="2nd ingredient"/> | ||
</coding> | ||
<text value="2nd ingredient"/> | ||
</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> | ||
<code> | ||
<text value="Sumatriptan-1a Pharma 100 mg Tabletten"/> | ||
</code> | ||
<form> | ||
<text value="TAB"/> | ||
</form> | ||
<amount> | ||
<numerator> | ||
<extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension"> | ||
<valueString value="12"/> | ||
</extension> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</numerator> | ||
<denominator> | ||
<value value="1"/> | ||
</denominator> | ||
</amount> | ||
<ingredient> | ||
<itemReference> | ||
<reference value="#FirstIngredient"/> | ||
</itemReference> | ||
<strength> | ||
<numerator> | ||
<value value="1"/> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</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="#SecondIngredient"/> | ||
</itemReference> | ||
<strength> | ||
<numerator> | ||
<value value="2"/> | ||
<unit value="TAB"/> | ||
<system value="http://unitsofmeasure.org"/> | ||
<code value="{tbl}"/> | ||
</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> | ||
</Medication> |
25 changes: 25 additions & 0 deletions
25
...Examples/FSH-Files/input/fsh/examples/erp_eml_epa_notes/11_ibm_medication_compounding.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Instance: erp-eml-epa-notes-11-ibm-medication-compounding | ||
InstanceOf: KBV_PR_ERP_Medication_Compounding | ||
Usage: #example | ||
* code = $KBV_CS_ERP_Medication_Type#rezeptur | ||
* code.text = "Sumatriptan-1a Pharma 100 mg Tabletten" | ||
* form.text = "TAB" | ||
* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00 | ||
* extension[Impfstoff].valueBoolean = false | ||
* extension[Kategorie].valueCodeableConcept.coding.code = #373873005:860781008=362943005 | ||
|
||
* amount.numerator = $unitsofmeasure#{tbl} "TAB" | ||
* amount.numerator.extension[Gesamtmenge].valueString = "12" | ||
* amount.denominator.value = 1 | ||
|
||
* ingredient[+] | ||
* strength.numerator = 1 '{tbl}' "TAB" | ||
* strength.denominator.value = 1 | ||
* itemCodeableConcept.text = "1st ingredient" | ||
* itemCodeableConcept = $pzn-cs#12343219 | ||
* ingredient[+] | ||
* strength.numerator = 2 '{tbl}' "TAB" | ||
* strength.denominator.value = 1 | ||
* itemCodeableConcept.text = "2nd ingredient" | ||
* itemCodeableConcept = $pzn-cs#56781239 | ||
|
43 changes: 43 additions & 0 deletions
43
...s/FSH-Files/input/fsh/examples/erp_eml_epa_notes/12_ibm_medication_compounding_mapped.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Instance: erp-eml-epa-notes-12-ibm-medication-compounding-Mapped | ||
InstanceOf: GEM_ERP_PR_Medication | ||
Usage: #example | ||
* contained[0] = FirstIngredient | ||
* contained[+] = SecondIngredient | ||
* extension[drugCategory].valueCoding = $epa-drug-category-cs#00 | ||
* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)" | ||
* extension[isVaccine].valueBoolean = false | ||
* form.text = "TAB" | ||
* code.text = "Sumatriptan-1a Pharma 100 mg Tabletten" | ||
|
||
* amount.numerator = $unitsofmeasure#{tbl} "TAB" | ||
* extension[totalQuantity].valueString = "12" | ||
* amount.denominator.value = 1 | ||
|
||
* ingredient[+] | ||
* itemReference = Reference(FirstIngredient) | ||
* strength.numerator = 1 '{tbl}' "TAB" | ||
* strength.denominator.value = 1 | ||
* strength.denominator.system.extension[dataAbsentReason].valueCode = #unknown | ||
* strength.denominator.code.extension[dataAbsentReason].valueCode = #unknown | ||
|
||
* ingredient[+] | ||
* itemReference = Reference(SecondIngredient) | ||
* strength.numerator = 2 '{tbl}' "TAB" | ||
* strength.denominator | ||
* value = 1 | ||
* system.extension[dataAbsentReason].valueCode = #unknown | ||
* code.extension[dataAbsentReason].valueCode = #unknown | ||
|
||
Instance: FirstIngredient | ||
InstanceOf: EPAMedicationPZNIngredient | ||
Usage: #inline | ||
* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" | ||
* code = $pzn-cs#12343219 "1st ingredient" | ||
* code.text = "1st ingredient" | ||
|
||
Instance: SecondIngredient | ||
InstanceOf: EPAMedicationPZNIngredient | ||
Usage: #inline | ||
* extension[type].valueCoding = $sct#781405001 "Medicinal product package (product)" | ||
* code = $pzn-cs#56781239 "2nd ingredient" | ||
* code.text = "2nd ingredient" |