Skip to content

Commit

Permalink
compunding example only amount
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Dec 17, 2024
1 parent 9a5acf7 commit 7b409e6
Show file tree
Hide file tree
Showing 5 changed files with 404 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<Medication xmlns="http://hl7.org/fhir">
<id value="erp-eml-epa-notes-13-ibm-medication-compounding-amount"/>
<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>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount">
<valueString value="100 mg"/>
</extension>
</strength>
</ingredient>
<ingredient>
<itemCodeableConcept>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="56781239"/>
</coding>
<text value="2nd ingredient"/>
</itemCodeableConcept>
<strength>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount">
<valueString value="10 g"/>
</extension>
</strength>
</ingredient>
</Medication>
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
{
"resourceType": "Medication",
"id": "erp-eml-epa-notes-14-ibm-medication-compounding-amount-Mapped",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication|1.4"
]
},
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
"valueCoding": {
"code": "00",
"system": "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"
}
},
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
"valueCoding": {
"code": "1208954007",
"system": "http://snomed.info/sct",
"display": "Extemporaneous preparation (product)"
}
},
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
"valueBoolean": false
}
],
"amount": {
"numerator": {
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension",
"valueString": "12"
}
],
"code": "{tbl}",
"system": "http://unitsofmeasure.org",
"unit": "TAB"
},
"denominator": {
"value": 1
}
},
"ingredient": [
{
"strength": {
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
"valueString": "100 mg"
}
],
"numerator": {
"_system": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_code": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_value": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
},
"denominator": {
"_system": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_code": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_value": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
}
},
"itemReference": {
"reference": "#FirstIngredientAmount"
}
},
{
"strength": {
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-ingredient-amount-extension",
"valueString": "100 mg"
}
],
"numerator": {
"_system": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_code": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_value": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
},
"denominator": {
"_system": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_code": {
"extension": [
{
"valueCode": "unknown",
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
}
]
},
"_value": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
}
},
"itemReference": {
"reference": "#SecondIngredientAmount"
}
}
],
"contained": [
{
"resourceType": "Medication",
"id": "FirstIngredientAmount",
"meta": {
"profile": [
"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient"
]
},
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
"valueCoding": {
"code": "781405001",
"system": "http://snomed.info/sct",
"display": "Medicinal product package (product)"
}
}
],
"code": {
"coding": [
{
"system": "http://fhir.de/CodeSystem/ifa/pzn",
"code": "12343219",
"display": "1st ingredient"
}
],
"text": "1st ingredient"
}
},
{
"resourceType": "Medication",
"id": "SecondIngredientAmount",
"meta": {
"profile": [
"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient"
]
},
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
"valueCoding": {
"code": "781405001",
"system": "http://snomed.info/sct",
"display": "Medicinal product package (product)"
}
}
],
"code": {
"coding": [
{
"system": "http://fhir.de/CodeSystem/ifa/pzn",
"code": "56781239",
"display": "2nd ingredient"
}
],
"text": "2nd ingredient"
}
}
],
"form": {
"text": "TAB"
},
"code": {
"text": "Sumatriptan-1a Pharma 100 mg Tabletten"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Instance: erp-eml-epa-notes-13-ibm-medication-compounding-amount
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.extension[MengeFreitext].valueString = "100 mg"
* itemCodeableConcept.text = "1st ingredient"
* itemCodeableConcept = $pzn-cs#12343219
* ingredient[+]
* strength.extension[MengeFreitext].valueString = "10 g"
* itemCodeableConcept.text = "2nd ingredient"
* itemCodeableConcept = $pzn-cs#56781239

Loading

0 comments on commit 7b409e6

Please sign in to comment.