Hướng dẫn triển khai FHIR cốt lõi Việt Nam — VN Core FHIR Implementation Guide
0.9.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.9.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/vn-core-medication | Phiên bản: 0.9.0 | ||||
| Computable Name: VNCoreMedication | |||||
| Định danh khác: OID:2.25.161089673617632664299011809196868855799.42.72 | |||||
Profile Medication cho Việt Nam. Thông tin chi tiết thuốc: mã, tên, dạng bào chế, hàm lượng, số đăng ký. Liên kết với MedicationRequest (đơn thuốc) và Claim (thanh toán BHYT). Căn 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. |
![]() ![]() |
Σ | 0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng |
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Hoạt chất / dược liệu (mã hoặc tên) | |
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) |
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) |
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.identifier:drugRegistrationNumber.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |
![]() ![]() |
S | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
S | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) |
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) |
![]() ![]() |
0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng | |
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept, Reference(Substance | Medication) | Hoạt chất / dược liệu (mã hoặc tên) |
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) |
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) |
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) |
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |||||
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | ||||
![]() ![]() |
Σ | 0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng | ||||
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | Hoạt chất / dược liệu (mã hoặc tên) | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |||||
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) | ||||
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) | ||||
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Medication.identifier:drugRegistrationNumber.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:drugRegistrationNumber.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
Summary
Mandatory: 1 element(4 nested mandatory elements)
Must-Support: 10 elements
Fixed: 2 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Dạng xem phần tử chính
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
Σ | 0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. |
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. |
![]() ![]() |
Σ | 0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng |
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Hoạt chất / dược liệu (mã hoặc tên) | |
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) |
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) |
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.identifier:drugRegistrationNumber.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
Dạng xem Differential
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |
![]() ![]() |
S | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
S | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
S | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) |
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) |
![]() ![]() |
0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng | |
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept, Reference(Substance | Medication) | Hoạt chất / dược liệu (mã hoặc tên) |
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) |
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) |
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) |
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) |
Documentation for this format | ||||
Dạng xem SnapshotView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | string | Số đăng ký thuốc (SO_DANG_KY) — LEGACY, dùng identifier[drugRegistrationNumber] cho dữ liệu mới URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-med-reg-number | |||||
![]() ![]() ![]() |
0..1 | string | Thông tin thầu (TT_THAU) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-tender-info | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Phương pháp chế biến YHCT (MA_PP_CHEBIEN) URL: http://fhir.hl7.org.vn/core/StructureDefinition/vn-ext-traditional-processing-method Binding: Phương pháp chế biến vị thuốc cổ truyền — VN Traditional Medicine Processing Method ValueSet (extensible) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Định danh thuốc: số đăng ký lưu hành, GTIN bao gói Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Số đăng ký lưu hành (GPLH) — 12 chữ số theo TT 12/2025/TT-BYT hoặc định dạng legacy VD-xxxxx-yy | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.hl7.org.vn/core/sid/so-dang-ky-thuoc | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | GTIN bao gói (GS1) — một GTIN ứng với một quy cách đóng gói cụ thể | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: https://www.gs1.org/gtin | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Mã thuốc — mã sản phẩm hoặc clinical drug; ATC chỉ là coding phụ (phân loại) Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | Dạng bào chế (viên nén, dung dịch, bột...) Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | ||||
![]() ![]() |
Σ | 0..1 | Ratio | Lượng thuốc trong một đơn vị đóng gói (vd 20 viên/hộp, 3 mL/bút) — KHÔNG phải hàm lượng | ||||
![]() ![]() |
S | 0..* | BackboneElement | Thành phần hoạt chất / dược liệu YHCT | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | Hoạt chất / dược liệu (mã hoặc tên) | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Hoạt chất chính (true) hay phụ (false) | |||||
![]() ![]() ![]() |
S | 0..1 | Ratio | Hàm lượng / trọng lượng (VD: 500mg, 12g/thang) | ||||
![]() ![]() |
S | 0..1 | BackboneElement | Lô sản xuất (truy xuất nguồn gốc, thu hồi) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | string | Số lô (SO_LO) | ||||
![]() ![]() ![]() |
S | 0..1 | dateTime | Hạn sử dụng (HAN_DUNG) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Medication.identifier:drugRegistrationNumber.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:drugRegistrationNumber.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Medication.identifier:gtin.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍4.0.1 | FHIR Std. |
| Medication.status | Base | required | Medication status codes | 📍4.0.1 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Medication | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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()
|
Summary
Mandatory: 1 element(4 nested mandatory elements)
Must-Support: 10 elements
Fixed: 2 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Biểu diễn khác của hồ sơ: CSV, Excel, Schematron