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 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave 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-xml10-maternity-leave"] ; # 
  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-xml10-maternity-leave</b></p><a name=\"vn-sm-bhyt-xml10-maternity-leave\"> </a><a name=\"hcvn-sm-bhyt-xml10-maternity-leave\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml10-maternity-leave<span style=\"color: navy\">\" = \"</span>BHYTXML10MaternityLeaveLMStructureMap<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Generated StructureMap scaffold for Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML10MaternityLeaveLM.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-bhytXml10MaternityLeaveLm.html\" title=\"Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave Logical Model\">http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml10MaternityLeaveLm</a><span style=\"color: navy\">\" </span><b>alias </b>BHYTXML10MaternityLeaveLM <b>as </b><b>target</b> <span style=\"color: navy\">// </span><span style=\"color: green\">Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave Logical Model</span>#xD;\n#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Rows are derived from maternity-leave DocumentReference/Composition, period, certifying Practitioner and Organization. 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>MapBHYTXML10MaternityLeaveLM<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>BHYTXML10MaternityLeaveLM<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\">soSeriSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.soSeri <i>\"soSeri\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_SERI - Số seri FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">soCtSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.soCt <i>\"soCt\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_CT - Số chứng từ FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">soNgaySource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.soNgay <i>\"soNgay\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: SO_NGAY - Số ngày FHIR path: Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period</span>#xD;\n  sourceBundle.entry<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> <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<b> as </b><span style=\"color: maroon\">tuNgaySource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tuNgay <i>\"tuNgay\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TU_NGAY - Từ ngày FHIR path: VNCoreDocumentReference.context.period.start</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">denNgaySource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.denNgay <i>\"denNgay\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: DEN_NGAY - Đến ngày FHIR path: VNCoreDocumentReference.context.period.end</span>#xD;\n  sourceBundle.entry<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> <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<b> as </b><span style=\"color: maroon\">tenBsSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.tenBs <i>\"tenBs\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: TEN_BS - Tên bác sĩ FHIR path: VNCoreComposition.author.display | VNCorePractitioner.name.text</span>#xD;\n  sourceBundle.entry<b> as </b><span style=\"color: maroon\">maBsSource</span><span style=\"color: navy\"><b> -&gt; </b></span>targetRow.maBs <i>\"maBs\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">Target field: MA_BS - Mã bác sĩ FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value</span>#xD;\n  sourceBundle.entry<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> <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<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-xml10-maternity-leave"^^xsd:anyURI ;
fhir:l <http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml10-maternity-leave>
  ] ; # 
  fhir:version [ fhir:v "0.5.0"] ; # 
  fhir:name [ fhir:v "BHYTXML10MaternityLeaveLMStructureMap"] ; # 
  fhir:title [ fhir:v "Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave 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 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML10MaternityLeaveLM.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/bhytXml10MaternityLeaveLm"^^xsd:anyURI ;
fhir:l <http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml10MaternityLeaveLm>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "BHYTXML10MaternityLeaveLM" ] ;
fhir:documentation [ fhir:v "Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave Logical Model" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "MapBHYTXML10MaternityLeaveLM" ] ;
fhir:typeMode [ fhir:v "none" ] ;
fhir:documentation [ fhir:v "Rows are derived from maternity-leave DocumentReference/Composition, period, certifying Practitioner and Organization. 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 "BHYTXML10MaternityLeaveLM" ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:documentation [ fhir:v "Bảng 10 giấy chứng nhận nghỉ dưỡng thai — XML10 Maternity Leave 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 "soSeri" ] ;
      ( 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 "soSeriSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "soSeri" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: SO_SERI - Số seri FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value" ]     ] [
fhir:name [ fhir:v "soCt" ] ;
      ( 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 "soCtSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "soCt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: SO_CT - Số chứng từ FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value" ]     ] [
fhir:name [ fhir:v "soNgay" ] ;
      ( 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 "soNgaySource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "soNgay" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: SO_NGAY - Số ngày FHIR path: Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period" ]     ] [
fhir:name [ fhir:v "donVi" ] ;
      ( 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 "donViSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "donVi" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: DON_VI - Đơn vị FHIR path: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name" ]     ] [
fhir:name [ fhir:v "tuNgay" ] ;
      ( 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 "tuNgaySource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tuNgay" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TU_NGAY - Từ ngày FHIR path: VNCoreDocumentReference.context.period.start" ]     ] [
fhir:name [ fhir:v "denNgay" ] ;
      ( 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 "denNgaySource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "denNgay" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: DEN_NGAY - Đến ngày FHIR path: VNCoreDocumentReference.context.period.end" ]     ] [
fhir:name [ fhir:v "maTtdv" ] ;
      ( 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 "maTtdvSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maTtdv" ]       ] ) ;
fhir:documentation [ fhir:v "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:name [ fhir:v "tenBs" ] ;
      ( 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 "tenBsSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "tenBs" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: TEN_BS - Tên bác sĩ FHIR path: VNCoreComposition.author.display | VNCorePractitioner.name.text" ]     ] [
fhir:name [ fhir:v "maBs" ] ;
      ( 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 "maBsSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "maBs" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: MA_BS - Mã bác sĩ FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value" ]     ] [
fhir:name [ fhir:v "ngayCt" ] ;
      ( 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 "ngayCtSource" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "targetRow" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "ngayCt" ]       ] ) ;
fhir:documentation [ fhir:v "Target field: NGAY_CT - Ngày cấp chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date" ]     ] )
  ] ) . #