Implementation Guide
ePA Basisfunktionalitäten
Version 1.3.1 - release

## : EPA Basic Server - TTL Representation

Active as of 2025-03-20

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-basic-server"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement>     ] )
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "X-Request-ID"       ]     ] [
    fhir:url [
    fhir:v "type"^^xsd:anyURI ;
    fhir:l fhir:type       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "string"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "UUID of the request message"       ]     ] [
    fhir:url [
    fhir:v "format"^^xsd:anyURI ;
    fhir:l fhir:format       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "uuid"       ]     ] [
    fhir:url [
    fhir:v "required"^^xsd:anyURI ;
    fhir:l fhir:required       ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true       ]     ] ) ;
    fhir:url [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-header>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "x-insurantid"       ]     ] [
    fhir:url [
    fhir:v "type"^^xsd:anyURI ;
    fhir:l fhir:type       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "string"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Health Record Identifier"       ]     ] [
    fhir:url [
    fhir:v "pattern"^^xsd:anyURI ;
    fhir:l fhir:pattern       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "^[A-Z]{1}\\d{9}$"       ]     ] [
    fhir:url [
    fhir:v "required"^^xsd:anyURI ;
    fhir:l fhir:required       ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true       ]     ] ) ;
    fhir:url [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-header>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "name"^^xsd:anyURI ;
    fhir:l fhir:name       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "x-useragent"       ]     ] [
    fhir:url [
    fhir:v "type"^^xsd:anyURI ;
    fhir:l fhir:type       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "string"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "user agent information"       ]     ] [
    fhir:url [
    fhir:v "pattern"^^xsd:anyURI ;
    fhir:l fhir:pattern       ] ;
    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:l fhir:required       ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true       ]     ] ) ;
    fhir:url [
    fhir:v "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-header>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "403"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    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:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "403"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Requestor has no valid entitlement"       ]     ] [
    fhir:url [
    fhir:v "responseType"^^xsd:anyURI ;
    fhir:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "403"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    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:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "403"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    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:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "404"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Health record is in state UNKNOWN or INITIALIZED"       ]     ] [
    fhir:url [
    fhir:v "responseType"^^xsd:anyURI ;
    fhir:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "409"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Request conflicts with the current state of the health record"       ]     ] [
    fhir:url [
    fhir:v "responseType"^^xsd:anyURI ;
    fhir:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] [
        ( fhir:extension [
    fhir:url [
    fhir:v "statusCode"^^xsd:anyURI ;
    fhir:l fhir:statusCode       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "500"       ]     ] [
    fhir:url [
    fhir:v "description"^^xsd:anyURI ;
    fhir:l fhir:description       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Any other error"       ]     ] [
    fhir:url [
    fhir:v "responseType"^^xsd:anyURI ;
    fhir:l fhir:responseType       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "application/json"       ]     ] [
    fhir:url [
    fhir:v "errorCode"^^xsd:anyURI ;
    fhir:l fhir:errorCode       ] ;
    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:l <https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info>     ]
      ] ) ; #
      fhir:url [
    fhir:v "https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server"^^xsd:anyURI ;
    fhir:l <https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server>
      ] ; #
      fhir:version [ fhir:v "1.3.1"] ; #
      fhir:name [ fhir:v "EPABasicServer"] ; #
      fhir:title [ fhir:v "EPA Basic Server"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2025-03-20"^^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 "Das Basis Capability Statement für einen FHIR Data Service in der ePA. Es beschreibt globale Header-Anforderungen und einheitliche HTTP Fehler Codes."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "DE" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "gematik GmbH / Dieser Implementation Guide ist lizenziert unter [Apache License](./license.html), Version 2.0."] ; #
      fhir:kind [ fhir:v "requirements"] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:format ( [ fhir:v "application/fhir+json"] ) ; #
      fhir:rest ( [
    fhir:mode [ fhir:v "server" ]
      ] ) . #