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

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

## Mô hình logic: Bảng 7 giấy ra viện — XML7 Discharge Paper Logical Model - Hồ sơ JSON

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

Biểu diễn JSON của bhytXml7DischargePaperLm mô hình logic.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "bhytXml7DischargePaperLm",
      "language" : "vi",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition bhytXml7DischargePaperLm</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm\" title=\"Logical model cho Bảng 7 QĐ 3176/QĐ-BYT: dữ liệu giấy ra viện.\">bhytXml7DischargePaperLm</a><a name=\"bhytXml7DischargePaperLm\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( bhyt-xml7-abortion-fields-required )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Bảng 7 giấy ra viện — XML7 Discharge Paper Logical Model<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"XML7 abortion detail fields are required when MA_DINH_CHI_THAI is 1.\" class=\"constraint\">bhyt-xml7-abortion-fields-required</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maLk\" title=\"MA_LK - Mã liên kết hồ sơ\">maLk</a><a name=\"bhytXml7DischargePaperLm.maLk\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_LK - Mã liên kết hồ sơ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.soLuuTru\" title=\"SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án\">soLuuTru</a><a name=\"bhytXml7DischargePaperLm.soLuuTru\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maYte\" title=\"MA_YTE - Mã y tế/mã người bệnh\">maYte</a><a name=\"bhytXml7DischargePaperLm.maYte\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_YTE - Mã y tế/mã người bệnh</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maKhoaRv\" title=\"MA_KHOA_RV - Mã khoa ra viện/tổng kết\">maKhoaRv</a><a name=\"bhytXml7DischargePaperLm.maKhoaRv\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_KHOA_RV - Mã khoa ra viện/tổng kết</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ngayVao\" title=\"NGAY_VAO - Ngày vào viện\">ngayVao</a><a name=\"bhytXml7DischargePaperLm.ngayVao\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGAY_VAO - Ngày vào viện</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ngayRa\" title=\"NGAY_RA - Ngày ra viện\">ngayRa</a><a name=\"bhytXml7DischargePaperLm.ngayRa\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGAY_RA - Ngày ra viện</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maDinhChiThai\" title=\"MA_DINH_CHI_THAI - Mã đình chỉ thai\">maDinhChiThai</a><a name=\"bhytXml7DischargePaperLm.maDinhChiThai\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_DINH_CHI_THAI - Mã đình chỉ thai</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.nguyenNhanDinhChi\" title=\"NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai\">nguyenNhanDinhChi</a><a name=\"bhytXml7DischargePaperLm.nguyenNhanDinhChi\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.thoiGianDinhChi\" title=\"THOIGIAN_DINHCHI - Thời gian đình chỉ thai\">thoiGianDinhChi</a><a name=\"bhytXml7DischargePaperLm.thoiGianDinhChi\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">THOIGIAN_DINHCHI - Thời gian đình chỉ thai</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.tuoiThai\" title=\"TUOI_THAI - Tuổi thai\">tuoiThai</a><a name=\"bhytXml7DischargePaperLm.tuoiThai\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">TUOI_THAI - Tuổi thai</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.chanDoanRv\" title=\"CHAN_DOAN_RV - Chẩn đoán ra viện\">chanDoanRv</a><a name=\"bhytXml7DischargePaperLm.chanDoanRv\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">CHAN_DOAN_RV - Chẩn đoán ra viện</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ghiChu\" title=\"GHI_CHU - Ghi chú\">ghiChu</a><a name=\"bhytXml7DischargePaperLm.ghiChu\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">GHI_CHU - Ghi chú</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maTtdv\" title=\"MA_TTDV - Mã thủ trưởng đơn vị/người ký\">maTtdv</a><a name=\"bhytXml7DischargePaperLm.maTtdv\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_TTDV - Mã thủ trưởng đơn vị/người ký</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maBs\" title=\"MA_BS - Mã bác sĩ\">maBs</a><a name=\"bhytXml7DischargePaperLm.maBs\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_BS - Mã bác sĩ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.tenBs\" title=\"TEN_BS - Tên bác sĩ\">tenBs</a><a name=\"bhytXml7DischargePaperLm.tenBs\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">TEN_BS - Tên bác sĩ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ngayCt\" title=\"NGAY_CT - Ngày cấp chứng từ\">ngayCt</a><a name=\"bhytXml7DischargePaperLm.ngayCt\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGAY_CT - Ngày cấp chứng từ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maCha\" title=\"MA_CHA - Mã cha\">maCha</a><a name=\"bhytXml7DischargePaperLm.maCha\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_CHA - Mã cha</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maMe\" title=\"MA_ME - Mã mẹ\">maMe</a><a name=\"bhytXml7DischargePaperLm.maMe\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_ME - Mã mẹ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.maTheTam\" title=\"MA_THE_TAM - Mã thẻ tạm\">maTheTam</a><a name=\"bhytXml7DischargePaperLm.maTheTam\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">MA_THE_TAM - Mã thẻ tạm</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.hoTenCha\" title=\"HO_TEN_CHA - Họ tên cha\">hoTenCha</a><a name=\"bhytXml7DischargePaperLm.hoTenCha\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">HO_TEN_CHA - Họ tên cha</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.hoTenMe\" title=\"HO_TEN_ME - Họ tên mẹ\">hoTenMe</a><a name=\"bhytXml7DischargePaperLm.hoTenMe\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">HO_TEN_ME - Họ tên mẹ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.soNgayNghi\" title=\"SO_NGAY_NGHI - Số ngày nghỉ\">soNgayNghi</a><a name=\"bhytXml7DischargePaperLm.soNgayNghi\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">SO_NGAY_NGHI - Số ngày nghỉ</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ngoaiTruTuNgay\" title=\"NGOAITRU_TUNGAY - Ngoại trú từ ngày\">ngoaiTruTuNgay</a><a name=\"bhytXml7DischargePaperLm.ngoaiTruTuNgay\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGOAITRU_TUNGAY - Ngoại trú từ ngày</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-bhytXml7DischargePaperLm-definitions.html#bhytXml7DischargePaperLm.ngoaiTruDenNgay\" title=\"NGOAITRU_DENNGAY - Ngoại trú đến ngày\">ngoaiTruDenNgay</a><a name=\"bhytXml7DischargePaperLm.ngoaiTruDenNgay\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">NGOAITRU_DENNGAY - Ngoại trú đến ngày</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml7DischargePaperLm",
      "version" : "0.5.0",
      "name" : "BHYTXML7DischargePaperLM",
      "title" : "Bảng 7 giấy ra viện — XML7 Discharge Paper Logical Model",
      "status" : "draft",
      "date" : "2026-04-29T14:58:55+07:00",
      "publisher" : "Omi HealthTech / VN Core FHIR Community Initiative",
      "contact" : [
        {
          "name" : "Omi HealthTech / VN Core FHIR Community Initiative",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://hl7.org.vn"
            },
            {
              "system" : "email",
              "value" : "info@hl7.org.vn"
            }
          ]
        },
        {
          "name" : "Omi HealthTech (OmiGroup)",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://omihealthtech.vn"
            },
            {
              "system" : "url",
              "value" : "https://omigroup.vn"
            },
            {
              "system" : "email",
              "value" : "healthtech@omigroup.vn"
            }
          ]
        }
      ],
      "description" : "Logical model cho Bảng 7 QĐ 3176/QĐ-BYT: dữ liệu giấy ra viện.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "VN",
              "display" : "Viet Nam"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "mapping" : [
        {
          "identity" : "vn-fhir",
          "uri" : "http://fhir.hl7.org.vn/core/mapping/bhyt-submission-fhir",
          "name" : "VN Core FHIR mapping",
          "comment" : "Rows are derived from discharge Composition/DocumentReference, the linked Encounter, Condition, Practitioner and guardian/temporary card data."
        }
      ],
      "kind" : "logical",
      "abstract" : false,
      "type" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml7DischargePaperLm",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "4.0.1"
          }
        ],
        "element" : [
          {
            "id" : "bhytXml7DischargePaperLm",
            "path" : "bhytXml7DischargePaperLm",
            "short" : "Bảng 7 giấy ra viện — XML7 Discharge Paper Logical Model",
            "definition" : "Logical model cho Bảng 7 QĐ 3176/QĐ-BYT: dữ liệu giấy ra viện.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "bhyt-xml7-abortion-fields-required",
                "severity" : "error",
                "human" : "XML7 abortion detail fields are required when MA_DINH_CHI_THAI is 1.",
                "expression" : "maDinhChiThai != '1' or (nguyenNhanDinhChi.exists() and thoiGianDinhChi.exists() and tuoiThai.exists())",
                "source" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml7DischargePaperLm"
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "bhytXml7DischargePaperLm.maLk",
            "path" : "bhytXml7DischargePaperLm.maLk",
            "short" : "MA_LK - Mã liên kết hồ sơ",
            "definition" : "MA_LK - Mã liên kết hồ sơ",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maLk",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreClaim.identifier[MALK].value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.soLuuTru",
            "path" : "bhytXml7DischargePaperLm.soLuuTru",
            "short" : "SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án",
            "definition" : "SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.soLuuTru",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.identifier.value | VNCoreDocumentReference.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maYte",
            "path" : "bhytXml7DischargePaperLm.maYte",
            "short" : "MA_YTE - Mã y tế/mã người bệnh",
            "definition" : "MA_YTE - Mã y tế/mã người bệnh",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maYte",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCorePatient.identifier[MRN].value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maKhoaRv",
            "path" : "bhytXml7DischargePaperLm.maKhoaRv",
            "short" : "MA_KHOA_RV - Mã khoa ra viện/tổng kết",
            "definition" : "MA_KHOA_RV - Mã khoa ra viện/tổng kết",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maKhoaRv",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.location.location.resolve().identifier.value | VNCoreOrganizationDepartment.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayVao",
            "path" : "bhytXml7DischargePaperLm.ngayVao",
            "short" : "NGAY_VAO - Ngày vào viện",
            "definition" : "NGAY_VAO - Ngày vào viện",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ngayVao",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.period.start"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayRa",
            "path" : "bhytXml7DischargePaperLm.ngayRa",
            "short" : "NGAY_RA - Ngày ra viện",
            "definition" : "NGAY_RA - Ngày ra viện",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ngayRa",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.period.end | VNCoreComposition.date"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maDinhChiThai",
            "path" : "bhytXml7DischargePaperLm.maDinhChiThai",
            "short" : "MA_DINH_CHI_THAI - Mã đình chỉ thai",
            "definition" : "MA_DINH_CHI_THAI - Mã đình chỉ thai",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maDinhChiThai",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.nguyenNhanDinhChi",
            "path" : "bhytXml7DischargePaperLm.nguyenNhanDinhChi",
            "short" : "NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai",
            "definition" : "NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.nguyenNhanDinhChi",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.thoiGianDinhChi",
            "path" : "bhytXml7DischargePaperLm.thoiGianDinhChi",
            "short" : "THOIGIAN_DINHCHI - Thời gian đình chỉ thai",
            "definition" : "THOIGIAN_DINHCHI - Thời gian đình chỉ thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.thoiGianDinhChi",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.tuoiThai",
            "path" : "bhytXml7DischargePaperLm.tuoiThai",
            "short" : "TUOI_THAI - Tuổi thai",
            "definition" : "TUOI_THAI - Tuổi thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.tuoiThai",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.chanDoanRv",
            "path" : "bhytXml7DischargePaperLm.chanDoanRv",
            "short" : "CHAN_DOAN_RV - Chẩn đoán ra viện",
            "definition" : "CHAN_DOAN_RV - Chẩn đoán ra viện",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.chanDoanRv",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.section[diagnosis].entry.resolve().code | VNCoreCondition.code | section.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ghiChu",
            "path" : "bhytXml7DischargePaperLm.ghiChu",
            "short" : "GHI_CHU - Ghi chú",
            "definition" : "GHI_CHU - Ghi chú",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ghiChu",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.description | VNCoreComposition.section.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maTtdv",
            "path" : "bhytXml7DischargePaperLm.maTtdv",
            "short" : "MA_TTDV - Mã thủ trưởng đơn vị/người ký",
            "definition" : "MA_TTDV - Mã thủ trưởng đơn vị/người ký",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maTtdv",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maBs",
            "path" : "bhytXml7DischargePaperLm.maBs",
            "short" : "MA_BS - Mã bác sĩ",
            "definition" : "MA_BS - Mã bác sĩ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maBs",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.tenBs",
            "path" : "bhytXml7DischargePaperLm.tenBs",
            "short" : "TEN_BS - Tên bác sĩ",
            "definition" : "TEN_BS - Tên bác sĩ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.tenBs",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.author.display | VNCorePractitioner.name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayCt",
            "path" : "bhytXml7DischargePaperLm.ngayCt",
            "short" : "NGAY_CT - Ngày cấp chứng từ",
            "definition" : "NGAY_CT - Ngày cấp chứng từ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ngayCt",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.date | VNCoreComposition.date"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maCha",
            "path" : "bhytXml7DischargePaperLm.maCha",
            "short" : "MA_CHA - Mã cha",
            "definition" : "MA_CHA - Mã cha",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maCha",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='FTH').identifier[CCCD].value | VNCorePatient.contact.where(relationship.coding.code='FTH').name"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maMe",
            "path" : "bhytXml7DischargePaperLm.maMe",
            "short" : "MA_ME - Mã mẹ",
            "definition" : "MA_ME - Mã mẹ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maMe",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='MTH').identifier[CCCD].value | VNCorePatient.contact.where(relationship.coding.code='MTH').name"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maTheTam",
            "path" : "bhytXml7DischargePaperLm.maTheTam",
            "short" : "MA_THE_TAM - Mã thẻ tạm",
            "definition" : "MA_THE_TAM - Mã thẻ tạm",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.maTheTam",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreCoverage.identifier.value",
                "comment" : "Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled."
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.hoTenCha",
            "path" : "bhytXml7DischargePaperLm.hoTenCha",
            "short" : "HO_TEN_CHA - Họ tên cha",
            "definition" : "HO_TEN_CHA - Họ tên cha",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.hoTenCha",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.hoTenMe",
            "path" : "bhytXml7DischargePaperLm.hoTenMe",
            "short" : "HO_TEN_ME - Họ tên mẹ",
            "definition" : "HO_TEN_ME - Họ tên mẹ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.hoTenMe",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.soNgayNghi",
            "path" : "bhytXml7DischargePaperLm.soNgayNghi",
            "short" : "SO_NGAY_NGHI - Số ngày nghỉ",
            "definition" : "SO_NGAY_NGHI - Số ngày nghỉ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.soNgayNghi",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngoaiTruTuNgay",
            "path" : "bhytXml7DischargePaperLm.ngoaiTruTuNgay",
            "short" : "NGOAITRU_TUNGAY - Ngoại trú từ ngày",
            "definition" : "NGOAITRU_TUNGAY - Ngoại trú từ ngày",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ngoaiTruTuNgay",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.context.period.start | VNCoreComposition.event.period.start"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngoaiTruDenNgay",
            "path" : "bhytXml7DischargePaperLm.ngoaiTruDenNgay",
            "short" : "NGOAITRU_DENNGAY - Ngoại trú đến ngày",
            "definition" : "NGOAITRU_DENNGAY - Ngoại trú đến ngày",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "bhytXml7DischargePaperLm.ngoaiTruDenNgay",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.context.period.end | VNCoreComposition.event.period.end"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "bhytXml7DischargePaperLm",
            "path" : "bhytXml7DischargePaperLm",
            "short" : "Bảng 7 giấy ra viện — XML7 Discharge Paper Logical Model",
            "definition" : "Logical model cho Bảng 7 QĐ 3176/QĐ-BYT: dữ liệu giấy ra viện.",
            "constraint" : [
              {
                "key" : "bhyt-xml7-abortion-fields-required",
                "severity" : "error",
                "human" : "XML7 abortion detail fields are required when MA_DINH_CHI_THAI is 1.",
                "expression" : "maDinhChiThai != '1' or (nguyenNhanDinhChi.exists() and thoiGianDinhChi.exists() and tuoiThai.exists())",
                "source" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml7DischargePaperLm"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maLk",
            "path" : "bhytXml7DischargePaperLm.maLk",
            "short" : "MA_LK - Mã liên kết hồ sơ",
            "definition" : "MA_LK - Mã liên kết hồ sơ",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreClaim.identifier[MALK].value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.soLuuTru",
            "path" : "bhytXml7DischargePaperLm.soLuuTru",
            "short" : "SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án",
            "definition" : "SO_LUU_TRU - Số lưu trữ/số hồ sơ bệnh án",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.identifier.value | VNCoreDocumentReference.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maYte",
            "path" : "bhytXml7DischargePaperLm.maYte",
            "short" : "MA_YTE - Mã y tế/mã người bệnh",
            "definition" : "MA_YTE - Mã y tế/mã người bệnh",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCorePatient.identifier[MRN].value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maKhoaRv",
            "path" : "bhytXml7DischargePaperLm.maKhoaRv",
            "short" : "MA_KHOA_RV - Mã khoa ra viện/tổng kết",
            "definition" : "MA_KHOA_RV - Mã khoa ra viện/tổng kết",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.location.location.resolve().identifier.value | VNCoreOrganizationDepartment.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayVao",
            "path" : "bhytXml7DischargePaperLm.ngayVao",
            "short" : "NGAY_VAO - Ngày vào viện",
            "definition" : "NGAY_VAO - Ngày vào viện",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.period.start"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayRa",
            "path" : "bhytXml7DischargePaperLm.ngayRa",
            "short" : "NGAY_RA - Ngày ra viện",
            "definition" : "NGAY_RA - Ngày ra viện",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreEncounter.period.end | VNCoreComposition.date"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maDinhChiThai",
            "path" : "bhytXml7DischargePaperLm.maDinhChiThai",
            "short" : "MA_DINH_CHI_THAI - Mã đình chỉ thai",
            "definition" : "MA_DINH_CHI_THAI - Mã đình chỉ thai",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.nguyenNhanDinhChi",
            "path" : "bhytXml7DischargePaperLm.nguyenNhanDinhChi",
            "short" : "NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai",
            "definition" : "NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.thoiGianDinhChi",
            "path" : "bhytXml7DischargePaperLm.thoiGianDinhChi",
            "short" : "THOIGIAN_DINHCHI - Thời gian đình chỉ thai",
            "definition" : "THOIGIAN_DINHCHI - Thời gian đình chỉ thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.tuoiThai",
            "path" : "bhytXml7DischargePaperLm.tuoiThai",
            "short" : "TUOI_THAI - Tuổi thai",
            "definition" : "TUOI_THAI - Tuổi thai",
            "comment" : "Conditionally required when MA_DINH_CHI_THAI=1.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.chanDoanRv",
            "path" : "bhytXml7DischargePaperLm.chanDoanRv",
            "short" : "CHAN_DOAN_RV - Chẩn đoán ra viện",
            "definition" : "CHAN_DOAN_RV - Chẩn đoán ra viện",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.section[diagnosis].entry.resolve().code | VNCoreCondition.code | section.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ghiChu",
            "path" : "bhytXml7DischargePaperLm.ghiChu",
            "short" : "GHI_CHU - Ghi chú",
            "definition" : "GHI_CHU - Ghi chú",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.description | VNCoreComposition.section.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maTtdv",
            "path" : "bhytXml7DischargePaperLm.maTtdv",
            "short" : "MA_TTDV - Mã thủ trưởng đơn vị/người ký",
            "definition" : "MA_TTDV - Mã thủ trưởng đơn vị/người ký",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maBs",
            "path" : "bhytXml7DischargePaperLm.maBs",
            "short" : "MA_BS - Mã bác sĩ",
            "definition" : "MA_BS - Mã bác sĩ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.tenBs",
            "path" : "bhytXml7DischargePaperLm.tenBs",
            "short" : "TEN_BS - Tên bác sĩ",
            "definition" : "TEN_BS - Tên bác sĩ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreComposition.author.display | VNCorePractitioner.name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngayCt",
            "path" : "bhytXml7DischargePaperLm.ngayCt",
            "short" : "NGAY_CT - Ngày cấp chứng từ",
            "definition" : "NGAY_CT - Ngày cấp chứng từ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.date | VNCoreComposition.date"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maCha",
            "path" : "bhytXml7DischargePaperLm.maCha",
            "short" : "MA_CHA - Mã cha",
            "definition" : "MA_CHA - Mã cha",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='FTH').identifier[CCCD].value | VNCorePatient.contact.where(relationship.coding.code='FTH').name"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maMe",
            "path" : "bhytXml7DischargePaperLm.maMe",
            "short" : "MA_ME - Mã mẹ",
            "definition" : "MA_ME - Mã mẹ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='MTH').identifier[CCCD].value | VNCorePatient.contact.where(relationship.coding.code='MTH').name"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.maTheTam",
            "path" : "bhytXml7DischargePaperLm.maTheTam",
            "short" : "MA_THE_TAM - Mã thẻ tạm",
            "definition" : "MA_THE_TAM - Mã thẻ tạm",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreCoverage.identifier.value",
                "comment" : "Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled."
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.hoTenCha",
            "path" : "bhytXml7DischargePaperLm.hoTenCha",
            "short" : "HO_TEN_CHA - Họ tên cha",
            "definition" : "HO_TEN_CHA - Họ tên cha",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.hoTenMe",
            "path" : "bhytXml7DischargePaperLm.hoTenMe",
            "short" : "HO_TEN_ME - Họ tên mẹ",
            "definition" : "HO_TEN_ME - Họ tên mẹ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.soNgayNghi",
            "path" : "bhytXml7DischargePaperLm.soNgayNghi",
            "short" : "SO_NGAY_NGHI - Số ngày nghỉ",
            "definition" : "SO_NGAY_NGHI - Số ngày nghỉ",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngoaiTruTuNgay",
            "path" : "bhytXml7DischargePaperLm.ngoaiTruTuNgay",
            "short" : "NGOAITRU_TUNGAY - Ngoại trú từ ngày",
            "definition" : "NGOAITRU_TUNGAY - Ngoại trú từ ngày",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.context.period.start | VNCoreComposition.event.period.start"
              }
            ]
          },
          {
            "id" : "bhytXml7DischargePaperLm.ngoaiTruDenNgay",
            "path" : "bhytXml7DischargePaperLm.ngoaiTruDenNgay",
            "short" : "NGOAITRU_DENNGAY - Ngoại trú đến ngày",
            "definition" : "NGOAITRU_DENNGAY - Ngoại trú đến ngày",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ],
            "mapping" : [
              {
                "identity" : "vn-fhir",
                "map" : "VNCoreDocumentReference.context.period.end | VNCoreComposition.event.period.end"
              }
            ]
          }
        ]
      }
    }