@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 -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/MedicationRequest/ExampleMedicationRequestHypertension> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleMedicationRequestHypertension"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-request"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-medication-request>
     ] )
  ] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest ExampleMedicationRequestHypertension</b></p><a name=\"ExampleMedicationRequestHypertension\"> </a><a name=\"hcExampleMedicationRequestHypertension\"> </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-vn-core-medication-request.html\">Đơn thuốc VN Core — VN Core MedicationRequest Profile</a></p></div><p><b>Số đăng ký thuốc (Visa) — Medication Registration Number</b>: VD-25123-18</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category outpatient}\">Outpatient</span></p><p><b>medication</b>: <a href=\"Medication-ExampleMedicationAmlodipine.html\">Medication Amlodipine</a></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An Male, DoB: 1985-03-15 ( Căn cước công dân: VNCCCD#001085012345)</a></p><p><b>encounter</b>: <a href=\"Encounter-ExampleEncounterOutpatient.html\">Encounter: extension = Khám chữa bệnh ban đầu; status = finished; class = ambulatory (ActCode#AMB); period = 2026-03-19 08:30:00+0700 --&gt; 2026-03-19 11:00:00+0700; reasonCode = </a></p><p><b>authoredOn</b>: 2026-03-22</p><p><b>requester</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">Practitioner Nguyễn Thị Lan</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/icd-10 I10}\">Tăng huyết áp nguyên phát</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: Uống 1 viên mỗi sáng, trước ăn</p><p><b>timing</b>: Morning, Once per 1 day</p><p><b>route</b>: <span title=\"Codes:\">Uống</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 viên</td></tr></table></blockquote><blockquote><p><b>dispenseRequest</b></p><p><b>numberOfRepeatsAllowed</b>: 0</p><p><b>quantity</b>: 30 viên</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>30</td><td>ngày</td><td><a href=\"http://unitsofmeasure.org\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number>
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "VD-25123-18"
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-category>
       ] ;
       fhir:code [ fhir:v "outpatient" ] ;
       fhir:display [ fhir:v "Outpatient" ]
     ] )
  ] ) ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:l <http://fhir.hl7.org.vn/core/Medication/ExampleMedicationAmlodipine> ;
     fhir:reference [ fhir:v "Medication/ExampleMedicationAmlodipine" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://fhir.hl7.org.vn/core/Encounter/ExampleEncounterOutpatient> ;
     fhir:reference [ fhir:v "Encounter/ExampleEncounterOutpatient" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2026-03-22"^^xsd:date] ; # 
  fhir:requester [
     fhir:l <http://fhir.hl7.org.vn/core/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:reference [ fhir:v "Practitioner/ExamplePractitionerBSCKII" ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/sid/icd-10"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/sid/icd-10>
       ] ;
       fhir:code [ fhir:v "I10" ] ;
       fhir:display [ fhir:v "Essential (primary) hypertension" ]
     ] ) ;
     fhir:text [ fhir:v "Tăng huyết áp nguyên phát" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:sequence [ fhir:v 1 ] ;
     fhir:text [ fhir:v "Uống 1 viên mỗi sáng, trước ăn" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ] ;
         fhir:when ( [ fhir:v "MORN" ] )
       ]
     ] ;
     fhir:route [
       fhir:text [ fhir:v "Uống" ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "viên" ]
       ]
     ] )
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:numberOfRepeatsAllowed [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
     fhir:quantity [
       fhir:value [ fhir:v "30"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "viên" ]
     ] ;
     fhir:expectedSupplyDuration [
       fhir:value [ fhir:v "30"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "ngày" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "d" ]
     ]
  ] ; # 
  fhir:substitution [
     fhir:allowed [
       a fhir:Boolean ;
       fhir:v false
     ]
  ] . # 

# -------------------------------------------------------------------------------------

