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 12 giám định y khoa — XML12 Medical Assessment Logical Model — StructureMap

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

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


<StructureMap xmlns="http://hl7.org/fhir">
  <id value="vn-sm-bhyt-xml12-medical-assessment"/>
  <language value="vi"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap vn-sm-bhyt-xml12-medical-assessment</b></p><a name="vn-sm-bhyt-xml12-medical-assessment"> </a><a name="hcvn-sm-bhyt-xml12-medical-assessment"> </a><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml12-medical-assessment<span style="color: navy">&quot; = &quot;</span>BHYTXML12MedicalAssessmentLMStructureMap<span style="color: navy">&quot;

</span><span style="color: navy">// </span><span style="color: green">Generated StructureMap scaffold for Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML12MedicalAssessmentLM.fsh` and remain aligned with the Python BHYT round-trip export adapter.</span>

<b>uses</b><span style="color: navy"> &quot;</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">&quot; </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>
<b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-bhytXml12MedicalAssessmentLm.html" title="Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml12MedicalAssessmentLm</a><span style="color: navy">&quot; </span><b>alias </b>BHYTXML12MedicalAssessmentLM <b>as </b><b>target</b> <span style="color: navy">// </span><span style="color: green">Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model</span>

<span style="color: navy">// </span><span style="color: green">Rows are derived from medical-assessment Composition/DocumentReference, Patient/Coverage identity data and structured assessment Observations. 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>
<b>group </b>MapBHYTXML12MedicalAssessmentLM<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>BHYTXML12MedicalAssessmentLM<span style="color: navy">)</span><span style="color: navy"> {
</span>  sourceBundle.entry<b> as </b><span style="color: maroon">nguoiChuTriSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.nguoiChuTri <i>&quot;nguoiChuTri&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGUOI_CHU_TRI - Người chủ trì FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">chucVuSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.chucVu <i>&quot;chucVu&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: CHUC_VU - Chức vụ FHIR path: VNCorePractitionerRole.code | VNCorePractitioner.qualification.code</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngayHopSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngayHop <i>&quot;ngayHop&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGAY_HOP - Ngày họp FHIR path: VNCoreComposition.event.period.start | VNCoreDocumentReference.context.period.start</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">hoTenSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.hoTen <i>&quot;hoTen&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: HO_TEN - Họ tên người được giám định FHIR path: VNCorePatient.name</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngaySinhSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngaySinh <i>&quot;ngaySinh&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGAY_SINH - Ngày sinh FHIR path: VNCorePatient.birthDate</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngayCapCccdSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngayCapCccd <i>&quot;ngayCapCccd&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGAY_CAP_CCCD - Ngày cấp CCCD FHIR path: VNCorePatient.identifier[CCCD].period.start</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">noiCapCccdSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.noiCapCccd <i>&quot;noiCapCccd&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NOI_CAP_CCCD - Nơi cấp CCCD FHIR path: VNCorePatient.identifier[CCCD].assigner.display</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">diaChiSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.diaChi <i>&quot;diaChi&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: DIA_CHI - Địa chỉ FHIR path: VNCorePatient.address.text</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">maTinhCuTruSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maTinhCuTru <i>&quot;maTinhCuTru&quot;</i><span style="color: navy">;</span> <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].valueCoding.code</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">maHuyenCuTruSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maHuyenCuTru <i>&quot;maHuyenCuTru&quot;</i><span style="color: navy">;</span> <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>
  sourceBundle.entry<b> as </b><span style="color: maroon">maXaCuTruSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maXaCuTru <i>&quot;maXaCuTru&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: MAXA_CU_TRU - Mã xã cư trú FHIR path: VNCorePatient.address.extension[ward].valueCoding.code</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">maBhxhSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maBhxh <i>&quot;maBhxh&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: MA_BHXH - Mã BHXH FHIR path: VNCorePatient.identifier[BHXH].value | VNCoreCoverage.subscriberId</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">maTheBhytSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maTheBhyt <i>&quot;maTheBhyt&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: MA_THE_BHYT - Mã thẻ BHYT FHIR path: VNCoreCoverage.identifier[BHYT].value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngheNghiepSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngheNghiep <i>&quot;ngheNghiep&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGHE_NGHIEP - Nghề nghiệp FHIR path: VNCorePatient.extension[occupation].valueCodeableConcept.coding.code</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">dienThoaiSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.dienThoai <i>&quot;dienThoai&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: DIEN_THOAI - Điện thoại FHIR path: VNCorePatient.telecom.where(system='phone').value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">soBienBanSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.soBienBan <i>&quot;soBienBan&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: SO_BIEN_BAN - Số biên bản FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">tyleTtctCuSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.tyleTtctCu <i>&quot;tyleTtctCu&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: TYLE_TTCT_CU - Tỷ lệ tổn thương cơ thể cũ FHIR path: VNCoreObservation.valueQuantity</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngayChungTuSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngayChungTu <i>&quot;ngayChungTu&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGAY_CHUNG_TU - Ngày chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">soGiayGioiThieuSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.soGiayGioiThieu <i>&quot;soGiayGioiThieu&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: SO_GIAY_GIOI_THIEU - Số giấy giới thiệu FHIR path: VNCoreDocumentReference.relatesTo.target.identifier.value | VNCoreDocumentReference.identifier.value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">ngayDeNghiSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.ngayDeNghi <i>&quot;ngayDeNghi&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: NGAY_DE_NGHI - Ngày đề nghị FHIR path: VNCoreServiceRequest.authoredOn | VNCoreDocumentReference.context.period.start</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">maDonviSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.maDonvi <i>&quot;maDonvi&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: MA_DONVI - Mã đơn vị FHIR path: VNCoreOrganization.identifier.value | VNCoreDocumentReference.custodian.resolve().identifier.value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">gioiThieuCuaSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.gioiThieuCua <i>&quot;gioiThieuCua&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: GIOI_THIEU_CUA - Giới thiệu của FHIR path: VNCoreDocumentReference.relatesTo.target.display | VNCoreServiceRequest.requester.display</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">soVanBanCanCuSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.soVanBanCanCu <i>&quot;soVanBanCanCu&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: SO_VAN_BAN_CAN_CU - Số văn bản căn cứ FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">tyleTtctMoiSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.tyleTtctMoi <i>&quot;tyleTtctMoi&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: TYLE_TTCT_MOI - Tỷ lệ tổn thương cơ thể mới FHIR path: VNCoreObservation.valueQuantity</span>
  sourceBundle.entry<b> as </b><span style="color: maroon">tongTyleTtctSource</span><span style="color: navy"><b> -&gt; </b></span>targetRow.tongTyleTtct <i>&quot;tongTyleTtct&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">Target field: TONG_TYLE_TTCT - Tổng tỷ lệ tổn thương cơ thể FHIR path: VNCoreObservation.valueQuantity</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <url
       value="http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml12-medical-assessment"/>
  <version value="0.5.0"/>
  <name value="BHYTXML12MedicalAssessmentLMStructureMap"/>
  <title
         value="Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model — StructureMap"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-04-28"/>
  <publisher value="Omi HealthTech / VN Core FHIR Community Initiative"/>
  <contact>
    <name value="Omi HealthTech / VN Core FHIR Community Initiative"/>
    <telecom>
      <system value="url"/>
      <value value="https://hl7.org.vn"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="[email protected]"/>
    </telecom>
  </contact>
  <contact>
    <name value="Omi HealthTech (OmiGroup)"/>
    <telecom>
      <system value="url"/>
      <value value="https://omihealthtech.vn"/>
    </telecom>
    <telecom>
      <system value="url"/>
      <value value="https://omigroup.vn"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="[email protected]"/>
    </telecom>
  </contact>
  <description
               value="Generated StructureMap scaffold for Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML12MedicalAssessmentLM.fsh` and remain aligned with the Python BHYT round-trip export adapter."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="VN"/>
      <display value="Viet Nam"/>
    </coding>
  </jurisdiction>
  <purpose
           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."/>
  <structure>
    <url
         value="http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle"/>
    <mode value="source"/>
    <alias value="BHYTSubmissionBundle"/>
    <documentation
                   value="FHIR-native source bundle profile used by the repository round-trip adapter."/>
  </structure>
  <structure>
    <url
         value="http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml12MedicalAssessmentLm"/>
    <mode value="target"/>
    <alias value="BHYTXML12MedicalAssessmentLM"/>
    <documentation
                   value="Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model"/>
  </structure>
  <group>
    <name value="MapBHYTXML12MedicalAssessmentLM"/>
    <typeMode value="none"/>
    <documentation
                   value="Rows are derived from medical-assessment Composition/DocumentReference, Patient/Coverage identity data and structured assessment Observations. 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`."/>
    <input>
      <name value="sourceBundle"/>
      <type value="BHYTSubmissionBundle"/>
      <mode value="source"/>
      <documentation value="VN Core BHYT submission bundle."/>
    </input>
    <input>
      <name value="targetRow"/>
      <type value="BHYTXML12MedicalAssessmentLM"/>
      <mode value="target"/>
      <documentation
                     value="Bảng 12 giám định y khoa — XML12 Medical Assessment Logical Model"/>
    </input>
    <rule>
      <name value="nguoiChuTri"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="nguoiChuTriSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="nguoiChuTri"/>
      </target>
      <documentation
                     value="Target field: NGUOI_CHU_TRI - Người chủ trì FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value"/>
    </rule>
    <rule>
      <name value="chucVu"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="chucVuSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="chucVu"/>
      </target>
      <documentation
                     value="Target field: CHUC_VU - Chức vụ FHIR path: VNCorePractitionerRole.code | VNCorePractitioner.qualification.code"/>
    </rule>
    <rule>
      <name value="ngayHop"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngayHopSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngayHop"/>
      </target>
      <documentation
                     value="Target field: NGAY_HOP - Ngày họp FHIR path: VNCoreComposition.event.period.start | VNCoreDocumentReference.context.period.start"/>
    </rule>
    <rule>
      <name value="hoTen"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="hoTenSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="hoTen"/>
      </target>
      <documentation
                     value="Target field: HO_TEN - Họ tên người được giám định FHIR path: VNCorePatient.name"/>
    </rule>
    <rule>
      <name value="ngaySinh"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngaySinhSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngaySinh"/>
      </target>
      <documentation
                     value="Target field: NGAY_SINH - Ngày sinh FHIR path: VNCorePatient.birthDate"/>
    </rule>
    <rule>
      <name value="ngayCapCccd"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngayCapCccdSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngayCapCccd"/>
      </target>
      <documentation
                     value="Target field: NGAY_CAP_CCCD - Ngày cấp CCCD FHIR path: VNCorePatient.identifier[CCCD].period.start"/>
    </rule>
    <rule>
      <name value="noiCapCccd"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="noiCapCccdSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="noiCapCccd"/>
      </target>
      <documentation
                     value="Target field: NOI_CAP_CCCD - Nơi cấp CCCD FHIR path: VNCorePatient.identifier[CCCD].assigner.display"/>
    </rule>
    <rule>
      <name value="diaChi"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="diaChiSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="diaChi"/>
      </target>
      <documentation
                     value="Target field: DIA_CHI - Địa chỉ FHIR path: VNCorePatient.address.text"/>
    </rule>
    <rule>
      <name value="maTinhCuTru"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maTinhCuTruSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maTinhCuTru"/>
      </target>
      <documentation
                     value="Target field: MATINH_CU_TRU - Mã tỉnh cư trú FHIR path: VNCorePatient.address.extension[province].valueCoding.code"/>
    </rule>
    <rule>
      <name value="maHuyenCuTru"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maHuyenCuTruSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maHuyenCuTru"/>
      </target>
      <documentation
                     value="Target field: MAHUYEN_CU_TRU - Mã huyện cư trú legacy FHIR path: VNCorePatient.address.district"/>
    </rule>
    <rule>
      <name value="maXaCuTru"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maXaCuTruSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maXaCuTru"/>
      </target>
      <documentation
                     value="Target field: MAXA_CU_TRU - Mã xã cư trú FHIR path: VNCorePatient.address.extension[ward].valueCoding.code"/>
    </rule>
    <rule>
      <name value="maBhxh"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maBhxhSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maBhxh"/>
      </target>
      <documentation
                     value="Target field: MA_BHXH - Mã BHXH FHIR path: VNCorePatient.identifier[BHXH].value | VNCoreCoverage.subscriberId"/>
    </rule>
    <rule>
      <name value="maTheBhyt"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maTheBhytSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maTheBhyt"/>
      </target>
      <documentation
                     value="Target field: MA_THE_BHYT - Mã thẻ BHYT FHIR path: VNCoreCoverage.identifier[BHYT].value"/>
    </rule>
    <rule>
      <name value="ngheNghiep"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngheNghiepSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngheNghiep"/>
      </target>
      <documentation
                     value="Target field: NGHE_NGHIEP - Nghề nghiệp FHIR path: VNCorePatient.extension[occupation].valueCodeableConcept.coding.code"/>
    </rule>
    <rule>
      <name value="dienThoai"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="dienThoaiSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="dienThoai"/>
      </target>
      <documentation
                     value="Target field: DIEN_THOAI - Điện thoại FHIR path: VNCorePatient.telecom.where(system='phone').value"/>
    </rule>
    <rule>
      <name value="soBienBan"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="soBienBanSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="soBienBan"/>
      </target>
      <documentation
                     value="Target field: SO_BIEN_BAN - Số biên bản FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value"/>
    </rule>
    <rule>
      <name value="tyleTtctCu"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="tyleTtctCuSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="tyleTtctCu"/>
      </target>
      <documentation
                     value="Target field: TYLE_TTCT_CU - Tỷ lệ tổn thương cơ thể cũ FHIR path: VNCoreObservation.valueQuantity"/>
    </rule>
    <rule>
      <name value="ngayChungTu"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngayChungTuSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngayChungTu"/>
      </target>
      <documentation
                     value="Target field: NGAY_CHUNG_TU - Ngày chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date"/>
    </rule>
    <rule>
      <name value="soGiayGioiThieu"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="soGiayGioiThieuSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="soGiayGioiThieu"/>
      </target>
      <documentation
                     value="Target field: SO_GIAY_GIOI_THIEU - Số giấy giới thiệu FHIR path: VNCoreDocumentReference.relatesTo.target.identifier.value | VNCoreDocumentReference.identifier.value"/>
    </rule>
    <rule>
      <name value="ngayDeNghi"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="ngayDeNghiSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="ngayDeNghi"/>
      </target>
      <documentation
                     value="Target field: NGAY_DE_NGHI - Ngày đề nghị FHIR path: VNCoreServiceRequest.authoredOn | VNCoreDocumentReference.context.period.start"/>
    </rule>
    <rule>
      <name value="maDonvi"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="maDonviSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="maDonvi"/>
      </target>
      <documentation
                     value="Target field: MA_DONVI - Mã đơn vị FHIR path: VNCoreOrganization.identifier.value | VNCoreDocumentReference.custodian.resolve().identifier.value"/>
    </rule>
    <rule>
      <name value="gioiThieuCua"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="gioiThieuCuaSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="gioiThieuCua"/>
      </target>
      <documentation
                     value="Target field: GIOI_THIEU_CUA - Giới thiệu của FHIR path: VNCoreDocumentReference.relatesTo.target.display | VNCoreServiceRequest.requester.display"/>
    </rule>
    <rule>
      <name value="soVanBanCanCu"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="soVanBanCanCuSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="soVanBanCanCu"/>
      </target>
      <documentation
                     value="Target field: SO_VAN_BAN_CAN_CU - Số văn bản căn cứ FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value"/>
    </rule>
    <rule>
      <name value="tyleTtctMoi"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="tyleTtctMoiSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="tyleTtctMoi"/>
      </target>
      <documentation
                     value="Target field: TYLE_TTCT_MOI - Tỷ lệ tổn thương cơ thể mới FHIR path: VNCoreObservation.valueQuantity"/>
    </rule>
    <rule>
      <name value="tongTyleTtct"/>
      <source>
        <context value="sourceBundle"/>
        <min value="0"/>
        <max value="*"/>
        <element value="entry"/>
        <variable value="tongTyleTtctSource"/>
      </source>
      <target>
        <context value="targetRow"/>
        <contextType value="variable"/>
        <element value="tongTyleTtct"/>
      </target>
      <documentation
                     value="Target field: TONG_TYLE_TTCT - Tổng tỷ lệ tổn thương cơ thể FHIR path: VNCoreObservation.valueQuantity"/>
    </rule>
  </group>
</StructureMap>