Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide
0.10.0 - Draft for Community Review
Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide - Draft for Community Review (v0.10.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/StructureDefinition/vnBhytGatewaySignedEnvelopeLm | Phiên bản: 0.10.0 | ||||
| Computable Name: VNBHYTGatewaySignedEnvelopeLM | |||||
| Định danh khác: OID:2.25.161089673617632664299011809196868855799.42.192 | |||||
Logical model cho phong bì vận chuyển của Cổng tiếp nhận dữ liệu thuộc Hệ thống thông tin giám định BHYT (gdbhyt.baohiemxahoi.gov.vn): request gửi hồ sơ mang fileHsBase64 — chuỗi Base64 của file XML đã ký số — cùng thông tin xác thực và loại hồ sơ.
INFORMATIVE / non-normative: mô hình ánh xạ transport envelope (không phải FHIR resource normative) — mapping aid cho implementer viết adapter.
Vì sao có model này và vì sao KHÔNG có profile chữ ký số. TT 12/2026/TT-BTC Điều 2 khoản 2 buộc mọi tài liệu, dữ liệu KCB điện tử gửi Cổng phải được ký số và xác thực, nhưng payload mà Cổng nhận là XML ký XMLDSig, không phải resource FHIR. Vì vậy VN Core mô hình hoá đúng lớp wire ở đây và không tạo profile Signature FHIR-native: một profile như vậy sẽ mô tả thứ không bên nào trong luồng này trao đổi. VNCoreBHYTSubmissionBundle là gói FHIR trước khi chuyển đổi sang XML; Bundle.signature của nó không phải CHUKYDONVI của phong bì này.
Tuân thủ model này không chứng minh chữ ký hợp lệ. Kiểm tra Base64 ↔ XML giải mã, canonicalized bytes, chuỗi chứng thư, trạng thái thu hồi và phép thử RSA nằm ngoài FHIRPath — thuộc rule external signature-verification-contract.
Nguồn và giới hạn của nguồn. Phụ lục kỹ thuật 71 trang của QĐ 326/QĐ-BHXH có lớp text trực tiếp; các phần tử XMLDSig dưới đây trích từ exemplar trong phụ lục đó. Phụ lục không kèm XSD hay bảng cardinality riêng cho khối chữ ký, nên cardinality 1..1 và reference 2..2 là ràng buộc của logical model suy ra từ exemplar, không phải tuyên bố về một lược đồ chính thức. Bảy trường request được đặt 1..1 vì bảng tham số nguồn đánh dấu bắt buộc. Bản quyết định một trang hiện chỉ có scan không có lớp text; PL01 lỗi ZIP trailer và PL02 chưa công khai — xem statusEvidenceNote của mã QD-326-2026-BHXH.
Căn cứ: QĐ 326/QĐ-BHXH (31/3/2026, hiệu lực 01/4/2026) — hướng dẫn kỹ thuật gửi, nhận tài liệu và dữ liệu điện tử trên Cổng tiếp nhận dữ liệu; TT 12/2026/TT-BTC Điều 2 khoản 2 — nghĩa vụ ký số và xác thực.
Usages:
You can also check for usages in the FHIR IG Statistics
Mô tả profile, differential, snapshot và các biểu diễn liên quan.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Base | Phong bì XML ký số Cổng giám định BHYT theo QĐ 326/QĐ-BHXH — Logical Model Constraints: vn-q326-reference-roles |
![]() ![]() |
1..1 | BackboneElement | Thông tin request đến Cổng giám định BHYT | |
![]() ![]() ![]() |
1..1 | string | maCskcb - maCskcb — mã cơ sở khám bệnh, chữa bệnh | |
![]() ![]() ![]() |
1..1 | string | accessToken - accessToken — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | tokenId - tokenId — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | username - username — tài khoản cơ sở KCB; không persist trong clinical store | |
![]() ![]() ![]() |
1..1 | string | passwordHash - passwordHash — băm theo wire contract nguồn; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | loaiHs - loaiHs — loại hồ sơ theo endpoint QĐ 326/QĐ-BHXH | |
![]() ![]() ![]() |
1..1 | string | maTinh - maTinh — mã tỉnh của cơ sở KCB gửi hồ sơ | |
![]() ![]() ![]() |
1..1 | string | kyQT - kyQT — kỳ quyết toán dạng YYYYMM | |
![]() ![]() ![]() |
1..1 | string | fileHsBase64 - fileHsBase64 — chuỗi Base64 của file XML đã ký số | |
![]() ![]() |
1..1 | BackboneElement | Nội dung XML trước khi Base64; là semantic view của fileHsBase64 | |
![]() ![]() ![]() |
1..1 | string | Tên phần tử gốc của XML, ví dụ HSDANHMUC | |
![]() ![]() ![]() |
1..1 | string | Id của payload mà Reference thứ hai trỏ tới | |
![]() ![]() ![]() |
1..1 | BackboneElement | CHUKYDONVI — thông tin chữ ký của đơn vị | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Signature | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Signature/@Id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | xmlns của XMLDSig | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:SignedInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | CanonicalizationMethod/@Algorithm — C14N 2001 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | SignatureMethod/@Algorithm — RSA-SHA256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
2..2 | BackboneElement | Hai ds:Reference: một tới Object chữ ký, một tới payload | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference/@URI | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | DigestMethod/@Algorithm — SHA-256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | DigestValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | SignatureValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | KeyInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | X509Data | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | X509SubjectName | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | X509Certificate — DER mã hoá Base64 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Object | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Object/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperties | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperty | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Target | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | dateTime | SigningTime — thời điểm ký do bên ký khai | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| vn-q326-reference-roles | error | vnBhytGatewaySignedEnvelopeLm | SignedInfo phải có đúng một Reference tới Object chữ ký và một Reference tới payload. SignedInfo SHALL carry exactly one Reference to the signature Object and one to the payload. |
signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Object-CHUKYDONVI-Id-')).count() = 1 and signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Id-')).count() = 1
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Base | Phong bì XML ký số Cổng giám định BHYT theo QĐ 326/QĐ-BHXH — Logical Model Constraints: vn-q326-reference-roles |
![]() ![]() |
1..1 | BackboneElement | Thông tin request đến Cổng giám định BHYT | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | maCskcb - maCskcb — mã cơ sở khám bệnh, chữa bệnh | |
![]() ![]() ![]() |
1..1 | string | accessToken - accessToken — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | tokenId - tokenId — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | username - username — tài khoản cơ sở KCB; không persist trong clinical store | |
![]() ![]() ![]() |
1..1 | string | passwordHash - passwordHash — băm theo wire contract nguồn; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | loaiHs - loaiHs — loại hồ sơ theo endpoint QĐ 326/QĐ-BHXH | |
![]() ![]() ![]() |
1..1 | string | maTinh - maTinh — mã tỉnh của cơ sở KCB gửi hồ sơ | |
![]() ![]() ![]() |
1..1 | string | kyQT - kyQT — kỳ quyết toán dạng YYYYMM | |
![]() ![]() ![]() |
1..1 | string | fileHsBase64 - fileHsBase64 — chuỗi Base64 của file XML đã ký số | |
![]() ![]() |
1..1 | BackboneElement | Nội dung XML trước khi Base64; là semantic view của fileHsBase64 | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Tên phần tử gốc của XML, ví dụ HSDANHMUC | |
![]() ![]() ![]() |
1..1 | string | Id của payload mà Reference thứ hai trỏ tới | |
![]() ![]() ![]() |
1..1 | BackboneElement | CHUKYDONVI — thông tin chữ ký của đơn vị | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Signature | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Signature/@Id | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | xmlns của XMLDSig | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:SignedInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | CanonicalizationMethod/@Algorithm — C14N 2001 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | SignatureMethod/@Algorithm — RSA-SHA256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
2..2 | BackboneElement | Hai ds:Reference: một tới Object chữ ký, một tới payload | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference/@URI | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | DigestMethod/@Algorithm — SHA-256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | DigestValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | SignatureValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | KeyInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | X509Data | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | X509SubjectName | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | X509Certificate — DER mã hoá Base64 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Object | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Object/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperties | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperty | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Target | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | dateTime | SigningTime — thời điểm ký do bên ký khai | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| vn-q326-reference-roles | error | vnBhytGatewaySignedEnvelopeLm | SignedInfo phải có đúng một Reference tới Object chữ ký và một Reference tới payload. SignedInfo SHALL carry exactly one Reference to the signature Object and one to the payload. |
signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Object-CHUKYDONVI-Id-')).count() = 1 and signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Id-')).count() = 1
|
Dạng xem Differential
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Base | Phong bì XML ký số Cổng giám định BHYT theo QĐ 326/QĐ-BHXH — Logical Model Constraints: vn-q326-reference-roles |
![]() ![]() |
1..1 | BackboneElement | Thông tin request đến Cổng giám định BHYT | |
![]() ![]() ![]() |
1..1 | string | maCskcb - maCskcb — mã cơ sở khám bệnh, chữa bệnh | |
![]() ![]() ![]() |
1..1 | string | accessToken - accessToken — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | tokenId - tokenId — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | username - username — tài khoản cơ sở KCB; không persist trong clinical store | |
![]() ![]() ![]() |
1..1 | string | passwordHash - passwordHash — băm theo wire contract nguồn; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | loaiHs - loaiHs — loại hồ sơ theo endpoint QĐ 326/QĐ-BHXH | |
![]() ![]() ![]() |
1..1 | string | maTinh - maTinh — mã tỉnh của cơ sở KCB gửi hồ sơ | |
![]() ![]() ![]() |
1..1 | string | kyQT - kyQT — kỳ quyết toán dạng YYYYMM | |
![]() ![]() ![]() |
1..1 | string | fileHsBase64 - fileHsBase64 — chuỗi Base64 của file XML đã ký số | |
![]() ![]() |
1..1 | BackboneElement | Nội dung XML trước khi Base64; là semantic view của fileHsBase64 | |
![]() ![]() ![]() |
1..1 | string | Tên phần tử gốc của XML, ví dụ HSDANHMUC | |
![]() ![]() ![]() |
1..1 | string | Id của payload mà Reference thứ hai trỏ tới | |
![]() ![]() ![]() |
1..1 | BackboneElement | CHUKYDONVI — thông tin chữ ký của đơn vị | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Signature | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Signature/@Id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | xmlns của XMLDSig | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:SignedInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | CanonicalizationMethod/@Algorithm — C14N 2001 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | SignatureMethod/@Algorithm — RSA-SHA256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
2..2 | BackboneElement | Hai ds:Reference: một tới Object chữ ký, một tới payload | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference/@URI | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | DigestMethod/@Algorithm — SHA-256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | DigestValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | SignatureValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | KeyInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | X509Data | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | X509SubjectName | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | X509Certificate — DER mã hoá Base64 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Object | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Object/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperties | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperty | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Target | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | dateTime | SigningTime — thời điểm ký do bên ký khai | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| vn-q326-reference-roles | error | vnBhytGatewaySignedEnvelopeLm | SignedInfo phải có đúng một Reference tới Object chữ ký và một Reference tới payload. SignedInfo SHALL carry exactly one Reference to the signature Object and one to the payload. |
signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Object-CHUKYDONVI-Id-')).count() = 1 and signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Id-')).count() = 1
|
Dạng xem SnapshotView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Base | Phong bì XML ký số Cổng giám định BHYT theo QĐ 326/QĐ-BHXH — Logical Model Constraints: vn-q326-reference-roles |
![]() ![]() |
1..1 | BackboneElement | Thông tin request đến Cổng giám định BHYT | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | maCskcb - maCskcb — mã cơ sở khám bệnh, chữa bệnh | |
![]() ![]() ![]() |
1..1 | string | accessToken - accessToken — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | tokenId - tokenId — transport credential; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | username - username — tài khoản cơ sở KCB; không persist trong clinical store | |
![]() ![]() ![]() |
1..1 | string | passwordHash - passwordHash — băm theo wire contract nguồn; không persist, không log | |
![]() ![]() ![]() |
1..1 | string | loaiHs - loaiHs — loại hồ sơ theo endpoint QĐ 326/QĐ-BHXH | |
![]() ![]() ![]() |
1..1 | string | maTinh - maTinh — mã tỉnh của cơ sở KCB gửi hồ sơ | |
![]() ![]() ![]() |
1..1 | string | kyQT - kyQT — kỳ quyết toán dạng YYYYMM | |
![]() ![]() ![]() |
1..1 | string | fileHsBase64 - fileHsBase64 — chuỗi Base64 của file XML đã ký số | |
![]() ![]() |
1..1 | BackboneElement | Nội dung XML trước khi Base64; là semantic view của fileHsBase64 | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Tên phần tử gốc của XML, ví dụ HSDANHMUC | |
![]() ![]() ![]() |
1..1 | string | Id của payload mà Reference thứ hai trỏ tới | |
![]() ![]() ![]() |
1..1 | BackboneElement | CHUKYDONVI — thông tin chữ ký của đơn vị | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Signature | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Signature/@Id | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | xmlns của XMLDSig | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:SignedInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | CanonicalizationMethod/@Algorithm — C14N 2001 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | SignatureMethod/@Algorithm — RSA-SHA256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() |
2..2 | BackboneElement | Hai ds:Reference: một tới Object chữ ký, một tới payload | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference/@URI | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | DigestMethod/@Algorithm — SHA-256 theo exemplar nguồn | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | DigestValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | SignatureValue | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | KeyInfo | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | X509Data | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | X509SubjectName | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | base64Binary | X509Certificate — DER mã hoá Base64 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | ds:Object | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Object/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperties | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | BackboneElement | SignatureProperty | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Id | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | SignatureProperty/@Target | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | dateTime | SigningTime — thời điểm ký do bên ký khai | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| vn-q326-reference-roles | error | vnBhytGatewaySignedEnvelopeLm | SignedInfo phải có đúng một Reference tới Object chữ ký và một Reference tới payload. SignedInfo SHALL carry exactly one Reference to the signature Object and one to the payload. |
signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Object-CHUKYDONVI-Id-')).count() = 1 and signedXml.chuKyDonVi.signature.signedInfo.reference.uri.where(startsWith('#Id-')).count() = 1
|