@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 -------------------------------------------------------------------

<https://gematik.de/fhir/tiflow-xborder/MedicationDispense/Example-MedicationDispense-EU> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-MedicationDispense-EU"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-MedicationDispense" ;
       fhir:index 0 ;
       fhir:link <https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-MedicationDispense>
     ]
  ] ;
  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: MedicationDispense Example-MedicationDispense-EU</b></p><a name=\"Example-MedicationDispense-EU\"> </a><a name=\"hcExample-MedicationDispense-EU\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-GEM-ERPEU-PR-MedicationDispense.html\">Dispensation of the Prescription from the EU</a></p></div><p><b>identifier</b>: <code>https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId</code>/160.000.033.491.280.78</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-SumatripanMedication.html\">Medication 06313728</a></p><p><b>subject</b>: Identifier: NamingSystemKVID/X123456789</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"PractitionerRole-Example-EU-PractitionerRole.html\">PractitionerRole</a></td></tr></table><p><b>quantity</b>: 2 pkg</p><p><b>whenHandedOver</b>: 2026-10-01</p></div>"
  ] ;
  fhir:MedicationDispense.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" ] ;
     fhir:Identifier.value [ fhir:value "160.000.033.491.280.78" ]
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:link <https://gematik.de/fhir/tiflow-xborder/Medication/SumatripanMedication> ;
     fhir:Reference.reference [ fhir:value "Medication/SumatripanMedication" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://fhir.de/sid/gkv/kvid-10" ] ;
       fhir:Identifier.value [ fhir:value "X123456789" ]
     ]
  ] ;
  fhir:MedicationDispense.performer [
     fhir:index 0 ;
     fhir:MedicationDispense.performer.actor [
       fhir:link <https://gematik.de/fhir/tiflow-xborder/PractitionerRole/Example-EU-PractitionerRole> ;
       fhir:Reference.reference [ fhir:value "PractitionerRole/Example-EU-PractitionerRole" ]
     ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "pkg" ]
  ] ;
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2026-10-01"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<https://gematik.de/fhir/tiflow-xborder/MedicationDispense/Example-MedicationDispense-EU.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

