HL7 Vietnam VN Core FHIR Implementation Guide

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam
0.8.0 - Draft for Community Review Viet Nam cờ

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

StructureMap: Bảng 5 diễn biến lâm sàng BHYT — Logical Model — StructureMap

URL chính thức: http://fhir.hl7.org.vn/core/StructureMap/vn-sm-bhyt-xml5-clinical-course Phiên bản: 0.8.0
Computable Name: BHYTXML5ClinicalCourseLMStructureMap
Định danh khác: OID:2.25.161089673617632664299011809196868855799.43.8

Generated StructureMap scaffold for Bảng 5 diễn biến lâm sàng BHYT — Logical Model. Source semantics come from the logical model mapping annotations in BHYTXML5ClinicalCourseLM.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-xml5-clinical-course" = "BHYTXML5ClinicalCourseLMStructureMap"

// Generated StructureMap scaffold for Bảng 5 diễn biến lâm sàng BHYT — Logical Model. Source semantics come from the logical model mapping annotations in `BHYTXML5ClinicalCourseLM.fsh` and remain aligned with the Python BHYT round-trip export adapter.

// FHIR-native source bundle profile used by the repository round-trip adapter.
uses "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-bhyt-submission-bundle" alias BHYTSubmissionBundle as source
// Bảng 5 diễn biến lâm sàng BHYT — Logical Model
uses "http://fhir.hl7.org.vn/core/StructureDefinition/bhytXml5ClinicalCourseLm" alias BHYTXML5ClinicalCourseLM as target

// Rows are derived from clinical-course timeline entries. QD 3176 XML5 currently carries row order, event time, and performer metadata only. 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 MapBHYTXML5ClinicalCourseLM(source sourceBundle : BHYTSubmissionBundle, target targetRow : BHYTXML5ClinicalCourseLM) {
  // Target field: Mã liên kết hồ sơ FHIR path: VNCoreClaim.identifier[MALK].value
  sourceBundle.entry 0..* as maLkSource -> targetRow.maLk "maLk";
  // Target field: STT - Số thứ tự dòng FHIR path: Derived export row order from the clinical course timeline
  sourceBundle.entry 0..* as sttSource -> targetRow.stt "stt";
  // Target field: DIEN_BIEN_LS - Diễn biến lâm sàng của người bệnh trong lần khám và/hoặc nội dung chăm sóc của nhân viên y tế FHIR path: VNCoreClinicalImpression.summary | VNCoreClinicalImpression.note.text Mapping note: Trường tự do. Khi mô tả diễn biến có đo chỉ số sinh tồn thì ghi theo quy ước ký hiệu Mạch (M), nhiệt độ (T), huyết áp (HA), nhịp thở (NT), SPO2 (SP), chế độ hộ lý (HL)... theo cú pháp mẫu CSST<M75_T37_HA120/70_NT18_HL2> (bổ sung hướng dẫn theo QĐ 4750/QĐ-BYT).
  sourceBundle.entry 0..* as dienBienLsSource -> targetRow.dienBienLs "dienBienLs";
  // Target field: GIAI_DOAN_BENH - Giai đoạn bệnh, ghi khi cơ sở KBCB đã xác định được giai đoạn bệnh FHIR path: VNCoreCondition.stage.summary Mapping note: Chỉ ghi trong trường hợp cơ sở KBCB đã xác định giai đoạn bệnh (điều kiện có/không) — QĐ 3176/QĐ-BYT.
  sourceBundle.entry 0..* as giaiDoanBenhSource -> targetRow.giaiDoanBenh "giaiDoanBenh";
  // Target field: HOI_CHAN - Kết quả hội chẩn (nếu có) FHIR path: VNCoreClinicalImpression.summary | future hội-chẩn/consultation CareTeam extension Mapping note: Chỉ ghi khi có hội chẩn. Kết quả hội chẩn là văn bản tự do; chưa có element/slice riêng cho kết quả hội chẩn (case-conference) trên VNCoreCareTeam — QĐ 3176/QĐ-BYT.
  sourceBundle.entry 0..* as hoiChanSource -> targetRow.hoiChan "hoiChan";
  // Target field: PHAU_THUAT - Mô tả cách thức phẫu thuật, thủ thuật (nếu có) FHIR path: VNCoreProcedure.note.text Mapping note: Chỉ ghi khi có phẫu thuật/thủ thuật; mô tả tự do cách thức thực hiện — QĐ 3176/QĐ-BYT.
  sourceBundle.entry 0..* as phauThuatSource -> targetRow.phauThuat "phauThuat";
  // Target field: THOI_DIEM_DBLS - Thời điểm diễn biến lâm sàng theo định dạng yyyyMMddHHmm FHIR path: VNCoreComposition.date | VNCoreObservation.effectiveDateTime
  sourceBundle.entry 0..* as thoiDiemDblsSource -> targetRow.thoiDiemDbls "thoiDiemDbls";
  // Target field: NGUOI_THUC_HIEN - Mã người thực hiện FHIR path: VNCoreComposition.author.resolve().identifier.value | VNCorePractitioner.identifier.value
  sourceBundle.entry 0..* as nguoiThucHienSource -> targetRow.nguoiThucHien "nguoiThucHien";
}