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

<https://gematik.de/fhir/epa-medication/MedicationRequest/2a794a78-8a72-46ca-bb81-09f702f94e11> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "2a794a78-8a72-46ca-bb81-09f702f94e11"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2025-10-27T12:00:02.244Z"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"^^xsd:anyURI ;
       fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request>
     ] )
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "indicator"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v true
       ]
     ] [
       fhir:url [ fhir:v "counter"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Ratio ;
         fhir:numerator [
           fhir:value [ fhir:v "2"^^xsd:decimal ]
         ] ;
         fhir:denominator [
           fhir:value [ fhir:v "4"^^xsd:decimal ]
         ]
       ]
     ] [
       fhir:url [ fhir:v "period"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Period ;
         fhir:start [ fhir:v "2025-12-15"^^xsd:date ] ;
         fhir:end [ fhir:v "2026-02-28"^^xsd:date ]
       ]
     ] [
       fhir:url [ fhir:v "id"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Identifier ;
         fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "urn:uuid:24e2e10d-e962-4d1c-be4f-8760e690a5f0" ]
       ]
     ] ) ;
     fhir:url [ fhir:v "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "160.100.000.000.015.94_20251027" ]
  ] [
     fhir:system [ fhir:v "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "68794d6d-2b05-4d5e-aaf1-49b4b6430104_160.100.000.000.015.94" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "filler-order"] ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:link <https://gematik.de/fhir/epa-medication/Medication/a2aa2baf-c37d-40e0-bff5-f6e8a58dc2c3> ;
     fhir:reference [ fhir:v "Medication/a2aa2baf-c37d-40e0-bff5-f6e8a58dc2c3" ]
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [ fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "X110411319" ]
     ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2025-10-27"^^xsd:date] ; # 
  fhir:requester [
     fhir:link <https://gematik.de/fhir/epa-medication/PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa> ;
     fhir:reference [ fhir:v "PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa" ]
  ] ; # 
  fhir:dispenseRequest [
     fhir:quantity [
       fhir:value [ fhir:v "1"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "Packung" ]
     ]
  ] ; # 
  fhir:substitution [
     fhir:allowed [
       a fhir:boolean ;
       fhir:v false
     ]
  ] . # 

# -------------------------------------------------------------------------------------

