Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.1 - draft

: Context Codes - 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:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "context-code"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/CodeSystem/context-code"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.2.0-ballot.1"] ; # 
  fhir:name [ fhir:v "ContextCodeCS"] ; # 
  fhir:title [ fhir:v "Context Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  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 "Codes that define the context of a resource instance in the ePA context"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DE" ]     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
fhir:v "https://gematik.de/fhir/epa-medication/ValueSet/context-code"^^xsd:anyURI ;
fhir:link <https://gematik.de/fhir/epa-medication/ValueSet/context-code>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "3"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
fhir:code [ fhir:v "PRESCRIPTION" ] ;
fhir:display [ fhir:v "Prescription" ] ;
fhir:definition [ fhir:v "Belongs to ePrescription process" ] ;
    ( fhir:designation [
fhir:language [ fhir:v "de-DE" ] ;
fhir:value [ fhir:v "Verschreibung" ]     ] )
  ] [
fhir:code [ fhir:v "MANUAL" ] ;
fhir:display [ fhir:v "Manual Entry" ] ;
fhir:definition [ fhir:v "Is a manual entry" ] ;
    ( fhir:designation [
fhir:language [ fhir:v "de-DE" ] ;
fhir:value [ fhir:v "Nachtrag" ]     ] )
  ] [
fhir:code [ fhir:v "EMP" ] ;
fhir:display [ fhir:v "eMP" ] ;
fhir:definition [ fhir:v "Electronic medication plan" ] ;
    ( fhir:designation [
fhir:language [ fhir:v "de-DE" ] ;
fhir:value [ fhir:v "eMP" ]     ] )
  ] ) . #