@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/tiflow-erezept/Bundle/ExampleRxMedicationDispenseSearchset> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleRxMedicationDispenseSearchset"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
     fhir:relation [ fhir:v "self" ] ;
     fhir:url [
       fhir:v "https://erp-ref.example.org/MedicationDispense?whenhandedover=ge2026-03-01"^^xsd:anyURI ;
       fhir:l <https://erp-ref.example.org/MedicationDispense?whenhandedover=ge2026-03-01>
     ]
  ] ) ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "https://erp-ref.example.org/MedicationDispense/ExampleRxMedicationDispense"^^xsd:anyURI ;
       fhir:l <https://erp-ref.example.org/MedicationDispense/ExampleRxMedicationDispense>
     ] ;
     fhir:resource ( <https://erp-ref.example.org/MedicationDispense/ExampleRxMedicationDispense> ) ;
     fhir:search [
       fhir:mode [ fhir:v "match" ]
     ]
  ] ) . # 

<https://erp-ref.example.org/MedicationDispense/ExampleRxMedicationDispense> a fhir:MedicationDispense ;
  fhir:id [ fhir:v "ExampleRxMedicationDispense"] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:text [ fhir:v "Sumatriptan 50 mg" ]
  ] ; # 
  fhir:subject [
     fhir:identifier [
       fhir:system [
         fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
         fhir:l <http://fhir.de/sid/gkv/kvid-10>
       ] ;
       fhir:value [ fhir:v "X123456789" ]
     ]
  ] ; # 
  fhir:whenHandedOver [ fhir:v "2026-03-20T11:10:00+01:00"^^xsd:dateTime] . # 

# -------------------------------------------------------------------------------------

