Implementation Guide
ePA Basisfunktionalitäten
Version 1.2.0-ballot.1 - draft

: EPA CapabilityStatement für den Patient Service - TTL Representation

Draft as of 2025-08-01

Raw ttl | Download

@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 -------------------------------------------------------------------

 a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "epa-patient-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/patient/api/v1/fhir"     ]
  ] ) ; # 
  fhir:url [ fhir:v "https://gematik.de/fhir/epa/CapabilityStatement/epa-patient-server"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.2.0-ballot.1"] ; # 
  fhir:name [ fhir:v "EPAPatientServer"] ; # 
  fhir:title [ fhir:v "EPA CapabilityStatement für den Patient Service"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2025-08-01"^^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 Capability Statement für den Patient 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 "Patient" ] ;
fhir:profile [
fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-patient"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-patient> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "SHALL"           ]         ] )       ] ;
      ( fhir:supportedProfile [
fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-patient"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-patient> ;
        ( 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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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: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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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: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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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: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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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:code [ fhir:v "vread" ]       ] [
        ( 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 "201"             ]           ] [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Created, wenn eine neue Ressourceninstanz erstellt wurde"             ]           ] ) ;
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 "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 "TIOperationOutcome"             ]           ] [
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 "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 "application/json"             ]           ] [
fhir:url [ fhir:v "errorCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "malformedRequest"             ]           ] ) ;
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 "422"             ]           ] [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Unprocessable Content, falls ein falscher Identifier (KVNR) in der Anfrage angegeben wurde"             ]           ] [
fhir:url [ fhir:v "responseType"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "TIOperationOutcome"             ]           ] [
fhir:url [ fhir:v "errorCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "MSG_RESOURCE_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 "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 "TIOperationOutcome"             ]           ] [
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 "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 "TIOperationOutcome"             ]           ] [
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 "TIOperationOutcome"             ]           ] [
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 "412"             ]           ] [
fhir:url [ fhir:v "description"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Precondition Failed, wenn mehrere Ressourceninstanz gefunden wurden"             ]           ] [
fhir:url [ fhir:v "responseType"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "TIOperationOutcome"             ]           ] [
fhir:url [ fhir:v "errorCode"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "UPDATE_MULTIPLE_MATCHES"             ]           ] ) ;
fhir:url [ fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "update" ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
fhir:readHistory [ fhir:v true ] ;
fhir:conditionalUpdate [
fhir:v true ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "SHALL"           ]         ] )       ] ;
      ( 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 "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Patient-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Patient-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Patient.identifier" ]       ] )     ] )
  ] ) . #