@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://haau3.com/fhir/MedicationDispense/haau3-medication-dispense-chain> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "haau3-medication-dispense-chain"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://haau3.com/fhir/StructureDefinition/haau3-medication-dispense" ;
       fhir:index 0 ;
       fhir:link <https://haau3.com/fhir/StructureDefinition/haau3-medication-dispense>
     ]
  ] ;
  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 haau3-medication-dispense-chain</b></p><a name=\"haau3-medication-dispense-chain\"> </a><a name=\"hchaau3-medication-dispense-chain\"> </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-haau3-medication-dispense.html\">haau3 MedicationDispense</a></p></div><p><b>identifier</b>: <code>https://haau3.com/fhir/NamingSystem/source-resource-id</code>/MedicationDispense/example-source-record</p><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-haau3-medication-no-display.html\">Medication metformin hydrochloride 500 MG Oral Tablet</a></p><p><b>subject</b>: <a href=\"Patient-us-core-patient.html\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number (use: usual, ))</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-haau3-medication-request-undated.html\">MedicationRequest: identifier = https://haau3.com/fhir/NamingSystem/source-resource-id#MedicationRequest/example-source-record; status = completed; intent = order; medication[x] = -&gt;Medication metformin hydrochloride 500 MG Oral Tablet</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode RF}\">Refill</span></p><p><b>quantity</b>: 30 tablets</p><p><b>whenHandedOver</b>: 2026-03-16 00:00:00+0000</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>Take one tablet by mouth daily</td></tr></table></div>"
  ] ;
  fhir:MedicationDispense.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://haau3.com/fhir/NamingSystem/source-resource-id" ] ;
     fhir:Identifier.value [ fhir:value "MedicationDispense/example-source-record" ]
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:link <https://haau3.com/fhir/Medication/haau3-medication-no-display> ;
     fhir:Reference.reference [ fhir:value "Medication/haau3-medication-no-display" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:link <https://haau3.com/fhir/Patient/us-core-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/us-core-patient" ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0 ;
     fhir:link <https://haau3.com/fhir/MedicationRequest/haau3-medication-request-undated> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/haau3-medication-request-undated" ]
  ] ;
  fhir:MedicationDispense.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "RF" ] ;
       fhir:Coding.display [ fhir:value "Refill" ]
     ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "tablets" ]
  ] ;
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2026-03-16T00:00:00Z"^^xsd:dateTime] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take one tablet by mouth daily" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/MedicationDispense/haau3-medication-dispense-chain.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

