HL7 Vietnam VN Core FHIR Implementation Guide

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam
0.8.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.8.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary 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 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-xml8-treatment-summary> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "vn-sm-bhyt-xml8-treatment-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-xml8-treatment-summary</b></p><a name=\"vn-sm-bhyt-xml8-treatment-summary\"> </a><a name=\"hcvn-sm-bhyt-xml8-treatment-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-xml8-treatment-summary<span style=\"color: navy\">\" = \"</span>BHYTXML8TreatmentSummaryLMStructureMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Generated StructureMap scaffold for Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML8TreatmentSummaryLM.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 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary Logical Model</span>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-bhytXml8TreatmentSummaryLm.html\" title=\"Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary Logical Model\">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml8TreatmentSummaryLm</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTXML8TreatmentSummaryLM <b>as </b><b>target</b>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Rows are derived from treatment summary Composition/DocumentReference and the linked Encounter, Condition, Patient and guardian data. 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>MapBHYTXML8TreatmentSummaryLM<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>BHYTXML8TreatmentSummaryLM<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> -&gt; </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: MA_LOAI_KCB - Mã loại KCB 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> -&gt; </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: HO_TEN_CHA - Họ tên cha FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">hoTenChaSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.hoTenCha <i>\"hoTenCha\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: HO_TEN_ME - Họ tên mẹ FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">hoTenMeSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.hoTenMe <i>\"hoTenMe\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGUOI_GIAM_HO - Người giám hộ FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='GUARD').name.text | VNCorePatient.contact.name.text</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">nguoiGiamHoSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.nguoiGiamHo <i>\"nguoiGiamHo\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DON_VI - Đơn vị FHIR path: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">donViSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.donVi <i>\"donVi\"</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 FHIR path: VNCoreEncounter.period.start</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> -&gt; </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_RA - Ngày ra FHIR path: VNCoreEncounter.period.end</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> -&gt; </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: CHAN_DOAN_VAO - Chẩn đoán vào FHIR path: VNCoreEncounter.reasonCode | VNCoreComposition.section[chiefComplaint|history].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> -&gt; </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 | VNCoreComposition.section[diagnosis].entry.resolve().code | section.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> -&gt; </b></span>targetRow.chanDoanRv <i>\"chanDoanRv\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: QT_BENHLY - Quá trình bệnh lý và diễn biến lâm sàng FHIR path: VNCoreClinicalImpression.summary | VNCoreClinicalImpression.description | VNCoreComposition.section[history].text</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">qtBenhlySource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.qtBenhly <i>\"qtBenhly\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TOMTAT_KQ - Tóm tắt kết quả xét nghiệm cận lâm sàng có giá trị chẩn đoán FHIR path: VNCoreDiagnosticReport.conclusion | VNCoreComposition.section[labResults].text</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">tomtatKqSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tomtatKq <i>\"tomtatKq\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: PP_DIEUTRI - Phương pháp điều trị (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc xạ trị + nội khoa) FHIR path: VNCoreProcedure.code | VNCoreComposition.section[procedures].text Mapping note: QĐ 4750/QĐ-BYT sửa toàn bộ diễn giải: ghi phương pháp điều trị theo danh mục nội khoa/ngoại khoa/xạ trị/hoá trị/xạ trị + nội khoa. Chưa siết mã hoá — dùng Procedure.code hoặc narrative; cân nhắc future phương-pháp-điều-trị category extension.</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> -&gt; </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: NGAY_SINHCON - Ngày sinh con FHIR path: VNCorePatient.birthDate | VNCoreComposition.section[delivery].entry.resolve().birthDate</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngaySinhConSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngaySinhCon <i>\"ngaySinhCon\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: NGAY_CONCHET - Ngày con chết FHIR path: VNCoreObservation.effectiveDateTime | VNCoreCondition.onsetDateTime</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayConChetSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngayConChet <i>\"ngayConChet\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_CONCHET - Số con chết FHIR path: VNCoreObservation.valueQuantity</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">soConChetSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.soConChet <i>\"soConChet\"</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.hospitalization.dischargeDisposition | 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> -&gt; </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: GHI_CHU - Ghi chú (họ tên cha/mẹ/người giám hộ cho trường hợp đặc biệt) FHIR path: VNCoreComposition.section.text | VNCoreDocumentReference.description Mapping note: Chỉ áp dụng cho người mất hoặc bị hạn chế năng lực hành vi dân sự hoặc trẻ em dưới 16 tuổi — ghi đầy đủ họ tên cha/mẹ/người giám hộ theo Phụ lục 4 TT 18/2022/TT-BYT (tham chiếu hoTenCha/hoTenMe/nguoiGiamHo).</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> -&gt; </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: MA_TTDV - Mã thủ trưởng đơn vị/người ký FHIR path: VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.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> -&gt; </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: NGAY_CT - Ngày cấp chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">ngayCtSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.ngayCt <i>\"ngayCt\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_THE_TAM - Mã thẻ tạm FHIR path: VNCoreCoverage.identifier.value Mapping note: Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled.</span>#xD;\n  sourceBundle.entry 0<span style=\"color: navy\">..</span>*<b> as </b><span style=\"color: maroon\">maTheTamSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maTheTam <i>\"maTheTam\"</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-xml8-treatment-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.11" ]
  ] ;
  fhir:StructureMap.version [ fhir:value "0.8.0"] ;
  fhir:StructureMap.name [ fhir:value "BHYTXML8TreatmentSummaryLMStructureMap"] ;
  fhir:StructureMap.title [ fhir:value "Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary 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 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML8TreatmentSummaryLM.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/bhytXml8TreatmentSummaryLm" ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml8TreatmentSummaryLm>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "BHYTXML8TreatmentSummaryLM" ] ;
     fhir:StructureMap.structure.documentation [ fhir:value "Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary Logical Model" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "MapBHYTXML8TreatmentSummaryLM" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.documentation [ fhir:value "Rows are derived from treatment summary Composition/DocumentReference and the linked Encounter, Condition, Patient and guardian data. 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 "BHYTXML8TreatmentSummaryLM" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ] ;
       fhir:StructureMap.group.input.documentation [ fhir:value "Bảng 8 tóm tắt hồ sơ bệnh án — XML8 Treatment Summary 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 "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 KCB FHIR path: VNCoreEncounter.type" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "hoTenCha" ] ;
       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 "hoTenChaSource" ]
       ] ;
       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 "hoTenCha" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: HO_TEN_CHA - Họ tên cha FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "hoTenMe" ] ;
       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 "hoTenMeSource" ]
       ] ;
       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 "hoTenMe" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: HO_TEN_ME - Họ tên mẹ FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "nguoiGiamHo" ] ;
       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 "nguoiGiamHoSource" ]
       ] ;
       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 "nguoiGiamHo" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGUOI_GIAM_HO - Người giám hộ FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='GUARD').name.text | VNCorePatient.contact.name.text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "donVi" ] ;
       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 "donViSource" ]
       ] ;
       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 "donVi" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: DON_VI - Đơn vị FHIR path: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name" ]
     ], [
       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 FHIR path: VNCoreEncounter.period.start" ]
     ], [
       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 FHIR path: VNCoreEncounter.period.end" ]
     ], [
       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 FHIR path: VNCoreEncounter.reasonCode | VNCoreComposition.section[chiefComplaint|history].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 | VNCoreComposition.section[diagnosis].entry.resolve().code | section.text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "qtBenhly" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ;
         fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ;
         fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "qtBenhlySource" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "qtBenhly" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: QT_BENHLY - Quá trình bệnh lý và diễn biến lâm sàng FHIR path: VNCoreClinicalImpression.summary | VNCoreClinicalImpression.description | VNCoreComposition.section[history].text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "tomtatKq" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ;
         fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ;
         fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "tomtatKqSource" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "tomtatKq" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: TOMTAT_KQ - Tóm tắt kết quả xét nghiệm cận lâm sàng có giá trị chẩn đoán FHIR path: VNCoreDiagnosticReport.conclusion | VNCoreComposition.section[labResults].text" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ppDieuTri" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "sourceBundle" ] ;
         fhir:StructureMap.group.rule.source.min [ fhir:value "0"^^xsd:integer ] ;
         fhir:StructureMap.group.rule.source.max [ fhir:value "*" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "ppDieuTriSource" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "targetRow" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "ppDieuTri" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: PP_DIEUTRI - Phương pháp điều trị (nội khoa, ngoại khoa, xạ trị, hoá trị hoặc xạ trị + nội khoa) FHIR path: VNCoreProcedure.code | VNCoreComposition.section[procedures].text Mapping note: QĐ 4750/QĐ-BYT sửa toàn bộ diễn giải: ghi phương pháp điều trị theo danh mục nội khoa/ngoại khoa/xạ trị/hoá trị/xạ trị + nội khoa. Chưa siết mã hoá — dùng Procedure.code hoặc narrative; cân nhắc future phương-pháp-điều-trị category extension." ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ngaySinhCon" ] ;
       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 "ngaySinhConSource" ]
       ] ;
       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 "ngaySinhCon" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_SINHCON - Ngày sinh con FHIR path: VNCorePatient.birthDate | VNCoreComposition.section[delivery].entry.resolve().birthDate" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ngayConChet" ] ;
       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 "ngayConChetSource" ]
       ] ;
       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 "ngayConChet" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_CONCHET - Ngày con chết FHIR path: VNCoreObservation.effectiveDateTime | VNCoreCondition.onsetDateTime" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "soConChet" ] ;
       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 "soConChetSource" ]
       ] ;
       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 "soConChet" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: SO_CONCHET - Số con chết FHIR path: VNCoreObservation.valueQuantity" ]
     ], [
       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.hospitalization.dischargeDisposition | VNCoreEncounter.extension[treatmentOutcome].valueCodeableConcept" ]
     ], [
       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 - Ghi chú (họ tên cha/mẹ/người giám hộ cho trường hợp đặc biệt) FHIR path: VNCoreComposition.section.text | VNCoreDocumentReference.description Mapping note: Chỉ áp dụng cho người mất hoặc bị hạn chế năng lực hành vi dân sự hoặc trẻ em dưới 16 tuổi — ghi đầy đủ họ tên cha/mẹ/người giám hộ theo Phụ lục 4 TT 18/2022/TT-BYT (tham chiếu hoTenCha/hoTenMe/nguoiGiamHo)." ]
     ], [
       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.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ngayCt" ] ;
       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 "ngayCtSource" ]
       ] ;
       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 "ngayCt" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: NGAY_CT - Ngày cấp chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "maTheTam" ] ;
       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 "maTheTamSource" ]
       ] ;
       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 "maTheTam" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Target field: MA_THE_TAM - Mã thẻ tạm FHIR path: VNCoreCoverage.identifier.value Mapping note: Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled." ]
     ]
  ] .

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

<http://hl7.org/fhir/StructureMap/vn-sm-bhyt-xml8-treatment-summary.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/vn-sm-bhyt-xml8-treatment-summary.ttl> .