Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : Context Codes - TTL Representation

Active as of 2025-12-15

Raw ttl | Download

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

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

    <http://hl7.org/fhir/CodeSystem/context-code> a fhir:CodeSystem ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "context-code"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem context-code</b></p><a name=\"context-code\"> </a><a name=\"hccontext-code\"> </a><p>This case-sensitive code system <code>https://gematik.de/fhir/epa-medication/CodeSystem/context-code</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>Deutsch (Deutschland) (German (Germany), de)</b></td></tr><tr><td style=\"white-space:nowrap\">PRESCRIPTION<a name=\"context-code-PRESCRIPTION\"> </a></td><td>Prescription</td><td>Belongs to ePrescription process</td><td>Verschreibung</td></tr><tr><td style=\"white-space:nowrap\">MANUAL<a name=\"context-code-MANUAL\"> </a></td><td>Manual Entry</td><td>Is a manual entry</td><td>Nachtrag</td></tr><tr><td style=\"white-space:nowrap\">EMP<a name=\"context-code-EMP\"> </a></td><td>eMP</td><td>Electronic medication plan</td><td>eMP</td></tr></table></div>"
      ] ;
      fhir:CodeSystem.url [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/context-code"] ;
      fhir:CodeSystem.version [ fhir:value "1.3.0"] ;
      fhir:CodeSystem.name [ fhir:value "ContextCodeCS"] ;
      fhir:CodeSystem.title [ fhir:value "Context Codes"] ;
      fhir:CodeSystem.status [ fhir:value "active"] ;
      fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
      fhir:CodeSystem.date [ fhir:value "2025-12-15"^^xsd:date] ;
      fhir:CodeSystem.publisher [ fhir:value "gematik GmbH"] ;
      fhir:CodeSystem.contact [
         fhir:index 0 ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://www.gematik.de" ]
         ]
      ] ;
      fhir:CodeSystem.description [ fhir:value "Codes that define the context of a resource instance in the ePA context"] ;
      fhir:CodeSystem.jurisdiction [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
           fhir:Coding.code [ fhir:value "DE" ]
         ]
      ] ;
      fhir:CodeSystem.copyright [ fhir:value "gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0."] ;
      fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
      fhir:CodeSystem.valueSet [
         fhir:value "https://gematik.de/fhir/epa-medication/ValueSet/context-code" ;
         fhir:link <https://gematik.de/fhir/epa-medication/ValueSet/context-code>
      ] ;
      fhir:CodeSystem.content [ fhir:value "complete"] ;
      fhir:CodeSystem.count [ fhir:value "3"^^xsd:nonNegativeInteger] ;
      fhir:CodeSystem.concept [
         fhir:index 0 ;
         fhir:CodeSystem.concept.code [ fhir:value "PRESCRIPTION" ] ;
         fhir:CodeSystem.concept.display [ fhir:value "Prescription" ] ;
         fhir:CodeSystem.concept.definition [ fhir:value "Belongs to ePrescription process" ] ;
         fhir:CodeSystem.concept.designation [
           fhir:index 0 ;
           fhir:CodeSystem.concept.designation.language [ fhir:value "de-DE" ] ;
           fhir:CodeSystem.concept.designation.value [ fhir:value "Verschreibung" ]
         ]
      ], [
         fhir:index 1 ;
         fhir:CodeSystem.concept.code [ fhir:value "MANUAL" ] ;
         fhir:CodeSystem.concept.display [ fhir:value "Manual Entry" ] ;
         fhir:CodeSystem.concept.definition [ fhir:value "Is a manual entry" ] ;
         fhir:CodeSystem.concept.designation [
           fhir:index 0 ;
           fhir:CodeSystem.concept.designation.language [ fhir:value "de-DE" ] ;
           fhir:CodeSystem.concept.designation.value [ fhir:value "Nachtrag" ]
         ]
      ], [
         fhir:index 2 ;
         fhir:CodeSystem.concept.code [ fhir:value "EMP" ] ;
         fhir:CodeSystem.concept.display [ fhir:value "eMP" ] ;
         fhir:CodeSystem.concept.definition [ fhir:value "Electronic medication plan" ] ;
         fhir:CodeSystem.concept.designation [
           fhir:index 0 ;
           fhir:CodeSystem.concept.designation.language [ fhir:value "de-DE" ] ;
           fhir:CodeSystem.concept.designation.value [ fhir:value "eMP" ]
         ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/CodeSystem/context-code.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/CodeSystem/context-code.ttl> .