HL7 Vietnam VN Core FHIR Implementation Guide

Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide
0.9.0 - Draft for Community Review Viet Nam cờ

Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide - Draft for Community Review (v0.9.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Ví dụ: Điều phối cấp phát đơn thuốc ngoại trú tại nhà thuốc

Bản thô ttl | Tải xuống


@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Task/ExampleTaskPrescriptionDispense> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleTaskPrescriptionDispense"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-task" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-task>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  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: Task ExampleTaskPrescriptionDispense</b></p><a name=\"ExampleTaskPrescriptionDispense\"> </a><a name=\"hcExampleTaskPrescriptionDispense\"> </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-task.html\">Công việc điều phối VN Core — VN Core Task Profile</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-vn-organization-local-id-ns.html\" title=\"Hệ thống định danh cục bộ cho Organization khi chưa có mã dùng chung cấp quốc gia tương ứng với ngữ cảnh nghiệp vụ.\">VNOrganizationLocalId</a>/TASK-RX-2026-1182</p><p><b>groupIdentifier</b>: <a href=\"NamingSystem-vn-prescription-code-ns.html\" title=\"Hệ thống định danh Mã đơn thuốc điện tử do Hệ thống đơn thuốc quốc gia (donthuocquocgia.vn) sinh tự động — 14 ký tự, từ mã cơ sở KCB + mã đơn + loại đơn. Cơ sở bán lẻ thuốc bán theo mã đơn và báo cáo về donthuocquocgia.vn.#xA;Căn cứ:#xA;- **TT 26/2025/TT-BYT** — kê đơn thuốc hóa dược, sinh phẩm ngoại trú; Điều 12 (liên thông đơn thuốc quốc gia, lĩnh thuốc trong 05 ngày kể từ ngày kê), Phụ lục I (cấu trúc mã đơn thuốc điện tử 14 ký tự); bãi bỏ TT 27/2021/TT-BYT từ 01/07/2025#xA;- **QĐ 808/QĐ-BYT (01/4/2022)** — hướng dẫn kết nối Hệ thống đơn thuốc quốc gia; cấu trúc mã đơn 14 ký tự#xA;- **QĐ 425/QĐ-BYT (05/02/2025)** — Quy chế quản lý, vận hành, sử dụng Hệ thống thông tin Quốc gia về quản lý kê đơn thuốc và bán thuốc theo đơn.\">VNPrescriptionCode</a>/790010000451-N</p><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-task-business-status-cs RX-DISPENSED}\">Đã cấp phát đủ</span></p><p><b>intent</b>: order</p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/task-code fulfill}\">Cấp phát, bán thuốc theo đơn</span></p><p><b>focus</b>: <a href=\"MedicationRequest-ExampleMedicationRequestAmoxicillin.html\">Đơn thuốc Amoxicillin 500mg — 790010000451-N</a></p><p><b>for</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>executionPeriod</b>: 2026-03-19 14:05:00+0700 --&gt; 2026-03-19 14:20:00+0700</p><p><b>authoredOn</b>: 2026-03-19 09:35:00+0700</p><p><b>lastModified</b>: 2026-03-19 14:20:00+0700</p><p><b>requester</b>: <a href=\"Practitioner-ExamplePractitionerBSCKII.html\">BS CKII Nguyễn Thị Lan</a></p><p><b>owner</b>: <a href=\"Organization-ExampleOrganizationRetailPharmacy.html\">Nhà thuốc Bệnh viện Chợ Rẫy</a></p><p><b>note</b>: </p><blockquote><div><p>Nhà thuốc tra cứu đơn trên Hệ thống đơn thuốc quốc gia trước khi bán, bán đủ 21 viên trong ngày kê đơn và báo cáo đơn đã bán về hệ thống.</p>\n</div></blockquote><h3>Restrictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>2026-03-19 09:30:00+0700 --&gt; 2026-03-24 23:59:59+0700</td></tr></table><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">Phiếu cấp phát, bán thuốc đã lập</span></td><td><a href=\"MedicationDispense-ExampleMedicationDispenseRetailPharmacy.html\">MedicationDispense: status = completed; category = Community; medication[x] = -&gt;Amoxicillin 500mg viên nang — hộp 20 viên; quantity = 21 viên; daysSupply = 7 ngày; whenHandedOver = 2026-03-19 14:20:00+0700; note = Bán theo đơn điện tử; dữ liệu xuất bán lẻ đồng bộ lên Hệ thống CSDL về dược trong ngày.</a></td></tr></table></div>"
  ] ;
  fhir:Task.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/organization-local-id" ] ;
     fhir:Identifier.value [ fhir:value "TASK-RX-2026-1182" ]
  ] ;
  fhir:Task.groupIdentifier [
     fhir:Identifier.system [ fhir:value "http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia" ] ;
     fhir:Identifier.value [ fhir:value "790010000451-N" ]
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.businessStatus [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-task-business-status-cs" ] ;
       fhir:Coding.code [ fhir:value "RX-DISPENSED" ] ;
       fhir:Coding.display [ fhir:value "Đã cấp phát đủ" ]
     ]
  ] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.priority [ fhir:value "routine"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/CodeSystem/task-code" ] ;
       fhir:Coding.code [ fhir:value "fulfill" ] ;
       fhir:Coding.display [ fhir:value "Fulfill the focal request" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Cấp phát, bán thuốc theo đơn" ]
  ] ;
  fhir:Task.focus [
     fhir:link <http://hl7.org/fhir/MedicationRequest/ExampleMedicationRequestAmoxicillin> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/ExampleMedicationRequestAmoxicillin" ] ;
     fhir:Reference.display [ fhir:value "Đơn thuốc Amoxicillin 500mg — 790010000451-N" ]
  ] ;
  fhir:Task.for [
     fhir:link <http://hl7.org/fhir/Patient/ExamplePatientNguyenVanAn> ;
     fhir:Reference.reference [ fhir:value "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:Reference.display [ fhir:value "Nguyễn Văn An" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2026-03-19T14:05:00+07:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-03-19T14:20:00+07:00"^^xsd:dateTime ]
  ] ;
  fhir:Task.authoredOn [ fhir:value "2026-03-19T09:35:00+07:00"^^xsd:dateTime] ;
  fhir:Task.lastModified [ fhir:value "2026-03-19T14:20:00+07:00"^^xsd:dateTime] ;
  fhir:Task.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/ExamplePractitionerBSCKII> ;
     fhir:Reference.reference [ fhir:value "Practitioner/ExamplePractitionerBSCKII" ] ;
     fhir:Reference.display [ fhir:value "BS CKII Nguyễn Thị Lan" ]
  ] ;
  fhir:Task.owner [
     fhir:link <http://hl7.org/fhir/Organization/ExampleOrganizationRetailPharmacy> ;
     fhir:Reference.reference [ fhir:value "Organization/ExampleOrganizationRetailPharmacy" ] ;
     fhir:Reference.display [ fhir:value "Nhà thuốc Bệnh viện Chợ Rẫy" ]
  ] ;
  fhir:Task.note [
     fhir:index -1 ;
     fhir:Annotation.text [ fhir:value "Nhà thuốc tra cứu đơn trên Hệ thống đơn thuốc quốc gia trước khi bán, bán đủ 21 viên trong ngày kê đơn và báo cáo đơn đã bán về hệ thống." ]
  ] ;
  fhir:Task.restriction [
     fhir:Task.restriction.period [
       fhir:Period.start [ fhir:value "2026-03-19T09:30:00+07:00"^^xsd:dateTime ] ;
       fhir:Period.end [ fhir:value "2026-03-24T23:59:59+07:00"^^xsd:dateTime ]
     ]
  ] ;
  fhir:Task.output [
     fhir:index -1 ;
     fhir:Task.output.type [
       fhir:CodeableConcept.text [ fhir:value "Phiếu cấp phát, bán thuốc đã lập" ]
     ] ;
     fhir:Task.output.valueReference [
       fhir:link <http://hl7.org/fhir/MedicationDispense/ExampleMedicationDispenseRetailPharmacy> ;
       fhir:Reference.reference [ fhir:value "MedicationDispense/ExampleMedicationDispenseRetailPharmacy" ]
     ]
  ] .

<http://hl7.org/fhir/MedicationRequest/ExampleMedicationRequestAmoxicillin> a fhir:MedicationRequest .

<http://hl7.org/fhir/Patient/ExamplePatientNguyenVanAn> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/ExamplePractitionerBSCKII> a fhir:Practitioner .

<http://hl7.org/fhir/Organization/ExampleOrganizationRetailPharmacy> a fhir:Organization .

<http://hl7.org/fhir/MedicationDispense/ExampleMedicationDispenseRetailPharmacy> a fhir:MedicationDispense .

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

<http://hl7.org/fhir/Task/ExampleTaskPrescriptionDispense.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Task/ExampleTaskPrescriptionDispense.ttl> .