Implementation Guide
ePA Medication Service
Version 1.3.0 - release

## Operation API: Medikationsliste abrufen (eML)

Die Operation Medikationsliste abrufen (eML) liefert die elektronische Medikationsliste (eML) in Form eines FHIR searchSet-Bundle. In der eML werden ausschließlich nicht-stornierte Instanzen von Verschreibungsdaten, Dispensierdaten, Nachträge von Medikationen sowie die zugehörige Versicherteninformation (Patient) aus dem Patient Service angezeigt.

Für eine vollständige historische Einsicht, einschließlich stornierter Einträge, können die entsprechenden Query APIs genutzt werden. Zusätzlich ermöglicht die optionale Eingabe eines Datumsbereichs eine verlaufsbasierte Ansicht auf relevante Medikationen.

### Nachricht

Die Nachricht zum Abruf der FHIR-Instanzen der elektronischen Medikationsliste (eML) wird als HTTP GET-Anfrage an den Medication Service gesendet.

#### Auslösung

Wenn das ePA-Client-System die elektronische Medikationsliste (eML) als strukturierte FHIR-Daten abrufen möchte, sendet es eine Operation API: Medikationsliste abrufen (eML)-Anfrage an den Medication Service. Der Medication Service verarbeitet die Anfrage und stellt die Medikationsliste zur Verfügung, damit sie im ePA-Client-System angezeigt werden kann.

#### FHIR Operation API

Das Primärsystem MUSS die Operation Medikationsliste abrufen (eML) implementieren, um einer Leistungserbringerinstitution die Anzeige der eML zu ermöglichen. Das ePA-FdV KANN die Operation Medikationsliste abrufen (eML) implementieren, um dem Nutzer die Anzeige der eML zu ermöglichen. Der Medication Service MUSS die Operation Medikationsliste abrufen (eML) gemäß der FHIR OperationDefinition Get Medication List ausführen.

          {"resourceType":"CapabilityStatement","id":"epa-medication-service-server","meta":{"profile":["https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement"]},"extension":[{"extension":[{"url":"name","valueString":"X-Request-ID"},{"url":"type","valueString":"string"},{"url":"description","valueString":"UUID of the request message"},{"url":"format","valueString":"uuid"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"name","valueString":"x-insurantid"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Health Record Identifier"},{"url":"pattern","valueString":"^[A-Z]{1}\\d{9}$"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"name","valueString":"x-useragent"},{"url":"type","valueString":"string"},{"url":"description","valueString":"user agent information"},{"url":"pattern","valueString":"^[a-zA-Z0-9]{20}\\/[a-zA-Z0-9\\-\\.]{1,15}$"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Requestor not authorized (no user session with valid ID-Token available)"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"invalAuth"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Requestor has no valid entitlement"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"notEntitled"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Requestor role is not in the list of allowed user groups"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"invalidOid"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Device registration does not exist (if requestor role is oid_versicherter only)"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"unregisteredDevice"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Health record is in state UNKNOWN or INITIALIZED"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"noHealthRecord"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Request conflicts with the current state of the health record"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"statusMismatch"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Any other error"},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"internalError"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-base-url","valueString":"http://epa4all/epa/medication/api/v1/fhir"},{"extension":[{"url":"statusCode","valueString":"423"},{"url":"description","valueString":"If the insurant objected to the medication process or objected to the submission of prescription and dispensation data into the ePA system, the Medication Service is locked."},{"url":"responseType","valueString":"application/json"},{"url":"errorCode","valueString":"locked"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"url":"https://gematik.de/fhir/epa-medication/CapabilityStatement/epa-medication-service-server","version":"1.3.0","name":"EPAMedicationServiceServer","title":"EPA CapabilityStatement für den Medication Service","status":"active","date":"2025-12-15","publisher":"gematik GmbH","contact":[{"telecom":[{"system":"url","value":"https://www.gematik.de"}]}],"description":"EPA CapabilityStatement für den Medication Service","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DE"}]}],"copyright":"gematik GmbH / Dieser Implementation Guide ist lizenziert unter [Apache License](./license.html), Version 2.0.","kind":"requirements","imports":["https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server"],"_imports":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"fhirVersion":"4.0.1","format":["application/fhir+json","application/fhir+xml"],"rest":[{"mode":"server","resource":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Medication","supportedProfile":["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication","https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication","https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product","https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchRevInclude":["MedicationRequest:medication","MedicationDispense:medication","MedicationStatement:medication"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/clinical-identifier","type":"token","documentation":"Medication.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"code","definition":"http://hl7.org/fhir/SearchParameter/clinical-code","type":"token","documentation":"Medication.code"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"status","definition":"http://hl7.org/fhir/SearchParameter/Medication-status","type":"token","documentation":"Medication.status"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"ingredient-code","definition":"http://hl7.org/fhir/SearchParameter/Medication-ingredient-code","type":"token","documentation":"Medication.ingredient.item as CodeableConcept"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"rx-prescription","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp","type":"token","documentation":"Medication.extension"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"context","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/context-sp","type":"token","documentation":"Medication.extension:context"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"MedicationRequest","supportedProfile":["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request","https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchInclude":["MedicationRequest:medication","MedicationRequest:requester","MedicationRequest:activity"],"searchRevInclude":["MedicationDispense:prescription","MedicationStatement:derived-from"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/clinical-identifier","type":"token","documentation":"MedicationRequest.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"authoredon","definition":"http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon","type":"date","documentation":"MedicationRequest.authoredOn"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"intent","definition":"http://hl7.org/fhir/SearchParameter/MedicationRequest-intent","type":"token","documentation":"MedicationRequest.intent"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"status","definition":"http://hl7.org/fhir/SearchParameter/medications-status","type":"token","documentation":"MedicationRequest.status"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"requester","definition":"http://hl7.org/fhir/SearchParameter/MedicationRequest-requester","type":"reference","documentation":"MedicationRequest.requester"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"medication","definition":"http://hl7.org/fhir/SearchParameter/medications-medication","type":"reference","documentation":"MedicationRequest.medication as Reference"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"context","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/context-sp","type":"token","documentation":"MedicationRequest.extension:context"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"activity","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/medication-statement-activity-sp","type":"reference","documentation":"MedicationRequest.extension:activity"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"effective-dose-period","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/medicationrequest-effective-dose-period-sp","type":"date","documentation":"MedicationRequest.extension:effectiveDosePeriod"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"MedicationDispense","supportedProfile":["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchInclude":["MedicationDispense:medication","MedicationDispense:performer","MedicationDispense:prescription"],"searchRevInclude":["MedicationStatement:derived-from"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/clinical-identifier","type":"token","documentation":"MedicationDispense.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"whenhandedover","definition":"http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover","type":"date","documentation":"MedicationDispense.whenHandedOver"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"prescription","definition":"http://hl7.org/fhir/SearchParameter/medications-prescription","type":"reference","documentation":"MedicationDispense.authorizingPrescription"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"performer","definition":"http://hl7.org/fhir/SearchParameter/MedicationDispense-performer","type":"reference","documentation":"MedicationDispense.performer.actor"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"status","definition":"http://hl7.org/fhir/SearchParameter/medications-status","type":"token","documentation":"MedicationDispense.status"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"medication","definition":"http://hl7.org/fhir/SearchParameter/medications-medication","type":"reference","documentation":"MedicationDispense.medication as Reference"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"rx-prescription","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp","type":"token","documentation":"MedicationDispense.extension"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"MedicationStatement","supportedProfile":["https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchInclude":["MedicationStatement:medication","MedicationStatement:derived-from","MedicationStatement:based-on-emp"],"searchRevInclude":["Provenance:target"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"medication","definition":"http://hl7.org/fhir/SearchParameter/medications-medication","type":"reference","documentation":"MedicationStatement.medication as Reference"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"status","definition":"http://hl7.org/fhir/SearchParameter/medications-status","type":"token","documentation":"MedicationStatement.status"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"effective","definition":"http://hl7.org/fhir/SearchParameter/MedicationStatement-effective","type":"date","documentation":"MedicationStatement.effective"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"rx-prescription","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp","type":"token","documentation":"Medication.extension"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"derived-from","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/derived-from-sp","type":"reference","documentation":"MedicationStatement.derivedFrom as Reference"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"context","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/context-sp","type":"token","documentation":"MedicationStatement.extension:context"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"based-on-emp","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp","type":"reference","documentation":"MedicationStatement.basedOn mit Extension:is-emp = true"}],"operation":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid dosage structure or content"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_DOSAGE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Parameter with wrong status"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_STATUS_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"add-eml-entry","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"405"},{"url":"description","valueString":"Operation %s not allowed for resource %s"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_OP_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"cancel-eml-entry","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-eml-entry-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Parameter with wrong status"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_STATUS_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"MedicationStatement could not be linked to an eMP-Entry successfully"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"LINKING_NOT_SUCCESSFUL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Already linked to another instance"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_ALREADY_LINKED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"link-emp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/link-emp-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"405"},{"url":"description","valueString":"Operation %s not allowed for resource %s"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_OP_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"MedicationStatement could not be unlinked from an eMP-Entry successfully"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"UNLINKING_NOT_SUCCESSFUL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"unlink-emp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/unlink-emp-op"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Organization","supportedProfile":["https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory","https://gematik.de/fhir/ti/StructureDefinition/ti-organization"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchRevInclude":["MedicationDispense:performer","PractitionerRole:organization","MedicationRequest:requester"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/Organization-identifier","type":"token","documentation":"Organization.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"name","definition":"http://hl7.org/fhir/SearchParameter/Organization-name","type":"string","documentation":"Organization.name | Organization.alias"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Practitioner","supportedProfile":["https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory","https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchRevInclude":["PractitionerRole:practitioner","MedicationRequest:requester"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/Practitioner-identifier","type":"token","documentation":"Practitioner.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"name","definition":"http://hl7.org/fhir/SearchParameter/Practitioner-name","type":"string","documentation":"Practitioner.name"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"PractitionerRole","interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"history-instance"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"vread"}],"versioning":"versioned-update","readHistory":true,"searchInclude":["PractitionerRole:practitioner","PractitionerRole:organization"],"searchRevInclude":["MedicationDispense:performer","MedicationRequest:requester"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"identifier","definition":"http://hl7.org/fhir/SearchParameter/PractitionerRole-identifier","type":"token","documentation":"PractitionerRole.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"practitioner","definition":"http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner","type":"reference","documentation":"PractitionerRole.practitioner"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"organization","definition":"http://hl7.org/fhir/SearchParameter/PractitionerRole-organization","type":"reference","documentation":"PractitionerRole.organization"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Provenance","supportedProfile":["https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance","https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"}],"versioning":"versioned-update","readHistory":true,"searchInclude":["Provenance:agent","Provenance:target"],"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Resource.id"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_lastUpdated","definition":"http://hl7.org/fhir/SearchParameter/Resource-lastUpdated","type":"date","documentation":"Resource.meta.lastUpdated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_has","type":"string","documentation":"Return resources linked to by the given target"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"agent","definition":"http://hl7.org/fhir/SearchParameter/Provenance-agent","type":"reference","documentation":"Who participated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"agent-identifier","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/provenance-agent-identifier-sp","type":"token","documentation":"Provenance.agent.who.identifier"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"target","definition":"http://hl7.org/fhir/SearchParameter/Provenance-target","type":"reference","documentation":"Target References - usually version specific"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"recorded","definition":"http://hl7.org/fhir/SearchParameter/Provenance-recorded","type":"date","documentation":"When the activity was recorded / updated"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"when","definition":"http://hl7.org/fhir/SearchParameter/Provenance-when","type":"date","documentation":"Provenance.occurred as dateTime"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"is-emp-chronology","definition":"https://gematik.de/fhir/epa-medication/SearchParameter/is-emp-chronology-sp","type":"token","documentation":"Provenance.extension:isEMPChronology"}]}],"operation":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"provide-prescription-erp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"cancel-prescription-erp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"provide-dispensation-erp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"cancel-dispensation-erp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Bundle"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"No Resource found matching the query"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_NO_MATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"medication-list","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Bundle"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"No Resource found matching the query"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_NO_MATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"eMP does not exist"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_NO_EXIST"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"medication-plan","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Bundle"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"medication-plan-log","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid dosage structure or content"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_DOSAGE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Parameter with wrong status"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_STATUS_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Mismatch between acknowledged and current eMP chronology ID"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"eMP entry already exists"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_ENTRY_ALREADY_EXISTS"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"add-emp-entry","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/add-emp-entry-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"ID-Token or Insurant-ID mismatch"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_IDENTITY_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Update Conflict (server current version = %s, client version referenced = %s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_VERSION_AWARE_CONFLICT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid dosage structure or content"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_DOSAGE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Parameter with wrong status"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_STATUS_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Mismatch between acknowledged and current eMP chronology ID"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"update-emp-entry","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/update-emp-entry-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"name","valueString":"X-Requesting-Organization"},{"url":"type","valueString":"string"},{"url":"description","valueString":"Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request"},{"url":"format","valueString":"base64(fhir+json:Organization)"},{"url":"required","valueBoolean":true}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"},{"extension":[{"url":"statusCode","valueString":"431"},{"url":"description","valueString":"Requesting Organization Header exceeds maximum size"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_TOO_LARGE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Bundle"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Mismatch between acknowledged and current eMP chronology ID"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid dosage structure or content"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_DOSAGE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Invalid Data Structure in Medication Service"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_NO_VALID_STRUCTURE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"422"},{"url":"description","valueString":"Profile mismatch in header Organization"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"SVC_ORG_HEADER_PROFILE_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Parameter with wrong status"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_STATUS_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Update Conflict (server current version = %s, client version referenced = %s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_VERSION_AWARE_CONFLICT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"batch-emp","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/batch-emp-entries-op"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"405"},{"url":"description","valueString":"The operation can only be executed within a batch context"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_OPERATION_OUTSIDE_BATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Mismatch between acknowledged and current eMP chronology ID"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"emp-commit","definition":"https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op"}]}]}

###

          {"resourceType":"OperationDefinition","id":"get-medication-list-op","meta":{"profile":["https://gematik.de/fhir/ti/StructureDefinition/ti-operationdefinition"]},"text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\">Generated Narrative: OperationDefinition get-medication-list-op</p><a name=\"get-medication-list-op\"> </a><a name=\"hcget-medication-list-op\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://gematik.de/fhir/ti/1.2.0/StructureDefinition-ti-operationdefinition.html\">OperationDefinition Profil für TI FHIR Data Service</a></p></div>URL: [base]/$medication-listParameters<table class=\"grid\">UseNameScopeCardinalityTypeBindingDocumentationINdate0..2<a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a>
    (<a href=\"https://hl7.org/fhir/R4/search.html#date\">date</a>)Limit the search to this date. Can specify upper or lower limits and periods by providing an upper and a lower limit.\nIN_count0..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a>
    (<a href=\"https://hl7.org/fhir/R4/search.html#number\">number</a>)Limit the result bundle to this many entries. To get more entries request the next page.\nIN_offset0..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a>
    (<a href=\"https://hl7.org/fhir/R4/search.html#number\">number</a>)Defines the offset of the first entry in the collection.\nOUTreturn1..1<a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a>Searchset bundle containing the requested entities.\n</table></div>"},"extension":[{"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-method","valueCode":"GET"}],"url":"https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op","version":"1.3.0","name":"getMedicationList_MedicationSvc","title":"Get Medication List","status":"active","kind":"operation","date":"2025-12-15","publisher":"gematik GmbH","contact":[{"name":"gematik GmbH","telecom":[{"system":"url","value":"https://www.gematik.de"},{"system":"email","value":"patientteam [ at ] gematik.de"}]}],"description":"Die Operation liefert die elektronische Medikationsliste (eML) in Form eines FHIR searchSet-Bundles. In der eML werden ausschließlich nicht stornierte Instanzen von Verschreibungsdaten, Dispensierdaten, nachgetragenen Medikamenten sowie die zugehörige Versicherteninformation aus dem Patient Service angezeigt.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DE"}]}],"affectsState":false,"code":"medication-list","system":true,"type":false,"instance":false,"parameter":[{"name":"date","use":"in","min":0,"max":"2","documentation":"Limit the search to this date. Can specify upper or lower limits and periods by providing an upper and a lower limit.","type":"string","searchType":"date"},{"name":"_count","use":"in","min":0,"max":"1","documentation":"Limit the result bundle to this many entries. To get more entries request the next page.","type":"string","searchType":"number"},{"name":"_offset","use":"in","min":0,"max":"1","documentation":"Defines the offset of the first entry in the collection.","type":"string","searchType":"number"},{"name":"return","use":"out","min":1,"max":"1","documentation":"Searchset bundle containing the requested entities.","type":"Bundle"}]}

    {
      "resourceType" : "Bundle",
      "id" : "example-get-medication-list-bundle1",
      "identifier" : {
        "system" : "urn:ietf:rfc:3986",
        "value" : "urn:uuid:9e1f5895-ab0b-4237-856d-fa1065631400"
      },
      "type" : "searchset",
      "timestamp" : "2025-01-01T00:00:00Z",
      "total" : 16,
      "link" : [
        {
          "relation" : "self",
          "url" : "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=0"
        },
        {
          "relation" : "first",
          "url" : "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=0"
        },
        {
          "relation" : "next",
          "url" : "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=10"
        },
        {
          "relation" : "last",
          "url" : "http://epa4all/epa/medication/api/v1/fhir/$medication-list&date=le2025-12-24&date=ge2025-01-01&_count=10&_offset=10"
        }
      ],
      "entry" : [
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087",
          "resource" : {
            "resourceType" : "Patient",
            "id" : "641f4cf5-e54b-406c-b8a8-1d3292fd5087",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0"
              ]
            },
            "identifier" : [
              {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            ],
            "name" : [
              {
                "use" : "official",
                "family" : "Mustermann",
                "given" : [
                  "Max"
                ]
              }
            ],
            "gender" : "male",
            "birthDate" : "1976-02-01"
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7",
          "resource" : {
            "resourceType" : "MedicationStatement",
            "id" : "f3988023-2313-4645-bd6b-f9e37cfb6fc7",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2025-05-22T14:43:34.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.006.24_20250520"
                }
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension",
                "valueCode" : "PRESCRIPTION"
              },
              {
                "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction",
                "valueMarkdown" : "1-0-1-0 Stück"
              },
              {
                "extension" : [
                  {
                    "url" : "algorithmVersion",
                    "valueString" : "1.0.1"
                  },
                  {
                    "url" : "language",
                    "valueCode" : "de-DE"
                  }
                ],
                "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
              }
            ],
            "status" : "unknown",
            "medicationReference" : {
              🔗 "reference" : "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "effectivePeriod" : {
              "start" : "2025-05-22"
            },
            "dateAsserted" : "2025-05-22",
            "derivedFrom" : [
              {
                🔗 "reference" : "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"
              },
              {
                🔗 "reference" : "MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"
              }
            ],
            "dosage" : [
              {
                "timing" : {
                  "repeat" : {
                    "frequency" : 2,
                    "period" : 1,
                    "periodUnit" : "d",
                    "when" : [
                      "MORN",
                      "EVE"
                    ]
                  }
                },
                "doseAndRate" : [
                  {
                    "doseQuantity" : {
                      "value" : 1,
                      "unit" : "Stück",
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
                      "code" : "1"
                    }
                  }
                ]
              }
            ]
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d",
          "resource" : {
            "resourceType" : "Provenance",
            "id" : "de42aa65-f84e-4e96-acfb-b9fd5e104b2d",
            "meta" : {
              "profile" : [
                "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"
              ]
            },
            "target" : [
              {
                "reference" : "MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2"
              }
            ],
            "recorded" : "2025-05-22T14:43:34.244Z",
            "activity" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                  "code" : "UPDATE"
                }
              ]
            },
            "agent" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                      "code" : "author"
                    }
                  ]
                },
                "who" : {
                  "identifier" : {
                    "system" : "https://gematik.de/fhir/sid/epa-fhir-data-service",
                    "value" : "MEDICATIONSVC"
                  },
                  "display" : "ePA Medication Service"
                }
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Medication/ec4d55a0-dec1-46b7-96cc-096845b74c4b",
          "resource" : {
            "resourceType" : "Medication",
            "id" : "ec4d55a0-dec1-46b7-96cc-096845b74c4b",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
                "valueCoding" : {
                  "system" : "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
                  "code" : "00"
                }
              },
              {
                "url" : "http://fhir.de/StructureDefinition/normgroesse",
                "valueCode" : "N1"
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
                "valueBoolean" : false
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://fhir.de/CodeSystem/ifa/pzn",
                  "code" : "00814665"
                }
              ],
              "text" : "Januvia® 50 mg 28 Filmtabletten N1"
            },
            "status" : "active",
            "form" : {
              "coding" : [
                {
                  "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                  "code" : "FTA",
                  "display" : "Tabletten"
                }
              ]
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/bb91cde8-0426-4f4b-a766-5d818d0605bd",
          "resource" : {
            "resourceType" : "MedicationRequest",
            "id" : "3191d752-3adf-4c7f-848d-8d43766fed72",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2025-05-22T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"
              ]
            },
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "indicator",
                    "valueBoolean" : false
                  }
                ],
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
              },
              {
                "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction",
                "valueMarkdown" : "1-0-1-0 Stück"
              },
              {
                "extension" : [
                  {
                    "url" : "algorithmVersion",
                    "valueString" : "1.0.1"
                  },
                  {
                    "url" : "language",
                    "valueCode" : "de-DE"
                  }
                ],
                "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                "value" : "160.100.000.000.006.24_20250520"
              },
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "bb91cde8-0426-4f4b-a766-5d818d0605bd_160.100.000.000.006.24"
              }
            ],
            "status" : "active",
            "intent" : "filler-order",
            "medicationReference" : {
              🔗 "reference" : "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "authoredOn" : "2025-05-20",
            "requester" : {
              🔗 "reference" : "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"
            },
            "dosageInstruction" : [
              {
                "timing" : {
                  "repeat" : {
                    "frequency" : 2,
                    "period" : 1,
                    "periodUnit" : "d",
                    "when" : [
                      "MORN",
                      "EVE"
                    ]
                  }
                },
                "doseAndRate" : [
                  {
                    "doseQuantity" : {
                      "value" : 1,
                      "unit" : "Stück",
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
                      "code" : "1"
                    }
                  }
                ]
              }
            ],
            "dispenseRequest" : {
              "quantity" : {
                "value" : 1,
                "system" : "http://unitsofmeasure.org",
                "code" : "{Package}"
              }
            },
            "substitution" : {
              "allowedBoolean" : true
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "4e6e1623-778e-44a3-b208-8479f5339e43",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-05-22T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.006.24_20250520"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"
              }
            ],
            "whenHandedOver" : "2025-05-22",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa",
          "resource" : {
            "resourceType" : "PractitionerRole",
            "id" : "73a551f8-d8cd-4b44-823d-ab5f8aeab1aa",
            "practitioner" : {
              🔗 "reference" : "Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c",
              "identifier" : {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "PRN",
                      "display" : "Provider number"
                    }
                  ]
                },
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "1-1.58.00000056"
              },
              "display" : "Dr. Max Manfred Mustermann"
            },
            "organization" : {
              🔗 "reference" : "Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596",
              "identifier" : {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                      "code" : "PRN",
                      "display" : "Provider number"
                    }
                  ]
                },
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "9-2.58.00000045"
              },
              "display" : "Praxis Dr. med. Max Mustermann"
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596",
          "resource" : {
            "resourceType" : "Organization",
            "id" : "ad7dc0e7-cb44-4740-ba67-cb573e29d596",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.0"
              ],
              "tag" : [
                {
                  "system" : "https://gematik.de/fhir/directory/CodeSystem/Origin",
                  "code" : "ldap"
                }
              ]
            },
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "9-2.58.00000045"
              },
              {
                "system" : "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
                "value" : "012300004"
              }
            ],
            "active" : true,
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
                    "code" : "1.2.276.0.76.4.50",
                    "display" : "Betriebsstätte Arzt"
                  }
                ]
              }
            ],
            "name" : "Praxis Dr. med. Max Mustermann",
            "address" : [
              {
                "type" : "both",
                "line" : [
                  "Musterstr. 1",
                  "Mitte"
                ],
                "city" : "Darmstadt",
                "postalCode" : "64283",
                "country" : "DE"
              },
              {
                "type" : "postal",
                "line" : [
                  "45678"
                ],
                "city" : "Darmstadt",
                "country" : "DE"
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c",
          "resource" : {
            "resourceType" : "Practitioner",
            "id" : "498c345f-31f5-4da6-9f04-00fa2bc8af7c",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|1.0.0"
              ],
              "tag" : [
                {
                  "system" : "https://gematik.de/fhir/directory/CodeSystem/Origin",
                  "code" : "ldap"
                }
              ]
            },
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "1-1.58.00000056"
              },
              {
                "system" : "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR",
                "value" : "123456789"
              }
            ],
            "active" : true,
            "name" : [
              {
                "text" : "Dr. Max Manfred Mustermann",
                "family" : "Musterman",
                "given" : [
                  "Max",
                  "Manfred"
                ],
                "prefix" : [
                  "Dr."
                ]
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8",
          "resource" : {
            "resourceType" : "Organization",
            "id" : "151f1697-7512-4e21-9466-1b75207475d8",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.0"
              ],
              "tag" : [
                {
                  "system" : "https://gematik.de/fhir/directory/CodeSystem/Origin",
                  "code" : "ldap"
                }
              ]
            },
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "9-2.58.00000023"
              }
            ],
            "active" : true,
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
                    "code" : "1.2.276.0.76.4.54",
                    "display" : "Öffentliche Apotheke"
                  }
                ]
              }
            ],
            "name" : "gematik Apotheke",
            "alias" : [
              "Apotheke"
            ],
            "address" : [
              {
                "text" : "gematik Apotheke\nFriedrichstr. 136,\n10117 Berlin",
                "line" : [
                  "Friedrichstr. 136"
                ],
                "city" : "Berlin",
                "district" : "Mitte",
                "state" : "Berlin",
                "postalCode" : "10117",
                "country" : "DE"
              }
            ],
            "contact" : [
              {
                "purpose" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/contactentity-type",
                      "code" : "ADMIN"
                    }
                  ]
                },
                "name" : {
                  "text" : "gematik ITSM"
                },
                "telecom" : [
                  {
                    "system" : "email",
                    "value" : "betrieb@gematik.de"
                  }
                ]
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784",
          "resource" : {
            "resourceType" : "MedicationStatement",
            "id" : "1cb0f018-178d-4488-a6b4-2be32dbda784",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2026-08-18T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension",
                "valueCode" : "MANUAL"
              }
            ],
            "status" : "unknown",
            "medicationReference" : {
              🔗 "reference" : "Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "effectivePeriod" : {
              "start" : "2026-08-18"
            },
            "dateAsserted" : "2026-08-18"
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Provenance/a9def8f0-5f57-4ee7-948d-819c3ab6e6c9",
          "resource" : {
            "resourceType" : "Provenance",
            "id" : "f35a13e2-d82c-4826-97d7-b7e32721c4af",
            "meta" : {
              "profile" : [
                "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"
              ]
            },
            "target" : [
              {
                "reference" : "MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1"
              }
            ],
            "recorded" : "2026-08-18T14:43:33.344Z",
            "activity" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                  "code" : "CREATE"
                }
              ]
            },
            "agent" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                      "code" : "author"
                    }
                  ]
                },
                "who" : {
                  🔗 "reference" : "Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "code" : "PRN"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000060"
                  },
                  "display" : "Die Apotheke"
                }
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d",
          "resource" : {
            "resourceType" : "Medication",
            "id" : "ef5d5baf-0c42-4240-9604-7fba9cea926d",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2026-08-18T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"
              ]
            },
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
                "value" : "004C0F718C63EFADC20D838B772BD4DC4C4E6EB31293B6F689E624534A9C56CD"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://fhir.de/CodeSystem/ifa/pzn",
                  "code" : "11722423"
                }
              ],
              "text" : "IBU-RATIOPHARM direkt 400 mg Pulver zum Einnehmen 20 St Pulver"
            },
            "form" : {
              "coding" : [
                {
                  "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                  "code" : "PUE",
                  "display" : "Pulver zum Einnehmen"
                }
              ]
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5",
          "resource" : {
            "resourceType" : "Organization",
            "id" : "8B421590-9F7F-46BE-BD1E-C987063AC4F5",
            "meta" : {
              "profile" : [
                🔗 "https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1"
              ]
            },
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/sid/telematik-id",
                "value" : "9-2.58.00000060"
              }
            ],
            "active" : true,
            "type" : [
              {
                "coding" : [
                  {
                    "system" : "https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID",
                    "code" : "1.2.276.0.76.4.54",
                    "display" : "Öffentliche Apotheke"
                  }
                ]
              }
            ],
            "name" : "Die Apotheke",
            "alias" : [
              "Apotheke"
            ],
            "address" : [
              {
                "text" : "Die Apotheke\nFriedrichstr. 136,\n10117 Berlin",
                "line" : [
                  "Friedrichstr. 136"
                ],
                "city" : "Berlin",
                "district" : "Mitte",
                "state" : "Berlin",
                "postalCode" : "10117",
                "country" : "DE"
              }
            ],
            "contact" : [
              {
                "purpose" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/contactentity-type",
                      "code" : "ADMIN"
                    }
                  ]
                },
                "name" : {
                  "text" : "gematik ITSM"
                },
                "telecom" : [
                  {
                    "system" : "email",
                    "value" : "betrieb@gematik.de"
                  }
                ]
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c",
          "resource" : {
            "resourceType" : "MedicationStatement",
            "id" : "f29f1d0c-be05-4b0d-a335-3e508da39c0c",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2026-11-01T15:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.007.24_20261101"
                }
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension",
                "valueCode" : "PRESCRIPTION"
              },
              {
                "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction",
                "valueMarkdown" : "1-0-0-0 Stück"
              },
              {
                "extension" : [
                  {
                    "url" : "algorithmVersion",
                    "valueString" : "1.0.1"
                  },
                  {
                    "url" : "language",
                    "valueCode" : "de-DE"
                  }
                ],
                "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
              }
            ],
            "basedOn" : [
              {
                🔗 "extension" : [
                  {
                    "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension",
                    "valueBoolean" : true
                  }
                ],
                "reference" : "MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5"
              }
            ],
            "status" : "unknown",
            "medicationReference" : {
              🔗 "reference" : "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "effectivePeriod" : {
              "start" : "2025-11-01"
            },
            "dateAsserted" : "2026-11-01",
            "derivedFrom" : [
              {
                🔗 "reference" : "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"
              },
              {
                🔗 "reference" : "MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"
              }
            ],
            "dosage" : [
              {
                "timing" : {
                  "repeat" : {
                    "frequency" : 1,
                    "period" : 1,
                    "periodUnit" : "d",
                    "when" : [
                      "MORN"
                    ]
                  }
                },
                "doseAndRate" : [
                  {
                    "doseQuantity" : {
                      "value" : 1,
                      "unit" : "Stück",
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
                      "code" : "1"
                    }
                  }
                ]
              }
            ]
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed",
          "resource" : {
            "resourceType" : "Provenance",
            "id" : "176eec9c-8d5a-46a7-96e3-7af3f68c49ed",
            "meta" : {
              "profile" : [
                "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"
              ]
            },
            "target" : [
              {
                "reference" : "MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2"
              }
            ],
            "recorded" : "2026-11-01T15:43:33.244Z",
            "activity" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                  "code" : "UPDATE"
                }
              ]
            },
            "agent" : [
              {
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                      "code" : "author"
                    }
                  ]
                },
                "who" : {
                  "identifier" : {
                    "system" : "https://gematik.de/fhir/sid/epa-fhir-data-service",
                    "value" : "MEDICATIONSVC"
                  },
                  "display" : "ePA Medication Service"
                }
              }
            ]
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e",
          "resource" : {
            "resourceType" : "Medication",
            "id" : "fc7b28e8-05ac-4ac8-86d7-7677d9c6134e",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2026-11-01T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.007.24_20261101"
                }
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension",
                "valueCoding" : {
                  "system" : "http://snomed.info/sct",
                  "code" : "781405001",
                  "display" : "Medicinal product package (product)"
                }
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension",
                "valueCoding" : {
                  "system" : "https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs",
                  "code" : "00"
                }
              },
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension",
                "valueBoolean" : false
              },
              {
                "url" : "http://fhir.de/StructureDefinition/normgroesse",
                "valueCode" : "N1"
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier",
                "value" : "5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1"
              },
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "a3197c39-d03c-45fa-bcb7-b32578143c56_160.100.000.000.007.24"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://fhir.de/CodeSystem/ifa/pzn",
                  "code" : "06313728"
                }
              ],
              "text" : "Sumatriptan-1a Pharma 100 mg Tabletten"
            },
            "status" : "active",
            "form" : {
              "coding" : [
                {
                  "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM",
                  "code" : "TAB",
                  "display" : "Tabletten"
                }
              ]
            },
            "amount" : {
              "numerator" : {
                "extension" : [
                  {
                    "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension",
                    "valueString" : "20 St."
                  }
                ],
                "value" : 20,
                "unit" : "St"
              },
              "denominator" : {
                "value" : 1
              }
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8",
          "resource" : {
            "resourceType" : "MedicationRequest",
            "id" : "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8",
            "meta" : {
              "versionId" : "2",
              "lastUpdated" : "2026-11-01T14:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"
              ]
            },
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "indicator",
                    "valueBoolean" : false
                  }
                ],
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"
              },
              {
                "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction",
                "valueMarkdown" : "1-0-0-0 Stück"
              },
              {
                "extension" : [
                  {
                    "url" : "algorithmVersion",
                    "valueString" : "1.0.1"
                  },
                  {
                    "url" : "language",
                    "valueCode" : "de-DE"
                  }
                ],
                "url" : "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta"
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                "value" : "160.100.000.000.007.24_20250425"
              },
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24"
              }
            ],
            "status" : "active",
            "intent" : "filler-order",
            "medicationReference" : {
              🔗 "reference" : "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "authoredOn" : "2026-11-01",
            "requester" : {
              🔗 "reference" : "PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59"
            },
            "basedOn" : [
              {
                "identifier" : {
                  "system" : "https://gematik.de/fhir/sid/emp-identifier",
                  "value" : "4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"
                }
              }
            ],
            "dosageInstruction" : [
              {
                "timing" : {
                  "repeat" : {
                    "frequency" : 1,
                    "period" : 1,
                    "periodUnit" : "d",
                    "when" : [
                      "MORN"
                    ]
                  }
                },
                "doseAndRate" : [
                  {
                    "doseQuantity" : {
                      "value" : 1,
                      "unit" : "Stück",
                      "system" : "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT",
                      "code" : "1"
                    }
                  }
                ]
              }
            ],
            "dispenseRequest" : {
              "quantity" : {
                "value" : 1,
                "system" : "http://unitsofmeasure.org",
                "code" : "{Package}"
              }
            },
            "substitution" : {
              "allowedBoolean" : true
            }
          },
          "search" : {
            "mode" : "include"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c",
          "resource" : {
            "resourceType" : "MedicationDispense",
            "id" : "fa0c29e1-c4e7-4f08-91ab-598a2233867c",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2026-11-01T15:43:33.244Z",
              "profile" : [
                🔗 "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0"
              ]
            },
            "extension" : [
              {
                "url" : "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension",
                "valueIdentifier" : {
                  "system" : "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier",
                  "value" : "160.100.000.000.007.24_20261101"
                }
              }
            ],
            "identifier" : [
              {
                "system" : "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier",
                "value" : "1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24"
              }
            ],
            "status" : "completed",
            "medicationReference" : {
              🔗 "reference" : "Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"
            },
            "subject" : {
              "identifier" : {
                "system" : "http://fhir.de/sid/gkv/kvid-10",
                "value" : "X110411319"
              }
            },
            "performer" : [
              {
                "actor" : {
                  🔗 "reference" : "Organization/151f1697-7512-4e21-9466-1b75207475d8",
                  "identifier" : {
                    "type" : {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                          "code" : "PRN",
                          "display" : "Provider number"
                        }
                      ]
                    },
                    "system" : "https://gematik.de/fhir/sid/telematik-id",
                    "value" : "9-2.58.00000023"
                  },
                  "display" : "gematik Apotheke"
                }
              }
            ],
            "authorizingPrescription" : [
              {
                🔗 "reference" : "MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"
              }
            ],
            "whenHandedOver" : "2026-11-01",
            "substitution" : {
              "wasSubstituted" : false
            }
          },
          "search" : {
            "mode" : "include"
          }
        }
      ]
    }

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="example-get-medication-list-bundle1"/>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:uuid:9e1f5895-ab0b-4237-856d-fa1065631400"/>
      </identifier>
      <type value="searchset"/>
      <timestamp value="2025-01-01T00:00:00Z"/>
      <total value="16"/>
      <link>
        <relation value="self"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=0"/>
      </link>
      <link>
        <relation value="first"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=0"/>
      </link>
      <link>
        <relation value="next"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=10"/>
      </link>
      <link>
        <relation value="last"/>
        <url
             value="http://epa4all/epa/medication/api/v1/fhir/$medication-list&amp;date=le2025-12-24&amp;date=ge2025-01-01&amp;_count=10&amp;_offset=10"/>
      </link>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Patient/641f4cf5-e54b-406c-b8a8-1d3292fd5087"/>
        <resource>
          <Patient>
            <id value="641f4cf5-e54b-406c-b8a8-1d3292fd5087"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-patient|1.3.0"/>
            </meta>
            <identifier>
              <system value="http://fhir.de/sid/gkv/kvid-10"/>
              <value value="X110411319"/>
            </identifier>
            <name>
              <use value="official"/>
              <family value="Mustermann"/>
              <given value="Max"/>
            </name>
            <gender value="male"/>
            <birthDate value="1976-02-01"/>
          </Patient>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
        <resource>
          <MedicationStatement>
            <id value="f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:34.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.006.24_20250520"/>
              </valueIdentifier>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="PRESCRIPTION"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction">
              <valueMarkdown value="1-0-1-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <status value="unknown"/>
            <medicationReference>🔗
              <reference value="Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <effectivePeriod>
              <start value="2025-05-22"/>
            </effectivePeriod>
            <dateAsserted value="2025-05-22"/>
            <derivedFrom>🔗
              <reference
                         value="MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
            </derivedFrom>
            <derivedFrom>🔗
              <reference
                         value="MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
            </derivedFrom>
            <dosage>
              <timing>
                <repeat>
                  <frequency value="2"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                  <when value="EVE"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosage>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/de42aa65-f84e-4e96-acfb-b9fd5e104b2d"/>
        <resource>
          <Provenance>
            <id value="de42aa65-f84e-4e96-acfb-b9fd5e104b2d"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7/_history/2"/>
            </target>
            <recorded value="2025-05-22T14:43:34.244Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="UPDATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>
                <identifier>
                  <system
                          value="https://gematik.de/fhir/sid/epa-fhir-data-service"/>
                  <value value="MEDICATIONSVC"/>
                </identifier>
                <display value="ePA Medication Service"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/ec4d55a0-dec1-46b7-96cc-096845b74c4b"/>
        <resource>
          <Medication>
            <id value="ec4d55a0-dec1-46b7-96cc-096845b74c4b"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
              <valueCoding>
                <system
                        value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
                <code value="00"/>
              </valueCoding>
            </extension>
            <extension url="http://fhir.de/StructureDefinition/normgroesse">
              <valueCode value="N1"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
              <valueBoolean value="false"/>
            </extension>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="00814665"/>
              </coding>
              <text value="Januvia® 50 mg 28 Filmtabletten N1"/>
            </code>
            <status value="active"/>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="FTA"/>
                <display value="Tabletten"/>
              </coding>
            </form>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
        <resource>
          <MedicationRequest>
            <id value="3191d752-3adf-4c7f-848d-8d43766fed72"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
              <extension url="indicator">
                <valueBoolean value="false"/>
              </extension>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction">
              <valueMarkdown value="1-0-1-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
              <value value="160.100.000.000.006.24_20250520"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="bb91cde8-0426-4f4b-a766-5d818d0605bd_160.100.000.000.006.24"/>
            </identifier>
            <status value="active"/>
            <intent value="filler-order"/>
            <medicationReference>🔗
              <reference value="Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <authoredOn value="2025-05-20"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
            </requester>
            <dosageInstruction>
              <timing>
                <repeat>
                  <frequency value="2"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                  <when value="EVE"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
        <resource>
          <MedicationDispense>
            <id value="4e6e1623-778e-44a3-b208-8479f5339e43"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-05-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.006.24_20250520"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5d8fbf7c-bdb0-44c2-95fe-423ae0404ccd_160.100.000.000.006.24"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-05-22"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
        <resource>
          <PractitionerRole>
            <id value="73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
            <practitioner>🔗
              <reference
                         value="Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
              <identifier>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="PRN"/>
                    <display value="Provider number"/>
                  </coding>
                </type>
                <system value="https://gematik.de/fhir/sid/telematik-id"/>
                <value value="1-1.58.00000056"/>
              </identifier>
              <display value="Dr. Max Manfred Mustermann"/>
            </practitioner>
            <organization>🔗
              <reference
                         value="Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
              <identifier>
                <type>
                  <coding>
                    <system
                            value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                    <code value="PRN"/>
                    <display value="Provider number"/>
                  </coding>
                </type>
                <system value="https://gematik.de/fhir/sid/telematik-id"/>
                <value value="9-2.58.00000045"/>
              </identifier>
              <display value="Praxis Dr. med. Max Mustermann"/>
            </organization>
          </PractitionerRole>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
        <resource>
          <Organization>
            <id value="ad7dc0e7-cb44-4740-ba67-cb573e29d596"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.0"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000045"/>
            </identifier>
            <identifier>
              <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR"/>
              <value value="012300004"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.50"/>
                <display value="Betriebsstätte Arzt"/>
              </coding>
            </type>
            <name value="Praxis Dr. med. Max Mustermann"/>
            <address>
              <type value="both"/>
              <line value="Musterstr. 1"/>
              <line value="Mitte"/>
              <city value="Darmstadt"/>
              <postalCode value="64283"/>
              <country value="DE"/>
            </address>
            <address>
              <type value="postal"/>
              <line value="45678"/>
              <city value="Darmstadt"/>
              <country value="DE"/>
            </address>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Practitioner/498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
        <resource>
          <Practitioner>
            <id value="498c345f-31f5-4da6-9f04-00fa2bc8af7c"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory|1.0.0"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="1-1.58.00000056"/>
            </identifier>
            <identifier>
              <system value="https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR"/>
              <value value="123456789"/>
            </identifier>
            <active value="true"/>
            <name>
              <text value="Dr. Max Manfred Mustermann"/>
              <family value="Musterman"/>
              <given value="Max"/>
              <given value="Manfred"/>
              <prefix value="Dr."/>
            </name>
          </Practitioner>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
        <resource>
          <Organization>
            <id value="151f1697-7512-4e21-9466-1b75207475d8"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory|1.0.0"/>
              <tag>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/Origin"/>
                <code value="ldap"/>
              </tag>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000023"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.54"/>
                <display value="Öffentliche Apotheke"/>
              </coding>
            </type>
            <name value="gematik Apotheke"/>
            <alias value="Apotheke"/>
            <address>
              <text value="gematik Apotheke
    Friedrichstr. 136,
    10117 Berlin"/>
              <line value="Friedrichstr. 136"/>
              <city value="Berlin"/>
              <district value="Mitte"/>
              <state value="Berlin"/>
              <postalCode value="10117"/>
              <country value="DE"/>
            </address>
            <contact>
              <purpose>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/contactentity-type"/>
                  <code value="ADMIN"/>
                </coding>
              </purpose>
              <name>
                <text value="gematik ITSM"/>
              </name>
              <telecom>
                <system value="email"/>
                <value value="betrieb@gematik.de"/>
              </telecom>
            </contact>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784"/>
        <resource>
          <MedicationStatement>
            <id value="1cb0f018-178d-4488-a6b4-2be32dbda784"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-08-18T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="MANUAL"/>
            </extension>
            <status value="unknown"/>
            <medicationReference>🔗
              <reference value="Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <effectivePeriod>
              <start value="2026-08-18"/>
            </effectivePeriod>
            <dateAsserted value="2026-08-18"/>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/a9def8f0-5f57-4ee7-948d-819c3ab6e6c9"/>
        <resource>
          <Provenance>
            <id value="f35a13e2-d82c-4826-97d7-b7e32721c4af"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/1cb0f018-178d-4488-a6b4-2be32dbda784/_history/1"/>
            </target>
            <recorded value="2026-08-18T14:43:33.344Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="CREATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>🔗
                <reference
                           value="Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <code value="PRN"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000060"/>
                </identifier>
                <display value="Die Apotheke"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
        <resource>
          <Medication>
            <id value="ef5d5baf-0c42-4240-9604-7fba9cea926d"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-08-18T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </meta>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="004C0F718C63EFADC20D838B772BD4DC4C4E6EB31293B6F689E624534A9C56CD"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="11722423"/>
              </coding>
              <text
                    value="IBU-RATIOPHARM direkt 400 mg Pulver zum Einnehmen 20 St Pulver"/>
            </code>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="PUE"/>
                <display value="Pulver zum Einnehmen"/>
              </coding>
            </form>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Organization/8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
        <resource>
          <Organization>
            <id value="8B421590-9F7F-46BE-BD1E-C987063AC4F5"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/ti/StructureDefinition/ti-organization|1.1.1"/>
            </meta>
            <identifier>
              <system value="https://gematik.de/fhir/sid/telematik-id"/>
              <value value="9-2.58.00000060"/>
            </identifier>
            <active value="true"/>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.54"/>
                <display value="Öffentliche Apotheke"/>
              </coding>
            </type>
            <name value="Die Apotheke"/>
            <alias value="Apotheke"/>
            <address>
              <text value="Die Apotheke
    Friedrichstr. 136,
    10117 Berlin"/>
              <line value="Friedrichstr. 136"/>
              <city value="Berlin"/>
              <district value="Mitte"/>
              <state value="Berlin"/>
              <postalCode value="10117"/>
              <country value="DE"/>
            </address>
            <contact>
              <purpose>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/contactentity-type"/>
                  <code value="ADMIN"/>
                </coding>
              </purpose>
              <name>
                <text value="gematik ITSM"/>
              </name>
              <telecom>
                <system value="email"/>
                <value value="betrieb@gematik.de"/>
              </telecom>
            </contact>
          </Organization>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c"/>
        <resource>
          <MedicationStatement>
            <id value="f29f1d0c-be05-4b0d-a335-3e508da39c0c"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T15:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
              <valueCode value="PRESCRIPTION"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction">
              <valueMarkdown value="1-0-0-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <basedOn>🔗
              <extension
                         url="https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension">
                <valueBoolean value="true"/>
              </extension>
              <reference
                         value="MedicationRequest/266620a9-2c26-41c1-b0cb-a10947b867f5"/>
            </basedOn>
            <status value="unknown"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <effectivePeriod>
              <start value="2025-11-01"/>
            </effectivePeriod>
            <dateAsserted value="2026-11-01"/>
            <derivedFrom>🔗
              <reference
                         value="MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            </derivedFrom>
            <derivedFrom>🔗
              <reference
                         value="MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
            </derivedFrom>
            <dosage>
              <timing>
                <repeat>
                  <frequency value="1"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosage>
          </MedicationStatement>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Provenance/176eec9c-8d5a-46a7-96e3-7af3f68c49ed"/>
        <resource>
          <Provenance>
            <id value="176eec9c-8d5a-46a7-96e3-7af3f68c49ed"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance|1.3.0"/>
            </meta>
            <target>
              <reference
                         value="MedicationStatement/f29f1d0c-be05-4b0d-a335-3e508da39c0c/_history/2"/>
            </target>
            <recorded value="2026-11-01T15:43:33.244Z"/>
            <activity>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
                <code value="UPDATE"/>
              </coding>
            </activity>
            <agent>
              <type>
                <coding>
                  <system
                          value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
                  <code value="author"/>
                </coding>
              </type>
              <who>
                <identifier>
                  <system
                          value="https://gematik.de/fhir/sid/epa-fhir-data-service"/>
                  <value value="MEDICATIONSVC"/>
                </identifier>
                <display value="ePA Medication Service"/>
              </who>
            </agent>
          </Provenance>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
        <resource>
          <Medication>
            <id value="fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension">
              <valueCoding>
                <system value="http://snomed.info/sct"/>
                <code value="781405001"/>
                <display value="Medicinal product package (product)"/>
              </valueCoding>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
              <valueCoding>
                <system
                        value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
                <code value="00"/>
              </valueCoding>
            </extension>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
              <valueBoolean value="false"/>
            </extension>
            <extension url="http://fhir.de/StructureDefinition/normgroesse">
              <valueCode value="N1"/>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/epa-medication-unique-identifier"/>
              <value
                     value="5CA9B89A31D81FFF6869E6A93B192C03C7F715FC4A568FB060630DD639F94EF1"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="a3197c39-d03c-45fa-bcb7-b32578143c56_160.100.000.000.007.24"/>
            </identifier>
            <code>
              <coding>
                <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                <code value="06313728"/>
              </coding>
              <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/>
            </code>
            <status value="active"/>
            <form>
              <coding>
                <system
                        value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                <code value="TAB"/>
                <display value="Tabletten"/>
              </coding>
            </form>
            <amount>
              <numerator>
                <extension
                           url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension">
                  <valueString value="20 St."/>
                </extension>
                <value value="20"/>
                <unit value="St"/>
              </numerator>
              <denominator>
                <value value="1"/>
              </denominator>
            </amount>
          </Medication>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
        <resource>
          <MedicationRequest>
            <id value="4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2026-11-01T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
              <extension url="indicator">
                <valueBoolean value="false"/>
              </extension>
            </extension>
            <extension
                       url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction">
              <valueMarkdown value="1-0-0-0 Stück"/>
            </extension>
            <extension
                       url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta">
              <extension url="algorithmVersion">
                <valueString value="1.0.1"/>
              </extension>
              <extension url="language">
                <valueCode value="de-DE"/>
              </extension>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
              <value value="160.100.000.000.007.24_20250425"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5f4bc41c-480e-4ee4-b58e-a99268c1a1d0_160.100.000.000.007.24"/>
            </identifier>
            <status value="active"/>
            <intent value="filler-order"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <authoredOn value="2026-11-01"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/b9eb9668-b61e-43b5-b3ea-485234836d59"/>
            </requester>
            <basedOn>
              <identifier>
                <system value="https://gematik.de/fhir/sid/emp-identifier"/>
                <value value="4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
              </identifier>
            </basedOn>
            <dosageInstruction>
              <timing>
                <repeat>
                  <frequency value="1"/>
                  <period value="1"/>
                  <periodUnit value="d"/>
                  <when value="MORN"/>
                </repeat>
              </timing>
              <doseAndRate>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Stück"/>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
                  <code value="1"/>
                </doseQuantity>
              </doseAndRate>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
        <resource>
          <MedicationDispense>
            <id value="fa0c29e1-c4e7-4f08-91ab-598a2233867c"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2026-11-01T15:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense|1.3.0"/>
            </meta>
            <extension
                       url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
              <valueIdentifier>
                <system
                        value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
                <value value="160.100.000.000.007.24_20261101"/>
              </valueIdentifier>
            </extension>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="1da91bd3-d5cb-459b-a270-32fad7d5d5d5_160.100.000.000.007.24"/>
            </identifier>
            <status value="completed"/>
            <medicationReference>🔗
              <reference value="Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>🔗
                <reference
                           value="Organization/151f1697-7512-4e21-9466-1b75207475d8"/>
                <identifier>
                  <type>
                    <coding>
                      <system
                              value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                      <code value="PRN"/>
                      <display value="Provider number"/>
                    </coding>
                  </type>
                  <system value="https://gematik.de/fhir/sid/telematik-id"/>
                  <value value="9-2.58.00000023"/>
                </identifier>
                <display value="gematik Apotheke"/>
              </actor>
            </performer>
            <authorizingPrescription>🔗
              <reference
                         value="MedicationRequest/4dd6f19d-002c-44ac-ae2f-3c9d08ad35b8"/>
            </authorizingPrescription>
            <whenHandedOver value="2026-11-01"/>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <search>
          <mode value="include"/>
        </search>
      </entry>
    </Bundle>

Zusätzlich ermöglicht der Parameter date die Eingrenzung eines Datumsbereichs, indem obere und untere Grenzen definiert werden. So können gezielt Medikations-, Verschreibungs- und Dispensierdaten innerhalb eines bestimmten Zeitraums abgerufen werden.

Beispiel für eine Datumsfilterung

    GET [base]/epa/medication/api/v1/fhir/$medication-list?date=le2025-12-24&date=ge2025-01-01

Beispiel für eine Medikationsliste (eML) in XML

    GET [base]/epa/medication/api/v1/fhir/$medication-list?_format=application/fhir+xml

Der Medication Service MUSS in der Operation Medikationsliste abrufen (eML) das Ergebnis als FHIR Bundle mit dem type searchset zurückgeben. Der Medication Service MUSS sicherstellen, dass das Suchergebnis der Operation Medikationsliste abrufen (eML) auf MedicationStatement-Instanzen basiert und ausschließlich relevante Instanzen enthält.
Das zurückgegebene FHIR Search Set Bundle enthält:

- Alle relevanten MedicationStatement-Instanzen des Profils EPAMedicationStatement. Diese sind die zentrale Grundlage der Medikationsliste.
- Alle Medication-Instanzen, die in der medicationReference des MedicationStatement oder in den über derivedFrom referenzierten MedicationRequest- und MedicationDispense-Instanzen verwendet werden.
- Alle MedicationRequest-Instanzen, die über MedicationStatement.derivedFrom referenziert sind.
- Alle MedicationDispense-Instanzen, die über MedicationStatement.derivedFrom referenziert sind.
- Alle PractitionerRole- und Organization-Instanzen, die in MedicationRequest oder MedicationDispense referenziert werden.
- Alle Practitioner- und Organization-Instanzen, die von den jeweiligen PractitionerRole-Instanzen referenziert werden.
- Alle relevanten Provenance-Instanzen des Profils EPAActivityProvenance, die als target auf die jeweilige Version der MedicationStatement-Instanz zeigen.
- Alle Organization-Instanzen, die in den Provenance.agent.who-Referenzen enthalten sind.

Der Medication Service MUSS sicherstellen, dass alle in den Provenance.agent.who-Angaben referenzierten Organization-Instanzen korrekt im Ergebnis der Operation Medikationsliste abrufen (eML) enthalten sind.
Dabei sind sowohl

- literal Referenzen (d.h. Provenance.agent.who.reference mit relativen oder absoluten Referenz-URLs auf eine Organization-Ressource) und
- logische Referenzen (d.h. Provenance.agent.who.identifier mit einer eindeutigen Identifier-Angabe der Organization)

zu berücksichtigen und korrekt aufzulösen. Der Medication Service MUSS in der Operation Medikationsliste abrufen (eML) sicherstellen, dass MedicationStatement-Instanzen mit dem Status entered-in-error sowie die davon abhängigen Instanzen nicht in das Suchergebnis aufgenommen werden.
Dabei gelten folgende Ausschlusskriterien:

- MedicationStatement-Instanzen mit dem Status entered-in-error werden ausgeschlossen.
- MedicationRequest- und MedicationDispense-Instanzen werden ausgeschlossen, wenn sie ausschließlich von ausgeschlossenen MedicationStatement-Instanzen über derivedFrom referenziert werden.
- Medication-Instanzen werden ausgeschlossen, wenn sie ausschließlich von ausgeschlossenen MedicationStatement-Instanzen referenziert werden.
- MedicationDispense-Instanzen werden ausgeschlossen, wenn ihr Status entweder auf cancelled oder declined gesetzt ist.
- Medication-Instanzen werden ausgeschlossen, wenn sie ausschließlich von stornierten MedicationRequest- oder MedicationDispense-Instanzen referenziert wird. Falls eine Medication-Instanz sowohl von einer stornierten als auch von einer nicht-stornierten Instanz referenziert wird, muss sie im Suchergebnis enthalten bleiben.

Der Medication Service MUSS das Suchergebnis der Operation Medikationsliste abrufen (eML) absteigend (desc) nach dem Datum der Medikationsinformation sortieren. Grundlage der Sortierung ist das Element MedicationStatement.effective, das sowohl das ursprüngliche Verordnungsdatum als auch ein Nachtragsdatum abbilden kann. Bei mehreren MedicationStatement-Instanzen mit demselben effective-Wert ist zusätzlich das Element MedicationStatement.meta.lastUpdated in absteigender Reihenfolge zu berücksichtigen. Bei Nicht-Angabe von MedicationStatement.effective wird nach dem Element MedicationStatement.meta.lastUpdated sortiert. Der Medication Service MUSS in der Operation Medikationsliste abrufen (eML) die Paginierung unterstützen, um eine Verarbeitung und Navigation großer Datenmengen zu ermöglichen. Die Implementierung der Paginierung erfolgt gemäß den allgemeinen Paginierungsanforderungen des FHIR Data Service.

In der Operation Medikationsliste abrufen (eML) können neben den Standardpaginierungsparametern wie _count und _offset weitere Parameter enthalten sein, die die Paginierung erleichtern. Ein Beispiel hierfür ist der Parameter stateid, der den aktuellen Zustand der Ergebnisliste repräsentiert. Dies ermöglicht es dem Medication Service, die Navigation durch die Ergebnisse effizient zu verwalten, indem der Kontext oder Zustand der Suche erhalten bleibt.

Der Medication Service MUSS sicherstellen, dass alle referenzierten Instanzen innerhalb einer einzelnen Ergebnisseite der Paginierung enthalten sind. Eine referenzierte Instanz MUSS in derselben Seite wie die Instanz enthalten sein, die auf sie verweist. Dies gilt für die folgenden Ressourcen: MedicationStatement, Medication, MedicationRequest, MedicationDispense, PractitionerRole, Practitioner, Organization und Provenance. Der Medication Service MUSS sicherstellen, dass die zugehörige Patient-Instanz aus dem Patient Service in das Suchergebnis der Operation Medikationsliste abrufen (eML) eingebunden wird. Der Medication Service MUSS sicherstellen, dass die Patient-Instanz innerhalb des Suchergebnisses der Operation Medikationsliste abrufen (eML) immer als erstes Element der ersten Ergebnisseite zurückgegeben wird. Der Medication Service MUSS bei Angabe eines Datumparameters (date) alle MedicationStatement-Instanzen mit effective im angegebenen Datumsbereich für die Ergebnismenge der Operation berücksichtigen. Der Medication Service MUSS, wenn kein Datumparameter (date) angegeben ist, alle MedicationStatement-Instanzen für die Ergebnismenge der Operation berücksichtigen. Der Medication Service MUSS bei Berechnung der Anzahl von Elementen auf einer Suchergebnisseite per _count ausschließlich die MedicationStatement-Instanzen berücksichtigen (d.h. sich nicht auf die Gesamtanzahl der Einträge im FHIR Bundle beziehen). Die MedicationStatement-Instanzen sollen im FHIR Bundle mit entry.search.mode = "match" gekennzeichnet werden. Zugehörig referenzierte Ressourcen (d.h. Medication, MedicationRequest, MedicationDispense, Practitioner, PractitionerRole, Organization, Provenance und Patient) müssen zusätzlich in das FHIR Bundle aufgenommen und mit entry.search.mode = "include" markiert werden. Der Medication Service MUSS mit dem HTTP Status Code 404 und einer OperationOutcome-Ressource antworten, wenn die Ergebnismenge der Operation Medikationsliste abrufen (eML) leer ist. Die OperationOutcome-Ressource enthält im Element issue.details.coding.code den Wert MSG_NO_MATCH.

Das folgende Beispiel zeigt die erwartete Antwort bei einer leeren eML.

    {
      "resourceType": "OperationOutcome",
      "issue": [
        {
          "severity": "error",
          "code": "processing",
          "details": {
            "coding": [
              {
                "code": "MSG_NO_MATCH",
                "system": "http://terminology.hl7.org/CodeSystem/operation-outcome"
              }
            ]
            "diagnostics": "No Resource found matching the query"
          }
        }
      ]
    }

### Sicherheitsanforderungen

Generelle Sicherheitsanforderungen werden hier festgehalten.