HL7 Vietnam VN Core FHIR Implementation Guide

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam
0.5.0 - Draft for Community Review Viet Nam cờ

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam - Draft for Community Review (v0.5.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Bảng 3 DVKT và vật tư BHYT — Logical Model — StructureMap

Draft tại thời điểm 2026-04-28

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

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "vn-sm-bhyt-xml3-service"] ; # 
  fhir:language [ fhir:v "vi"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap vn-sm-bhyt-xml3-service</b></p><a name=\"vn-sm-bhyt-xml3-service\"> </a><a name=\"hcvn-sm-bhyt-xml3-service\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml3-service<span style=\"color: navy\">\" = \"</span>BHYTXML3ServiceLMStructureMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Generated StructureMap scaffold for Bảng 3 DVKT và vật tư BHYT — Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML3ServiceLM.fsh` and remain aligned with the Python BHYT round-trip export adapter.</span>#xD;\n#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> <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-bhytXml3ServiceLm.html\" title=\"Bảng 3 DVKT và vật tư BHYT — Logical Model\">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml3ServiceLm</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTXML3ServiceLM <b>as </b><b>target</b> <span style=\"color: navy\">// </span><span style=\"color: green\">Bảng 3 DVKT và vật tư BHYT — Logical Model</span>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Full QD 3176 XML3 field catalog. Rows are derived from non-medication service, supply, device, procedure, and bed-day claim items. 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>MapBHYTXML3ServiceLM<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>BHYTXML3ServiceLM<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maLkSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maLk <i>\"maLk\"</i><span style=\"color: navy\">;</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<b> as </b><span style=\"color: maroon\">sttSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.stt <i>\"stt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: STT - Số thứ tự dòng FHIR path: VNCoreClaim.item.where(category!='8').sequence</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maDichVuSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maDichVu <i>\"maDichVu\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_DICH_VU - Mã dịch vụ kỹ thuật FHIR path: VNCoreClaim.item.where(category!='8').productOrService.coding.code | VNCoreServiceRequest.code.coding.code Mapping note: Conditionally required when MA_VAT_TU is absent or MA_NHOM is not 10.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maPtttQtSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maPtttQt <i>\"maPtttQt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_PTTT_QT - Mã phương thức thanh toán FHIR path: VNCoreClaim.extension[paymentMethod].valueCodeableConcept.coding.code | VNCoreClaim.item.extension[paymentMethod].valueCodeableConcept.coding.code</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maVatTuSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maVatTu <i>\"maVatTu\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_VAT_TU - Mã vật tư y tế FHIR path: VNCoreDevice.identifier[medicalDeviceItemCode].value | VNCoreClaim.item.where(category!='8').productOrService.coding.code Mapping note: Conditionally required when MA_DICH_VU is absent or MA_NHOM=10; do not collapse medical supplies into service codes when Device is available.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maNhomSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maNhom <i>\"maNhom\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_NHOM - Mã nhóm chi phí theo QĐ 3176 FHIR path: ConceptMap/vn-cm-qd3176-cost-group-to-q697-cost-category -&gt; VNCoreClaim.item.where(category!='8').category.coding.code Mapping note: Source code system is QD 3176 MA_NHOM. Export/import must bridge through the ConceptMap instead of assigning the QD 697 target code directly.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tenVatTuSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tenVatTu <i>\"tenVatTu\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TEN_VAT_TU - Tên vật tư y tế FHIR path: VNCoreDevice.deviceName.name | VNCoreClaim.item.where(category!='8').productOrService.text | display</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tenDichVuSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tenDichVu <i>\"tenDichVu\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TEN_DICH_VU - Tên dịch vụ kỹ thuật FHIR path: VNCoreClaim.item.where(category!='8').productOrService.text | VNCoreServiceRequest.code.text | display</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">donViTinhSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.donViTinh <i>\"donViTinh\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DON_VI_TINH - Đơn vị tính FHIR path: VNCoreClaim.item.where(category!='8').quantity.unit</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">phamViSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.phamVi <i>\"phamVi\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: PHAM_VI - Phạm vi thanh toán FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[scope].valueCodeableConcept</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">soLuongSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.soLuong <i>\"soLuong\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_LUONG - Số lượng FHIR path: VNCoreClaim.item.where(category!='8').quantity.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">donGiaBvSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.donGiaBv <i>\"donGiaBv\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DON_GIA_BV - Đơn giá bệnh viện FHIR path: VNCoreClaim.item.where(category!='8').unitPrice.value | VNCoreClaim.item.extension[hospitalUnitPrice].valueMoney.value Mapping note: Hospital charge price; keep separate from the BHYT price to avoid financial round-trip loss.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">donGiaBhSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.donGiaBh <i>\"donGiaBh\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DON_GIA_BH - Đơn giá BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[insuranceUnitPrice].valueMoney.value Mapping note: BHYT-covered unit price; do not collapse into Claim.item.unitPrice when hospital and insurance prices differ.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tyleTtDvSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tyleTtDv <i>\"tyleTtDv\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TYLE_TT_DV - Tỷ lệ thanh toán dịch vụ FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[servicePaymentRatio].valueDecimal</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tyleTtBhSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tyleTtBh <i>\"tyleTtBh\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TYLE_TT_BH - Tỷ lệ thanh toán BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[paymentRatio].valueDecimal</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">thanhTienBvSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.thanhTienBv <i>\"thanhTienBv\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: THANH_TIEN_BV - Thành tiền bệnh viện FHIR path: VNCoreClaim.item.where(category!='8').net.value | VNCoreClaim.item.extension[hospitalLineAmount].valueMoney.value Mapping note: Hospital line amount; keep separate from BHYT line amount.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">thanhTienBhSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.thanhTienBh <i>\"thanhTienBh\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: THANH_TIEN_BH - Thành tiền BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[insuranceLineAmount].valueMoney.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">mucHuongSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.mucHuong <i>\"mucHuong\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MUC_HUONG - Mức hưởng FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[benefitLevel].valueDecimal</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tBnttSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tBntt <i>\"tBntt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BNTT - Người bệnh tự trả FHIR path: Derived from VNCoreClaimResponse.item[serviceLine].adjudication.where(category='submitted').amount - .where(category='eligible').amount | Derived from VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='submitted').amount - .where(category='eligible').amount</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tBncctSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tBncct <i>\"tBncct\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BNCCT - Người bệnh cùng chi trả FHIR path: VNCoreClaimResponse.item[serviceLine].adjudication.where(category='copay').amount.value | VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='copay').amount.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">tBhttSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tBhtt <i>\"tBhtt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: T_BHTT - Quỹ BHYT thanh toán FHIR path: VNCoreClaimResponse.item[serviceLine].adjudication.where(category='benefit').amount.value | VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='benefit').amount.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maKhoaSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maKhoa <i>\"maKhoa\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_KHOA - Mã khoa FHIR path: VNCoreClaim.item.where(category!='8').extension[department].valueCodeableConcept.coding.code</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maGiuongSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maGiuong <i>\"maGiuong\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_GIUONG - Mã giường FHIR path: VNCoreEncounter.location.location.resolve().identifier.value Mapping note: Conditionally required for bed-day MA_NHOM values 14, 15, 16.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maBacSiSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maBacSi <i>\"maBacSi\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BAC_SI - Mã bác sĩ FHIR path: VNCoreServiceRequest.requester.resolve().identifier.value | VNCoreProcedure.performer.actor.resolve().identifier.value | VNCorePractitioner.identifier.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">nguoiThucHienSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.nguoiThucHien <i>\"nguoiThucHien\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGUOI_THUC_HIEN - Người thực hiện FHIR path: VNCoreProcedure.performer.actor.resolve().identifier.value | VNCorePractitioner.identifier.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maBenhSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maBenh <i>\"maBenh\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BENH - Mã bệnh liên quan FHIR path: VNCoreCondition.code | VNCoreClaim.diagnosis.diagnosisCodeableConcept</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maBenhYhctSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maBenhYhct <i>\"maBenhYhct\"</i><span style=\"color: navy\">;</span> <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<b> as </b><span style=\"color: maroon\">ngayYlSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngayYl <i>\"ngayYl\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_YL - Ngày y lệnh FHIR path: VNCoreServiceRequest.authoredOn | VNCoreProcedure.basedOn.resolve().authoredOn</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">ngayThYlSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngayThYl <i>\"ngayThYl\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_TH_YL - Ngày thực hiện y lệnh FHIR path: VNCoreProcedure.performedDateTime | VNCoreServiceRequest.occurrenceDateTime</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">ngayKqSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngayKq <i>\"ngayKq\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_KQ - Ngày kết quả FHIR path: VNCoreDiagnosticReport.issued | VNCoreObservationLab.effectiveDateTime Mapping note: Conditionally required except for bed-day MA_NHOM values 14, 15, 16.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maPtttSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maPttt <i>\"maPttt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_PTTT - Mã phẫu thuật/thủ thuật FHIR path: VNCoreClaim.procedure.procedureCodeableConcept | VNCoreProcedure.code</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">vetThuongTpSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.vetThuongTp <i>\"vetThuongTp\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: VET_THUONG_TP - Vết thương tái phát FHIR path: VNCoreClaim.item[serviceLine].extension[recurrentWoundBenefit].valueBoolean | VNCoreExplanationOfBenefit.item[serviceLine].extension[recurrentWoundBenefit].valueBoolean Mapping note: Exporter emits literal `1` only when the line-level recurrentWoundBenefit flag is true; this is not a diagnosis recurrence code.</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">viTriThDvktSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.viTriThDvkt <i>\"viTriThDvkt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: VI_TRI_TH_DVKT - Vị trí thực hiện DVKT FHIR path: VNCoreProcedure.bodySite | VNCoreServiceRequest.bodySite</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maMaySource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maMay <i>\"maMay\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_MAY - Mã máy FHIR path: VNCoreDevice.identifier.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maHieuSpSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maHieuSp <i>\"maHieuSp\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_HIEU_SP - Mã hiệu sản phẩm FHIR path: VNCoreDevice.deviceName.name | VNCoreDevice.modelNumber</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">taiSuDungSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.taiSuDung <i>\"taiSuDung\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TAI_SU_DUNG - Tái sử dụng FHIR path: VNCoreDeviceUseStatement.note | future reusable-device extension</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml3-service"^^xsd:anyURI ;
fhir:l <http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml3-service>
  ] ; # 
  fhir:version [ fhir:v "0.5.0"] ; # 
  fhir:name [ fhir:v "BHYTXML3ServiceLMStructureMap"] ; # 
  fhir:title [ fhir:v "Bảng 3 DVKT và vật tư BHYT — Logical Model — StructureMap"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-04-28"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Omi HealthTech / VN Core FHIR Community Initiative" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://hl7.org.vn" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "[email protected]" ]     ] )
  ] [
fhir:name [ fhir:v "Omi HealthTech (OmiGroup)" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://omihealthtech.vn" ]     ] [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://omigroup.vn" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "[email protected]" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Generated StructureMap scaffold for Bảng 3 DVKT và vật tư BHYT — Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML3ServiceLM.fsh` and remain aligned with the Python BHYT round-trip export adapter."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
fhir:l <urn:iso:std:iso:3166>       ] ;
fhir:code [ fhir:v "VN" ] ;
fhir:display [ fhir:v "Viet Nam" ]     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "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:structure ( [
fhir:url [
fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle"^^xsd:anyURI ;
fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "BHYTSubmissionBundle" ] ;
fhir:documentation [ fhir:v "FHIR-native source bundle profile used by the repository round-trip adapter." ]
  ] [
fhir:url [
fhir:v "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml3ServiceLm"^^xsd:anyURI ;
fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml3ServiceLm>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "BHYTXML3ServiceLM" ] ;
fhir:documentation [ fhir:v "Bảng 3 DVKT và vật tư BHYT — Logical Model" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "MapBHYTXML3ServiceLM" ] ;
fhir:typeMode [ fhir:v "none" ] ;
fhir:documentation [ fhir:v "Full QD 3176 XML3 field catalog. Rows are derived from non-medication service, supply, device, procedure, and bed-day claim items. 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:input [
fhir:name [ fhir:v "sourceBundle" ] ;
fhir:type [ fhir:v "BHYTSubmissionBundle" ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:documentation [ fhir:v "VN Core BHYT submission bundle." ]     ] [
fhir:name [ fhir:v "targetRow" ] ;
fhir:type [ fhir:v "BHYTXML3ServiceLM" ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:documentation [ fhir:v "Bảng 3 DVKT và vật tư BHYT — Logical Model" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "maLk" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maLkSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maLk" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_LK - Mã liên kết hồ sơ FHIR path: VNCoreClaim.identifier[MALK].value" ]     ] [
fhir:name [ fhir:v "stt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "sttSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "stt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: STT - Số thứ tự dòng FHIR path: VNCoreClaim.item.where(category!='8').sequence" ]     ] [
fhir:name [ fhir:v "maDichVu" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maDichVuSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maDichVu" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_DICH_VU - Mã dịch vụ kỹ thuật FHIR path: VNCoreClaim.item.where(category!='8').productOrService.coding.code | VNCoreServiceRequest.code.coding.code Mapping note: Conditionally required when MA_VAT_TU is absent or MA_NHOM is not 10." ]     ] [
fhir:name [ fhir:v "maPtttQt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maPtttQtSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maPtttQt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_PTTT_QT - Mã phương thức thanh toán FHIR path: VNCoreClaim.extension[paymentMethod].valueCodeableConcept.coding.code | VNCoreClaim.item.extension[paymentMethod].valueCodeableConcept.coding.code" ]     ] [
fhir:name [ fhir:v "maVatTu" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maVatTuSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maVatTu" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_VAT_TU - Mã vật tư y tế FHIR path: VNCoreDevice.identifier[medicalDeviceItemCode].value | VNCoreClaim.item.where(category!='8').productOrService.coding.code Mapping note: Conditionally required when MA_DICH_VU is absent or MA_NHOM=10; do not collapse medical supplies into service codes when Device is available." ]     ] [
fhir:name [ fhir:v "maNhom" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maNhomSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maNhom" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_NHOM - Mã nhóm chi phí theo QĐ 3176 FHIR path: ConceptMap/vn-cm-qd3176-cost-group-to-q697-cost-category -> VNCoreClaim.item.where(category!='8').category.coding.code Mapping note: Source code system is QD 3176 MA_NHOM. Export/import must bridge through the ConceptMap instead of assigning the QD 697 target code directly." ]     ] [
fhir:name [ fhir:v "tenVatTu" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tenVatTuSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tenVatTu" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TEN_VAT_TU - Tên vật tư y tế FHIR path: VNCoreDevice.deviceName.name | VNCoreClaim.item.where(category!='8').productOrService.text | display" ]     ] [
fhir:name [ fhir:v "tenDichVu" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tenDichVuSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tenDichVu" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TEN_DICH_VU - Tên dịch vụ kỹ thuật FHIR path: VNCoreClaim.item.where(category!='8').productOrService.text | VNCoreServiceRequest.code.text | display" ]     ] [
fhir:name [ fhir:v "donViTinh" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "donViTinhSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "donViTinh" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: DON_VI_TINH - Đơn vị tính FHIR path: VNCoreClaim.item.where(category!='8').quantity.unit" ]     ] [
fhir:name [ fhir:v "phamVi" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "phamViSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "phamVi" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: PHAM_VI - Phạm vi thanh toán FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[scope].valueCodeableConcept" ]     ] [
fhir:name [ fhir:v "soLuong" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "soLuongSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "soLuong" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: SO_LUONG - Số lượng FHIR path: VNCoreClaim.item.where(category!='8').quantity.value" ]     ] [
fhir:name [ fhir:v "donGiaBv" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "donGiaBvSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "donGiaBv" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: DON_GIA_BV - Đơn giá bệnh viện FHIR path: VNCoreClaim.item.where(category!='8').unitPrice.value | VNCoreClaim.item.extension[hospitalUnitPrice].valueMoney.value Mapping note: Hospital charge price; keep separate from the BHYT price to avoid financial round-trip loss." ]     ] [
fhir:name [ fhir:v "donGiaBh" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "donGiaBhSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "donGiaBh" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: DON_GIA_BH - Đơn giá BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[insuranceUnitPrice].valueMoney.value Mapping note: BHYT-covered unit price; do not collapse into Claim.item.unitPrice when hospital and insurance prices differ." ]     ] [
fhir:name [ fhir:v "tyleTtDv" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tyleTtDvSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tyleTtDv" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TYLE_TT_DV - Tỷ lệ thanh toán dịch vụ FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[servicePaymentRatio].valueDecimal" ]     ] [
fhir:name [ fhir:v "tyleTtBh" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tyleTtBhSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tyleTtBh" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TYLE_TT_BH - Tỷ lệ thanh toán BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[paymentRatio].valueDecimal" ]     ] [
fhir:name [ fhir:v "thanhTienBv" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "thanhTienBvSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "thanhTienBv" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: THANH_TIEN_BV - Thành tiền bệnh viện FHIR path: VNCoreClaim.item.where(category!='8').net.value | VNCoreClaim.item.extension[hospitalLineAmount].valueMoney.value Mapping note: Hospital line amount; keep separate from BHYT line amount." ]     ] [
fhir:name [ fhir:v "thanhTienBh" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "thanhTienBhSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "thanhTienBh" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: THANH_TIEN_BH - Thành tiền BHYT FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[insuranceLineAmount].valueMoney.value" ]     ] [
fhir:name [ fhir:v "mucHuong" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "mucHuongSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "mucHuong" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MUC_HUONG - Mức hưởng FHIR path: VNCoreClaim.item.where(category!='8').extension[insuranceCostInfo].extension[benefitLevel].valueDecimal" ]     ] [
fhir:name [ fhir:v "tBntt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tBnttSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tBntt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: T_BNTT - Người bệnh tự trả FHIR path: Derived from VNCoreClaimResponse.item[serviceLine].adjudication.where(category='submitted').amount - .where(category='eligible').amount | Derived from VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='submitted').amount - .where(category='eligible').amount" ]     ] [
fhir:name [ fhir:v "tBncct" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tBncctSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tBncct" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: T_BNCCT - Người bệnh cùng chi trả FHIR path: VNCoreClaimResponse.item[serviceLine].adjudication.where(category='copay').amount.value | VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='copay').amount.value" ]     ] [
fhir:name [ fhir:v "tBhtt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "tBhttSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tBhtt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: T_BHTT - Quỹ BHYT thanh toán FHIR path: VNCoreClaimResponse.item[serviceLine].adjudication.where(category='benefit').amount.value | VNCoreExplanationOfBenefit.item[serviceLine].adjudication.where(category='benefit').amount.value" ]     ] [
fhir:name [ fhir:v "maKhoa" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maKhoaSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maKhoa" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_KHOA - Mã khoa FHIR path: VNCoreClaim.item.where(category!='8').extension[department].valueCodeableConcept.coding.code" ]     ] [
fhir:name [ fhir:v "maGiuong" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maGiuongSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maGiuong" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_GIUONG - Mã giường FHIR path: VNCoreEncounter.location.location.resolve().identifier.value Mapping note: Conditionally required for bed-day MA_NHOM values 14, 15, 16." ]     ] [
fhir:name [ fhir:v "maBacSi" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maBacSiSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maBacSi" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_BAC_SI - Mã bác sĩ FHIR path: VNCoreServiceRequest.requester.resolve().identifier.value | VNCoreProcedure.performer.actor.resolve().identifier.value | VNCorePractitioner.identifier.value" ]     ] [
fhir:name [ fhir:v "nguoiThucHien" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "nguoiThucHienSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "nguoiThucHien" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: NGUOI_THUC_HIEN - Người thực hiện FHIR path: VNCoreProcedure.performer.actor.resolve().identifier.value | VNCorePractitioner.identifier.value" ]     ] [
fhir:name [ fhir:v "maBenh" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maBenhSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maBenh" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_BENH - Mã bệnh liên quan FHIR path: VNCoreCondition.code | VNCoreClaim.diagnosis.diagnosisCodeableConcept" ]     ] [
fhir:name [ fhir:v "maBenhYhct" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maBenhYhctSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maBenhYhct" ]       ] ) ;
fhir:documentation [ fhir:v "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:name [ fhir:v "ngayYl" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "ngayYlSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "ngayYl" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: NGAY_YL - Ngày y lệnh FHIR path: VNCoreServiceRequest.authoredOn | VNCoreProcedure.basedOn.resolve().authoredOn" ]     ] [
fhir:name [ fhir:v "ngayThYl" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "ngayThYlSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "ngayThYl" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: NGAY_TH_YL - Ngày thực hiện y lệnh FHIR path: VNCoreProcedure.performedDateTime | VNCoreServiceRequest.occurrenceDateTime" ]     ] [
fhir:name [ fhir:v "ngayKq" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "ngayKqSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "ngayKq" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: NGAY_KQ - Ngày kết quả FHIR path: VNCoreDiagnosticReport.issued | VNCoreObservationLab.effectiveDateTime Mapping note: Conditionally required except for bed-day MA_NHOM values 14, 15, 16." ]     ] [
fhir:name [ fhir:v "maPttt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maPtttSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maPttt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_PTTT - Mã phẫu thuật/thủ thuật FHIR path: VNCoreClaim.procedure.procedureCodeableConcept | VNCoreProcedure.code" ]     ] [
fhir:name [ fhir:v "vetThuongTp" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "vetThuongTpSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "vetThuongTp" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: VET_THUONG_TP - Vết thương tái phát FHIR path: VNCoreClaim.item[serviceLine].extension[recurrentWoundBenefit].valueBoolean | VNCoreExplanationOfBenefit.item[serviceLine].extension[recurrentWoundBenefit].valueBoolean Mapping note: Exporter emits literal `1` only when the line-level recurrentWoundBenefit flag is true; this is not a diagnosis recurrence code." ]     ] [
fhir:name [ fhir:v "viTriThDvkt" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "viTriThDvktSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "viTriThDvkt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: VI_TRI_TH_DVKT - Vị trí thực hiện DVKT FHIR path: VNCoreProcedure.bodySite | VNCoreServiceRequest.bodySite" ]     ] [
fhir:name [ fhir:v "maMay" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maMaySource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maMay" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_MAY - Mã máy FHIR path: VNCoreDevice.identifier.value" ]     ] [
fhir:name [ fhir:v "maHieuSp" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "maHieuSpSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maHieuSp" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_HIEU_SP - Mã hiệu sản phẩm FHIR path: VNCoreDevice.deviceName.name | VNCoreDevice.modelNumber" ]     ] [
fhir:name [ fhir:v "taiSuDung" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sourceBundle" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:element [ fhir:v "entry" ] ;
fhir:variable [ fhir:v "taiSuDungSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "taiSuDung" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TAI_SU_DUNG - Tái sử dụng FHIR path: VNCoreDeviceUseStatement.note | future reusable-device extension" ]     ] )
  ] ) . #