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
Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide - Local Development build (v0.9.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft tại thời điểm 2026-04-28 |
@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/StructureMap/vn-sm-bhyt-xml13-referral> a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "vn-sm-bhyt-xml13-referral"] ; 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: StructureMap vn-sm-bhyt-xml13-referral</b></p><a name=\"vn-sm-bhyt-xml13-referral\"> </a><a name=\"hcvn-sm-bhyt-xml13-referral\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml13-referral<span style=\"color: navy\">\" = \"</span>BHYTXML13ReferralLMStructureMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Generated StructureMap scaffold for Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML13ReferralLM.fsh` and remain aligned with the Python BHYT round-trip export adapter.</span>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">FHIR-native source bundle profile used by the repository round-trip adapter.</span>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-vn-core-bhyt-submission-bundle.html\" title=\"Bundle hồ sơ thanh toán BHYT — VN Core BHYT Submission Bundle\">http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTSubmissionBundle <b>as </b><b>source</b>#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model</span>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-bhytXml13ReferralLm.html\" title=\"Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model\">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml13ReferralLm</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTXML13ReferralLM <b>as </b><b>target</b>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Rows derive from the referral ServiceRequest/DocumentReference (giấy chuyển tuyến/chuyển cơ sở KBCB), the linked Encounter, Patient/Coverage identity data, diagnosis Conditions and the signing Practitioner. Generated from logical-model `^mapping` annotations. Fields still missing a field-level `^mapping.map` entry remain outside this StructureMap and are tracked in `wiki/mappings/bhyt-output-data/machine/structuremap-coverage.json`.</span>#xD;\n<b>group </b>MapBHYTXML13ReferralLM<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">sourceBundle</span><span style=\"color: navy\"> : </span>BHYTSubmissionBundle, <b>target</b> <span style=\"color: maroon\">targetRow</span><span style=\"color: navy\"> : </span>BHYTXML13ReferralLM<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_LK - Mã liên kết hồ sơ, PRIMARY KEY liên kết Bảng 1 và các bảng khác trong một lần KCB FHIR path: VNCoreClaim.identifier[MALK].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maLkSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maLk <i>\"maLk\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_HOSO - Số hồ sơ giấy chuyển tuyến/chuyển cơ sở KBCB BHYT do cơ sở KBCB quy định FHIR path: VNCoreServiceRequest.identifier.value | future referral soHoSo identifier slice</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">soHoSoSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.soHoSo <i>\"soHoSo\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_CHUYENTUYEN - Số của sổ chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.identifier.value | future referral soChuyenTuyen identifier slice</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">soChuyenTuyenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.soChuyenTuyen <i>\"soChuyenTuyen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: GIAY_CHUYEN_TUYEN - Số giấy chuyển tuyến/chuyển cơ sở KBCB do cơ sở KBCB cấp FHIR path: VNCoreServiceRequest.identifier.value | VNCoreDocumentReference.identifier.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">giayChuyenTuyenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.giayChuyenTuyen <i>\"giayChuyenTuyen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_CSKCB - Mã cơ sở KBCB nơi cấp giấy chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.requester.resolve().identifier[CSKCB].value | VNCoreOrganization.identifier[CSKCB].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maCskcbSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maCskcb <i>\"maCskcb\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_CSKCB_DI - Mã CSKCB nơi người bệnh chuyển đi (đổi tên từ MA_NOI_DI); nhiều cơ sở thì ghi lần lượt, cách nhau dấu chấm phẩy (;) FHIR path: VNCoreEncounter.hospitalization.origin.resolve().identifier[CSKCB].value | future ServiceRequest nơi-chuyển-đi extension Mapping note: QĐ 3176/QĐ-BYT đổi tên MA_NOI_DI thành MA_CSKCB_DI, tăng kích thước tối đa lên 100 ký tự; hỗ trợ multi-value ngăn cách bằng dấu chấm phẩy (;) khi người bệnh chuyển từ nhiều cơ sở.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maCskcbDiSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maCskcbDi <i>\"maCskcbDi\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_CSKCB_DEN - Mã CSKCB nơi người bệnh được chuyển đến (đổi tên từ MA_NOI_DEN) FHIR path: VNCoreEncounter.hospitalization.destination.resolve().identifier[CSKCB].value | VNCoreServiceRequest.performer.resolve().identifier[CSKCB].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maCskcbDenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maCskcbDen <i>\"maCskcbDen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: HO_TEN - Họ và tên người bệnh được chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCorePatient.name.text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">hoTenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.hoTen <i>\"hoTen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_SINH - Ngày sinh (ghi theo trường NGAY_SINH Bảng 1) FHIR path: VNCorePatient.birthDate</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngaySinhSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngaySinh <i>\"ngaySinh\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: GIOI_TINH - Giới tính (ghi theo trường GIOI_TINH Bảng 1) FHIR path: VNCorePatient.gender</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">gioiTinhSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.gioiTinh <i>\"gioiTinh\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_QUOCTICH - Mã quốc tịch (ghi theo trường MA_QUOCTICH Bảng 1) FHIR path: VNCorePatient.extension[citizenship].valueCodeableConcept.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maQuocTichSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maQuocTich <i>\"maQuocTich\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_DANTOC - Mã dân tộc (ghi theo trường MA_DANTOC Bảng 1) FHIR path: VNCorePatient.extension[ethnicity].valueCodeableConcept.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maDanTocSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maDanToc <i>\"maDanToc\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_NGHE_NGHIEP - Mã nghề nghiệp (ghi theo trường MA_NGHE_NGHIEP Bảng 1) FHIR path: VNCorePatient.extension[occupation].valueCodeableConcept.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maNgheNghiepSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maNgheNghiep <i>\"maNgheNghiep\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DIA_CHI - Địa chỉ (ghi theo trường DIA_CHI Bảng 1) FHIR path: VNCorePatient.address.text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">diaChiSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.diaChi <i>\"diaChi\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_THE_BHYT - Mã thẻ BHYT (ghi theo trường MA_THE_BHYT Bảng 1) FHIR path: VNCoreCoverage.identifier[BHYT].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maTheBhytSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maTheBhyt <i>\"maTheBhyt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: GT_THE_DEN - Giá trị thẻ đến ngày (ghi theo trường GT_THE_DEN Bảng 1) FHIR path: VNCoreCoverage.period.end</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">gtTheDenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.gtTheDen <i>\"gtTheDen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_VAO - Ngày vào theo định dạng yyyyMMddHHmm (ghi theo trường NGAY_VAO Bảng 1) FHIR path: VNCoreEncounter.period.start | VNCoreClaim.created</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayVaoSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayVao <i>\"ngayVao\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_VAO_NOI_TRU - Ngày vào nội trú (ghi theo trường NGAY_VAO_NOI_TRU Bảng 1) FHIR path: VNCoreEncounter.hospitalization | future admission instant extension</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayVaoNoiTruSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayVaoNoiTru <i>\"ngayVaoNoiTru\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_RA - Ngày ra theo định dạng yyyyMMddHHmm (ghi theo trường NGAY_RA Bảng 1) FHIR path: VNCoreEncounter.period.end | VNCoreClaim.created</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayRaSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayRa <i>\"ngayRa\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DAU_HIEU_LS - Các dấu hiệu lâm sàng của người bệnh khi chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.reasonCode.text | VNCoreClinicalImpression.finding.itemCodeableConcept.text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">dauHieuLsSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.dauHieuLs <i>\"dauHieuLs\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: CHAN_DOAN_RV - Chẩn đoán ra viện (ghi theo trường CHAN_DOAN_RV Bảng 1) FHIR path: VNCoreCondition.code.text | VNCoreComposition.section[diagnosis].text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">chanDoanRvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.chanDoanRv <i>\"chanDoanRv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: QT-BENHLY - Quá trình bệnh lý và diễn biến lâm sàng (tên trường gốc dùng gạch ngang) FHIR path: VNCoreComposition.section[history].text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">qtBenhLySource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.qtBenhLy <i>\"qtBenhLy\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TOMTAT_KQ - Tóm tắt kết quả xét nghiệm, cận lâm sàng có giá trị chẩn đoán FHIR path: VNCoreDiagnosticReport.conclusion</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tomtatKqSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tomtatKq <i>\"tomtatKq\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: PP_DIEUTRI - Phương pháp, thủ thuật, kỹ thuật, thuốc đã sử dụng trong điều trị FHIR path: VNCoreProcedure.code | VNCoreComposition.section[procedures].text Mapping note: QĐ 3176/QĐ-BYT sửa toàn bộ diễn giải: trước đây tham chiếu Bảng 1, nay diễn giải trực tiếp phương pháp/thủ thuật/kỹ thuật/thuốc đã dùng.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ppDieuTriSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ppDieuTri <i>\"ppDieuTri\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BENH_CHINH - Mã bệnh chính, ICD-10 VN (ghi theo trường MA_BENH_CHINH Bảng 1) FHIR path: VNCoreClaim.diagnosis.where(type='principal').diagnosisCodeableConcept | VNCoreCondition.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maBenhChinhSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maBenhChinh <i>\"maBenhChinh\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BENH_KT - Mã bệnh kèm theo (ghi theo trường MA_BENH_KT Bảng 1, cho phép nhiều mã) FHIR path: VNCoreClaim.diagnosis.where(type!='principal').diagnosisCodeableConcept | VNCoreCondition.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maBenhKtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maBenhKt <i>\"maBenhKt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BENH_YHCT - Mã bệnh y học cổ truyền (ghi theo trường MA_BENH_YHCT Bảng 1) FHIR path: VNCoreClaim.diagnosis.diagnosisCodeableConcept.coding.code | VNCoreConditionDiagnosis.code.coding[yhct].code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maBenhYhctSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maBenhYhct <i>\"maBenhYhct\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TINH_TRANG_CT - Tình trạng người bệnh tại thời điểm chuyển tuyến/chuyển cơ sở KBCB (đổi tên từ PP_DIEU_TRI) FHIR path: VNCoreClinicalImpression.summary | future ServiceRequest tình-trạng-chuyển-tuyến extension Mapping note: QĐ 3176/QĐ-BYT đổi tên trường PP_DIEU_TRI thành TINH_TRANG_CT và thay đổi hoàn toàn diễn giải so với QĐ 4750/QĐ-BYT.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tinhTrangCtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tinhTrangCt <i>\"tinhTrangCt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_LOAI_RV - Mã loại ra viện (ghi theo trường MA_LOAI_RV Bảng 1) FHIR path: VNCoreEncounter.hospitalization.dischargeDisposition Mapping note: Ghi chú cuối Bảng 13: chỉ trích chuyển Bảng này khi có chuyển tuyến/chuyển cơ sở KBCB và MA_LOAI_RV = 2 hoặc 5.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maLoaiRvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maLoaiRv <i>\"maLoaiRv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_LYDO_CT - Mã lý do chuyển tuyến/chuyển cơ sở KBCB (1/2/3) FHIR path: VNCoreServiceRequest.reasonCode (binding VNCareTransferReasonVS — vn-care-transfer-reason-cs) | future mã-lý-do-chuyển-tuyến extension Mapping note: Mã hóa bằng CodeSystem vn-care-transfer-reason-cs (VNCareTransferReasonCS, QĐ 3176/QĐ-BYT Bảng 13 STT 32). Danh mục mã cố định: 1=đủ điều kiện & phù hợp quy định chuyển tuyến/chuyển cơ sở KBCB; 2=đủ điều kiện do không phù hợp khả năng đáp ứng của CSKCB; 3=theo yêu cầu người bệnh hoặc người đại diện hợp pháp.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maLydoCtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maLydoCt <i>\"maLydoCt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: HUONG_DIEU_TRI - Hướng điều trị sắp tới cho người bệnh FHIR path: VNCoreCarePlan.description | VNCoreServiceRequest.note</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">huongDieuTriSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.huongDieuTri <i>\"huongDieuTri\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: PHUONGTIEN_VC - Phương tiện vận chuyển người bệnh khi chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.note | future ServiceRequest phương-tiện-vận-chuyển extension</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">phuongtienVcSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.phuongtienVc <i>\"phuongtienVc\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: HOTEN_NGUOI_HT - Họ và tên người hộ tống người bệnh (nếu có) FHIR path: VNCoreRelatedPerson.name.text Mapping note: Chỉ ghi nếu có người hộ tống.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">hotenNguoiHtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.hotenNguoiHt <i>\"hotenNguoiHt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: CHUCDANH_NGUOI_HT - Chức danh, trình độ chuyên môn người hộ tống (nếu có) FHIR path: VNCoreRelatedPerson.relationship.text | future người-hộ-tống chức-danh Mapping note: Chỉ ghi nếu có người hộ tống.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">chucdanhNguoiHtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.chucdanhNguoiHt <i>\"chucdanhNguoiHt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BACSI - Mã người hành nghề chỉ định chuyển tuyến/chuyển cơ sở KBCB (mã hóa theo số GPHN) FHIR path: VNCorePractitioner.identifier[GPHN].value Mapping note: QĐ 3176/QĐ-BYT đổi căn cứ mã hóa từ CCHN sang GPHN. Trường hợp huy động/điều động chống dịch, thiên tai: mã hóa MA_BAC_SI.HD.XXXXX (XXXXX = mã CSKCB cử người đi; nếu không đăng ký hành nghề thì XXXXX = 2 ký tự mã tỉnh nơi ra quyết định huy động + XXX).</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maBacsiSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maBacsi <i>\"maBacsi\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_TTDV - Mã người đứng đầu CSKCB (hoặc người được ủy quyền) ký giấy chuyển, ưu tiên GPHN FHIR path: VNCorePractitioner.identifier[GPHN].value | VNCorePractitioner.identifier[CCCD].value (fallback khi không có GPHN) Mapping note: QĐ 3176/QĐ-BYT ưu tiên mã hóa theo GPHN; nếu không có GPHN thì ghi số CCCD hoặc số định danh cá nhân của người ký. Đổi kiểu dữ liệu sang chuỗi, tăng kích thước tối đa 255 ký tự.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maTtdvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maTtdv <i>\"maTtdv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DU_PHONG - Trường dự phòng; theo QĐ 3176/QĐ-BYT dùng để ghi dữ liệu chữ ký số của cơ sở KBCB FHIR path: VNCoreProvenance.signature.data | future chữ-ký-số dự-phòng</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">duPhongSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.duPhong <i>\"duPhong\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>" ] ; fhir:DomainResource.extension [ fhir:index -1 ; fhir:Extension.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-legal-basis" ] ; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-legal-document-ref-cs" ] ; fhir:Coding.code [ fhir:value "QD-3176-2024" ] ] ] ; fhir:StructureMap.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml13-referral"] ; fhir:StructureMap.identifier [ fhir:index -1 ; fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ; fhir:Identifier.value [ fhir:value "urn:oid:2.25.161089673617632664299011809196868855799.43.5" ] ] ; fhir:StructureMap.version [ fhir:value "0.9.0"] ; fhir:StructureMap.name [ fhir:value "BHYTXML13ReferralLMStructureMap"] ; fhir:StructureMap.title [ fhir:value "Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model — StructureMap"] ; fhir:StructureMap.status [ fhir:value "draft"] ; fhir:StructureMap.experimental [ fhir:value "false"^^xsd:boolean] ; fhir:StructureMap.date [ fhir:value "2026-04-28"^^xsd:date] ; fhir:StructureMap.publisher [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative"] ; fhir:StructureMap.contact [ fhir:index -1 ; fhir:ContactDetail.name [ fhir:value "Omi HealthTech / VN Core FHIR Community Initiative" ] ; fhir:ContactDetail.telecom [ fhir:index -1 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://hl7.org.vn" ] ], [ fhir:index -1 ; fhir:ContactPoint.system [ fhir:value "email" ] ; fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ] ] ], [ fhir:index -1 ; fhir:ContactDetail.name [ fhir:value "Omi HealthTech (OmiGroup)" ] ; fhir:ContactDetail.telecom [ fhir:index -1 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://omihealthtech.vn" ] ], [ fhir:index -1 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://omigroup.vn" ] ], [ fhir:index -1 ; fhir:ContactPoint.system [ fhir:value "email" ] ; fhir:ContactPoint.value [ fhir:value "info@hl7.org.vn" ] ] ] ; fhir:StructureMap.description [ fhir:value "Generated StructureMap scaffold for Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML13ReferralLM.fsh` and remain aligned with the Python BHYT round-trip export adapter."] ; fhir:StructureMap.jurisdiction [ fhir:index -1 ; fhir:CodeableConcept.coding [ fhir:index -1 ; fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ; fhir:Coding.code [ fhir:value "VN" ] ; fhir:Coding.display [ fhir:value "Viet Nam" ] ] ] ; fhir:StructureMap.purpose [ fhir:value "Publish canonical, reviewable FHIR-to-BHYT XML mapping artifacts for XML1-XML15 without duplicating field-level mapping semantics across FSH, wiki, and export code."] ; fhir:StructureMap.structure [ fhir:index -1 ; fhir:StructureMap.structure.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle" ; fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle> ] ; fhir:StructureMap.structure.mode [ fhir:value "source" ] ; fhir:StructureMap.structure.alias [ fhir:value "BHYTSubmissionBundle" ] ; fhir:StructureMap.structure.documentation [ fhir:value "FHIR-native source bundle profile used by the repository round-trip adapter." ] ], [ fhir:index -1 ; fhir:StructureMap.structure.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml13ReferralLm" ; fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml13ReferralLm> ] ; fhir:StructureMap.structure.mode [ fhir:value "target" ] ; fhir:StructureMap.structure.alias [ fhir:value "BHYTXML13ReferralLM" ] ; fhir:StructureMap.structure.documentation [ fhir:value "Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model" ] ] ; fhir:StructureMap.group [ fhir:index -1 ; fhir:StructureMap.group.name [ fhir:value "MapBHYTXML13ReferralLM" ] ; fhir:StructureMap.group.typeMode [ fhir:value "none" ] ; fhir:StructureMap.group.documentation [ fhir:value "Rows derive from the referral ServiceRequest/DocumentReference (giấy chuyển tuyến/chuyển cơ sở KBCB), the linked Encounter, Patient/Coverage identity data, diagnosis Conditions and the signing Practitioner. Generated from logical-model `^mapping` annotations. Fields still missing a field-level `^mapping.map` entry remain outside this StructureMap and are tracked in `wiki/mappings/bhyt-output-data/machine/structuremap-coverage.json`." ] ; fhir:StructureMap.group.input [ fhir:index -1 ; fhir:StructureMap.group.input.name [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.input.type [ fhir:value "BHYTSubmissionBundle" ] ; fhir:StructureMap.group.input.mode [ fhir:value "source" ] ; fhir:StructureMap.group.input.documentation [ fhir:value "VN Core BHYT submission bundle." ] ], [ fhir:index -1 ; fhir:StructureMap.group.input.name [ fhir:value "targetRow" ] ; fhir:StructureMap.group.input.type [ fhir:value "BHYTXML13ReferralLM" ] ; fhir:StructureMap.group.input.mode [ fhir:value "target" ] ; fhir:StructureMap.group.input.documentation [ fhir:value "Bảng 13 giấy chuyển tuyến/chuyển cơ sở KCB BHYT — XML13 Referral Logical Model" ] ] ; fhir:StructureMap.group.rule [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maLk" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maLkSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maLk" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_LK - Mã liên kết hồ sơ, PRIMARY KEY liên kết Bảng 1 và các bảng khác trong một lần KCB FHIR path: VNCoreClaim.identifier[MALK].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "soHoSo" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "soHoSoSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "soHoSo" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: SO_HOSO - Số hồ sơ giấy chuyển tuyến/chuyển cơ sở KBCB BHYT do cơ sở KBCB quy định FHIR path: VNCoreServiceRequest.identifier.value | future referral soHoSo identifier slice" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "soChuyenTuyen" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "soChuyenTuyenSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "soChuyenTuyen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: SO_CHUYENTUYEN - Số của sổ chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.identifier.value | future referral soChuyenTuyen identifier slice" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "giayChuyenTuyen" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "giayChuyenTuyenSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "giayChuyenTuyen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: GIAY_CHUYEN_TUYEN - Số giấy chuyển tuyến/chuyển cơ sở KBCB do cơ sở KBCB cấp FHIR path: VNCoreServiceRequest.identifier.value | VNCoreDocumentReference.identifier.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maCskcb" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maCskcbSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maCskcb" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_CSKCB - Mã cơ sở KBCB nơi cấp giấy chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.requester.resolve().identifier[CSKCB].value | VNCoreOrganization.identifier[CSKCB].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maCskcbDi" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maCskcbDiSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maCskcbDi" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_CSKCB_DI - Mã CSKCB nơi người bệnh chuyển đi (đổi tên từ MA_NOI_DI); nhiều cơ sở thì ghi lần lượt, cách nhau dấu chấm phẩy (;) FHIR path: VNCoreEncounter.hospitalization.origin.resolve().identifier[CSKCB].value | future ServiceRequest nơi-chuyển-đi extension Mapping note: QĐ 3176/QĐ-BYT đổi tên MA_NOI_DI thành MA_CSKCB_DI, tăng kích thước tối đa lên 100 ký tự; hỗ trợ multi-value ngăn cách bằng dấu chấm phẩy (;) khi người bệnh chuyển từ nhiều cơ sở." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maCskcbDen" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maCskcbDenSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maCskcbDen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_CSKCB_DEN - Mã CSKCB nơi người bệnh được chuyển đến (đổi tên từ MA_NOI_DEN) FHIR path: VNCoreEncounter.hospitalization.destination.resolve().identifier[CSKCB].value | VNCoreServiceRequest.performer.resolve().identifier[CSKCB].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "hoTen" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "hoTenSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "hoTen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: HO_TEN - Họ và tên người bệnh được chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCorePatient.name.text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngaySinh" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ngaySinhSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ngaySinh" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_SINH - Ngày sinh (ghi theo trường NGAY_SINH Bảng 1) FHIR path: VNCorePatient.birthDate" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "gioiTinh" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "gioiTinhSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "gioiTinh" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: GIOI_TINH - Giới tính (ghi theo trường GIOI_TINH Bảng 1) FHIR path: VNCorePatient.gender" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maQuocTich" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maQuocTichSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maQuocTich" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_QUOCTICH - Mã quốc tịch (ghi theo trường MA_QUOCTICH Bảng 1) FHIR path: VNCorePatient.extension[citizenship].valueCodeableConcept.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maDanToc" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maDanTocSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maDanToc" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_DANTOC - Mã dân tộc (ghi theo trường MA_DANTOC Bảng 1) FHIR path: VNCorePatient.extension[ethnicity].valueCodeableConcept.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maNgheNghiep" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maNgheNghiepSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maNgheNghiep" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_NGHE_NGHIEP - Mã nghề nghiệp (ghi theo trường MA_NGHE_NGHIEP Bảng 1) FHIR path: VNCorePatient.extension[occupation].valueCodeableConcept.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "diaChi" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "diaChiSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "diaChi" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: DIA_CHI - Địa chỉ (ghi theo trường DIA_CHI Bảng 1) FHIR path: VNCorePatient.address.text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maTheBhyt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maTheBhytSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maTheBhyt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_THE_BHYT - Mã thẻ BHYT (ghi theo trường MA_THE_BHYT Bảng 1) FHIR path: VNCoreCoverage.identifier[BHYT].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "gtTheDen" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "gtTheDenSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "gtTheDen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: GT_THE_DEN - Giá trị thẻ đến ngày (ghi theo trường GT_THE_DEN Bảng 1) FHIR path: VNCoreCoverage.period.end" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayVao" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ngayVaoSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ngayVao" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_VAO - Ngày vào theo định dạng yyyyMMddHHmm (ghi theo trường NGAY_VAO Bảng 1) FHIR path: VNCoreEncounter.period.start | VNCoreClaim.created" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayVaoNoiTru" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ngayVaoNoiTruSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ngayVaoNoiTru" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_VAO_NOI_TRU - Ngày vào nội trú (ghi theo trường NGAY_VAO_NOI_TRU Bảng 1) FHIR path: VNCoreEncounter.hospitalization | future admission instant extension" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayRa" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ngayRaSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ngayRa" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_RA - Ngày ra theo định dạng yyyyMMddHHmm (ghi theo trường NGAY_RA Bảng 1) FHIR path: VNCoreEncounter.period.end | VNCoreClaim.created" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "dauHieuLs" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "dauHieuLsSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "dauHieuLs" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: DAU_HIEU_LS - Các dấu hiệu lâm sàng của người bệnh khi chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.reasonCode.text | VNCoreClinicalImpression.finding.itemCodeableConcept.text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "chanDoanRv" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "chanDoanRvSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "chanDoanRv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: CHAN_DOAN_RV - Chẩn đoán ra viện (ghi theo trường CHAN_DOAN_RV Bảng 1) FHIR path: VNCoreCondition.code.text | VNCoreComposition.section[diagnosis].text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "qtBenhLy" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "qtBenhLySource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "qtBenhLy" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: QT-BENHLY - Quá trình bệnh lý và diễn biến lâm sàng (tên trường gốc dùng gạch ngang) FHIR path: VNCoreComposition.section[history].text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tomtatKq" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "tomtatKqSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "tomtatKq" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: TOMTAT_KQ - Tóm tắt kết quả xét nghiệm, cận lâm sàng có giá trị chẩn đoán FHIR path: VNCoreDiagnosticReport.conclusion" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ppDieuTri" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "ppDieuTriSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "ppDieuTri" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: PP_DIEUTRI - Phương pháp, thủ thuật, kỹ thuật, thuốc đã sử dụng trong điều trị FHIR path: VNCoreProcedure.code | VNCoreComposition.section[procedures].text Mapping note: QĐ 3176/QĐ-BYT sửa toàn bộ diễn giải: trước đây tham chiếu Bảng 1, nay diễn giải trực tiếp phương pháp/thủ thuật/kỹ thuật/thuốc đã dùng." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maBenhChinh" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maBenhChinhSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maBenhChinh" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_BENH_CHINH - Mã bệnh chính, ICD-10 VN (ghi theo trường MA_BENH_CHINH Bảng 1) FHIR path: VNCoreClaim.diagnosis.where(type='principal').diagnosisCodeableConcept | VNCoreCondition.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maBenhKt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maBenhKtSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maBenhKt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_BENH_KT - Mã bệnh kèm theo (ghi theo trường MA_BENH_KT Bảng 1, cho phép nhiều mã) FHIR path: VNCoreClaim.diagnosis.where(type!='principal').diagnosisCodeableConcept | VNCoreCondition.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maBenhYhct" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maBenhYhctSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maBenhYhct" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_BENH_YHCT - Mã bệnh y học cổ truyền (ghi theo trường MA_BENH_YHCT Bảng 1) FHIR path: VNCoreClaim.diagnosis.diagnosisCodeableConcept.coding.code | VNCoreConditionDiagnosis.code.coding[yhct].code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tinhTrangCt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "tinhTrangCtSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "tinhTrangCt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: TINH_TRANG_CT - Tình trạng người bệnh tại thời điểm chuyển tuyến/chuyển cơ sở KBCB (đổi tên từ PP_DIEU_TRI) FHIR path: VNCoreClinicalImpression.summary | future ServiceRequest tình-trạng-chuyển-tuyến extension Mapping note: QĐ 3176/QĐ-BYT đổi tên trường PP_DIEU_TRI thành TINH_TRANG_CT và thay đổi hoàn toàn diễn giải so với QĐ 4750/QĐ-BYT." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maLoaiRv" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maLoaiRvSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maLoaiRv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_LOAI_RV - Mã loại ra viện (ghi theo trường MA_LOAI_RV Bảng 1) FHIR path: VNCoreEncounter.hospitalization.dischargeDisposition Mapping note: Ghi chú cuối Bảng 13: chỉ trích chuyển Bảng này khi có chuyển tuyến/chuyển cơ sở KBCB và MA_LOAI_RV = 2 hoặc 5." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maLydoCt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maLydoCtSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maLydoCt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_LYDO_CT - Mã lý do chuyển tuyến/chuyển cơ sở KBCB (1/2/3) FHIR path: VNCoreServiceRequest.reasonCode (binding VNCareTransferReasonVS — vn-care-transfer-reason-cs) | future mã-lý-do-chuyển-tuyến extension Mapping note: Mã hóa bằng CodeSystem vn-care-transfer-reason-cs (VNCareTransferReasonCS, QĐ 3176/QĐ-BYT Bảng 13 STT 32). Danh mục mã cố định: 1=đủ điều kiện & phù hợp quy định chuyển tuyến/chuyển cơ sở KBCB; 2=đủ điều kiện do không phù hợp khả năng đáp ứng của CSKCB; 3=theo yêu cầu người bệnh hoặc người đại diện hợp pháp." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "huongDieuTri" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "huongDieuTriSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "huongDieuTri" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: HUONG_DIEU_TRI - Hướng điều trị sắp tới cho người bệnh FHIR path: VNCoreCarePlan.description | VNCoreServiceRequest.note" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "phuongtienVc" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "phuongtienVcSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "phuongtienVc" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: PHUONGTIEN_VC - Phương tiện vận chuyển người bệnh khi chuyển tuyến/chuyển cơ sở KBCB FHIR path: VNCoreServiceRequest.note | future ServiceRequest phương-tiện-vận-chuyển extension" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "hotenNguoiHt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "hotenNguoiHtSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "hotenNguoiHt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: HOTEN_NGUOI_HT - Họ và tên người hộ tống người bệnh (nếu có) FHIR path: VNCoreRelatedPerson.name.text Mapping note: Chỉ ghi nếu có người hộ tống." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "chucdanhNguoiHt" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "chucdanhNguoiHtSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "chucdanhNguoiHt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: CHUCDANH_NGUOI_HT - Chức danh, trình độ chuyên môn người hộ tống (nếu có) FHIR path: VNCoreRelatedPerson.relationship.text | future người-hộ-tống chức-danh Mapping note: Chỉ ghi nếu có người hộ tống." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maBacsi" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maBacsiSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maBacsi" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_BACSI - Mã người hành nghề chỉ định chuyển tuyến/chuyển cơ sở KBCB (mã hóa theo số GPHN) FHIR path: VNCorePractitioner.identifier[GPHN].value Mapping note: QĐ 3176/QĐ-BYT đổi căn cứ mã hóa từ CCHN sang GPHN. Trường hợp huy động/điều động chống dịch, thiên tai: mã hóa MA_BAC_SI.HD.XXXXX (XXXXX = mã CSKCB cử người đi; nếu không đăng ký hành nghề thì XXXXX = 2 ký tự mã tỉnh nơi ra quyết định huy động + XXX)." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maTtdv" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "maTtdvSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "maTtdv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_TTDV - Mã người đứng đầu CSKCB (hoặc người được ủy quyền) ký giấy chuyển, ưu tiên GPHN FHIR path: VNCorePractitioner.identifier[GPHN].value | VNCorePractitioner.identifier[CCCD].value (fallback khi không có GPHN) Mapping note: QĐ 3176/QĐ-BYT ưu tiên mã hóa theo GPHN; nếu không có GPHN thì ghi số CCCD hoặc số định danh cá nhân của người ký. Đổi kiểu dữ liệu sang chuỗi, tăng kích thước tối đa 255 ký tự." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "duPhong" ] ; fhir:StructureMap.group.rule.source [ fhir:index -1 ; fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ; fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ; fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ; fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ; fhir:StructureMap.group.rule.source.variable [ fhir:value "duPhongSource" ] ] ; fhir:StructureMap.group.rule.target [ fhir:index -1 ; fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ; fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ; fhir:StructureMap.group.rule.target.element [ fhir:value "duPhong" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: DU_PHONG - Trường dự phòng; theo QĐ 3176/QĐ-BYT dùng để ghi dữ liệu chữ ký số của cơ sở KBCB FHIR path: VNCoreProvenance.signature.data | future chữ-ký-số dự-phòng" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureMap/vn-sm-bhyt-xml13-referral.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/StructureMap/vn-sm-bhyt-xml13-referral.ttl> .
IG © 2026+ Omi HealthTech / VN Core FHIR Community Initiative.
Package hl7.fhir.vn.core#0.9.0 based on FHIR 4.0.1.
Sinh ngày
2026-07-31
Liên kết: Mục lục |
Báo cáo QA