@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.hl7.org.vn/core/MedicationRequest/ExampleMedicationRequestYHCT> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleMedicationRequestYHCT"] ; # 
  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 "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest ExampleMedicationRequestYHCT</b></p><a name=\"ExampleMedicationRequestYHCT\"> </a><a name=\"hcExampleMedicationRequestYHCT\"> </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>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-ExampleMedicationYHCTHerbal.html\">Bài thuốc Độc hoạt ký sinh thang</a></p><p><b>subject</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>encounter</b>: <a href=\"Encounter-ExampleEncounterYHCT.html\">Encounter: extension = Khám chữa bệnh ban đầu,Đến khám,Mã lượt khám chữa bệnh: VNMaLuotKCB#LK-2026-03-22-0087,Đỡ; status = finished; class = ambulatory (ActCode#AMB); type = Khám bệnh; period = 2026-03-22 08:00:00+0700 --&gt; 2026-03-22 10:30:00+0700; reasonCode = </a></p><p><b>authoredOn</b>: 2026-03-22 09:30:00+0700</p><p><b>requester</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">BS.CKII YHCT Nguyễn Thị Lan</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/icd-10 M54.5}\">Yêu thống thể thận hư (đau thắt lưng)</span></p><p><b>note</b>: </p><blockquote><div><p>Pháp điều trị: Bổ thận, cường cân cốt, khu phong trừ thấp. Liệu trình 14 thang. Tái khám sau 14 ngày để đánh giá đáp ứng điều trị. Lưu ý: bài thuốc có Ba kích, Đỗ trọng — không dùng khi đang sốt hoặc nhiễm trùng cấp.</p>\n</div></blockquote><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Text</b></td><td><b>Timing</b></td><td><b>Route</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>Sắc uống ngày 1 thang, chia 2 lần (sáng, tối), uống ấm sau ăn 30 phút. Sắc 3 lần nước, hợp lại chia 2.</td><td>Once per 1 day</td><td><span title=\"Codes:{http://snomed.info/sct 26643006}\">Uống (thuốc sắc)</span></td></tr></table><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 14 thang<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</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>14</td><td>ngày</td><td><a href=\"http://unitsofmeasure.org\">http://unitsofmeasure.org</a></td><td>d</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  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/ExampleMedicationYHCTHerbal> ;
     fhir:reference [ fhir:v "Medication/ExampleMedicationYHCTHerbal" ] ;
     fhir:display [ fhir:v "Bài thuốc Độc hoạt ký sinh thang" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:reference [ fhir:v "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:display [ fhir:v "Nguyễn Văn An" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://fhir.hl7.org.vn/core/Encounter/ExampleEncounterYHCT> ;
     fhir:reference [ fhir:v "Encounter/ExampleEncounterYHCT" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2026-03-22T09:30:00+07:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:l <http://fhir.hl7.org.vn/core/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:reference [ fhir:v "Practitioner/ExamplePractitionerBSCKII" ] ;
     fhir:display [ fhir:v "BS.CKII YHCT Nguyễn Thị Lan" ]
  ] ; # 
  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 "M54.5" ] ;
       fhir:display [ fhir:v "Low back pain" ]
     ] ) ;
     fhir:text [ fhir:v "Yêu thống thể thận hư (đau thắt lưng)" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Pháp điều trị: Bổ thận, cường cân cốt, khu phong trừ thấp. Liệu trình 14 thang. Tái khám sau 14 ngày để đánh giá đáp ứng điều trị. Lưu ý: bài thuốc có Ba kích, Đỗ trọng — không dùng khi đang sốt hoặc nhiễm trùng cấp." ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:sequence [ fhir:v 1 ] ;
     fhir:text [ fhir:v "Sắc uống ngày 1 thang, chia 2 lần (sáng, tối), uống ấm sau ăn 30 phút. Sắc 3 lần nước, hợp lại chia 2." ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral route" ]
       ] ) ;
       fhir:text [ fhir:v "Uống (thuốc sắc)" ]
     ]
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:quantity [
       fhir:value [ fhir:v "14"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "thang" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "1" ]
     ] ;
     fhir:expectedSupplyDuration [
       fhir:value [ fhir:v "14"^^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" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

