{
"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": "2023-12-06",
"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": "0.0.3",
"status": "active",
"id": "a08c7241-970d-4047-b578-b5f087e92797",
"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": "Medikamenten-Code, -Bezeichnung oder Inhaltsstoffe müssen angegeben werden.",
"source": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication",
"severity": "error",
"expression": "code.exists() or ingredient.exists()"
} ]
}, {
"id": "Medication.extension",
"min": 1,
"path": "Medication.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Medication.extension:RxPrescriptionProcessIdentifier",
"max": "1",
"min": 1,
"path": "Medication.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ]
} ],
"sliceName": "RxPrescriptionProcessIdentifier",
"mustSupport": true
}, {
"id": "Medication.identifier",
"min": 1,
"path": "Medication.identifier",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "pattern"
} ]
},
"mustSupport": true
}, {
"id": "Medication.identifier:ePAMedicationUniqueIdentifier",
"max": "1",
"min": 1,
"path": "Medication.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-unique-identifier" ]
} ],
"sliceName": "ePAMedicationUniqueIdentifier"
}, {
"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": "1",
"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": "1",
"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": "1",
"min": 0,
"path": "Medication.code.coding",
"sliceName": "WG14",
"mustSupport": true,
"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:verordnungskategorieCode",
"max": "1",
"min": 0,
"path": "Medication.code.coding",
"sliceName": "verordnungskategorieCode",
"mustSupport": true
}, {
"id": "Medication.code.coding:verordnungskategorieCode.system",
"min": 1,
"path": "Medication.code.coding.system",
"mustSupport": true
}, {
"id": "Medication.code.coding:verordnungskategorieCode.code",
"min": 1,
"path": "Medication.code.coding.code",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/epa-medication/ValueSet/kbv-medication-type-vs"
},
"mustSupport": true
}, {
"id": "Medication.code.coding:verordnungskategorieCode.display",
"path": "Medication.code.coding.display",
"mustSupport": true
}, {
"id": "Medication.code.text",
"path": "Medication.code.text",
"mustSupport": true
}, {
"id": "Medication.status",
"min": 1,
"path": "Medication.status",
"short": "Status der Medikamenteninformation",
"mustSupport": true
}, {
"id": "Medication.manufacturer",
"path": "Medication.manufacturer",
"short": "Hersteller des Medikaments",
"comment": "Hier kann der tatsächliche Hersteller des Medikaments benannt werden, vornehmlich im Fall von Wirkstoffmischungen (Rezepturen), beispielsweise die Krankenhausapotheke. Zu beachten ist, dass die zulassende Organisation, wie sie z.B. in den Daten zur PZN benannt ist, nicht als Hersteller gilt.",
"mustSupport": true
}, {
"id": "Medication.manufacturer.display",
"min": 1,
"path": "Medication.manufacturer.display",
"mustSupport": true
}, {
"id": "Medication.form",
"path": "Medication.form",
"short": "Abgabeform",
"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": "1",
"min": 0,
"path": "Medication.form.coding",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform"
},
"sliceName": "EDQM",
"mustSupport": true
}, {
"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:KBVDarreichungsform",
"max": "1",
"min": 0,
"path": "Medication.form.coding",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/epa-medication/ValueSet/kbv-medication-darreichungsform-vs"
},
"sliceName": "KBVDarreichungsform",
"mustSupport": true
}, {
"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",
"min": 1,
"path": "Medication.amount.numerator",
"mustSupport": true,
"patternQuantity": {
"system": "http://unitsofmeasure.org"
}
}, {
"id": "Medication.amount.numerator.value",
"min": 1,
"path": "Medication.amount.numerator.value",
"mustSupport": true
}, {
"id": "Medication.amount.numerator.unit",
"path": "Medication.amount.numerator.unit",
"mustSupport": true
}, {
"id": "Medication.amount.numerator.system",
"min": 1,
"path": "Medication.amount.numerator.system",
"mustSupport": true
}, {
"id": "Medication.amount.numerator.code",
"min": 1,
"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",
"min": 1,
"path": "Medication.amount.denominator.value",
"mustSupport": true
}, {
"id": "Medication.amount.denominator.unit",
"path": "Medication.amount.denominator.unit",
"mustSupport": true
}, {
"id": "Medication.amount.denominator.system",
"min": 1,
"path": "Medication.amount.denominator.system",
"mustSupport": true
}, {
"id": "Medication.amount.denominator.code",
"min": 1,
"path": "Medication.amount.denominator.code",
"mustSupport": true
}, {
"id": "Medication.ingredient",
"path": "Medication.ingredient",
"short": "Informationen zu Bestandteilen (Rezeptur)",
"mustSupport": true
}, {
"id": "Medication.ingredient.item[x]",
"path": "Medication.ingredient.item[x]",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
}
}, {
"id": "Medication.ingredient.item[x]:itemCodeableConcept",
"max": "1",
"min": 0,
"path": "Medication.ingredient.item[x]",
"type": [ {
"code": "CodeableConcept"
} ],
"short": "Bestandteil in codierter Form oder ggf. als Freitext",
"sliceName": "itemCodeableConcept",
"mustSupport": true
}, {
"id": "Medication.ingredient.item[x]:itemCodeableConcept.coding",
"min": 1,
"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": "1",
"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": "1",
"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": "1",
"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": "1",
"min": 0,
"path": "Medication.ingredient.item[x].coding",
"sliceName": "WG14",
"mustSupport": true,
"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.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": "Bestandteil (Referenz auf ein anderes Medikament)",
"sliceName": "itemReference",
"mustSupport": true
}, {
"id": "Medication.ingredient.item[x]:itemReference.reference",
"min": 1,
"path": "Medication.ingredient.item[x].reference",
"mustSupport": true
}, {
"id": "Medication.ingredient.isActive",
"path": "Medication.ingredient.isActive",
"short": "handelt es sich um einen aktiven Bestandteil?",
"mustSupport": true
}, {
"id": "Medication.ingredient.strength",
"path": "Medication.ingredient.strength",
"short": "Stärke",
"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": "Angaben zur Charge",
"mustSupport": true
}, {
"id": "Medication.batch.lotNumber",
"path": "Medication.batch.lotNumber",
"short": "Chargennummer",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication"
}