# Check-in BHYT — Logical Model - Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam v0.5.0

## Mô hình logic: Check-in BHYT — Logical Model 

 
Logical model cho dữ liệu tiếp nhận/check-in trước khi gửi hồ sơ thanh toán BHYT. 

**Usages:**

* This Logical Model is not used by any profiles in this Implementation Guide

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.vn.core|current/StructureDefinition/bhytCheckInLm)

### Các dạng xem hình thức của nội dung hồ sơ

 [Mô tả profile, differential, snapshot và các biểu diễn liên quan](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

*  [Bảng Differential](#tabs-diff) 
*  [Bảng Snapshot](#tabs-snap) 
*  [Thống kê/Tham chiếu](#tabs-summ) 
*  [Tất cả](#tabs-all) 

** Summary **

Mandatory: 0 element(4 nested mandatory elements)

 **Dạng xem Differential** 

 **Dạng xem SnapshotView** 

** Summary **

Mandatory: 0 element(4 nested mandatory elements)

 

Biểu diễn khác của hồ sơ: [CSV](../StructureDefinition-bhytCheckInLm.csv), [Excel](../StructureDefinition-bhytCheckInLm.xlsx) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "bhytCheckInLm",
  "url" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytCheckInLm",
  "version" : "0.5.0",
  "name" : "BHYTCheckInLM",
  "title" : "Check-in BHYT — 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 dữ liệu tiếp nhận/check-in trước khi gửi hồ sơ thanh toán BHYT.",
  "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" : "Logical model fields are populated from VN Core FHIR resources and the repository BHYT round-trip export rules."
  }],
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://fhir.hl7.org.vn/core/StructureDefinition/bhytCheckInLm",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation" : "specialization",
  "differential" : {
    "element" : [{
      "id" : "bhytCheckInLm",
      "path" : "bhytCheckInLm",
      "short" : "Check-in BHYT — Logical Model",
      "definition" : "Logical model cho dữ liệu tiếp nhận/check-in trước khi gửi hồ sơ thanh toán BHYT."
    },
    {
      "id" : "bhytCheckInLm.maLk",
      "path" : "bhytCheckInLm.maLk",
      "short" : "Mã liên kết hồ sơ",
      "definition" : "Mã liên kết hồ sơ",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCoreClaim.identifier[MALK].value",
        "comment" : "Authoritative submission business key."
      }]
    },
    {
      "id" : "bhytCheckInLm.maCskcb",
      "path" : "bhytCheckInLm.maCskcb",
      "short" : "Mã cơ sở khám chữa bệnh",
      "definition" : "Mã cơ sở khám chữa bệnh",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCoreEncounter.serviceProvider.resolve().identifier[CSKCB].value | VNCoreClaim.provider.resolve().identifier[CSKCB].value",
        "comment" : "Use the actual receiving/providing facility. Do not fall back to Coverage.primaryCareFacility because MA_DKBD may differ from the facility providing the visit."
      }]
    },
    {
      "id" : "bhytCheckInLm.maBn",
      "path" : "bhytCheckInLm.maBn",
      "short" : "Mã người bệnh tại cơ sở",
      "definition" : "Mã người bệnh tại cơ sở",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCorePatient.identifier[MRN].value",
        "comment" : "Medical record number used by the healthcare facility."
      }]
    },
    {
      "id" : "bhytCheckInLm.soCccd",
      "path" : "bhytCheckInLm.soCccd",
      "short" : "Số CCCD hoặc mã định danh cá nhân",
      "definition" : "Số CCCD hoặc mã định danh cá nhân",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCorePatient.identifier[CCCD].value",
        "comment" : "May be absent only with a valid force-majeure reason."
      }]
    },
    {
      "id" : "bhytCheckInLm.maThe",
      "path" : "bhytCheckInLm.maThe",
      "short" : "Số thẻ BHYT",
      "definition" : "Số thẻ BHYT",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCoreCoverage.identifier[BHYT].value | VNCorePatient.identifier[BHYT].value",
        "comment" : "Coverage is authoritative; Patient slice is a compatibility fallback."
      }]
    },
    {
      "id" : "bhytCheckInLm.maDoituongKcb",
      "path" : "bhytCheckInLm.maDoituongKcb",
      "short" : "Mã đối tượng đến KCB",
      "definition" : "Mã đối tượng đến KCB",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCoreClaim.subType",
        "comment" : "Do not map to Coverage.extension[bhytCardType]; MA_DOITUONG_KCB is visit classification, while bhytCardType is the insured/card group from the BHYT identifier."
      }]
    },
    {
      "id" : "bhytCheckInLm.thoiGianTiepNhan",
      "path" : "bhytCheckInLm.thoiGianTiepNhan",
      "short" : "Thời gian tiếp nhận theo định dạng yyyyMMddHHmm",
      "definition" : "Thời gian tiếp nhận theo định dạng yyyyMMddHHmm",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "vn-fhir",
        "map" : "VNCoreEncounter.period.start | VNCoreClaim.created",
        "comment" : "Encounter start is semantically preferred; Claim.created is the repository fallback when a dedicated check-in instant is unavailable."
      }]
    }]
  }
}

```
