Skip to content

Commit

Permalink
add kpg mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Dec 18, 2024
1 parent d52ecc6 commit 8f3d9df
Show file tree
Hide file tree
Showing 5 changed files with 160 additions and 0 deletions.
52 changes: 52 additions & 0 deletions API-Examples/2025-01-15/erp_eml-epa-notes/15_KPGVerordnung_PZN.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<Medication xmlns="http://hl7.org/fhir">
<id value="erp-eml-epa-notes-15-KPGVerordnung-PZN"/>
<meta>
<profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|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="763158003"/>
<display value="Medicinal product (product)"/>
</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>
<extension url="http://fhir.de/StructureDefinition/normgroesse">
<valueCode value="N2"/>
</extension>
<code>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn"/>
<code value="01264706"/>
</coding>
<text value="ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2"/>
</code>
<form>
<coding>
<system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
<code value="KPG"/>
</coding>
</form>
<amount>
<numerator>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize">
<valueString value="1"/>
</extension>
<unit value="P"/>
</numerator>
<denominator>
<value value="1"/>
</denominator>
</amount>
</Medication>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"resourceType": "Medication",
"id": "erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped",
"meta": {
"profile": [
"https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication"
]
},
"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
},
{
"url": "http://fhir.de/StructureDefinition/normgroesse",
"valueCode": "N2"
}
],
"amount": {
"numerator": {
"extension": [
{
"url": "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-packaging-size-extension",
"valueString": "1"
}
],
"unit": "P"
},
"denominator": {
"value": 1
}
},
"code": {
"text": "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2",
"coding": [
{
"code": "01264706",
"system": "http://fhir.de/CodeSystem/ifa/pzn"
}
]
},
"form": {
"coding": [
{
"code": "KPG",
"system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"
}
]
},
"ingredient": [
{
"itemReference": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
"valueCode": "unknown"
}
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Instance: erp-eml-epa-notes-15-KPGVerordnung-PZN
InstanceOf: KBV_PR_ERP_Medication_PZN
Usage: #example
* extension[Arzneimittelkategorie].valueCoding = $KBV_CS_ERP_Medication_Category#00
* extension[Impfstoff].valueBoolean = false
* extension[Kategorie].valueCodeableConcept.coding = $sct#763158003 "Medicinal product (product)"
* extension[Normgroesse].valueCode = #N2
* code.text = "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2"
* code = $pzn-cs#01264706
* form = $KBV_CS_SFHIR_KBV_DARREICHUNGSFORM#KPG
* amount.numerator.extension[Packungsgroesse].valueString = "1"
* amount.denominator.value = 1
* amount.numerator.unit = "P"
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Instance: erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped
InstanceOf: EPAMedication
Usage: #example
* extension[drugCategory].valueCoding = $epa-drug-category-cs#00
* extension[type].valueCoding = $sct#1208954007 "Extemporaneous preparation (product)"
* extension[isVaccine].valueBoolean = false
* extension[normSizeCode].valueCode = #N2
* code.text = "ZacPac® 40mg/1.000mg/500mg Kombip. 42 Tbl. N2"
* code = $pzn-cs#01264706
* form = $KBV_CS_SFHIR_KBV_DARREICHUNGSFORM#KPG
* amount.numerator
* extension[packagingSize].valueString = "1"
* unit = "P"
* amount.denominator.value = 1
* ingredient[+].itemReference
* extension[+].url = $data-absent-reason
* extension[=].valueCode = #unknown
1 change: 1 addition & 0 deletions API-Examples/FSH-Files/scripts/process_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ files_to_copy=(
"Medication-erp-eml-epa-notes-06-RezepturVerordnung-PZN-Mapped.json"
"Medication-erp-eml-epa-notes-12-ibm-medication-compounding-Mapped.json"
"Medication-erp-eml-epa-notes-14-ibm-medication-compounding-amount-Mapped.json"
"Medication-erp-eml-epa-notes-16-KPGVerordnung-PZN-Mapped.json"

"Bundle-erp-versicherte-01-response-taskGetAll.json"
"Bundle-erp-versicherte-02-response-taskGetSingle.json"
Expand Down

0 comments on commit 8f3d9df

Please sign in to comment.