Skip to content

Commit

Permalink
Merge pull request #20 from SvenSommer/feature/remove-extensions-medi…
Browse files Browse the repository at this point in the history
…cation

remove extensions from `Medication` mapping
  • Loading branch information
SvenSommer authored May 6, 2024
2 parents 2328ab9 + a7ea64c commit 70b926c
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 39 deletions.
40 changes: 20 additions & 20 deletions projects/erp/docs/EPAMedication.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,23 +114,23 @@ <h2>Mapping: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText,
<td>X</td>
<td>Bleibt vorerst leer, da keine Quellinformationen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.amount.numerator.extension:Gesamtmenge<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.amount.numerator.extension:Packungsgroesse<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_PackagingSize</a>)</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-use">
<td>Medication.amount.numerator.system</td>
Expand Down Expand Up @@ -519,50 +519,50 @@ <h2>Mapping: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText,
<td>X</td>
<td>Bleibt vorerst leer, da keine Quellinformationen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Arzneimittelkategorie<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category</a>)</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Herstellungsanweisung<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_CompoundingInstruction</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Impfstoff<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine</a>)</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Kategorie<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type|1.3.0" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type|1.3.0</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Normgroesse<br>(<a href="http://fhir.de/StructureDefinition/normgroesse" target="_blank">http://fhir.de/StructureDefinition/normgroesse</a>)</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-not-use">
<td>Medication.extension:RxPrescriptionProcessIdentifier<br>(<a href="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" target="_blank">https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension</a>)</td>
Expand All @@ -573,14 +573,14 @@ <h2>Mapping: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText,
<td>X</td>
<td>Wird durch den Medication Service selbst gesetzt</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.extension:Verpackung<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Packaging</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-use">
<td>Medication.form</td>
Expand Down Expand Up @@ -789,14 +789,14 @@ <h2>Mapping: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText,
<td>X</td>
<td>Eigenschaft und Wert werden übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.ingredient.extension:Darreichungsform<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Form</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-not-use">
<td>Medication.ingredient.isActive</td>
Expand Down Expand Up @@ -1221,14 +1221,14 @@ <h2>Mapping: KBV_PR_ERP_Medication_Compounding, KBV_PR_ERP_Medication_FreeText,
<td>X</td>
<td>Eigenschaft und Wert werden übernommen</td>
</tr>
<tr class="row-extension">
<tr class="row-not-use">
<td>Medication.ingredient.strength.extension:MengeFreitext<br>(<a href="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount" target="_blank">https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Ingredient_Amount</a>)</td>
<td>X</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>Extension und Values werden übernommen</td>
<td>Wird nicht übernommen</td>
</tr>
<tr class="row-use">
<td>Medication.ingredient.strength.numerator</td>
Expand Down
20 changes: 20 additions & 0 deletions projects/erp/manual_entries.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Medication.amount.numerator.extension:Gesamtmenge:
classification: not_use
Medication.amount.numerator.extension:Packungsgroesse:
classification: not_use
Medication.extension:Arzneimittelkategorie:
classification: not_use
Medication.extension:Herstellungsanweisung:
classification: not_use
Medication.extension:Impfstoff:
classification: not_use
Medication.extension:Kategorie:
classification: not_use
Medication.extension:Normgroesse:
classification: not_use
Medication.extension:Verpackung:
classification: not_use
Medication.ingredient.extension:Darreichungsform:
classification: not_use
Medication.ingredient.strength.extension:MengeFreitext:
classification: not_use
Medication.code.coding:PZN:
classification: copy_from
extra: Medication.code.coding:pznCode
Expand Down
24 changes: 5 additions & 19 deletions projects/erp/mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,18 @@
"EPAMedication": {
"mappings": {
"Medication.amount": "Medication.amount",
"Medication.amount.numerator.extension:Gesamtmenge": "Medication.amount.numerator.extension:Gesamtmenge",
"Medication.batch": "Medication.batch",
"Medication.code": "Medication.code",
"Medication.extension:Arzneimittelkategorie": "Medication.extension:Arzneimittelkategorie",
"Medication.extension:Herstellungsanweisung": "Medication.extension:Herstellungsanweisung",
"Medication.extension:Impfstoff": "Medication.extension:Impfstoff",
"Medication.extension:Kategorie": "Medication.extension:Kategorie",
"Medication.extension:Verpackung": "Medication.extension:Verpackung",
"Medication.form": "Medication.form",
"Medication.ingredient": "Medication.ingredient",
"Medication.ingredient.extension:Darreichungsform": "Medication.ingredient.extension:Darreichungsform",
"Medication.ingredient.item[x]:itemCodeableConcept.coding:pznCode": "Medication.ingredient.item[x]:itemCodeableConcept.coding:PZN",
"Medication.ingredient.strength.extension:MengeFreitext": "Medication.ingredient.strength.extension:MengeFreitext",
"Medication.meta": "Medication.meta"
},
"fixed": {},
"remove": [
"Medication.amount.numerator.extension:Gesamtmenge",
"Medication.ingredient.extension:Darreichungsform",
"Medication.ingredient.strength.extension:MengeFreitext",
"Medication.meta.profile"
]
}
Expand All @@ -29,8 +24,6 @@
"mappings": {
"Medication.batch": "Medication.batch",
"Medication.code": "Medication.code",
"Medication.extension:Arzneimittelkategorie": "Medication.extension:Arzneimittelkategorie",
"Medication.extension:Impfstoff": "Medication.extension:Impfstoff",
"Medication.form": "Medication.form",
"Medication.meta": "Medication.meta"
},
Expand All @@ -44,19 +37,16 @@
"EPAMedication": {
"mappings": {
"Medication.amount": "Medication.amount",
"Medication.amount.numerator.extension:Packungsgroesse": "Medication.amount.numerator.extension:Packungsgroesse",
"Medication.batch": "Medication.batch",
"Medication.code": "Medication.code",
"Medication.extension:Arzneimittelkategorie": "Medication.extension:Arzneimittelkategorie",
"Medication.extension:Impfstoff": "Medication.extension:Impfstoff",
"Medication.extension:Normgroesse": "Medication.extension:Normgroesse",
"Medication.form": "Medication.form",
"Medication.ingredient": "Medication.ingredient",
"Medication.ingredient.item[x]:itemCodeableConcept.coding:askCode": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ASK",
"Medication.meta": "Medication.meta"
},
"fixed": {},
"remove": [
"Medication.amount.numerator.extension:Packungsgroesse",
"Medication.meta.profile"
]
}
Expand All @@ -65,20 +55,16 @@
"EPAMedication": {
"mappings": {
"Medication.amount": "Medication.amount",
"Medication.amount.numerator.extension:Packungsgroesse": "Medication.amount.numerator.extension:Packungsgroesse",
"Medication.batch": "Medication.batch",
"Medication.code": "Medication.code",
"Medication.code.coding:pznCode": "Medication.code.coding:PZN",
"Medication.extension:Arzneimittelkategorie": "Medication.extension:Arzneimittelkategorie",
"Medication.extension:Impfstoff": "Medication.extension:Impfstoff",
"Medication.extension:Kategorie": "Medication.extension:Kategorie",
"Medication.extension:Normgroesse": "Medication.extension:Normgroesse",
"Medication.form": "Medication.form",
"Medication.form.coding:kbvDarreichungsform": "Medication.form.coding:KBVDarreichungsform",
"Medication.meta": "Medication.meta"
},
"fixed": {},
"remove": [
"Medication.amount.numerator.extension:Packungsgroesse",
"Medication.meta.profile"
]
}
Expand Down

0 comments on commit 70b926c

Please sign in to comment.