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/ValueSet/context-code> a fhir:ValueSet ;
      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: ValueSet context-code</b></p><a name=\"context-code\"> </a><a name=\"hccontext-code\"> </a><p>This value set expansion contains 3 concepts.</p><table class=\"codes\"><tr><td><b>System</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name=\"context-code-https://gematik.de/fhir/epa-medication/CodeSystem/context-code-PRESCRIPTION\"> </a><code>https://gematik.de/fhir/epa-medication/CodeSystem/context-code</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-context-code.html#context-code-PRESCRIPTION\">PRESCRIPTION</a></td><td>Prescription</td><td>Belongs to ePrescription process</td></tr><tr><td><a name=\"context-code-https://gematik.de/fhir/epa-medication/CodeSystem/context-code-MANUAL\"> </a><code>https://gematik.de/fhir/epa-medication/CodeSystem/context-code</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-context-code.html#context-code-MANUAL\">MANUAL</a></td><td>Manual Entry</td><td>Is a manual entry</td></tr><tr><td><a name=\"context-code-https://gematik.de/fhir/epa-medication/CodeSystem/context-code-EMP\"> </a><code>https://gematik.de/fhir/epa-medication/CodeSystem/context-code</code></td><td style=\"white-space:nowrap\">  <a href=\"CodeSystem-context-code.html#context-code-EMP\">EMP</a></td><td>eMP</td><td>Electronic medication plan</td></tr></table><p><b>Additional Language Displays</b></p><table class=\"codes\"><tr><td><b>Code</b></td><td><b>Deutsch (Deutschland) (German (Germany), de)</b></td></tr><tr><td>PRESCRIPTION</td><td>Verschreibung</td></tr><tr><td>MANUAL</td><td>Nachtrag</td></tr><tr><td>EMP</td><td>eMP</td></tr></table></div>"
      ] ;
      fhir:ValueSet.url [ fhir:value "https://gematik.de/fhir/epa-medication/ValueSet/context-code"] ;
      fhir:ValueSet.version [ fhir:value "1.3.0"] ;
      fhir:ValueSet.name [ fhir:value "ContextCodeVS"] ;
      fhir:ValueSet.title [ fhir:value "Context Codes"] ;
      fhir:ValueSet.status [ fhir:value "active"] ;
      fhir:ValueSet.experimental [ fhir:value "false"^^xsd:boolean] ;
      fhir:ValueSet.date [ fhir:value "2025-12-15"^^xsd:date] ;
      fhir:ValueSet.publisher [ fhir:value "gematik GmbH"] ;
      fhir:ValueSet.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:ValueSet.description [ fhir:value "Codes that define the context of a resource instance in the ePA context"] ;
      fhir:ValueSet.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:ValueSet.immutable [ fhir:value "false"^^xsd:boolean] ;
      fhir:ValueSet.copyright [ fhir:value "gematik GmbH / Dieses Artefakt ist lizenziert unter [Apache License](./license.html), Version 2.0."] ;
      fhir:ValueSet.compose [
         fhir:ValueSet.compose.include [
           fhir:index 0 ;
           fhir:ValueSet.compose.include.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/context-code" ]
         ]
      ] ;
      fhir:ValueSet.expansion [
         fhir:ValueSet.expansion.timestamp [ fhir:value "2025-07-24"^^xsd:date ] ;
         fhir:ValueSet.expansion.contains [
           fhir:index 0 ;
           fhir:ValueSet.expansion.contains.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/context-code" ] ;
           fhir:ValueSet.expansion.contains.code [ fhir:value "PRESCRIPTION" ] ;
           fhir:ValueSet.expansion.contains.display [ fhir:value "Prescription" ] ;
           fhir:ValueSet.expansion.contains.designation [
             fhir:index 0 ;
             fhir:ValueSet.compose.include.concept.designation.language [ fhir:value "de-DE" ] ;
             fhir:ValueSet.compose.include.concept.designation.value [ fhir:value "Verschreibung" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:ValueSet.expansion.contains.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/context-code" ] ;
           fhir:ValueSet.expansion.contains.code [ fhir:value "MANUAL" ] ;
           fhir:ValueSet.expansion.contains.display [ fhir:value "Manual Entry" ] ;
           fhir:ValueSet.expansion.contains.designation [
             fhir:index 0 ;
             fhir:ValueSet.compose.include.concept.designation.language [ fhir:value "de-DE" ] ;
             fhir:ValueSet.compose.include.concept.designation.value [ fhir:value "Nachtrag" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:ValueSet.expansion.contains.system [ fhir:value "https://gematik.de/fhir/epa-medication/CodeSystem/context-code" ] ;
           fhir:ValueSet.expansion.contains.code [ fhir:value "EMP" ] ;
           fhir:ValueSet.expansion.contains.display [ fhir:value "eMP" ] ;
           fhir:ValueSet.expansion.contains.designation [
             fhir:index 0 ;
             fhir:ValueSet.compose.include.concept.designation.language [ fhir:value "de-DE" ] ;
             fhir:ValueSet.compose.include.concept.designation.value [ fhir:value "eMP" ]
           ]
         ]
      ] .

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

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