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 - Draft for Community Review (v0.5.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| URL chính thức: http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml11-sick-leave | Phiên bản: 0.5.0 | ||||
| Computable Name: BHYTXML11SickLeaveLMStructureMap | |||||
Generated StructureMap scaffold for Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model. Source semantics come from the logical model mapping annotations in BHYTXML11SickLeaveLM.fsh and remain aligned with the Python BHYT round-trip export adapter.
Language: vi
map "http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml11-sick-leave" = "BHYTXML11SickLeaveLMStructureMap" // Generated StructureMap scaffold for Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML11SickLeaveLM.fsh` and remain aligned with the Python BHYT round-trip export adapter. uses "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle" alias BHYTSubmissionBundle as source // FHIR-native source bundle profile used by the repository round-trip adapter. uses "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml11SickLeaveLm" alias BHYTXML11SickLeaveLM as target // Bảng 11 giấy chứng nhận nghỉ việc hưởng BHXH — XML11 Sick Leave Logical Model // Rows are derived from sick-leave DocumentReference/Composition, period, certifying Practitioner, Coverage and parent/guardian data. Generated from logical-model `^mapping` annotations. Fields still missing a field-level `^mapping.map` entry remain outside this StructureMap and are tracked in `wiki/mappings/bhyt-output-data/machine/structuremap-coverage.json`. group MapBHYTXML11SickLeaveLM(source sourceBundle : BHYTSubmissionBundle, target targetRow : BHYTXML11SickLeaveLM) { sourceBundle.entry as maLkSource -> targetRow.maLk "maLk"; // Target field: MA_LK - Mã liên kết hồ sơ FHIR path: VNCoreClaim.identifier[MALK].value sourceBundle.entry as soCtSource -> targetRow.soCt "soCt"; // Target field: SO_CT - Số chứng từ FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value sourceBundle.entry as soSeriSource -> targetRow.soSeri "soSeri"; // Target field: SO_SERI - Số seri FHIR path: VNCoreDocumentReference.identifier.value | VNCoreComposition.identifier.value sourceBundle.entry as soKcbSource -> targetRow.soKcb "soKcb"; // Target field: SO_KCB - Số KCB FHIR path: VNCoreEncounter.identifier[MA_LUOT_KCB].value sourceBundle.entry as donViSource -> targetRow.donVi "donVi"; // Target field: DON_VI - Đơn vị FHIR path: VNCoreOrganization.name | VNCoreDocumentReference.custodian.resolve().name sourceBundle.entry as maBhxhSource -> targetRow.maBhxh "maBhxh"; // Target field: MA_BHXH - Mã BHXH FHIR path: VNCorePatient.identifier[BHXH].value | VNCoreCoverage.subscriberId sourceBundle.entry as maTheBhytSource -> targetRow.maTheBhyt "maTheBhyt"; // Target field: MA_THE_BHYT - Mã thẻ BHYT FHIR path: VNCoreCoverage.identifier[BHYT].value sourceBundle.entry as soNgayNghiSource -> targetRow.soNgayNghi "soNgayNghi"; // Target field: SO_NGAY_NGHI - Số ngày nghỉ FHIR path: Derived from VNCoreDocumentReference.context.period | VNCoreComposition.event.period sourceBundle.entry as tuNgaySource -> targetRow.tuNgay "tuNgay"; // Target field: TU_NGAY - Từ ngày FHIR path: VNCoreDocumentReference.context.period.start sourceBundle.entry as denNgaySource -> targetRow.denNgay "denNgay"; // Target field: DEN_NGAY - Đến ngày FHIR path: VNCoreDocumentReference.context.period.end sourceBundle.entry as hoTenChaSource -> targetRow.hoTenCha "hoTenCha"; // Target field: HO_TEN_CHA - Họ tên cha FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='FTH').name.text | VNCorePatient.contact.where(relationship.coding.code='FTH').name.text sourceBundle.entry as hoTenMeSource -> targetRow.hoTenMe "hoTenMe"; // Target field: HO_TEN_ME - Họ tên mẹ FHIR path: VNCoreRelatedPerson.where(relationship.coding.code='MTH').name.text | VNCorePatient.contact.where(relationship.coding.code='MTH').name.text sourceBundle.entry as maTtdvSource -> targetRow.maTtdv "maTtdv"; // Target field: MA_TTDV - Mã thủ trưởng đơn vị/người ký FHIR path: VNCoreComposition.attester.party.resolve().identifier.value | VNCoreDocumentReference.authenticator.resolve().identifier.value sourceBundle.entry as maBsSource -> targetRow.maBs "maBs"; // Target field: MA_BS - Mã bác sĩ FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value sourceBundle.entry as ngayCtSource -> targetRow.ngayCt "ngayCt"; // Target field: NGAY_CT - Ngày cấp chứng từ FHIR path: VNCoreDocumentReference.date | VNCoreComposition.date sourceBundle.entry as maTheTamSource -> targetRow.maTheTam "maTheTam"; // Target field: MA_THE_TAM - Mã thẻ tạm FHIR path: VNCoreCoverage.identifier.value Mapping note: Temporary card identifiers are kept as Coverage.identifier until a dedicated temporary-card slice is profiled. sourceBundle.entry as mauSoSource -> targetRow.mauSo "mauSo"; // Target field: MAU_SO - Mẫu số FHIR path: VNCoreDocumentReference.type.coding.code | VNCoreComposition.type.coding.code }