epa-medication-service-server
type: CapabilityStatement
node role: treeRoot
id:
  v: epa-medication-service-server
meta:
  profile:
    v: https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement
    link: https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Request-ID
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: UUID of the request message
  extension:
    url:
      v: format
    value: string
      v: uuid
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: name
    value: string
      v: x-insurantid
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Health Record Identifier
  extension:
    url:
      v: pattern
    value: string
      v: ^[A-Z]{1}\d{9}$
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: name
    value: string
      v: x-useragent
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: user agent information
  extension:
    url:
      v: pattern
    value: string
      v: ^[a-zA-Z0-9]{20}\/[a-zA-Z0-9\-\.]{1,15}$
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: Requestor not authorized (no user session with valid ID-Token available)
  extension:
    url:
      v: responseType
    value: string
      v: application/json
  extension:
    url:
      v: errorCode
    value: string
      v: invalAuth
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: Requestor has no valid entitlement
  extension:
    url:
      v: responseType
    value: string
      v: application/json
  extension:
    url:
      v: errorCode
    value: string
      v: notEntitled
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: Requestor role is not in the list of allowed user groups
  extension:
    url:
      v: responseType
    value: string
      v: application/json
  extension:
    url:
      v: errorCode
    value: string
      v: invalidOid
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: Device registration does not exist (if requestor role is oid_versicherter only)
  extension:
    url:
      v: responseType
    value: string
      v: application/json
  extension:
    url:
      v: errorCode
    value: string
      v: unregisteredDevice
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Health record is in state UNKNOWN or INITIALIZED
  extension:
    url:
      v: responseType
    value: string
      v: application/json
  extension:
    url:
      v: errorCode
    value: string

string
v: noHealthRecord

extension:
  url:
    v: statusCode
  value: string
    v: 409
extension:
  url:
    v: description
  value: string
    v: Health record is in state SUSPENDED or MAINTENANCE
extension:
  url:
    v: responseType
  value: string
    v: application/json
extension:
  url:
    v: errorCode
  value: string
    v: statusMismatch
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 500
extension:
  url:
    v: description
  value: string
    v: Any other error
extension:
  url:
    v: responseType
  value: string
    v: application/json
extension:
  url:
    v: errorCode
  value: string
    v: internalError
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 423
extension:
  url:
    v: description
  value: string
    v: 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.
extension:
  url:
    v: responseType
  value: string
    v: application/json
extension:
  url:
    v: errorCode
  value: string
    v: locked
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: 1.2.0-ballot.2

v: EPAMedicationServiceServer

v: EPA CapabilityStatement für den Medication Service

v: draft

v: 2025-09-02

v: gematik GmbH

telecom:
  system:
    v: url
  value:
    v: https://www.gematik.de

v: EPA CapabilityStatement für den Medication Service

coding:
  system:
    v: urn:iso:std:iso:3166
  code:
    v: DE

v: requirements

v: https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server
link: https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL

v: 4.0.1

v: application/fhir+json

v: application/fhir+xml

mode:
  v: server
resource:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  type:
    v: Medication
  supported profile:
    v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
  supported profile:
    v: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
  supported profile:
    v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
  supported profile:
    v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient
    link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
  interaction:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
    extension:
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    code:
      v: search-type
  interaction:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
    extension:
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    code:
      v: history-type
  interaction:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
    extension:
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    code:
      v: read
  interaction:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
      value: code
        v: SHALL
    extension:
      extension:
        value: string
      extension:
        value: string
      url:
        v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
    extension:
      extension:
        value: string
      extension:
        value: string
      extension:
        value: string

v: statusCode

string
v: 200

v: description

string
v: Successful operation

v: statusCode

string
v: 400

v: description

string
v: Unknown search parameter

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_PARAM_UNKNOWN

v: statusCode

string
v: 400

v: description

string
v: Invalid query parameter(s)

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_BAD_SYNTAX

v: statusCode

string
v: 404

v: description

string
v: Unknown resource type

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_UNKNOWN_TYPE

v: statusCode

string
v: 200

v: description

string
v: Successful operation

v: statusCode

string
v: 400

v: description

string
v: Invalid request

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_BAD_FORMAT

v: statusCode

string
v: 404

v: description

string
v: Unknown resource type

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_UNKNOWN_TYPE

v: statusCode

string
v: 200

v: description

string
v: Successful operation

v: statusCode

string
v: 400

v: description

string
v: Invalid request

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_BAD_FORMAT

v: statusCode

string
v: 404

v: description

string
v: Unknown resource type

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_UNKNOWN_TYPE

v: statusCode

string
v: 404

v: description

string
v: Resource is not known

v: responseType

string
v: EPAMSOperationOutcome

v: errorCode

string
v: MSG_RESOURCE_ID_FAIL

v: statusCode

string
v: 410

v: description

string
v: Resource was deleted

v: responseType

string
v: EPAMSOperationOutcome

v: statusCode

string
v: 200

v: description

string
v: Successful operation

v: statusCode

string
v: 400

v: description

string
v: Invalid request

v: responseType

string
v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: MedicationRequest:medication

v: MedicationDispense:medication

v: MedicationStatement:medication

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-identifier
  link: http://hl7.org/fhir/SearchParameter/clinical-identifier
type:
  v: token
documentation:
  v: Medication.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: code
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-code
  link: http://hl7.org/fhir/SearchParameter/clinical-code
type:
  v: token
documentation:
  v: Medication.code

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: status
definition:
  v: http://hl7.org/fhir/SearchParameter/Medication-status
  link: http://hl7.org/fhir/SearchParameter/Medication-status
type:
  v: token
documentation:
  v: Medication.status

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: ingredient-code
definition:
  v: http://hl7.org/fhir/SearchParameter/Medication-ingredient-code
  link: http://hl7.org/fhir/SearchParameter/Medication-ingredient-code
type:
  v: token
documentation:
  v: Medication.ingredient.item as CodeableConcept

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: rx-prescription
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
type:
  v: token
documentation:
  v: Medication.extension

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: context
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
type:
  v: token
documentation:
  v: Medication.extension:context

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: MedicationRequest
supported profile:
  v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request
  link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
supported profile:
  v: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request
  link: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string

string
v: 400

url:
  v: description
value: string
  v: Invalid request

url:
  v: responseType
value: string
  v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: MedicationRequest:medication

v: MedicationRequest:requester

v: MedicationRequest:activity

v: MedicationDispense:prescription

v: MedicationStatement:derived-from

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-identifier
  link: http://hl7.org/fhir/SearchParameter/clinical-identifier
type:
  v: token
documentation:
  v: MedicationRequest.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: authoredon
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon
  link: http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon
type:
  v: date
documentation:
  v: MedicationRequest.authoredOn

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: intent
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationRequest-intent
  link: http://hl7.org/fhir/SearchParameter/MedicationRequest-intent
type:
  v: token
documentation:
  v: MedicationRequest.intent

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: status
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-status
  link: http://hl7.org/fhir/SearchParameter/medications-status
type:
  v: token
documentation:
  v: MedicationRequest.status

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: requester
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationRequest-requester
  link: http://hl7.org/fhir/SearchParameter/MedicationRequest-requester
type:
  v: reference
documentation:
  v: MedicationRequest.requester

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: medication
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-medication
  link: http://hl7.org/fhir/SearchParameter/medications-medication
type:
  v: reference
documentation:
  v: MedicationRequest.medication as Reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: context
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
type:
  v: token
documentation:
  v: MedicationRequest.extension:context

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: activity
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/medication-statement-activity-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/medication-statement-activity-sp
type:
  v: reference
documentation:
  v: MedicationRequest.extension:activity

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: effective-dose-period
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/medicationrequest-effective-dose-period-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/medicationrequest-effective-dose-period-sp
type:
  v: date
documentation:
  v: MedicationRequest.extension:effectiveDosePeriod

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: MedicationDispense
supported profile:
  v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense
  link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request

url:
  v: responseType
value: string
  v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: MedicationDispense:medication

v: MedicationDispense:performer

v: MedicationDispense:prescription

v: MedicationStatement:derived-from

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-identifier
  link: http://hl7.org/fhir/SearchParameter/clinical-identifier
type:
  v: token
documentation:
  v: MedicationDispense.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: whenhandedover
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover
  link: http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover
type:
  v: date
documentation:
  v: MedicationDispense.whenHandedOver

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: prescription
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-prescription
  link: http://hl7.org/fhir/SearchParameter/medications-prescription
type:
  v: reference
documentation:
  v: MedicationDispense.authorizingPrescription

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: performer
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationDispense-performer
  link: http://hl7.org/fhir/SearchParameter/MedicationDispense-performer
type:
  v: reference
documentation:
  v: MedicationDispense.performer.actor

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: status
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-status
  link: http://hl7.org/fhir/SearchParameter/medications-status
type:
  v: token
documentation:
  v: MedicationDispense.status

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: medication
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-medication
  link: http://hl7.org/fhir/SearchParameter/medications-medication
type:
  v: reference
documentation:
  v: MedicationDispense.medication as Reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: rx-prescription
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
type:
  v: token
documentation:
  v: MedicationDispense.extension

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: MedicationStatement
supported profile:
  v: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement
  link: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request

url:
  v: responseType
value: string
  v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: MedicationStatement:medication

v: MedicationStatement:part-of

v: MedicationStatement:derived-from

v: MedicationStatement:based-on-emp

v: Provenance:target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-identifier
  link: http://hl7.org/fhir/SearchParameter/clinical-identifier
type:
  v: token
documentation:
  v: MedicationStatement.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: medication
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-medication
  link: http://hl7.org/fhir/SearchParameter/medications-medication
type:
  v: reference
documentation:
  v: MedicationStatement.medication as Reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: part-of
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationStatement-part-of
  link: http://hl7.org/fhir/SearchParameter/MedicationStatement-part-of
type:
  v: reference
documentation:
  v: MedicationStatement.partOf as Reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: status
definition:
  v: http://hl7.org/fhir/SearchParameter/medications-status
  link: http://hl7.org/fhir/SearchParameter/medications-status
type:
  v: token
documentation:
  v: MedicationStatement.status

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: effective
definition:
  v: http://hl7.org/fhir/SearchParameter/MedicationStatement-effective
  link: http://hl7.org/fhir/SearchParameter/MedicationStatement-effective
type:
  v: date
documentation:
  v: MedicationStatement.effective

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: rx-prescription
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp
type:
  v: token
documentation:
  v: Medication.extension

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: derived-from
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/derived-from-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/derived-from-sp
type:
  v: reference
documentation:
  v: MedicationStatement.derivedFrom as Reference

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: context
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/context-sp
type:
  v: token
documentation:
  v: MedicationStatement.extension:context

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: based-on-emp
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp
type:
  v: reference
documentation:
  v: MedicationStatement.basedOn mit Extension:is-emp = true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid dosage structure or content
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_DOSAGE_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Parameter with wrong status
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_STATUS_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: add-eml-entry
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 405
  extension:
    url:
      v: description
    value: string
      v: Operation %s not allowed for resource %s
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_OP_NOT_ALLOWED
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: cancel-eml-entry
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-eml-entry-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-eml-entry-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Parameter with wrong status
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_STATUS_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: MedicationStatement could not be linked to an eMP-Entry successfully
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: LINKING_NOT_SUCCESSFUL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: link-emp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/link-emp-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/link-emp-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 405
  extension:
    url:
      v: description
    value: string
      v: Operation %s not allowed for resource %s
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_OP_NOT_ALLOWED
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: MedicationStatement could not be unlinked from an eMP-Entry successfully
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: UNLINKING_NOT_SUCCESSFUL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: unlink-emp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/unlink-emp-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/unlink-emp-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: Organization
supported profile:
  v: https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory
  link: https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
supported profile:
  v: https://gematik.de/fhir/ti/StructureDefinition/ti-organization
  link: https://gematik.de/fhir/ti/StructureDefinition/ti-organization
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string

string
v: 400

url:
  v: description
value: string
  v: Invalid request

url:
  v: responseType
value: string
  v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: MedicationDispense:performer

v: PractitionerRole:organization

v: MedicationRequest:requester

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/Organization-identifier
  link: http://hl7.org/fhir/SearchParameter/Organization-identifier
type:
  v: token
documentation:
  v: Organization.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: name
definition:
  v: http://hl7.org/fhir/SearchParameter/Organization-name
  link: http://hl7.org/fhir/SearchParameter/Organization-name
type:
  v: string
documentation:
  v: Organization.name | Organization.alias

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: Practitioner
supported profile:
  v: https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory
  link: https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
supported profile:
  v: https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner
  link: https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string

string
v: 400

url:
  v: description
value: string
  v: Invalid request

url:
  v: responseType
value: string
  v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: PractitionerRole:practitioner

v: MedicationRequest:requester

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/Practitioner-identifier
  link: http://hl7.org/fhir/SearchParameter/Practitioner-identifier
type:
  v: token
documentation:
  v: Practitioner.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: name
definition:
  v: http://hl7.org/fhir/SearchParameter/Practitioner-name
  link: http://hl7.org/fhir/SearchParameter/Practitioner-name
type:
  v: string
documentation:
  v: Practitioner.name

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: PractitionerRole
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: history-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Unknown resource type
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_UNKNOWN_TYPE
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 404
extension:
  url:
    v: description
  value: string
    v: Resource is not known
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_RESOURCE_ID_FAIL
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: history-instance

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Unknown resource type
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_UNKNOWN_TYPE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 410
  extension:
    url:
      v: description
    value: string
      v: Resource was deleted
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
code:
  v: vread

v: versioned-update

v: true

v: PractitionerRole:practitioner

v: PractitionerRole:organization

v: MedicationDispense:performer

v: MedicationRequest:requester

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/PractitionerRole-identifier
  link: http://hl7.org/fhir/SearchParameter/PractitionerRole-identifier
type:
  v: token
documentation:
  v: PractitionerRole.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: practitioner
definition:
  v: http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner
  link: http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner
type:
  v: reference
documentation:
  v: PractitionerRole.practitioner

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: organization
definition:
  v: http://hl7.org/fhir/SearchParameter/PractitionerRole-organization
  link: http://hl7.org/fhir/SearchParameter/PractitionerRole-organization
type:
  v: reference
documentation:
  v: PractitionerRole.organization

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
type:
  v: Provenance
supported profile:
  v: https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance
  link: https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
supported profile:
  v: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance
  link: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Unknown search parameter
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_PARAM_UNKNOWN
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid query parameter(s)
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_SYNTAX
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  code:
    v: search-type
interaction:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
    value: code
      v: SHALL
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 200
    extension:
      url:
        v: description
      value: string
        v: Successful operation
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 400
    extension:
      url:
        v: description
      value: string
        v: Invalid request
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_BAD_FORMAT
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Unknown resource type
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_UNKNOWN_TYPE
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
  extension:
    extension:
      url:
        v: statusCode
      value: string
        v: 404
    extension:
      url:
        v: description
      value: string
        v: Resource is not known
    extension:
      url:
        v: responseType
      value: string
        v: EPAMSOperationOutcome
    extension:
      url:
        v: errorCode
      value: string
        v: MSG_RESOURCE_ID_FAIL
    url:
      v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 410
extension:
  url:
    v: description
  value: string
    v: Resource was deleted
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

extension:
  url:
    v: statusCode
  value: string
    v: 400
extension:
  url:
    v: description
  value: string
    v: Invalid request
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MSG_BAD_FORMAT
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: read

v: versioned-update

v: true

v: Provenance:agent

v: Provenance:target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _id
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-id
  link: http://hl7.org/fhir/SearchParameter/Resource-id
type:
  v: token
documentation:
  v: Resource.id

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _lastUpdated
definition:
  v: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
  link: http://hl7.org/fhir/SearchParameter/Resource-lastUpdated
type:
  v: date
documentation:
  v: Resource.meta.lastUpdated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: _has
type:
  v: string
documentation:
  v: Return resources linked to by the given target

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: identifier
definition:
  v: http://hl7.org/fhir/SearchParameter/clinical-identifier
  link: http://hl7.org/fhir/SearchParameter/clinical-identifier
type:
  v: token
documentation:
  v: MedicationStatement.identifier

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: agent
definition:
  v: http://hl7.org/fhir/SearchParameter/Provenance-agent
  link: http://hl7.org/fhir/SearchParameter/Provenance-agent
type:
  v: reference
documentation:
  v: Who participated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: target
definition:
  v: http://hl7.org/fhir/SearchParameter/Provenance-target
  link: http://hl7.org/fhir/SearchParameter/Provenance-target
type:
  v: reference
documentation:
  v: Target References - usually version specific

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: recorded
definition:
  v: http://hl7.org/fhir/SearchParameter/Provenance-recorded
  link: http://hl7.org/fhir/SearchParameter/Provenance-recorded
type:
  v: date
documentation:
  v: When the activity was recorded / updated

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: when
definition:
  v: http://hl7.org/fhir/SearchParameter/Provenance-when
  link: http://hl7.org/fhir/SearchParameter/Provenance-when
type:
  v: date
documentation:
  v: Provenance.occurred as dateTime

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
name:
  v: is-emp-chronology
definition:
  v: https://gematik.de/fhir/epa-medication/SearchParameter/is-emp-chronology-sp
  link: https://gematik.de/fhir/epa-medication/SearchParameter/is-emp-chronology-sp
type:
  v: token
documentation:
  v: Provenance.extension:isEMPChronology

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: provide-prescription-erp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: cancel-prescription-erp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: provide-dispensation-erp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: cancel-dispensation-erp
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Bundle
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: No Resource found matching the query
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_NO_MATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: medication-list
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Bundle
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Unknown search parameter
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_PARAM_UNKNOWN
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid query parameter(s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_SYNTAX
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: No Resource found matching the query
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_NO_MATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: medication-plan
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Bundle
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: medication-plan-log
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid dosage structure or content
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_DOSAGE_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Parameter with wrong status
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_STATUS_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 409
  extension:
    url:
      v: description
    value: string
      v: Mismatch between acknowledged and current eMP chronology ID
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: add-emp-entry
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/add-emp-entry-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/add-emp-entry-op

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 403
  extension:
    url:
      v: description
    value: string
      v: ID-Token or Insurant-ID mismatch
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_IDENTITY_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Profile mismatch in header Organization
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: SVC_ORG_HEADER_PROFILE_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 409
  extension:
    url:
      v: description
    value: string
      v: Update Conflict (server current version = %s, client version referenced = %s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_VERSION_AWARE_CONFLICT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_RESOURCE_ID_FAIL
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid dosage structure or content
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_DOSAGE_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Parameter with wrong status
  extension:
    url:
      v: responseType
    value: string

string
v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MEDSVC_STATUS_INVALID

extension:
  url:
    v: statusCode
  value: string
    v: 409
extension:
  url:
    v: description
  value: string
    v: Mismatch between acknowledged and current eMP chronology ID
extension:
  url:
    v: responseType
  value: string
    v: EPAMSOperationOutcome
extension:
  url:
    v: errorCode
  value: string
    v: MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH
url:
  v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info

v: update-emp-entry

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Bundle
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid request
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_BAD_FORMAT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 409
  extension:
    url:
      v: description
    value: string
      v: Mismatch between acknowledged and current eMP chronology ID
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid dosage structure or content
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_DOSAGE_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Invalid Data Structure in Medication Service
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDICATIONSVC_NO_VALID_STRUCTURE
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 400
  extension:
    url:
      v: description
    value: string
      v: Parameter with wrong status
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_STATUS_INVALID
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 409
  extension:
    url:
      v: description
    value: string
      v: Update Conflict (server current version = %s, client version referenced = %s)
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MSG_VERSION_AWARE_CONFLICT
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 404
  extension:
    url:
      v: description
    value: string
      v: Resource is not known
  extension:
    url:
      v: responseType
    value: string

string
v: EPAMSOperationOutcome

url:
  v: errorCode
value: string
  v: MSG_RESOURCE_ID_FAIL

v: batch-emp

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
  value: code
    v: SHALL
extension:
  extension:
    url:
      v: name
    value: string
      v: X-Requesting-Organization
  extension:
    url:
      v: type
    value: string
      v: string
  extension:
    url:
      v: description
    value: string
      v: Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request
  extension:
    url:
      v: format
    value: string
      v: base64(fhir+json:Organization)
  extension:
    url:
      v: required
    value: boolean
      v: true
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-header
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 200
  extension:
    url:
      v: description
    value: string
      v: Successful operation
  extension:
    url:
      v: responseType
    value: string
      v: Parameters
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 405
  extension:
    url:
      v: description
    value: string
      v: The operation can only be executed within a batch context
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_OPERATION_OUTSIDE_BATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
extension:
  extension:
    url:
      v: statusCode
    value: string
      v: 409
  extension:
    url:
      v: description
    value: string
      v: Mismatch between acknowledged and current eMP chronology ID
  extension:
    url:
      v: responseType
    value: string
      v: EPAMSOperationOutcome
  extension:
    url:
      v: errorCode
    value: string
      v: MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH
  url:
    v: https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info
name:
  v: emp-commit
definition:
  v: https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op
  link: https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op