{ "description": "Defines the medication resource for the Medication Service in the ePA system.", "_filename": "StructureDefinition-epa-medication.json", "package_name": "de.gematik.epa.medication", "date": "2024-03-18", "derivation": "constraint", "publisher": "gematik GmbH", "fhirVersion": "4.0.1", "name": "EPAMedication", "mapping": [ { "uri": "http://ncpdp.org/SCRIPT10_6", "name": "Mapping to NCPDP SCRIPT 10.6", "identity": "script10.6" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" } ], "abstract": false, "type": "Medication", "experimental": "false", "resourceType": "StructureDefinition", "title": "EPA Medication", "package_version": "1.0.0-RC", "status": "active", "id": "205c18c5-9bc0-427f-bfa0-377f5629b45d", "kind": "resource", "url": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication", "version": "1.0.0", "differential": { "element": [ { "id": "Medication", "path": "Medication", "constraint": [ { "key": "epa-med-1", "human": "Medication code, name, or ingredients must be specified", "source": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication", "severity": "error", "expression": "code.exists() or ingredient.exists()" } ] }, { "id": "Medication.extension", "path": "Medication.extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Medication.extension:rxPrescriptionProcessIdentifier", "max": "1", "min": 0, "path": "Medication.extension", "type": [ { "code": "Extension", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] } ], "sliceName": "rxPrescriptionProcessIdentifier" }, { "id": "Medication.identifier", "path": "Medication.identifier", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "$this", "type": "pattern" } ] } }, { "id": "Medication.identifier:EPAMedicationUniqueIdentifier", "max": "1", "min": 0, "path": "Medication.identifier", "type": [ { "code": "Identifier", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier" ] } ], "sliceName": "EPAMedicationUniqueIdentifier", "patternIdentifier": { "system": "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier" } }, { "id": "Medication.identifier:RxOriginatorProcessIdentifier", "max": "1", "min": 0, "path": "Medication.identifier", "type": [ { "code": "Identifier", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-originator-process-identifier" ] } ], "sliceName": "RxOriginatorProcessIdentifier", "patternIdentifier": { "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" } }, { "id": "Medication.code", "path": "Medication.code", "short": "Medication in coded form or as free text if necessary", "mustSupport": true }, { "id": "Medication.code.coding", "path": "Medication.code.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Medication.code.coding:pzn", "max": "1", "min": 0, "path": "Medication.code.coding", "sliceName": "pzn", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/ifa/pzn" } }, { "id": "Medication.code.coding:pzn.system", "min": 1, "path": "Medication.code.coding.system", "mustSupport": true }, { "id": "Medication.code.coding:pzn.code", "min": 1, "path": "Medication.code.coding.code", "mustSupport": true }, { "id": "Medication.code.coding:pzn.display", "path": "Medication.code.coding.display", "mustSupport": true }, { "id": "Medication.code.coding:atc-de", "max": "*", "min": 0, "path": "Medication.code.coding", "sliceName": "atc-de", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/bfarm/atc" } }, { "id": "Medication.code.coding:atc-de.system", "min": 1, "path": "Medication.code.coding.system", "mustSupport": true }, { "id": "Medication.code.coding:atc-de.code", "min": 1, "path": "Medication.code.coding.code", "mustSupport": true }, { "id": "Medication.code.coding:atc-de.display", "path": "Medication.code.coding.display", "mustSupport": true }, { "id": "Medication.code.coding:ask", "max": "*", "min": 0, "path": "Medication.code.coding", "sliceName": "ask", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/ask" } }, { "id": "Medication.code.coding:ask.system", "min": 1, "path": "Medication.code.coding.system", "mustSupport": true }, { "id": "Medication.code.coding:ask.code", "min": 1, "path": "Medication.code.coding.code", "mustSupport": true }, { "id": "Medication.code.coding:ask.display", "path": "Medication.code.coding.display", "mustSupport": true }, { "id": "Medication.code.coding:wg14", "max": "*", "min": 0, "path": "Medication.code.coding", "sliceName": "wg14", "patternCoding": { "system": "http://fhir.de/CodeSystem/abdata/wg14" } }, { "id": "Medication.code.coding:wg14.system", "min": 1, "path": "Medication.code.coding.system", "mustSupport": true }, { "id": "Medication.code.coding:wg14.code", "min": 1, "path": "Medication.code.coding.code", "mustSupport": true }, { "id": "Medication.code.coding:wg14.display", "path": "Medication.code.coding.display", "mustSupport": true }, { "id": "Medication.code.coding:snomed", "max": "*", "min": 0, "path": "Medication.code.coding", "sliceName": "snomed", "patternCoding": { "system": "http://snomed.info/sct" } }, { "id": "Medication.code.coding:snomed.system", "min": 1, "path": "Medication.code.coding.system", "mustSupport": true }, { "id": "Medication.code.coding:snomed.code", "min": 1, "path": "Medication.code.coding.code", "mustSupport": true }, { "id": "Medication.code.coding:snomed.display", "path": "Medication.code.coding.display", "mustSupport": true }, { "id": "Medication.code.text", "path": "Medication.code.text", "mustSupport": true }, { "id": "Medication.status", "path": "Medication.status", "short": "Status of Medication Information", "mustSupport": true }, { "id": "Medication.manufacturer", "path": "Medication.manufacturer", "short": "Manufacturer of the Medication", "comment": "Here, the actual manufacturer of the medication can be named, primarily in the case of active ingredient mixtures (compounding prescriptions), such as the hospital pharmacy. It is important to note that the licensing organization, as mentioned in the PZN (Pharmaceutical Central Number) data, is not considered the manufacturer.", "mustSupport": true }, { "id": "Medication.manufacturer.display", "min": 1, "path": "Medication.manufacturer.display", "mustSupport": true }, { "id": "Medication.form", "path": "Medication.form", "short": "Form of Dispensing", "mustSupport": true }, { "id": "Medication.form.coding", "path": "Medication.form.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Medication.form.coding:edqm", "max": "*", "min": 0, "path": "Medication.form.coding", "binding": { "strength": "preferred", "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform" }, "sliceName": "edqm", "mustSupport": true, "patternCoding": { "system": "http://standardterms.edqm.eu" } }, { "id": "Medication.form.coding:edqm.system", "min": 1, "path": "Medication.form.coding.system", "mustSupport": true }, { "id": "Medication.form.coding:edqm.code", "min": 1, "path": "Medication.form.coding.code", "mustSupport": true }, { "id": "Medication.form.coding:edqm.display", "path": "Medication.form.coding.display", "mustSupport": true }, { "id": "Medication.form.coding:snomed", "max": "*", "min": 0, "path": "Medication.form.coding", "sliceName": "snomed", "patternCoding": { "system": "http://snomed.info/sct" } }, { "id": "Medication.form.coding:snomed.system", "min": 1, "path": "Medication.form.coding.system", "mustSupport": true }, { "id": "Medication.form.coding:snomed.code", "min": 1, "path": "Medication.form.coding.code", "mustSupport": true }, { "id": "Medication.form.coding:snomed.display", "path": "Medication.form.coding.display", "mustSupport": true }, { "id": "Medication.form.coding:kbvDarreichungsform", "max": "*", "min": 0, "path": "Medication.form.coding", "binding": { "strength": "required", "valueSet": "https://fhir.kbv.de/CodeSystem/KBV_VS_SFHIR_KBV_DARREICHUNGSFORM" }, "sliceName": "kbvDarreichungsform", "mustSupport": true, "patternCoding": { "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" } }, { "id": "Medication.form.coding:kbvDarreichungsform.system", "min": 1, "path": "Medication.form.coding.system", "mustSupport": true }, { "id": "Medication.form.coding:kbvDarreichungsform.code", "min": 1, "path": "Medication.form.coding.code", "mustSupport": true }, { "id": "Medication.form.coding:kbvDarreichungsform.display", "path": "Medication.form.coding.display", "mustSupport": true }, { "id": "Medication.amount", "path": "Medication.amount", "mustSupport": true }, { "id": "Medication.amount.numerator", "path": "Medication.amount.numerator", "mustSupport": true, "patternQuantity": { "system": "http://unitsofmeasure.org" } }, { "id": "Medication.amount.numerator.value", "path": "Medication.amount.numerator.value", "mustSupport": true }, { "id": "Medication.amount.numerator.unit", "path": "Medication.amount.numerator.unit", "mustSupport": true }, { "id": "Medication.amount.numerator.system", "path": "Medication.amount.numerator.system", "mustSupport": true }, { "id": "Medication.amount.numerator.code", "path": "Medication.amount.numerator.code", "mustSupport": true }, { "id": "Medication.amount.denominator", "path": "Medication.amount.denominator", "mustSupport": true, "patternQuantity": { "system": "http://unitsofmeasure.org" } }, { "id": "Medication.amount.denominator.value", "path": "Medication.amount.denominator.value", "mustSupport": true }, { "id": "Medication.amount.denominator.unit", "path": "Medication.amount.denominator.unit", "mustSupport": true }, { "id": "Medication.amount.denominator.system", "path": "Medication.amount.denominator.system", "mustSupport": true }, { "id": "Medication.amount.denominator.code", "path": "Medication.amount.denominator.code", "mustSupport": true }, { "id": "Medication.ingredient", "path": "Medication.ingredient", "short": "Information on Components (Rezeptur)", "mustSupport": true }, { "id": "Medication.ingredient.item[x]", "path": "Medication.ingredient.item[x]", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "$this", "type": "type" } ] }, "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept", "max": "1", "min": 0, "path": "Medication.ingredient.item[x]", "type": [ { "code": "CodeableConcept" } ], "short": "Component in coded form or, if necessary, as free text", "sliceName": "itemCodeableConcept", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding", "path": "Medication.ingredient.item[x].coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ask", "max": "*", "min": 0, "path": "Medication.ingredient.item[x].coding", "sliceName": "ask", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/ask" } }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ask.system", "min": 1, "path": "Medication.ingredient.item[x].coding.system", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ask.code", "min": 1, "path": "Medication.ingredient.item[x].coding.code", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:ask.display", "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:atc-de", "max": "*", "min": 0, "path": "Medication.ingredient.item[x].coding", "sliceName": "atc-de", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/bfarm/atc" } }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:atc-de.system", "min": 1, "path": "Medication.ingredient.item[x].coding.system", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:atc-de.code", "min": 1, "path": "Medication.ingredient.item[x].coding.code", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:atc-de.display", "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:pzn", "max": "*", "min": 0, "path": "Medication.ingredient.item[x].coding", "sliceName": "pzn", "mustSupport": true, "patternCoding": { "system": "http://fhir.de/CodeSystem/ifa/pzn" } }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:pzn.system", "min": 1, "path": "Medication.ingredient.item[x].coding.system", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:pzn.code", "min": 1, "path": "Medication.ingredient.item[x].coding.code", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:pzn.display", "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:wg14", "max": "*", "min": 0, "path": "Medication.ingredient.item[x].coding", "sliceName": "wg14", "patternCoding": { "system": "http://fhir.de/CodeSystem/abdata/wg14" } }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:wg14.system", "min": 1, "path": "Medication.ingredient.item[x].coding.system", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:wg14.code", "min": 1, "path": "Medication.ingredient.item[x].coding.code", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:wg14.display", "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:snomed", "max": "*", "min": 0, "path": "Medication.ingredient.item[x].coding", "sliceName": "snomed", "patternCoding": { "system": "http://snomed.info/sct" } }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:snomed.system", "min": 1, "path": "Medication.ingredient.item[x].coding.system", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:snomed.code", "min": 1, "path": "Medication.ingredient.item[x].coding.code", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.coding:snomed.display", "path": "Medication.ingredient.item[x].coding.display", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemCodeableConcept.text", "path": "Medication.ingredient.item[x].text", "mustSupport": true }, { "id": "Medication.ingredient.item[x]:itemReference", "max": "1", "min": 0, "path": "Medication.ingredient.item[x]", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Substance", "http://hl7.org/fhir/StructureDefinition/Medication" ] } ], "short": "Component (reference to another medication)", "sliceName": "itemReference" }, { "id": "Medication.ingredient.isActive", "path": "Medication.ingredient.isActive", "short": "Is it an active ingredient?" }, { "id": "Medication.ingredient.strength", "path": "Medication.ingredient.strength", "short": "Strength", "mustSupport": true }, { "id": "Medication.ingredient.strength.numerator", "min": 1, "path": "Medication.ingredient.strength.numerator", "mustSupport": true, "patternQuantity": { "system": "http://unitsofmeasure.org" } }, { "id": "Medication.ingredient.strength.numerator.value", "min": 1, "path": "Medication.ingredient.strength.numerator.value", "mustSupport": true }, { "id": "Medication.ingredient.strength.numerator.unit", "path": "Medication.ingredient.strength.numerator.unit", "mustSupport": true }, { "id": "Medication.ingredient.strength.numerator.system", "min": 1, "path": "Medication.ingredient.strength.numerator.system", "mustSupport": true }, { "id": "Medication.ingredient.strength.numerator.code", "min": 1, "path": "Medication.ingredient.strength.numerator.code", "mustSupport": true }, { "id": "Medication.ingredient.strength.denominator", "path": "Medication.ingredient.strength.denominator", "mustSupport": true, "patternQuantity": { "system": "http://unitsofmeasure.org" } }, { "id": "Medication.ingredient.strength.denominator.value", "min": 1, "path": "Medication.ingredient.strength.denominator.value", "mustSupport": true }, { "id": "Medication.ingredient.strength.denominator.unit", "path": "Medication.ingredient.strength.denominator.unit", "mustSupport": true }, { "id": "Medication.ingredient.strength.denominator.system", "min": 1, "path": "Medication.ingredient.strength.denominator.system", "mustSupport": true }, { "id": "Medication.ingredient.strength.denominator.code", "min": 1, "path": "Medication.ingredient.strength.denominator.code", "mustSupport": true }, { "id": "Medication.batch", "path": "Medication.batch", "short": "Batch Information", "mustSupport": true }, { "id": "Medication.batch.lotNumber", "path": "Medication.batch.lotNumber", "short": "Batch Number", "mustSupport": true } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication" }