@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

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

# -------------------------------------------------------------------------------------

