bhytXml11SickLeaveLm
type: StructureDefinition
node role: treeRoot
id:
  v: bhytXml11SickLeaveLm
language:
  v: vi
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition bhytXml11SickLeaveLm Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> bhytXml11SickLeaveLm <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-xml11-abortion-fields-required )">C 0..* Base Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model Constraints: bhyt-xml11-abortion-fields-required #xD; maLk 1..1 string MA_LK - Mã liên kết hồ sơ #xD; soCt 1..1 string SO_CT - Số chứng từ #xD; soSeri 1..1 string SO_SERI - Số seri #xD; soKcb 0..1 string SO_KCB - Số KCB #xD; donVi 1..1 string DON_VI - Đơn vị #xD; maBhxh 0..1 string MA_BHXH - Mã BHXH #xD; maTheBhyt 0..1 string MA_THE_BHYT - Mã thẻ BHYT #xD; maDinhChiThai 0..1 string MA_DINH_CHI_THAI - Mã đình chỉ thai #xD; nguyenNhanDinhChi 0..1 string NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai #xD; tuoiThai 0..1 string TUOI_THAI - Tuổi thai #xD; soNgayNghi 0..1 string SO_NGAY_NGHI - Số ngày nghỉ #xD; tuNgay 0..1 string TU_NGAY - Từ ngày #xD; denNgay 0..1 string DEN_NGAY - Đến ngày #xD; hoTenCha 1..1 string HO_TEN_CHA - Họ tên cha #xD; hoTenMe 1..1 string HO_TEN_ME - Họ tên mẹ #xD; maTtdv 1..1 string MA_TTDV - Mã thủ trưởng đơn vị/người ký #xD; maBs 1..1 string MA_BS - Mã bác sĩ #xD; ngayCt 0..1 string NGAY_CT - Ngày cấp chứng từ #xD; maTheTam 0..1 string MA_THE_TAM - Mã thẻ tạm #xD; mauSo 1..1 string MAU_SO - Mẫu số #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml11SickLeaveLm
  l: bhytXml11SickLeaveLm
version:
  v: 0.5.1
name:
  v: BHYTXML11SickLeaveLM
title:
  v: Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model
status:
  v: draft
date:
  v: 2026-05-10T12:30:35+00:00
publisher:
  v: Omi HealthTech / VN Core FHIR Community Initiative
contact:
  name:
    v: Omi HealthTech / VN Core FHIR Community Initiative
  telecom:
    system:
      v: url
    value:
      v: https://hl7.org.vn
  telecom:
    system:
      v: email
contact:
  name:
    v: Omi HealthTech (OmiGroup)
  telecom:
    system:
      v: url
    value:
      v: https://omihealthtech.vn
  telecom:
    system:
      v: url
    value:
      v: https://omigroup.vn
  telecom:
    system:
      v: email
description:
  v: Logical model cho Bảng 11 QĐ 3176/QĐ-BYT: dữ liệu giấy chứng nhận nghỉ việc hưởng bảo hiểm xã hội.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: VN
    display:
      v: Viet Nam
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: vn-fhir
  uri:
    v: http://fhir.hl7.org.vn/core/mapping/bhyt-submission-fhir
    l: bhyt-submission-fhir
  name:
    v: VN Core FHIR mapping
  comment:
    v: Rows are derived from sick-leave DocumentReference/Composition, period, certifying Practitioner, Coverage and parent/guardian data.
kind:
  v: logical
abstract:
  v: false
type:
  v: http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml11SickLeaveLm
  l: bhytXml11SickLeaveLm
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: bhytXml11SickLeaveLm
    path:
      v: bhytXml11SickLeaveLm
    short:
      v: Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model
    definition:
      v: Logical model cho Bảng 11 QĐ 3176/QĐ-BYT: dữ liệu giấy chứng nhận nghỉ việc hưởng bảo hiểm xã hội.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: bhyt-xml11-abortion-fields-required
      severity:
        v: error
      human:
        v: XML11 abortion detail fields are required when MA_DINH_CHI_THAI is 1.
      expression:
        v: maDinhChiThai != '1' or (nguyenNhanDinhChi.exists() and tuoiThai.exists())
      source:
        v: http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml11SickLeaveLm
        l: bhytXml11SickLeaveLm
    is modifier:
      v: false
  element:
    id:
      v: bhytXml11SickLeaveLm.maLk
    path:
      v: bhytXml11SickLeaveLm.maLk
    short:
      v: MA_LK - Mã liên kết hồ sơ
    definition:
      v: MA_LK - Mã liên kết hồ sơ
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: bhytXml11SickLeaveLm.maLk
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
    mapping:
      identity:
        v: vn-fhir
      map:
        v: VNCoreClaim.identifier[MALK].value
  element:
    id:
      v: bhytXml11SickLeaveLm.soCt
    path:
      v: bhytXml11SickLeaveLm.soCt
    short:
      v: SO_CT - Số chứng từ
    definition:
      v: SO_CT - Số chứng từ
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: bhytXml11SickLeaveLm.soCt
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
    mapping:
      identity:
        v: vn-fhir
      map:
        v: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value
  element:
    id:
      v: bhytXml11SickLeaveLm.soSeri
    path:
      v: bhytXml11SickLeaveLm.soSeri
    short:
      v: SO_SERI - Số seri
    definition:
      v: SO_SERI - Số seri
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: bhytXml11SickLeaveLm.soSeri

v: 1

v: 1

code:
  v: string
  l: string

identity:
  v: vn-fhir
map:
  v: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value

id:
  v: bhytXml11SickLeaveLm.soKcb
path:
  v: bhytXml11SickLeaveLm.soKcb
short:
  v: SO_KCB - Số KCB
definition:
  v: SO_KCB - Số KCB
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.soKcb
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreEncounter.identifier[MA_LUOT_KCB].value

id:
  v: bhytXml11SickLeaveLm.donVi
path:
  v: bhytXml11SickLeaveLm.donVi
short:
  v: DON_VI - Đơn vị
definition:
  v: DON_VI - Đơn vị
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.donVi
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name

id:
  v: bhytXml11SickLeaveLm.maBhxh
path:
  v: bhytXml11SickLeaveLm.maBhxh
short:
  v: MA_BHXH - Mã BHXH
definition:
  v: MA_BHXH - Mã BHXH
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maBhxh
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCorePatient.identifier[BHXH].value | VNCoreCoverage.subscriberId

id:
  v: bhytXml11SickLeaveLm.maTheBhyt
path:
  v: bhytXml11SickLeaveLm.maTheBhyt
short:
  v: MA_THE_BHYT - Mã thẻ BHYT
definition:
  v: MA_THE_BHYT - Mã thẻ BHYT
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maTheBhyt
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreCoverage.identifier[BHYT].value

id:
  v: bhytXml11SickLeaveLm.maDinhChiThai
path:
  v: bhytXml11SickLeaveLm.maDinhChiThai
short:
  v: MA_DINH_CHI_THAI - Mã đình chỉ thai
definition:
  v: MA_DINH_CHI_THAI - Mã đình chỉ thai
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maDinhChiThai
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: bhytXml11SickLeaveLm.nguyenNhanDinhChi
path:
  v: bhytXml11SickLeaveLm.nguyenNhanDinhChi
short:
  v: NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai
definition:
  v: NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai
comment:
  v: Conditionally required when MA_DINH_CHI_THAI=1.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.nguyenNhanDinhChi
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: bhytXml11SickLeaveLm.tuoiThai
path:
  v: bhytXml11SickLeaveLm.tuoiThai
short:
  v: TUOI_THAI - Tuổi thai
definition:
  v: TUOI_THAI - Tuổi thai
comment:
  v: Conditionally required when MA_DINH_CHI_THAI=1.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.tuoiThai
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: bhytXml11SickLeaveLm.soNgayNghi
path:
  v: bhytXml11SickLeaveLm.soNgayNghi
short:
  v: SO_NGAY_NGHI - Số ngày nghỉ
definition:
  v: SO_NGAY_NGHI - Số ngày nghỉ
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.soNgayNghi
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period

id:
  v: bhytXml11SickLeaveLm.tuNgay
path:
  v: bhytXml11SickLeaveLm.tuNgay
short:
  v: TU_NGAY - Từ ngày
definition:
  v: TU_NGAY - Từ ngày
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.tuNgay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.context.period.start

id:
  v: bhytXml11SickLeaveLm.denNgay
path:
  v: bhytXml11SickLeaveLm.denNgay
short:
  v: DEN_NGAY - Đến ngày
definition:
  v: DEN_NGAY - Đến ngày
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.denNgay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.context.period.end

id:
  v: bhytXml11SickLeaveLm.hoTenCha
path:
  v: bhytXml11SickLeaveLm.hoTenCha
short:
  v: HO_TEN_CHA - Họ tên cha
definition:
  v: HO_TEN_CHA - Họ tên cha
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.hoTenCha
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text

id:
  v: bhytXml11SickLeaveLm.hoTenMe
path:
  v: bhytXml11SickLeaveLm.hoTenMe
short:
  v: HO_TEN_ME - Họ tên mẹ
definition:
  v: HO_TEN_ME - Họ tên mẹ
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.hoTenMe
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text

id:
  v: bhytXml11SickLeaveLm.maTtdv
path:
  v: bhytXml11SickLeaveLm.maTtdv
short:
  v: MA_TTDV - Mã thủ trưởng đơn vị/người ký
definition:
  v: MA_TTDV - Mã thủ trưởng đơn vị/người ký
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maTtdv
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value

id:
  v: bhytXml11SickLeaveLm.maBs
path:
  v: bhytXml11SickLeaveLm.maBs
short:
  v: MA_BS - Mã bác sĩ
definition:
  v: MA_BS - Mã bác sĩ
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maBs
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value

id:
  v: bhytXml11SickLeaveLm.ngayCt
path:
  v: bhytXml11SickLeaveLm.ngayCt
short:
  v: NGAY_CT - Ngày cấp chứng từ
definition:
  v: NGAY_CT - Ngày cấp chứng từ
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.ngayCt
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.date | VNCoreComposition.date

id:
  v: bhytXml11SickLeaveLm.maTheTam
path:
  v: bhytXml11SickLeaveLm.maTheTam
short:
  v: MA_THE_TAM - Mã thẻ tạm
definition:
  v: MA_THE_TAM - Mã thẻ tạm
min:
  v: 0
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.maTheTam
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreCoverage.identifier.value
  comment:
    v: Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled.

id:
  v: bhytXml11SickLeaveLm.mauSo
path:
  v: bhytXml11SickLeaveLm.mauSo
short:
  v: MAU_SO - Mẫu số
definition:
  v: MAU_SO - Mẫu số
min:
  v: 1
max:
  v: 1
base:
  path:
    v: bhytXml11SickLeaveLm.mauSo
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.type.coding.code | VNCoreComposition.type.coding.code

element:
  id:
    v: bhytXml11SickLeaveLm
  path:
    v: bhytXml11SickLeaveLm
  short:
    v: Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model
  definition:
    v: Logical model cho Bảng 11 QĐ 3176/QĐ-BYT: dữ liệu giấy chứng nhận nghỉ việc hưởng bảo hiểm xã hội.
  constraint:
    key:
      v: bhyt-xml11-abortion-fields-required
    severity:
      v: error
    human:
      v: XML11 abortion detail fields are required when MA_DINH_CHI_THAI is 1.
    expression:
      v: maDinhChiThai != '1' or (nguyenNhanDinhChi.exists() and tuoiThai.exists())
    source:
      v: http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml11SickLeaveLm
      l: bhytXml11SickLeaveLm
element:
  id:
    v: bhytXml11SickLeaveLm.maLk
  path:
    v: bhytXml11SickLeaveLm.maLk
  short:
    v: MA_LK - Mã liên kết hồ sơ
  definition:
    v: MA_LK - Mã liên kết hồ sơ
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreClaim.identifier[MALK].value
element:
  id:
    v: bhytXml11SickLeaveLm.soCt
  path:
    v: bhytXml11SickLeaveLm.soCt
  short:
    v: SO_CT - Số chứng từ
  definition:
    v: SO_CT - Số chứng từ
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value
element:
  id:
    v: bhytXml11SickLeaveLm.soSeri
  path:
    v: bhytXml11SickLeaveLm.soSeri
  short:
    v: SO_SERI - Số seri
  definition:
    v: SO_SERI - Số seri
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value
element:
  id:
    v: bhytXml11SickLeaveLm.soKcb
  path:
    v: bhytXml11SickLeaveLm.soKcb
  short:
    v: SO_KCB - Số KCB
  definition:
    v: SO_KCB - Số KCB
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreEncounter.identifier[MA_LUOT_KCB].value
element:
  id:
    v: bhytXml11SickLeaveLm.donVi
  path:
    v: bhytXml11SickLeaveLm.donVi
  short:
    v: DON_VI - Đơn vị
  definition:
    v: DON_VI - Đơn vị
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name
element:
  id:
    v: bhytXml11SickLeaveLm.maBhxh
  path:
    v: bhytXml11SickLeaveLm.maBhxh
  short:
    v: MA_BHXH - Mã BHXH
  definition:
    v: MA_BHXH - Mã BHXH
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCorePatient.identifier[BHXH].value | VNCoreCoverage.subscriberId
element:
  id:
    v: bhytXml11SickLeaveLm.maTheBhyt
  path:
    v: bhytXml11SickLeaveLm.maTheBhyt
  short:
    v: MA_THE_BHYT - Mã thẻ BHYT
  definition:
    v: MA_THE_BHYT - Mã thẻ BHYT
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  mapping:
    identity:
      v: vn-fhir
    map:
      v: VNCoreCoverage.identifier[BHYT].value
element:
  id:
    v: bhytXml11SickLeaveLm.maDinhChiThai
  path:
    v: bhytXml11SickLeaveLm.maDinhChiThai
  short:
    v: MA_DINH_CHI_THAI - Mã đình chỉ thai
  definition:
    v: MA_DINH_CHI_THAI - Mã đình chỉ thai
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: bhytXml11SickLeaveLm.nguyenNhanDinhChi
  path:
    v: bhytXml11SickLeaveLm.nguyenNhanDinhChi
  short:
    v: NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai
  definition:
    v: NGUYENNHAN_DINHCHI - Nguyên nhân đình chỉ thai

v: Conditionally required when MA_DINH_CHI_THAI=1.

v: 0

v: 1

code:
  v: string
  l: string

id:
  v: bhytXml11SickLeaveLm.tuoiThai
path:
  v: bhytXml11SickLeaveLm.tuoiThai
short:
  v: TUOI_THAI - Tuổi thai
definition:
  v: TUOI_THAI - Tuổi thai
comment:
  v: Conditionally required when MA_DINH_CHI_THAI=1.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: bhytXml11SickLeaveLm.soNgayNghi
path:
  v: bhytXml11SickLeaveLm.soNgayNghi
short:
  v: SO_NGAY_NGHI - Số ngày nghỉ
definition:
  v: SO_NGAY_NGHI - Số ngày nghỉ
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period

id:
  v: bhytXml11SickLeaveLm.tuNgay
path:
  v: bhytXml11SickLeaveLm.tuNgay
short:
  v: TU_NGAY - Từ ngày
definition:
  v: TU_NGAY - Từ ngày
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.context.period.start

id:
  v: bhytXml11SickLeaveLm.denNgay
path:
  v: bhytXml11SickLeaveLm.denNgay
short:
  v: DEN_NGAY - Đến ngày
definition:
  v: DEN_NGAY - Đến ngày
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.context.period.end

id:
  v: bhytXml11SickLeaveLm.hoTenCha
path:
  v: bhytXml11SickLeaveLm.hoTenCha
short:
  v: HO_TEN_CHA - Họ tên cha
definition:
  v: HO_TEN_CHA - Họ tên cha
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text

id:
  v: bhytXml11SickLeaveLm.hoTenMe
path:
  v: bhytXml11SickLeaveLm.hoTenMe
short:
  v: HO_TEN_ME - Họ tên mẹ
definition:
  v: HO_TEN_ME - Họ tên mẹ
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text

id:
  v: bhytXml11SickLeaveLm.maTtdv
path:
  v: bhytXml11SickLeaveLm.maTtdv
short:
  v: MA_TTDV - Mã thủ trưởng đơn vị/người ký
definition:
  v: MA_TTDV - Mã thủ trưởng đơn vị/người ký
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value

id:
  v: bhytXml11SickLeaveLm.maBs
path:
  v: bhytXml11SickLeaveLm.maBs
short:
  v: MA_BS - Mã bác sĩ
definition:
  v: MA_BS - Mã bác sĩ
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value

id:
  v: bhytXml11SickLeaveLm.ngayCt
path:
  v: bhytXml11SickLeaveLm.ngayCt
short:
  v: NGAY_CT - Ngày cấp chứng từ
definition:
  v: NGAY_CT - Ngày cấp chứng từ
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.date | VNCoreComposition.date

id:
  v: bhytXml11SickLeaveLm.maTheTam
path:
  v: bhytXml11SickLeaveLm.maTheTam
short:
  v: MA_THE_TAM - Mã thẻ tạm
definition:
  v: MA_THE_TAM - Mã thẻ tạm
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreCoverage.identifier.value
  comment:
    v: Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled.

id:
  v: bhytXml11SickLeaveLm.mauSo
path:
  v: bhytXml11SickLeaveLm.mauSo
short:
  v: MAU_SO - Mẫu số
definition:
  v: MAU_SO - Mẫu số
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: vn-fhir
  map:
    v: VNCoreDocumentReference.type.coding.code | VNCoreComposition.type.coding.code