DHIN 2025Connectathon FHIR IG
0.2.0 - ci-build Nigeria flag

DHIN 2025Connectathon FHIR IG, published by DHIN. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Nigeria-FHIR-Community/2025Connectathon/ and changes regularly. See the Directory of published versions

: Medication Dispense - Response (Collection) - TTL Representation

Raw ttl | Download

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Bundle/MedicationDispense-Response> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "MedicationDispense-Response"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense-bundle" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense-bundle>
     ]
  ] ;
  fhir:Bundle.type [ fhir:value "collection"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:eee44455-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:eee44455-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:fff55566-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:fff55566-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaa66677-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaa66677-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ccc88899-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ccc88899-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 7 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ddd99901-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ddd99901-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 8 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:aaa22233-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:aaa22233-f6e5-4789-b234-567890bcdef1>
  ], [
     fhir:index 9 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:bbb33344-f6e5-4789-b234-567890bcdef1" ] ;
     fhir:Bundle.entry.resource <urn:uuid:bbb33344-f6e5-4789-b234-567890bcdef1>
  ] .

<urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "NgPatient-Disp-001"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2025-10-29T09:00:00+01:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-patient" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-patient>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_NgPatient-Disp-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient NgPatient-Disp-001</b></p><a name=\"NgPatient-Disp-001\"> </a><a name=\"hcNgPatient-Disp-001\"> </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\">Last updated: 2025-10-29 09:00:00+0100</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ng-patient.html\">NG Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">45 Wellness Street Kano KN </td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://sandbox.dhin-hie.org/ig/CodeSystem/patient-identifier-cs" ] ;
         fhir:Coding.code [ fhir:value "MOBILE" ] ;
         fhir:Coding.display [ fhir:value "mobile" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://sandbox.dhin-hie.org/ig/CodeSystem/patient-identifier-cs" ] ;
     fhir:Identifier.value [ fhir:value "08067890123" ]
  ] ;
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Musa" ] ;
     fhir:HumanName.given [
       fhir:value "Ibrahim" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1968-08-25"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.line [
       fhir:value "45 Wellness Street" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Kano" ] ;
     fhir:Address.district [ fhir:value "kn-kano-municipal" ] ;
     fhir:Address.state [ fhir:value "KN" ]
  ] .

<urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1> a fhir:Organization ;
  fhir:Resource.id [ fhir:value "NgOrganization-Pharmacy-Disp-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-pharmacy-organization" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-pharmacy-organization>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_NgOrganization-Pharmacy-Disp-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization NgOrganization-Pharmacy-Disp-001</b></p><a name=\"NgOrganization-Pharmacy-Disp-001\"> </a><a name=\"hcNgOrganization-Pharmacy-Disp-001\"> </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-ng-pharmacy-organization.html\">NG Pharmacy Organization</a></p></div><p><b>identifier</b>: <code>https://sandbox.dhin-hie.org/ig/CodeSystem/nigeria-facility-registry</code>/PHARM-KN-7788</p><p><b>active</b>: true</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/organization-type cg}\">Community Group</span></p><p><b>name</b>: Medix Pharmacy Limited</p><p><b>telecom</b>: ph: 064-123-4567, <a href=\"mailto:info@medixpharmacy.ng\">info@medixpharmacy.ng</a></p><p><b>address</b>: 12 Pharmacy Avenue Kano KN </p></div>"
  ] ;
  fhir:Organization.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://sandbox.dhin-hie.org/ig/CodeSystem/nigeria-facility-registry" ] ;
     fhir:Identifier.value [ fhir:value "PHARM-KN-7788" ]
  ] ;
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Organization.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/organization-type" ] ;
       fhir:Coding.code [ fhir:value "cg" ] ;
       fhir:Coding.display [ fhir:value "Community Group" ]
     ]
  ] ;
  fhir:Organization.name [ fhir:value "Medix Pharmacy Limited"] ;
  fhir:Organization.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "064-123-4567" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "email" ] ;
     fhir:ContactPoint.value [ fhir:value "info@medixpharmacy.ng" ]
  ] ;
  fhir:Organization.address [
     fhir:index 0 ;
     fhir:Address.line [
       fhir:value "12 Pharmacy Avenue" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Kano" ] ;
     fhir:Address.district [ fhir:value "kn-kano-municipal" ] ;
     fhir:Address.state [ fhir:value "KN" ]
  ] .

<urn:uuid:eee44455-f6e5-4789-b234-567890bcdef1> a fhir:Medication ;
  fhir:Resource.id [ fhir:value "NgMedication-Metformin-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_NgMedication-Metformin-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication NgMedication-Metformin-001</b></p><a name=\"NgMedication-Metformin-001\"> </a><a name=\"hcNgMedication-Metformin-001\"> </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-ng-medication.html\">NG Medication</a></p></div><p><b>code</b>: <span title=\"Codes:{http://www.whocc.no/atc A10BA02}\">Metformin 500mg Tablets</span></p><p><b>status</b>: Active</p><p><b>manufacturer</b>: Fidson Healthcare Plc</p><p><b>form</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm TAB}\">Tablet</span></p><p><b>amount</b>: 500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Metformin hydrochloride</span></td><td>500 mg/1 Tablet</td></tr></table><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td style=\"display: none\">*</td><td>MET2025-10-A</td><td>2026-10-31</td></tr></table></div>"
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "A10BA02" ] ;
       fhir:Coding.display [ fhir:value "Metformin" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Metformin 500mg Tablets" ]
  ] ;
  fhir:Medication.status [ fhir:value "active"] ;
  fhir:Medication.manufacturer [
     fhir:Reference.display [ fhir:value "Fidson Healthcare Plc" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Coding.code [ fhir:value "TAB" ] ;
       fhir:Coding.display [ fhir:value "Tablet" ]
     ]
  ] ;
  fhir:Medication.amount [
     fhir:Ratio.numerator [
       fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mg" ]
     ] ;
     fhir:Ratio.denominator [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "Tablet" ] ;
       fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Quantity.code [ fhir:value "TAB" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Metformin hydrochloride" ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:Medication.batch [
     fhir:Medication.batch.lotNumber [ fhir:value "MET2025-10-A" ] ;
     fhir:Medication.batch.expirationDate [ fhir:value "2026-10-31"^^xsd:date ]
  ] .

<urn:uuid:fff55566-f6e5-4789-b234-567890bcdef1> a fhir:Medication ;
  fhir:Resource.id [ fhir:value "NgMedication-Atorvastatin-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_NgMedication-Atorvastatin-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication NgMedication-Atorvastatin-001</b></p><a name=\"NgMedication-Atorvastatin-001\"> </a><a name=\"hcNgMedication-Atorvastatin-001\"> </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-ng-medication.html\">NG Medication</a></p></div><p><b>code</b>: <span title=\"Codes:{http://www.whocc.no/atc C10AA05}\">Atorvastatin 20mg Tablets</span></p><p><b>status</b>: Active</p><p><b>manufacturer</b>: Emzor Pharmaceutical Industries</p><p><b>form</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm TAB}\">Tablet</span></p><p><b>amount</b>: 20 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Atorvastatin calcium</span></td><td>20 mg/1 Tablet</td></tr></table><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td style=\"display: none\">*</td><td>ATOR2025-09-B</td><td>2027-09-30</td></tr></table></div>"
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "C10AA05" ] ;
       fhir:Coding.display [ fhir:value "Atorvastatin" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Atorvastatin 20mg Tablets" ]
  ] ;
  fhir:Medication.status [ fhir:value "active"] ;
  fhir:Medication.manufacturer [
     fhir:Reference.display [ fhir:value "Emzor Pharmaceutical Industries" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Coding.code [ fhir:value "TAB" ] ;
       fhir:Coding.display [ fhir:value "Tablet" ]
     ]
  ] ;
  fhir:Medication.amount [
     fhir:Ratio.numerator [
       fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mg" ]
     ] ;
     fhir:Ratio.denominator [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "Tablet" ] ;
       fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Quantity.code [ fhir:value "TAB" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Atorvastatin calcium" ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:Medication.batch [
     fhir:Medication.batch.lotNumber [ fhir:value "ATOR2025-09-B" ] ;
     fhir:Medication.batch.expirationDate [ fhir:value "2027-09-30"^^xsd:date ]
  ] .

<urn:uuid:aaa66677-f6e5-4789-b234-567890bcdef1> a fhir:Medication ;
  fhir:Resource.id [ fhir:value "NgMedication-Amlodipine-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Medication_NgMedication-Amlodipine-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Medication NgMedication-Amlodipine-001</b></p><a name=\"NgMedication-Amlodipine-001\"> </a><a name=\"hcNgMedication-Amlodipine-001\"> </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-ng-medication.html\">NG Medication</a></p></div><p><b>code</b>: <span title=\"Codes:{http://www.whocc.no/atc C08CA01}\">Amlodipine 5mg Tablets</span></p><p><b>status</b>: Active</p><p><b>manufacturer</b>: May &amp; Baker Nigeria Plc</p><p><b>form</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm TAB}\">Tablet</span></p><p><b>amount</b>: 5 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span>/1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><h3>Ingredients</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Item[x]</b></td><td><b>Strength</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Amlodipine besylate</span></td><td>5 mg/1 Tablet</td></tr></table><h3>Batches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td style=\"display: none\">*</td><td>AML2025-08-C</td><td>2027-08-31</td></tr></table></div>"
  ] ;
  fhir:Medication.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "C08CA01" ] ;
       fhir:Coding.display [ fhir:value "Amlodipine" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Amlodipine 5mg Tablets" ]
  ] ;
  fhir:Medication.status [ fhir:value "active"] ;
  fhir:Medication.manufacturer [
     fhir:Reference.display [ fhir:value "May & Baker Nigeria Plc" ]
  ] ;
  fhir:Medication.form [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Coding.code [ fhir:value "TAB" ] ;
       fhir:Coding.display [ fhir:value "Tablet" ]
     ]
  ] ;
  fhir:Medication.amount [
     fhir:Ratio.numerator [
       fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mg" ]
     ] ;
     fhir:Ratio.denominator [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "Tablet" ] ;
       fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Quantity.code [ fhir:value "TAB" ]
     ]
  ] ;
  fhir:Medication.ingredient [
     fhir:index 0 ;
     fhir:Medication.ingredient.itemCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Amlodipine besylate" ]
     ] ;
     fhir:Medication.ingredient.strength [
       fhir:Ratio.numerator [
         fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "mg" ]
       ] ;
       fhir:Ratio.denominator [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:Medication.batch [
     fhir:Medication.batch.lotNumber [ fhir:value "AML2025-08-C" ] ;
     fhir:Medication.batch.expirationDate [ fhir:value "2027-08-31"^^xsd:date ]
  ] .

<urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1> a fhir:MedicationRequest ;
  fhir:Resource.id [ fhir:value "NgMedicationRequest-Amlodipine-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-request" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-request>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_NgMedicationRequest-Amlodipine-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest NgMedicationRequest-Amlodipine-001</b></p><a name=\"NgMedicationRequest-Amlodipine-001\"> </a><a name=\"hcNgMedicationRequest-Amlodipine-001\"> </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-ng-medication-request.html\">NG MedicationRequest</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-aaa66677-f6e5-4789-b234-567890bcdef1\">Medication Amlodipine</a></p><p><b>subject</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><p><b>authoredOn</b>: 2025-10-29 08:00:00+0100</p><p><b>requester</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Hypertension</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet once daily in the morning for 90 days</p><p><b>timing</b>: Duration 90days , Morning, Once per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>validityPeriod</b>: 2025-10-29 --&gt; 2026-01-29</p><p><b>numberOfRepeatsAllowed</b>: 3</p><p><b>quantity</b>: 90 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>90</td><td>days</td><td><a href=\"http://unitsofmeasure.org\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote></div>"
  ] ;
  fhir:MedicationRequest.status [ fhir:value "active"] ;
  fhir:MedicationRequest.intent [ fhir:value "order"] ;
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "urn:uuid:aaa66677-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationRequest.authoredOn [ fhir:value "2025-10-29T08:00:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationRequest.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Hypertension" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take 1 tablet once daily in the morning for 90 days" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.duration [ fhir:value "90"^^xsd:decimal ] ;
         fhir:Timing.repeat.durationUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "MORN" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ] ;
         fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
         fhir:Quantity.code [ fhir:value "TAB" ]
       ]
     ]
  ] ;
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.validityPeriod [
       fhir:Period.start [ fhir:value "2025-10-29"^^xsd:date ] ;
       fhir:Period.end [ fhir:value "2026-01-29"^^xsd:date ]
     ] ;
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "3"^^xsd:nonNegativeInteger ] ;
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "Tablet" ] ;
       fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
       fhir:Quantity.code [ fhir:value "TAB" ]
     ] ;
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "days" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "d" ]
     ]
  ] .

<urn:uuid:ccc88899-f6e5-4789-b234-567890bcdef1> a fhir:MedicationDispense ;
  fhir:Resource.id [ fhir:value "NgMedicationDispense-Metformin-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationDispense_NgMedicationDispense-Metformin-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense NgMedicationDispense-Metformin-001</b></p><a name=\"NgMedicationDispense-Metformin-001\"> </a><a name=\"hcNgMedicationDispense-Metformin-001\"> </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-ng-medication-dispense.html\">NG MedicationDispense</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-eee44455-f6e5-4789-b234-567890bcdef1\">Medication Metformin</a></p><p><b>subject</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function finalchecker}\">Final Checker</span></td><td><a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd99900-f6e5-4789-b234-567890bcdef1\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication Amlodipine; authoredOn = 2025-10-29 08:00:00+0100; reasonCode = </a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FF}\">First Fill</span></p><p><b>quantity</b>: 180 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>daysSupply</b>: 90 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2025-10-29 11:00:00+0100</p><p><b>whenHandedOver</b>: 2025-10-29 11:30:00+0100</p><p><b>destination</b>: Patient Home Address</p><p><b>receiver</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><p><b>note</b>: </p><blockquote><div><p>Counseled patient on taking with meals to reduce GI upset. Advised to monitor blood glucose levels regularly.</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet twice daily with meals for 90 days</p><p><b>timing</b>: at meals, 2 per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Tablet</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">none</span></td></tr></table></div>"
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:Reference.reference [ fhir:value "urn:uuid:eee44455-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.performer [
     fhir:index 0 ;
     fhir:MedicationDispense.performer.function [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function" ] ;
         fhir:Coding.code [ fhir:value "finalchecker" ] ;
         fhir:Coding.display [ fhir:value "Final Checker" ]
       ]
     ] ;
     fhir:MedicationDispense.performer.actor [
       fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
     ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  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 "FF" ] ;
       fhir:Coding.display [ fhir:value "First Fill" ]
     ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "180"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "Tablet" ] ;
     fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
     fhir:Quantity.code [ fhir:value "TAB" ]
  ] ;
  fhir:MedicationDispense.daysSupply [
     fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "days" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "d" ]
  ] ;
  fhir:MedicationDispense.whenPrepared [ fhir:value "2025-10-29T11:00:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2025-10-29T11:30:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.destination [
     fhir:Reference.display [ fhir:value "Patient Home Address" ]
  ] ;
  fhir:MedicationDispense.receiver [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Counseled patient on taking with meals to reduce GI upset. Advised to monitor blood glucose levels regularly." ]
  ] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take 1 tablet twice daily with meals for 90 days" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "C" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:MedicationDispense.substitution [
     fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ] ;
     fhir:MedicationDispense.substitution.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution" ] ;
         fhir:Coding.code [ fhir:value "N" ] ;
         fhir:Coding.display [ fhir:value "none" ]
       ]
     ]
  ] .

<urn:uuid:ddd99901-f6e5-4789-b234-567890bcdef1> a fhir:MedicationDispense ;
  fhir:Resource.id [ fhir:value "NgMedicationDispense-Atorvastatin-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationDispense_NgMedicationDispense-Atorvastatin-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense NgMedicationDispense-Atorvastatin-001</b></p><a name=\"NgMedicationDispense-Atorvastatin-001\"> </a><a name=\"hcNgMedicationDispense-Atorvastatin-001\"> </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-ng-medication-dispense.html\">NG MedicationDispense</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-fff55566-f6e5-4789-b234-567890bcdef1\">Medication Atorvastatin</a></p><p><b>subject</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function finalchecker}\">Final Checker</span></td><td><a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd99900-f6e5-4789-b234-567890bcdef1\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication Amlodipine; authoredOn = 2025-10-29 08:00:00+0100; reasonCode = </a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FF}\">First Fill</span></p><p><b>quantity</b>: 90 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>daysSupply</b>: 90 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2025-10-29 11:05:00+0100</p><p><b>whenHandedOver</b>: 2025-10-29 11:30:00+0100</p><p><b>destination</b>: Patient Home Address</p><p><b>receiver</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><p><b>note</b>: </p><blockquote><div><p>Counseled patient on taking at bedtime. Advised to report any muscle pain or weakness immediately. Avoid grapefruit juice.</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet once daily at bedtime for 90 days</p><p><b>timing</b>: before sleeping, Once per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Tablet</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">none</span></td></tr></table></div>"
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:Reference.reference [ fhir:value "urn:uuid:fff55566-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.performer [
     fhir:index 0 ;
     fhir:MedicationDispense.performer.function [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function" ] ;
         fhir:Coding.code [ fhir:value "finalchecker" ] ;
         fhir:Coding.display [ fhir:value "Final Checker" ]
       ]
     ] ;
     fhir:MedicationDispense.performer.actor [
       fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
     ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  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 "FF" ] ;
       fhir:Coding.display [ fhir:value "First Fill" ]
     ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "Tablet" ] ;
     fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
     fhir:Quantity.code [ fhir:value "TAB" ]
  ] ;
  fhir:MedicationDispense.daysSupply [
     fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "days" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "d" ]
  ] ;
  fhir:MedicationDispense.whenPrepared [ fhir:value "2025-10-29T11:05:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2025-10-29T11:30:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.destination [
     fhir:Reference.display [ fhir:value "Patient Home Address" ]
  ] ;
  fhir:MedicationDispense.receiver [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Counseled patient on taking at bedtime. Advised to report any muscle pain or weakness immediately. Avoid grapefruit juice." ]
  ] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take 1 tablet once daily at bedtime for 90 days" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "HS" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:MedicationDispense.substitution [
     fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ] ;
     fhir:MedicationDispense.substitution.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution" ] ;
         fhir:Coding.code [ fhir:value "N" ] ;
         fhir:Coding.display [ fhir:value "none" ]
       ]
     ]
  ] .

<urn:uuid:aaa22233-f6e5-4789-b234-567890bcdef1> a fhir:MedicationDispense ;
  fhir:Resource.id [ fhir:value "NgMedicationDispense-Amlodipine-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-medication-dispense>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationDispense_NgMedicationDispense-Amlodipine-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense NgMedicationDispense-Amlodipine-001</b></p><a name=\"NgMedicationDispense-Amlodipine-001\"> </a><a name=\"hcNgMedicationDispense-Amlodipine-001\"> </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-ng-medication-dispense.html\">NG MedicationDispense</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-aaa66677-f6e5-4789-b234-567890bcdef1\">Medication Amlodipine</a></p><p><b>subject</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function finalchecker}\">Final Checker</span></td><td><a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></td></tr></table><p><b>authorizingPrescription</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd99900-f6e5-4789-b234-567890bcdef1\">MedicationRequest: status = active; intent = order; medication[x] = -&gt;Medication Amlodipine; authoredOn = 2025-10-29 08:00:00+0100; reasonCode = </a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FF}\">First Fill</span></p><p><b>quantity</b>: 90 Tablet<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>daysSupply</b>: 90 days<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p><p><b>whenPrepared</b>: 2025-10-29 11:10:00+0100</p><p><b>whenHandedOver</b>: 2025-10-29 11:30:00+0100</p><p><b>destination</b>: Patient Home Address</p><p><b>receiver</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><p><b>note</b>: </p><blockquote><div><p>Counseled patient on taking in the morning. Advised to monitor blood pressure regularly. May cause ankle swelling; report if severe.</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take 1 tablet once daily in the morning for 90 days</p><p><b>timing</b>: Morning, Once per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral route</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>1 Tablet</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution N}\">none</span></td></tr></table></div>"
  ] ;
  fhir:MedicationDispense.status [ fhir:value "completed"] ;
  fhir:MedicationDispense.medicationReference [
     fhir:Reference.reference [ fhir:value "urn:uuid:aaa66677-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.performer [
     fhir:index 0 ;
     fhir:MedicationDispense.performer.function [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function" ] ;
         fhir:Coding.code [ fhir:value "finalchecker" ] ;
         fhir:Coding.display [ fhir:value "Final Checker" ]
       ]
     ] ;
     fhir:MedicationDispense.performer.actor [
       fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
     ]
  ] ;
  fhir:MedicationDispense.authorizingPrescription [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:ddd99900-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  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 "FF" ] ;
       fhir:Coding.display [ fhir:value "First Fill" ]
     ]
  ] ;
  fhir:MedicationDispense.quantity [
     fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "Tablet" ] ;
     fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ] ;
     fhir:Quantity.code [ fhir:value "TAB" ]
  ] ;
  fhir:MedicationDispense.daysSupply [
     fhir:Quantity.value [ fhir:value "90"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "days" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "d" ]
  ] ;
  fhir:MedicationDispense.whenPrepared [ fhir:value "2025-10-29T11:10:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.whenHandedOver [ fhir:value "2025-10-29T11:30:00+01:00"^^xsd:dateTime] ;
  fhir:MedicationDispense.destination [
     fhir:Reference.display [ fhir:value "Patient Home Address" ]
  ] ;
  fhir:MedicationDispense.receiver [
     fhir:index 0 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:MedicationDispense.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Counseled patient on taking in the morning. Advised to monitor blood pressure regularly. May cause ankle swelling; report if severe." ]
  ] ;
  fhir:MedicationDispense.dosageInstruction [
     fhir:index 0 ;
     fhir:Dosage.text [ fhir:value "Take 1 tablet once daily in the morning for 90 days" ] ;
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ] ;
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ;
         fhir:Timing.repeat.when [
           fhir:value "MORN" ;
           fhir:index 0
         ]
       ]
     ] ;
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:26643006 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.code [ fhir:value "26643006" ] ;
         fhir:Coding.display [ fhir:value "Oral route" ]
       ]
     ] ;
     fhir:Dosage.doseAndRate [
       fhir:index 0 ;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
         fhir:Quantity.unit [ fhir:value "Tablet" ]
       ]
     ]
  ] ;
  fhir:MedicationDispense.substitution [
     fhir:MedicationDispense.substitution.wasSubstituted [ fhir:value "false"^^xsd:boolean ] ;
     fhir:MedicationDispense.substitution.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution" ] ;
         fhir:Coding.code [ fhir:value "N" ] ;
         fhir:Coding.display [ fhir:value "none" ]
       ]
     ]
  ] .

<urn:uuid:bbb33344-f6e5-4789-b234-567890bcdef1> a fhir:Invoice ;
  fhir:Resource.id [ fhir:value "NgInvoice-Disp-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-invoice" ;
       fhir:index 0 ;
       fhir:link <https://sandbox.dhin-hie.org/ig/StructureDefinition/ng-invoice>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Invoice_NgInvoice-Disp-001\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Invoice NgInvoice-Disp-001</b></p><a name=\"NgInvoice-Disp-001\"> </a><a name=\"hcNgInvoice-Disp-001\"> </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-ng-invoice.html\">NG Invoice</a></p></div><p><b>status</b>: balanced</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode RXCINV}\">Rx compound invoice</span></p><p><b>subject</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-bbb11122-f6e5-4789-b234-567890bcdef1\">Ibrahim Musa  Male, DoB: 1968-08-25 ( mobile: 08067890123)</a></p><p><b>date</b>: 2025-10-29</p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Role</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PRF}\">performer</span></td><td><a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></td></tr></table><p><b>issuer</b>: <a href=\"Bundle-MedicationDispense-Request.html#urn-uuid-ddd33341-f6e5-4789-b234-567890bcdef1\">Organization Medix Pharmacy Limited</a></p><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 1</p><p><b>chargeItem</b>: <span title=\"Codes:{http://www.whocc.no/atc A10BA02}\">Metformin 500mg x 180 tablets</span></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:\">Metformin 500mg x 180 tablets</span></p><p><b>factor</b>: 180</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>35</td><td>Nigerian naira</td></tr></table></blockquote></blockquote><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 2</p><p><b>chargeItem</b>: <span title=\"Codes:{http://www.whocc.no/atc C10AA05}\">Atorvastatin 20mg x 90 tablets</span></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:\">Atorvastatin 20mg x 90 tablets</span></p><p><b>factor</b>: 90</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>85</td><td>Nigerian naira</td></tr></table></blockquote></blockquote><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 3</p><p><b>chargeItem</b>: <span title=\"Codes:{http://www.whocc.no/atc C08CA01}\">Amlodipine 5mg x 90 tablets</span></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:\">Amlodipine 5mg x 90 tablets</span></p><p><b>factor</b>: 90</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>45</td><td>Nigerian naira</td></tr></table></blockquote></blockquote><blockquote><p><b>lineItem</b></p><p><b>sequence</b>: 4</p><p><b>chargeItem</b>: <span title=\"Codes:{http://www.whocc.no/atc C05AA04}\">Professional dispensing fee</span></p><blockquote><p><b>priceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:\">Professional dispensing fee</span></p><p><b>factor</b>: 1</p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>500</td><td>Nigerian naira</td></tr></table></blockquote></blockquote><blockquote><p><b>totalPriceComponent</b></p><p><b>type</b>: base price</p><p><b>code</b>: <span title=\"Codes:\">Subtotal</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>14800</td><td>Nigerian naira</td></tr></table></blockquote><blockquote><p><b>totalPriceComponent</b></p><p><b>type</b>: tax</p><p><b>code</b>: <span title=\"Codes:\">VAT (7.5%)</span></p><h3>Amounts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>1110</td><td>Nigerian naira</td></tr></table></blockquote><h3>TotalNets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>15910</td><td>Nigerian naira</td></tr></table><h3>TotalGrosses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Currency</b></td></tr><tr><td style=\"display: none\">*</td><td>15910</td><td>Nigerian naira</td></tr></table><p><b>paymentTerms</b>: </p><div><p>Payment due at time of dispensing. HMO/Insurance coverage subject to verification.</p>\n</div><p><b>note</b>: </p><blockquote><div><p>Insurance claim submitted to HMO for reimbursement. Patient co-pay: ₦2,500. HMO covered: ₦13,410.</p>\n</div></blockquote></div>"
  ] ;
  fhir:Invoice.status [ fhir:value "balanced"] ;
  fhir:Invoice.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
       fhir:Coding.code [ fhir:value "RXCINV" ] ;
       fhir:Coding.display [ fhir:value "Rx compound invoice" ]
     ]
  ] ;
  fhir:Invoice.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bbb11122-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:Invoice.date [ fhir:value "2025-10-29"^^xsd:date] ;
  fhir:Invoice.participant [
     fhir:index 0 ;
     fhir:Invoice.participant.role [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ] ;
         fhir:Coding.code [ fhir:value "PRF" ] ;
         fhir:Coding.display [ fhir:value "performer" ]
       ]
     ] ;
     fhir:Invoice.participant.actor [
       fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
     ]
  ] ;
  fhir:Invoice.issuer [
     fhir:Reference.reference [ fhir:value "urn:uuid:ddd33341-f6e5-4789-b234-567890bcdef1" ]
  ] ;
  fhir:Invoice.lineItem [
     fhir:index 0 ;
     fhir:Invoice.lineItem.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Invoice.lineItem.chargeItemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
         fhir:Coding.code [ fhir:value "A10BA02" ] ;
         fhir:Coding.display [ fhir:value "Metformin" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Metformin 500mg x 180 tablets" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.text [ fhir:value "Metformin 500mg x 180 tablets" ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.factor [ fhir:value "180"^^xsd:decimal ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "35"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "NGN" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Invoice.lineItem.sequence [ fhir:value "2"^^xsd:positiveInteger ] ;
     fhir:Invoice.lineItem.chargeItemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
         fhir:Coding.code [ fhir:value "C10AA05" ] ;
         fhir:Coding.display [ fhir:value "Atorvastatin" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Atorvastatin 20mg x 90 tablets" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.text [ fhir:value "Atorvastatin 20mg x 90 tablets" ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.factor [ fhir:value "90"^^xsd:decimal ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "85"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "NGN" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Invoice.lineItem.sequence [ fhir:value "3"^^xsd:positiveInteger ] ;
     fhir:Invoice.lineItem.chargeItemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
         fhir:Coding.code [ fhir:value "C08CA01" ] ;
         fhir:Coding.display [ fhir:value "Amlodipine" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Amlodipine 5mg x 90 tablets" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.text [ fhir:value "Amlodipine 5mg x 90 tablets" ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.factor [ fhir:value "90"^^xsd:decimal ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "45"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "NGN" ]
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Invoice.lineItem.sequence [ fhir:value "4"^^xsd:positiveInteger ] ;
     fhir:Invoice.lineItem.chargeItemCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
         fhir:Coding.code [ fhir:value "C05AA04" ] ;
         fhir:Coding.display [ fhir:value "prednisolone" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Professional dispensing fee" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent [
       fhir:index 0 ;
       fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
       fhir:Invoice.lineItem.priceComponent.code [
         fhir:CodeableConcept.text [ fhir:value "Professional dispensing fee" ]
       ] ;
       fhir:Invoice.lineItem.priceComponent.factor [ fhir:value "1"^^xsd:decimal ] ;
       fhir:Invoice.lineItem.priceComponent.amount [
         fhir:Money.value [ fhir:value "500"^^xsd:decimal ] ;
         fhir:Money.currency [ fhir:value "NGN" ]
       ]
     ]
  ] ;
  fhir:Invoice.totalPriceComponent [
     fhir:index 0 ;
     fhir:Invoice.lineItem.priceComponent.type [ fhir:value "base" ] ;
     fhir:Invoice.lineItem.priceComponent.code [
       fhir:CodeableConcept.text [ fhir:value "Subtotal" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent.amount [
       fhir:Money.value [ fhir:value "14800"^^xsd:decimal ] ;
       fhir:Money.currency [ fhir:value "NGN" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Invoice.lineItem.priceComponent.type [ fhir:value "tax" ] ;
     fhir:Invoice.lineItem.priceComponent.code [
       fhir:CodeableConcept.text [ fhir:value "VAT (7.5%)" ]
     ] ;
     fhir:Invoice.lineItem.priceComponent.amount [
       fhir:Money.value [ fhir:value "1110"^^xsd:decimal ] ;
       fhir:Money.currency [ fhir:value "NGN" ]
     ]
  ] ;
  fhir:Invoice.totalNet [
     fhir:Money.value [ fhir:value "15910"^^xsd:decimal ] ;
     fhir:Money.currency [ fhir:value "NGN" ]
  ] ;
  fhir:Invoice.totalGross [
     fhir:Money.value [ fhir:value "15910"^^xsd:decimal ] ;
     fhir:Money.currency [ fhir:value "NGN" ]
  ] ;
  fhir:Invoice.paymentTerms [ fhir:value "Payment due at time of dispensing. HMO/Insurance coverage subject to verification."] ;
  fhir:Invoice.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Insurance claim submitted to HMO for reimbursement. Patient co-pay: ₦2,500. HMO covered: ₦13,410." ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Bundle/MedicationDispense-Response.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/MedicationDispense-Response.ttl> .