HL7 Vietnam VN Core FHIR Implementation Guide

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 Viet Nam cờ

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

Hồ sơ tài nguyên: Nhóm đơn thuốc kết hợp VN Core — VN Core Combined Prescription Group Profile

URL chính thức: http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-combined-prescription-group Phiên bản: 0.10.0
Computable Name: VNCoreCombinedPrescriptionGroup
Định danh khác: OID:2.25.161089673617632664299011809196868855799.42.38

Nhóm liên kết các tờ đơn của một lần kê đơn kết hợp thuốc cổ truyền, thuốc dược liệu với thuốc hoá dược trong điều trị ngoại trú, theo TT 55/2025/TT-BYT Điều 7 khoản 2. Mỗi tờ đơn giữ nguyên mẫu và mã đơn thuốc quốc gia riêng của nó — phần thuốc thang và thuốc cổ truyền theo VNCoreYHCTOutpatientPrescription (hậu tố T), phần hoá dược theo VNCoreOutpatientPrescription (hậu tố N, H hoặc C). RequestGroup mang mã ĐỢT KÊ ĐƠN, không phải mã đơn thuốc pháp lý. Chỉ dùng khi thực sự có từ hai tờ đơn trở lên; một tờ đơn đơn lẻ không cần nhóm. / Links the separate prescription forms of a combined traditional-and-modern medicine outpatient prescription per Circular 55/2025/TT-BYT Article 7.2. Each form keeps its own national prescription code; this resource carries an episode-level identifier instead.

Usages:

You can also check for usages in the FHIR IG Statistics

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request.
Fixed Value: order
... subject S 1..1 Reference(Bệnh nhân VN Core — VN Core Patient Profile) Người bệnh của đợt kê đơn
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... action SC 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
Constraints: rqg-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... resource SC 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RequestGroup.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
RequestGroup.status Base required RequestStatus 📍4.0.1 FHIR Std.
RequestGroup.intent Base required RequestIntent 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RequestGroup If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RequestGroup 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 RequestGroup 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 RequestGroup If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RequestGroup 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()
rqg-1 error RequestGroup.action Must have resource or action but not both resource.exists() != action.exists()
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... identifier SC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... status 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Fixed Value: active
... intent 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... action S 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
.... resource S 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 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.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn 0..* Reference(Resource) Fulfills plan, proposal, or order
... replaces 0..* Reference(Resource) Request(s) replaced by this request
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request.
Fixed Value: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request.
Fixed Value: order
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... code Σ 0..1 CodeableConcept What's being requested/ordered
... subject S 1..1 Reference(Bệnh nhân VN Core — VN Core Patient Profile) Người bệnh của đợt kê đơn
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... reasonCode 0..* CodeableConcept Why the request group is needed
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why the request group is needed
... note 0..* Annotation Additional notes about the response
... action SC 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
Constraints: rqg-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prefix 0..1 string User-visible prefix for the action (e.g. 1. or A.)
.... title 0..1 string User-visible title
.... description Σ 0..1 string Short description of the action
.... textEquivalent Σ 0..1 string Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system
.... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
.... code 0..* CodeableConcept Code representing the meaning of the action or sub-actions
.... documentation 0..* RelatedArtifact Supporting documentation for the intended performer of the action
.... condition 0..* BackboneElement Whether or not the action is applicable
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... kind 1..1 code applicability | start | stop
Binding: ActionConditionKind (required): The kind of condition for the action.
..... expression 0..1 Expression Boolean-valued expression
.... relatedAction 0..* BackboneElement Relationship to another action
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... actionId 1..1 id What action this is related to
..... relationship 1..1 code before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
Binding: ActionRelationshipType (required): Defines the types of relationships between actions.
..... offset[x] 0..1 Time offset for the relationship
...... offsetDuration Duration
...... offsetRange Range
.... timing[x] 0..1 When the action should take place
..... timingDateTime dateTime
..... timingAge Age
..... timingPeriod Period
..... timingDuration Duration
..... timingRange Range
..... timingTiming Timing
.... participant 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device) Who should perform the action
.... type 0..1 CodeableConcept create | update | remove | fire-event
Binding: ActionType (extensible): The type of action to be performed.
.... groupingBehavior 0..1 code visual-group | logical-group | sentence-group
Binding: ActionGroupingBehavior (required): Defines organization behavior of a group.
.... selectionBehavior 0..1 code any | all | all-or-none | exactly-one | at-most-one | one-or-more
Binding: ActionSelectionBehavior (required): Defines selection behavior of a group.
.... requiredBehavior 0..1 code must | could | must-unless-documented
Binding: ActionRequiredBehavior (required): Defines expectations around whether an action or action group is required.
.... precheckBehavior 0..1 code yes | no
Binding: ActionPrecheckBehavior (required): Defines selection frequency behavior for an action or group.
.... cardinalityBehavior 0..1 code single | multiple
Binding: ActionCardinalityBehavior (required): Defines behavior for an action or a group for how many times that item may be repeated.
.... resource SC 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ
.... action C 0..* See action (RequestGroup) Sub action

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RequestGroup.language Base preferred Common Languages 📍4.0.1 FHIR Std.
RequestGroup.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
RequestGroup.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
RequestGroup.status Base required RequestStatus 📍4.0.1 FHIR Std.
RequestGroup.intent Base required RequestIntent 📍4.0.1 FHIR Std.
RequestGroup.priority Base required Request priority 📍4.0.1 FHIR Std.
RequestGroup.action.​priority Base required Request priority 📍4.0.1 FHIR Std.
RequestGroup.action.​condition.kind Base required ActionConditionKind 📍4.0.1 FHIR Std.
RequestGroup.action.​relatedAction.relationship Base required ActionRelationshipType 📍4.0.1 FHIR Std.
RequestGroup.action.​type Base extensible ActionType 📍4.0.1 FHIR Std.
RequestGroup.action.​groupingBehavior Base required ActionGroupingBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​selectionBehavior Base required ActionSelectionBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​requiredBehavior Base required ActionRequiredBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​precheckBehavior Base required ActionPrecheckBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​cardinalityBehavior Base required ActionCardinalityBehavior 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RequestGroup If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RequestGroup 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 RequestGroup 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 RequestGroup If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RequestGroup 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()
rqg-1 error RequestGroup.action Must have resource or action but not both resource.exists() != action.exists()
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'

Dạng xem phần tử chính

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request.
Fixed Value: order
... subject S 1..1 Reference(Bệnh nhân VN Core — VN Core Patient Profile) Người bệnh của đợt kê đơn
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... action SC 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
Constraints: rqg-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... resource SC 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RequestGroup.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
RequestGroup.status Base required RequestStatus 📍4.0.1 FHIR Std.
RequestGroup.intent Base required RequestIntent 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RequestGroup If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RequestGroup 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 RequestGroup 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 RequestGroup If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RequestGroup 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()
rqg-1 error RequestGroup.action Must have resource or action but not both resource.exists() != action.exists()
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'

Dạng xem Differential

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... identifier SC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... system S 1..1 uri The namespace for the identifier value
.... value S 1..1 string The value that is unique
... status 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Fixed Value: active
... intent 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... action S 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
.... resource S 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'

Dạng xem SnapshotView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. RequestGroup 0..* RequestGroup A group of related requests
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 1..1 Identifier Mã đợt kê đơn kết hợp — do cơ sở KCB đặt, KHÔNG phải mã đơn thuốc quốc gia
Constraints: vn-rx-combined-group-id-not-prescription-code
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 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.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... instantiatesCanonical Σ 0..* canonical() Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn 0..* Reference(Resource) Fulfills plan, proposal, or order
... replaces 0..* Reference(Resource) Request(s) replaced by this request
... groupIdentifier Σ 0..1 Identifier Composite request this is part of
... status ?!Σ 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request.
Fixed Value: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request.
Fixed Value: order
... priority Σ 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
... code Σ 0..1 CodeableConcept What's being requested/ordered
... subject S 1..1 Reference(Bệnh nhân VN Core — VN Core Patient Profile) Người bệnh của đợt kê đơn
... encounter S 1..1 Reference(Encounter) Lượt khám phát sinh các tờ đơn — trục nối chung của cả nhóm
... authoredOn S 1..1 dateTime Thời điểm kê đơn
... author S 1..1 Reference(Device | Practitioner | PractitionerRole) Người kê đơn — cùng người ký trên các tờ đơn thành phần
... reasonCode 0..* CodeableConcept Why the request group is needed
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Why the request group is needed
... note 0..* Annotation Additional notes about the response
... action SC 2..3 BackboneElement Mỗi action là MỘT TỜ ĐƠN thành phần (2-3 tờ theo ba mẫu của TT 55/2025/TT-BYT)
Constraints: rqg-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... prefix 0..1 string User-visible prefix for the action (e.g. 1. or A.)
.... title 0..1 string User-visible title
.... description Σ 0..1 string Short description of the action
.... textEquivalent Σ 0..1 string Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system
.... priority 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
.... code 0..* CodeableConcept Code representing the meaning of the action or sub-actions
.... documentation 0..* RelatedArtifact Supporting documentation for the intended performer of the action
.... condition 0..* BackboneElement Whether or not the action is applicable
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... kind 1..1 code applicability | start | stop
Binding: ActionConditionKind (required): The kind of condition for the action.
..... expression 0..1 Expression Boolean-valued expression
.... relatedAction 0..* BackboneElement Relationship to another action
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... actionId 1..1 id What action this is related to
..... relationship 1..1 code before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end
Binding: ActionRelationshipType (required): Defines the types of relationships between actions.
..... offset[x] 0..1 Time offset for the relationship
...... offsetDuration Duration
...... offsetRange Range
.... timing[x] 0..1 When the action should take place
..... timingDateTime dateTime
..... timingAge Age
..... timingPeriod Period
..... timingDuration Duration
..... timingRange Range
..... timingTiming Timing
.... participant 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device) Who should perform the action
.... type 0..1 CodeableConcept create | update | remove | fire-event
Binding: ActionType (extensible): The type of action to be performed.
.... groupingBehavior 0..1 code visual-group | logical-group | sentence-group
Binding: ActionGroupingBehavior (required): Defines organization behavior of a group.
.... selectionBehavior 0..1 code any | all | all-or-none | exactly-one | at-most-one | one-or-more
Binding: ActionSelectionBehavior (required): Defines selection behavior of a group.
.... requiredBehavior 0..1 code must | could | must-unless-documented
Binding: ActionRequiredBehavior (required): Defines expectations around whether an action or action group is required.
.... precheckBehavior 0..1 code yes | no
Binding: ActionPrecheckBehavior (required): Defines selection frequency behavior for an action or group.
.... cardinalityBehavior 0..1 code single | multiple
Binding: ActionCardinalityBehavior (required): Defines behavior for an action or a group for how many times that item may be repeated.
.... resource SC 1..1 Reference(Đơn thuốc cổ truyền ngoại trú VN Core — VN Core Traditional-Medicine Outpatient Prescription Profile | Đơn thuốc ngoại trú VN Core — VN Core Outpatient Prescription Profile) Dòng thuốc ĐẠI DIỆN của tờ đơn — tờ nhận diện qua groupIdentifier của MedicationRequest được trỏ
.... action C 0..* See action (RequestGroup) Sub action

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
RequestGroup.language Base preferred Common Languages 📍4.0.1 FHIR Std.
RequestGroup.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
RequestGroup.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
RequestGroup.status Base required RequestStatus 📍4.0.1 FHIR Std.
RequestGroup.intent Base required RequestIntent 📍4.0.1 FHIR Std.
RequestGroup.priority Base required Request priority 📍4.0.1 FHIR Std.
RequestGroup.action.​priority Base required Request priority 📍4.0.1 FHIR Std.
RequestGroup.action.​condition.kind Base required ActionConditionKind 📍4.0.1 FHIR Std.
RequestGroup.action.​relatedAction.relationship Base required ActionRelationshipType 📍4.0.1 FHIR Std.
RequestGroup.action.​type Base extensible ActionType 📍4.0.1 FHIR Std.
RequestGroup.action.​groupingBehavior Base required ActionGroupingBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​selectionBehavior Base required ActionSelectionBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​requiredBehavior Base required ActionRequiredBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​precheckBehavior Base required ActionPrecheckBehavior 📍4.0.1 FHIR Std.
RequestGroup.action.​cardinalityBehavior Base required ActionCardinalityBehavior 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RequestGroup If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RequestGroup 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 RequestGroup 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 RequestGroup If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RequestGroup 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()
rqg-1 error RequestGroup.action Must have resource or action but not both resource.exists() != action.exists()
vn-rx-combined-group-id-not-prescription-code error RequestGroup.identifier Mã đợt kê đơn kết hợp không được dùng namespace mã đơn thuốc quốc gia: mã đơn định danh một tờ đơn cụ thể, không định danh quan hệ giữa nhiều tờ. system.exists() implies system != 'http://fhir.hl7.org.vn/core/sid/don-thuoc-quoc-gia'

 

Biểu diễn khác của hồ sơ: CSV, Excel, Schematron