Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam
0.8.0 - Draft for Community Review
Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam - Draft for Community Review (v0.8.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-xml1-summary> a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "vn-sm-bhyt-xml1-summary"] ; 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-xml1-summary</b></p><a name=\"vn-sm-bhyt-xml1-summary\"> </a><a name=\"hcvn-sm-bhyt-xml1-summary\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml1-summary<span style=\"color: navy\">\" = \"</span>BHYTXML1SummaryLMStructureMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Generated StructureMap scaffold for Bảng 1 tổng hợp KCB BHYT — Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML1SummaryLM.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 1 tổng hợp KCB BHYT — Logical Model</span>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-bhytXml1SummaryLm.html\" title=\"Bảng 1 tổng hợp KCB BHYT — Logical Model\">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml1SummaryLm</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTXML1SummaryLM <b>as </b><b>target</b>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Full QD 3176 XML1 field catalog. StructureMap/export rules must preserve source field names and financial semantics. 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>MapBHYTXML1SummaryLM<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>BHYTXML1SummaryLM<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ơ 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: STT - Số thứ tự FHIR path: Derived export row order</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">sttSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.stt <i>\"stt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BN - Mã người bệnh tại cơ sở FHIR path: VNCorePatient.identifier[MRN].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maBnSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maBn <i>\"maBn\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: HO_TEN - Họ tên người bệnh 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: SO_CCCD - Số CCCD/số định danh cá nhân/hộ chiếu/giấy khai sinh của người bệnh FHIR path: VNCorePatient.identifier[CCCD].value | VNCorePatient.identifier[HC].value | VNCorePatient.identifier[GKS].value Mapping note: Ghi số CCCD/số định danh cá nhân trên thẻ căn cước hoặc giấy khai sinh; người nước ngoài ghi số hộ chiếu (identifier[HC]); trẻ sơ sinh dùng số trên giấy khai sinh (identifier[GKS]); để trống trong trường hợp bất khả kháng (trẻ sơ sinh, người mất ý thức/tâm thần không lấy được số định danh). Đổi kiểu chuỗi và kích thước n theo QĐ 4750/QĐ-BYT.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">soCccdSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.soCccd <i>\"soCccd\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_SINH - Ngày sinh 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 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: NHOM_MAU - Nhóm máu FHIR path: future blood-group Observation (LOINC 883-9 ABO group; 10331-7 Rh) Mapping note: Nhóm máu của người bệnh, tối đa 5 ký tự, chỉ ghi khi có thông tin (bổ sung theo QĐ 4750/QĐ-BYT). VN Core chưa có profile Observation nhóm máu chuyên biệt nên đánh dấu future.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">nhomMauSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.nhomMau <i>\"nhomMau\"</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 FHIR path: VNCorePatient.extension[nationality].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 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 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ỉ 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: MATINH_CU_TRU - Mã tỉnh cư trú FHIR path: VNCorePatient.address.extension[province].valueCodeableConcept.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maTinhCuTruSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maTinhCuTru <i>\"maTinhCuTru\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MAHUYEN_CU_TRU - Mã huyện cư trú legacy FHIR path: VNCorePatient.address.district</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maHuyenCuTruSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maHuyenCuTru <i>\"maHuyenCuTru\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MAXA_CU_TRU - Mã xã cư trú FHIR path: VNCorePatient.address.extension[ward].valueCodeableConcept.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maXaCuTruSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maXaCuTru <i>\"maXaCuTru\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DIEN_THOAI - Số điện thoại FHIR path: VNCorePatient.telecom.where(system='phone').value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">dienThoaiSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.dienThoai <i>\"dienThoai\"</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 FHIR path: VNCoreCoverage.identifier[BHYT].value | VNCorePatient.identifier[BHYT].value Mapping note: OHP/QD3176 export validator permits up to 2 BHYT card values; map repeated cards to focal/supplemental Coverage entries.</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: MA_DKBD - Mã nơi đăng ký KCB ban đầu FHIR path: VNCoreCoverage.extension[primaryCareFacility].valueReference.identifier.value Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards; this remains the registered primary care facility, not MA_CSKCB.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maDkbdSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maDkbd <i>\"maDkbd\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: GT_THE_TU - Giá trị thẻ từ ngày FHIR path: VNCoreCoverage.period.start Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">gtTheTuSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.gtTheTu <i>\"gtTheTu\"</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 FHIR path: VNCoreCoverage.period.end Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards.</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_MIEN_CCT - Ngày miễn cùng chi trả FHIR path: VNCoreCoverage | future copay-exemption-start-date extension Mapping note: Thời điểm người bệnh đủ điều kiện hưởng chế độ miễn cùng chi trả: 8 ký tự yyyymmdd nếu đã cấp giấy miễn cùng chi trả, 12 ký tự yyyymmddHHMM nếu chưa cấp giấy; để trống nếu không đủ cơ sở xác định. Liên quan trần cùng chi trả lũy kế theo NĐ 188/2025/NĐ-CP; VN Core chưa có extension ngày miễn cùng chi trả trên Coverage.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayMienCctSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayMienCct <i>\"ngayMienCct\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: LY_DO_VV - Lý do vào viện FHIR path: VNCoreEncounter.reasonCode | VNCoreEncounter.reasonReference.resolve().code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">lyDoVvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.lyDoVv <i>\"lyDoVv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: LY_DO_VNT - Lý do vào nội trú FHIR path: VNCoreEncounter.hospitalization.admitSource | VNCoreEncounter.reasonCode Mapping note: Conditionally required for selected inpatient/day-treatment MA_LOAI_KCB values.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">lyDoVntSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.lyDoVnt <i>\"lyDoVnt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_LY_DO_VNT - Mã lý do vào nội trú FHIR path: VNCoreEncounter.hospitalization.admitSource.coding.code</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maLyDoVntSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maLyDoVnt <i>\"maLyDoVnt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: CHAN_DOAN_VAO - Chẩn đoán vào viện FHIR path: VNCoreEncounter.reasonCode | VNCoreComposition.section[chiefComplaint].text</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">chanDoanVaoSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.chanDoanVao <i>\"chanDoanVao\"</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 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: MA_BENH_CHINH - Mã bệnh chính 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 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 FHIR path: VNCoreClaim.diagnosis.diagnosisCodeableConcept.coding[yhct].code | VNCoreCondition.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: MA_PTTT_QT - Mã phẫu thuật, thủ thuật quốc tế ICD-9-CM FHIR path: VNCoreProcedure.code.coding.code Mapping note: Mã ICD-9-CM (VNICD9CMCS; QĐ 4440/QĐ-BYT, nay thay bằng QĐ 387/QĐ-BYT). Nhiều PT/TT thì các mã phân cách bằng ';'; chỉ ghi khi người bệnh có thực hiện phẫu thuật, thủ thuật. KHÔNG nhầm với MA_PTTT (mã phương thức thanh toán, Bảng 2/3 STT 36/40).</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maPtttQtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maPtttQt <i>\"maPtttQt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_DOITUONG_KCB - Mã đối tượng đến KCB FHIR path: VNCoreClaim.subType Mapping note: Do not map to Coverage.extension[bhytCardType]; this is visit classification, not the insured/card group.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maDoituongKcbSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maDoituongKcb <i>\"maDoituongKcb\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_NOI_DI - Mã nơi đi FHIR path: VNCoreEncounter.hospitalization.origin.resolve().identifier[CSKCB].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maNoiDiSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maNoiDi <i>\"maNoiDi\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_NOI_DEN - Mã nơi đến FHIR path: VNCoreEncounter.hospitalization.destination.resolve().identifier[CSKCB].value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maNoiDenSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maNoiDen <i>\"maNoiDen\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_TAI_NAN - Mã tai nạn FHIR path: VNCoreClaim.accident.type</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maTaiNanSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maTaiNan <i>\"maTaiNan\"</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 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ú 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 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: GIAY_CHUYEN_TUYEN - Số giấy chuyển tuyến FHIR path: VNCoreServiceRequest.identifier.value | VNCoreDocumentReference.identifier.value Mapping note: Số giấy chuyển tuyến/chuyển cơ sở KBCB nơi chuyển người bệnh đi hoặc số giấy hẹn khám lại (nếu có). Ghi theo trường GIAY_CHUYEN_TUYEN Bảng 13 (BHYTXML13ReferralLM) — liên kết phiếu chuyển tuyến ServiceRequest.</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: SO_NGAY_DTRI - Số ngày điều trị FHIR path: Derived from VNCoreEncounter.period.start/end | VNCoreEncounter.length.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">soNgayDtriSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.soNgayDtri <i>\"soNgayDtri\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: PP_DIEU_TRI - Phương pháp điều trị (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc kết hợp) FHIR path: VNCoreProcedure.category | future treatment-method (PP_DIEU_TRI) extension Mapping note: Ghi phương pháp điều trị theo TT 18/2022/TT-BYT (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc xạ trị + nội khoa). VN Core chưa có slice/extension chuyên biệt ở cấp đợt điều trị nên đánh dấu future.</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: KET_QUA_DTRI - Kết quả điều trị FHIR path: VNCoreEncounter.extension[treatmentOutcome].valueCodeableConcept</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ketQuaDtriSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ketQuaDtri <i>\"ketQuaDtri\"</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 FHIR path: VNCoreEncounter.hospitalization.dischargeDisposition</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: GHI_CHU - Lời dặn của bác sĩ/nhân viên y tế sau khi kết thúc KBCB FHIR path: VNCoreComposition.section[dischargeSummary].text Mapping note: Lời dặn của bác sĩ hoặc nhân viên y tế đối với người bệnh sau khi kết thúc lần KBCB; ghi vào phần tóm tắt ra viện/hướng điều trị tiếp của bệnh án điện tử (TT 13/2025/TT-BYT).</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ghiChuSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ghiChu <i>\"ghiChu\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_TTOAN - Ngày thanh toán FHIR path: VNCoreExplanationOfBenefit.created | VNCoreClaimResponse.created</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayTtoanSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayTtoan <i>\"ngayTtoan\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_THUOC - Tổng tiền thuốc FHIR path: VNCoreClaim.extension[costSummary].extension[totalMedication].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalMedication].valueMoney.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tThuocSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tThuoc <i>\"tThuoc\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_VTYT - Tổng tiền vật tư y tế FHIR path: VNCoreClaim.extension[costSummary].extension[totalSupplies].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalSupplies].valueMoney.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tVtytSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tVtyt <i>\"tVtyt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_TONGCHI_BV - Tổng chi phí bệnh viện FHIR path: VNCoreClaim.total.value | VNCoreExplanationOfBenefit.total.amount</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tTongchiBvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tTongchiBv <i>\"tTongchiBv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_TONGCHI_BH - Tổng chi phí thuộc phạm vi BHYT FHIR path: VNCoreExplanationOfBenefit.total.where(category='eligible').amount.value | VNCoreClaimResponse.total.where(category='eligible').amount.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tTongchiBhSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tTongchiBh <i>\"tTongchiBh\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BNTT - Người bệnh tự trả FHIR path: VNCoreClaim.extension[costSummary].extension[totalPatientSelfPay].valueMoney.value | Derived from VNCoreClaimResponse.total.where(category='submitted').amount - .where(category='eligible').amount</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tBnttSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tBntt <i>\"tBntt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BNCCT - Người bệnh cùng chi trả FHIR path: VNCoreClaim.extension[costSummary].extension[totalPatientCopay].valueMoney.value | VNCoreClaimResponse.total.where(category='copay').amount.value | VNCoreExplanationOfBenefit.total.where(category='copay').amount.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tBncctSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tBncct <i>\"tBncct\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BHTT - Quỹ BHYT thanh toán FHIR path: VNCoreClaim.extension[costSummary].extension[totalInsurance].valueMoney.value | VNCoreClaimResponse.total.where(category='benefit').amount.value | VNCoreExplanationOfBenefit.total.where(category='benefit').amount.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tBhttSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tBhtt <i>\"tBhtt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_NGUONKHAC - Nguồn khác FHIR path: VNCoreClaim.extension[costSummary].extension[totalOtherFund].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalOtherFund].valueMoney.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tNguonkhacSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tNguonkhac <i>\"tNguonkhac\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BHTT_GDV - BHYT thanh toán giám định viên FHIR path: VNCoreClaim.extension[costSummary] | future totalInsuranceFeeForService sub-extension Mapping note: Số tiền quỹ BHYT thanh toán đối với các khoản chi ngoài định suất hoặc ngoài DRG (là T_BHTT tại Bảng 2, Bảng 3 đối với chi phí có MA_PTTT = '1' — Phí dịch vụ). VNCoreExtClaimCostSummary chưa có sub-extension chuyên biệt cho khoản này nên đánh dấu future.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tBhttGdvSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.tBhttGdv <i>\"tBhttGdv\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NAM_QT - Năm quyết toán FHIR path: VNCoreClaim.extension[paymentPeriod].extension[year]</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">namQtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.namQt <i>\"namQt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: THANG_QT - Tháng quyết toán FHIR path: VNCoreClaim.extension[paymentPeriod].extension[month]</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">thangQtSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.thangQt <i>\"thangQt\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_LOAI_KCB - Mã loại khám chữa bệnh FHIR path: VNCoreEncounter.type</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maLoaiKcbSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maLoaiKcb <i>\"maLoaiKcb\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_KHOA - Mã khoa FHIR path: VNCoreClaim.item.extension[department].valueCodeableConcept.coding.code | VNCoreEncounter.serviceType</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maKhoaSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maKhoa <i>\"maKhoa\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_CSKCB - Mã cơ sở khám chữa bệnh FHIR path: VNCoreEncounter.serviceProvider.resolve().identifier[CSKCB].value | VNCoreClaim.provider.resolve().identifier[CSKCB].value Mapping note: Actual visit/submission provider. Do not fall back to MA_DKBD on Coverage.</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_KHUVUC - Mã khu vực FHIR path: VNCoreCoverage | future BHYT living-area (K1/K2/K3) extension Mapping note: Mã nơi sinh sống của người bệnh ghi trên thẻ BHYT (danh mục mã cố định K1/K2/K3). VN Core chưa có extension mã khu vực sinh sống trên Coverage.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maKhuvucSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maKhuvuc <i>\"maKhuvuc\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: CAN_NANG - Cân nặng FHIR path: VNCoreObservationBodyWeight.valueQuantity.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">canNangSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.canNang <i>\"canNang\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: CAN_NANG_CON - Cân nặng con FHIR path: VNCoreObservationBodyWeight.valueQuantity.value | future newborn-birth-weight extension Mapping note: Cân nặng con mới sinh, đơn vị gram; subject là trẻ mới sinh (RelatedPerson/Patient liên kết), không phải người bệnh mẹ. Chỉ ghi khi sinh con; sinh từ 2 con trở lên ghi lần lượt, phân cách bằng dấu chấm phẩy ';'.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">canNangConSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.canNangCon <i>\"canNangCon\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NAM_NAM_LIEN_TUC - Thời điểm đủ 5 năm liên tục FHIR path: VNCoreCoverage | future five-year-continuous-participation date extension Mapping note: Thời điểm người bệnh tham gia BHYT đủ 05 năm liên tục, 8 ký tự yyyymmdd (mốc hưởng quyền lợi 5 năm liên tục). VN Core chưa có extension mốc 5 năm liên tục trên Coverage.</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">namNamLienTucSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.namNamLienTuc <i>\"namNamLienTuc\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_TAI_KHAM - Ngày tái khám FHIR path: VNCoreServiceRequest.occurrenceDateTime | Appointment.start</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayTaiKhamSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.ngayTaiKham <i>\"ngayTaiKham\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_HSBA - Mã hồ sơ bệnh án FHIR path: VNCoreComposition.identifier.value | VNCoreDocumentReference.identifier.value</span>#xD;\n sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maHsbaSource</span><span style=\"color: navy\"><b> -> </b></span>targetRow.maHsba <i>\"maHsba\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_TTDV - Mã thủ trưởng đơn vị/người ký FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCoreDocumentReference.author.resolve().identifier.value | VNCoreProvenance.signature.who.resolve().identifier.value</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 (tái sử dụng: ghi chiều cao người bệnh, đơn vị cm) FHIR path: VNCoreObservationBodyHeight.valueQuantity.value Mapping note: Theo bản sửa đổi, bổ sung QĐ 4750/QĐ-BYT: trường dự phòng Bảng 1 dùng để ghi chiều cao người bệnh (đơn vị cm), bắt buộc trong trường hợp sử dụng chỉ số này để chẩn đoán, điều trị. Riêng Bảng 1 khác các bảng khác (DU_PHONG thường dùng cho dữ liệu chữ ký số theo QĐ 3176/QĐ-BYT).</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:StructureMap.url [ fhir:value "http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml1-summary"] ; 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.1" ] ] ; fhir:StructureMap.version [ fhir:value "0.8.0"] ; fhir:StructureMap.name [ fhir:value "BHYTXML1SummaryLMStructureMap"] ; fhir:StructureMap.title [ fhir:value "Bảng 1 tổng hợp KCB BHYT — 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 1 tổng hợp KCB BHYT — Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML1SummaryLM.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-XML12 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/bhytXml1SummaryLm" ; fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml1SummaryLm> ] ; fhir:StructureMap.structure.mode [ fhir:value "target" ] ; fhir:StructureMap.structure.alias [ fhir:value "BHYTXML1SummaryLM" ] ; fhir:StructureMap.structure.documentation [ fhir:value "Bảng 1 tổng hợp KCB BHYT — Logical Model" ] ] ; fhir:StructureMap.group [ fhir:index -1 ; fhir:StructureMap.group.name [ fhir:value "MapBHYTXML1SummaryLM" ] ; fhir:StructureMap.group.typeMode [ fhir:value "none" ] ; fhir:StructureMap.group.documentation [ fhir:value "Full QD 3176 XML1 field catalog. StructureMap/export rules must preserve source field names and financial semantics. 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 "BHYTXML1SummaryLM" ] ; fhir:StructureMap.group.input.mode [ fhir:value "target" ] ; fhir:StructureMap.group.input.documentation [ fhir:value "Bảng 1 tổng hợp KCB BHYT — 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ơ FHIR path: VNCoreClaim.identifier[MALK].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "stt" ] ; 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 "sttSource" ] ] ; 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 "stt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: STT - Số thứ tự FHIR path: Derived export row order" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maBn" ] ; 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 "maBnSource" ] ] ; 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 "maBn" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_BN - Mã người bệnh tại cơ sở FHIR path: VNCorePatient.identifier[MRN].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ọ tên người bệnh FHIR path: VNCorePatient.name.text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "soCccd" ] ; 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 "soCccdSource" ] ] ; 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 "soCccd" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: SO_CCCD - Số CCCD/số định danh cá nhân/hộ chiếu/giấy khai sinh của người bệnh FHIR path: VNCorePatient.identifier[CCCD].value | VNCorePatient.identifier[HC].value | VNCorePatient.identifier[GKS].value Mapping note: Ghi số CCCD/số định danh cá nhân trên thẻ căn cước hoặc giấy khai sinh; người nước ngoài ghi số hộ chiếu (identifier[HC]); trẻ sơ sinh dùng số trên giấy khai sinh (identifier[GKS]); để trống trong trường hợp bất khả kháng (trẻ sơ sinh, người mất ý thức/tâm thần không lấy được số định danh). Đổi kiểu chuỗi và kích thước n theo QĐ 4750/QĐ-BYT." ] ], [ 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 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 FHIR path: VNCorePatient.gender" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "nhomMau" ] ; 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 "nhomMauSource" ] ] ; 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 "nhomMau" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NHOM_MAU - Nhóm máu FHIR path: future blood-group Observation (LOINC 883-9 ABO group; 10331-7 Rh) Mapping note: Nhóm máu của người bệnh, tối đa 5 ký tự, chỉ ghi khi có thông tin (bổ sung theo QĐ 4750/QĐ-BYT). VN Core chưa có profile Observation nhóm máu chuyên biệt nên đánh dấu future." ] ], [ 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 FHIR path: VNCorePatient.extension[nationality].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 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 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ỉ FHIR path: VNCorePatient.address.text" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maTinhCuTru" ] ; 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 "maTinhCuTruSource" ] ] ; 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 "maTinhCuTru" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MATINH_CU_TRU - Mã tỉnh cư trú FHIR path: VNCorePatient.address.extension[province].valueCodeableConcept.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maHuyenCuTru" ] ; 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 "maHuyenCuTruSource" ] ] ; 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 "maHuyenCuTru" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MAHUYEN_CU_TRU - Mã huyện cư trú legacy FHIR path: VNCorePatient.address.district" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maXaCuTru" ] ; 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 "maXaCuTruSource" ] ] ; 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 "maXaCuTru" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MAXA_CU_TRU - Mã xã cư trú FHIR path: VNCorePatient.address.extension[ward].valueCodeableConcept.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "dienThoai" ] ; 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 "dienThoaiSource" ] ] ; 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 "dienThoai" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: DIEN_THOAI - Số điện thoại FHIR path: VNCorePatient.telecom.where(system='phone').value" ] ], [ 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 FHIR path: VNCoreCoverage.identifier[BHYT].value | VNCorePatient.identifier[BHYT].value Mapping note: OHP/QD3176 export validator permits up to 2 BHYT card values; map repeated cards to focal/supplemental Coverage entries." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maDkbd" ] ; 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 "maDkbdSource" ] ] ; 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 "maDkbd" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_DKBD - Mã nơi đăng ký KCB ban đầu FHIR path: VNCoreCoverage.extension[primaryCareFacility].valueReference.identifier.value Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards; this remains the registered primary care facility, not MA_CSKCB." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "gtTheTu" ] ; 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 "gtTheTuSource" ] ] ; 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 "gtTheTu" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: GT_THE_TU - Giá trị thẻ từ ngày FHIR path: VNCoreCoverage.period.start Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards." ] ], [ 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 FHIR path: VNCoreCoverage.period.end Mapping note: OHP/QD3176 export validator permits up to 2 values aligned with multiple BHYT cards." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayMienCct" ] ; 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 "ngayMienCctSource" ] ] ; 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 "ngayMienCct" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_MIEN_CCT - Ngày miễn cùng chi trả FHIR path: VNCoreCoverage | future copay-exemption-start-date extension Mapping note: Thời điểm người bệnh đủ điều kiện hưởng chế độ miễn cùng chi trả: 8 ký tự yyyymmdd nếu đã cấp giấy miễn cùng chi trả, 12 ký tự yyyymmddHHMM nếu chưa cấp giấy; để trống nếu không đủ cơ sở xác định. Liên quan trần cùng chi trả lũy kế theo NĐ 188/2025/NĐ-CP; VN Core chưa có extension ngày miễn cùng chi trả trên Coverage." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "lyDoVv" ] ; 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 "lyDoVvSource" ] ] ; 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 "lyDoVv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: LY_DO_VV - Lý do vào viện FHIR path: VNCoreEncounter.reasonCode | VNCoreEncounter.reasonReference.resolve().code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "lyDoVnt" ] ; 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 "lyDoVntSource" ] ] ; 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 "lyDoVnt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: LY_DO_VNT - Lý do vào nội trú FHIR path: VNCoreEncounter.hospitalization.admitSource | VNCoreEncounter.reasonCode Mapping note: Conditionally required for selected inpatient/day-treatment MA_LOAI_KCB values." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maLyDoVnt" ] ; 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 "maLyDoVntSource" ] ] ; 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 "maLyDoVnt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_LY_DO_VNT - Mã lý do vào nội trú FHIR path: VNCoreEncounter.hospitalization.admitSource.coding.code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "chanDoanVao" ] ; 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 "chanDoanVaoSource" ] ] ; 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 "chanDoanVao" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: CHAN_DOAN_VAO - Chẩn đoán vào viện FHIR path: VNCoreEncounter.reasonCode | VNCoreComposition.section[chiefComplaint].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 FHIR path: VNCoreCondition.code.text | VNCoreComposition.section[diagnosis].text" ] ], [ 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 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 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 FHIR path: VNCoreClaim.diagnosis.diagnosisCodeableConcept.coding[yhct].code | VNCoreCondition.code.coding[yhct].code" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maPtttQt" ] ; 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 "maPtttQtSource" ] ] ; 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 "maPtttQt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_PTTT_QT - Mã phẫu thuật, thủ thuật quốc tế ICD-9-CM FHIR path: VNCoreProcedure.code.coding.code Mapping note: Mã ICD-9-CM (VNICD9CMCS; QĐ 4440/QĐ-BYT, nay thay bằng QĐ 387/QĐ-BYT). Nhiều PT/TT thì các mã phân cách bằng ';'; chỉ ghi khi người bệnh có thực hiện phẫu thuật, thủ thuật. KHÔNG nhầm với MA_PTTT (mã phương thức thanh toán, Bảng 2/3 STT 36/40)." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maDoituongKcb" ] ; 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 "maDoituongKcbSource" ] ] ; 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 "maDoituongKcb" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_DOITUONG_KCB - Mã đối tượng đến KCB FHIR path: VNCoreClaim.subType Mapping note: Do not map to Coverage.extension[bhytCardType]; this is visit classification, not the insured/card group." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maNoiDi" ] ; 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 "maNoiDiSource" ] ] ; 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 "maNoiDi" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_NOI_DI - Mã nơi đi FHIR path: VNCoreEncounter.hospitalization.origin.resolve().identifier[CSKCB].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maNoiDen" ] ; 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 "maNoiDenSource" ] ] ; 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 "maNoiDen" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_NOI_DEN - Mã nơi đến FHIR path: VNCoreEncounter.hospitalization.destination.resolve().identifier[CSKCB].value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maTaiNan" ] ; 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 "maTaiNanSource" ] ] ; 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 "maTaiNan" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_TAI_NAN - Mã tai nạn FHIR path: VNCoreClaim.accident.type" ] ], [ 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 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ú 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 FHIR path: VNCoreEncounter.period.end | VNCoreClaim.created" ] ], [ 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 FHIR path: VNCoreServiceRequest.identifier.value | VNCoreDocumentReference.identifier.value Mapping note: Số giấy chuyển tuyến/chuyển cơ sở KBCB nơi chuyển người bệnh đi hoặc số giấy hẹn khám lại (nếu có). Ghi theo trường GIAY_CHUYEN_TUYEN Bảng 13 (BHYTXML13ReferralLM) — liên kết phiếu chuyển tuyến ServiceRequest." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "soNgayDtri" ] ; 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 "soNgayDtriSource" ] ] ; 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 "soNgayDtri" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: SO_NGAY_DTRI - Số ngày điều trị FHIR path: Derived from VNCoreEncounter.period.start/end | VNCoreEncounter.length.value" ] ], [ 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_DIEU_TRI - Phương pháp điều trị (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc kết hợp) FHIR path: VNCoreProcedure.category | future treatment-method (PP_DIEU_TRI) extension Mapping note: Ghi phương pháp điều trị theo TT 18/2022/TT-BYT (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc xạ trị + nội khoa). VN Core chưa có slice/extension chuyên biệt ở cấp đợt điều trị nên đánh dấu future." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ketQuaDtri" ] ; 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 "ketQuaDtriSource" ] ] ; 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 "ketQuaDtri" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: KET_QUA_DTRI - Kết quả điều trị FHIR path: VNCoreEncounter.extension[treatmentOutcome].valueCodeableConcept" ] ], [ 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 FHIR path: VNCoreEncounter.hospitalization.dischargeDisposition" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ghiChu" ] ; 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 "ghiChuSource" ] ] ; 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 "ghiChu" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: GHI_CHU - Lời dặn của bác sĩ/nhân viên y tế sau khi kết thúc KBCB FHIR path: VNCoreComposition.section[dischargeSummary].text Mapping note: Lời dặn của bác sĩ hoặc nhân viên y tế đối với người bệnh sau khi kết thúc lần KBCB; ghi vào phần tóm tắt ra viện/hướng điều trị tiếp của bệnh án điện tử (TT 13/2025/TT-BYT)." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayTtoan" ] ; 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 "ngayTtoanSource" ] ] ; 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 "ngayTtoan" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_TTOAN - Ngày thanh toán FHIR path: VNCoreExplanationOfBenefit.created | VNCoreClaimResponse.created" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tThuoc" ] ; 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 "tThuocSource" ] ] ; 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 "tThuoc" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_THUOC - Tổng tiền thuốc FHIR path: VNCoreClaim.extension[costSummary].extension[totalMedication].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalMedication].valueMoney.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tVtyt" ] ; 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 "tVtytSource" ] ] ; 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 "tVtyt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_VTYT - Tổng tiền vật tư y tế FHIR path: VNCoreClaim.extension[costSummary].extension[totalSupplies].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalSupplies].valueMoney.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tTongchiBv" ] ; 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 "tTongchiBvSource" ] ] ; 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 "tTongchiBv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_TONGCHI_BV - Tổng chi phí bệnh viện FHIR path: VNCoreClaim.total.value | VNCoreExplanationOfBenefit.total.amount" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tTongchiBh" ] ; 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 "tTongchiBhSource" ] ] ; 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 "tTongchiBh" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_TONGCHI_BH - Tổng chi phí thuộc phạm vi BHYT FHIR path: VNCoreExplanationOfBenefit.total.where(category='eligible').amount.value | VNCoreClaimResponse.total.where(category='eligible').amount.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tBntt" ] ; 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 "tBnttSource" ] ] ; 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 "tBntt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_BNTT - Người bệnh tự trả FHIR path: VNCoreClaim.extension[costSummary].extension[totalPatientSelfPay].valueMoney.value | Derived from VNCoreClaimResponse.total.where(category='submitted').amount - .where(category='eligible').amount" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tBncct" ] ; 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 "tBncctSource" ] ] ; 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 "tBncct" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_BNCCT - Người bệnh cùng chi trả FHIR path: VNCoreClaim.extension[costSummary].extension[totalPatientCopay].valueMoney.value | VNCoreClaimResponse.total.where(category='copay').amount.value | VNCoreExplanationOfBenefit.total.where(category='copay').amount.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tBhtt" ] ; 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 "tBhttSource" ] ] ; 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 "tBhtt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_BHTT - Quỹ BHYT thanh toán FHIR path: VNCoreClaim.extension[costSummary].extension[totalInsurance].valueMoney.value | VNCoreClaimResponse.total.where(category='benefit').amount.value | VNCoreExplanationOfBenefit.total.where(category='benefit').amount.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tNguonkhac" ] ; 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 "tNguonkhacSource" ] ] ; 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 "tNguonkhac" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_NGUONKHAC - Nguồn khác FHIR path: VNCoreClaim.extension[costSummary].extension[totalOtherFund].valueMoney.value | VNCoreExplanationOfBenefit.extension[costSummary].extension[totalOtherFund].valueMoney.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "tBhttGdv" ] ; 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 "tBhttGdvSource" ] ] ; 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 "tBhttGdv" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: T_BHTT_GDV - BHYT thanh toán giám định viên FHIR path: VNCoreClaim.extension[costSummary] | future totalInsuranceFeeForService sub-extension Mapping note: Số tiền quỹ BHYT thanh toán đối với các khoản chi ngoài định suất hoặc ngoài DRG (là T_BHTT tại Bảng 2, Bảng 3 đối với chi phí có MA_PTTT = '1' — Phí dịch vụ). VNCoreExtClaimCostSummary chưa có sub-extension chuyên biệt cho khoản này nên đánh dấu future." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "namQt" ] ; 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 "namQtSource" ] ] ; 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 "namQt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NAM_QT - Năm quyết toán FHIR path: VNCoreClaim.extension[paymentPeriod].extension[year]" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "thangQt" ] ; 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 "thangQtSource" ] ] ; 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 "thangQt" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: THANG_QT - Tháng quyết toán FHIR path: VNCoreClaim.extension[paymentPeriod].extension[month]" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maLoaiKcb" ] ; 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 "maLoaiKcbSource" ] ] ; 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 "maLoaiKcb" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_LOAI_KCB - Mã loại khám chữa bệnh FHIR path: VNCoreEncounter.type" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maKhoa" ] ; 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 "maKhoaSource" ] ] ; 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 "maKhoa" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_KHOA - Mã khoa FHIR path: VNCoreClaim.item.extension[department].valueCodeableConcept.coding.code | VNCoreEncounter.serviceType" ] ], [ 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ở khám chữa bệnh FHIR path: VNCoreEncounter.serviceProvider.resolve().identifier[CSKCB].value | VNCoreClaim.provider.resolve().identifier[CSKCB].value Mapping note: Actual visit/submission provider. Do not fall back to MA_DKBD on Coverage." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maKhuvuc" ] ; 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 "maKhuvucSource" ] ] ; 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 "maKhuvuc" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_KHUVUC - Mã khu vực FHIR path: VNCoreCoverage | future BHYT living-area (K1/K2/K3) extension Mapping note: Mã nơi sinh sống của người bệnh ghi trên thẻ BHYT (danh mục mã cố định K1/K2/K3). VN Core chưa có extension mã khu vực sinh sống trên Coverage." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "canNang" ] ; 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 "canNangSource" ] ] ; 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 "canNang" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: CAN_NANG - Cân nặng FHIR path: VNCoreObservationBodyWeight.valueQuantity.value" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "canNangCon" ] ; 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 "canNangConSource" ] ] ; 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 "canNangCon" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: CAN_NANG_CON - Cân nặng con FHIR path: VNCoreObservationBodyWeight.valueQuantity.value | future newborn-birth-weight extension Mapping note: Cân nặng con mới sinh, đơn vị gram; subject là trẻ mới sinh (RelatedPerson/Patient liên kết), không phải người bệnh mẹ. Chỉ ghi khi sinh con; sinh từ 2 con trở lên ghi lần lượt, phân cách bằng dấu chấm phẩy ';'." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "namNamLienTuc" ] ; 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 "namNamLienTucSource" ] ] ; 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 "namNamLienTuc" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NAM_NAM_LIEN_TUC - Thời điểm đủ 5 năm liên tục FHIR path: VNCoreCoverage | future five-year-continuous-participation date extension Mapping note: Thời điểm người bệnh tham gia BHYT đủ 05 năm liên tục, 8 ký tự yyyymmdd (mốc hưởng quyền lợi 5 năm liên tục). VN Core chưa có extension mốc 5 năm liên tục trên Coverage." ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "ngayTaiKham" ] ; 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 "ngayTaiKhamSource" ] ] ; 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 "ngayTaiKham" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_TAI_KHAM - Ngày tái khám FHIR path: VNCoreServiceRequest.occurrenceDateTime | Appointment.start" ] ], [ fhir:index -1 ; fhir:StructureMap.group.rule.name [ fhir:value "maHsba" ] ; 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 "maHsbaSource" ] ] ; 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 "maHsba" ] ] ; fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_HSBA - Mã hồ sơ bệnh án FHIR path: VNCoreComposition.identifier.value | VNCoreDocumentReference.identifier.value" ] ], [ 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ã thủ trưởng đơn vị/người ký FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCoreDocumentReference.author.resolve().identifier.value | VNCoreProvenance.signature.who.resolve().identifier.value" ] ], [ 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 (tái sử dụng: ghi chiều cao người bệnh, đơn vị cm) FHIR path: VNCoreObservationBodyHeight.valueQuantity.value Mapping note: Theo bản sửa đổi, bổ sung QĐ 4750/QĐ-BYT: trường dự phòng Bảng 1 dùng để ghi chiều cao người bệnh (đơn vị cm), bắt buộc trong trường hợp sử dụng chỉ số này để chẩn đoán, điều trị. Riêng Bảng 1 khác các bảng khác (DU_PHONG thường dùng cho dữ liệu chữ ký số theo QĐ 3176/QĐ-BYT)." ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureMap/vn-sm-bhyt-xml1-summary.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/StructureMap/vn-sm-bhyt-xml1-summary.ttl> .
IG © 2026+ Omi HealthTech / VN Core FHIR Community Initiative.
Package hl7.fhir.vn.core#0.8.0 based on FHIR 4.0.1.
Sinh ngày
2026-07-17
Liên kết: Mục lục |
Guide Map |
Báo cáo QA