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 - Local Development build (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-task | Phiên bản: 0.9.0 | ||||
| Computable Name: VNCoreTask | |||||
| Định danh khác: OID:2.25.161089673617632664299011809196868855799.42.101 | |||||
Profile Task cho Việt Nam. Theo dõi việc thực hiện một yêu cầu đã phát hành trong hai luồng đã có trong IG: điều phối chuyển người bệnh giữa hai cơ sở khám bệnh, chữa bệnh (dựa trên VNCoreServiceRequest) và điều phối cấp phát, bán thuốc theo đơn (dựa trên VNCoreMedicationRequest và các profile đơn dẫn xuất). Task.status mô tả vòng đời kỹ thuật của công việc; Task.businessStatus mang trạng thái nghiệp vụ Việt Nam (đã tiếp nhận, người bệnh đã đến, quá thời hạn lĩnh thuốc) theo VNTaskBusinessStatusVS. Căn cứ: Luật 15/2023/QH15 Điều 60 khoản 10 (giới thiệu, chuyển người bệnh) và Điều 61 (cấp cứu); TT 26/2025/TT-BYT Điều 12 (trách nhiệm cơ sở bán lẻ và thời hạn lĩnh thuốc 05 ngày); TT 13/2025/TT-BYT (bệnh án điện tử); NĐ 102/2025/NĐ-CP (quản lý dữ liệu y tế số). Giới hạn có chủ ý: profile này KHÔNG mô tả hàng đợi công việc nội bộ của một cơ sở (phân công điều dưỡng, lịch trực) — phạm vi đó do phần mềm quản lý bệnh viện tự quyết, không cần chuẩn hóa liên thông. / VN Core Task profile tracking fulfillment of issued requests in two workflows: inter-facility patient referral (based on VNCoreServiceRequest) and prescription dispensing (based on VNCoreMedicationRequest). Task.businessStatus carries Vietnam-specific business states per VNTaskBusinessStatusVS. Internal intra-facility work queues are deliberately out of scope.
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..* | Task | A task to be performed Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp |
![]() ![]() |
SΣ | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) |
![]() ![]() |
SΣ | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc |
![]() ![]() |
?!SΣ | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed Binding: TaskStatus (required): The current status of the task. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) |
![]() ![]() |
SΣ | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc |
![]() ![]() |
SΣ | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ |
![]() ![]() |
Σ | 0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc |
![]() ![]() |
SΣ | 0..1 | Period | Khoảng thời gian thực hiện công việc |
![]() ![]() |
SC | 0..1 | dateTime | Thời điểm khởi tạo công việc |
![]() ![]() |
SΣC | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất |
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) |
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) |
![]() ![]() |
Σ | 0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc |
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||
![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() |
Contributor | |||
![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() |
Meta | |||
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |
![]() ![]() ![]() |
1..1 | Result of output | ||
![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() |
Contributor | |||
![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() |
Meta | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | 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 | Task | 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 | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | 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()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: vn-task-status-reason, vn-task-basedon-distinct |
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp |
![]() ![]() |
S | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) |
![]() ![]() |
S | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc |
![]() ![]() |
S | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại |
![]() ![]() |
S | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) |
![]() ![]() |
S | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông |
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat |
![]() ![]() |
S | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) |
![]() ![]() |
S | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc |
![]() ![]() |
S | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ |
![]() ![]() |
0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc | |
![]() ![]() |
S | 0..1 | Period | Khoảng thời gian thực hiện công việc |
![]() ![]() |
S | 0..1 | dateTime | Thời điểm khởi tạo công việc |
![]() ![]() |
S | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất |
![]() ![]() |
S | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) |
![]() ![]() |
S | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) |
![]() ![]() |
0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc | |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc |
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc |
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện |
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct | ||||
![]() ![]() |
Σ | 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp | ||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
SΣ | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) | ||||
![]() ![]() |
SΣ | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ | ||||
![]() ![]() |
Σ | 0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc | ||||
![]() ![]() |
SΣ | 0..1 | Period | Khoảng thời gian thực hiện công việc | ||||
![]() ![]() |
SC | 0..1 | dateTime | Thời điểm khởi tạo công việc | ||||
![]() ![]() |
SΣC | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) | ||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) | ||||
![]() ![]() |
Σ | 0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | ||||
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc | ||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | 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 | Task | 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 | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | 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()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
Summary
Mandatory: 2 elements
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Dạng xem phần tử chính
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp |
![]() ![]() |
SΣ | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) |
![]() ![]() |
SΣ | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc |
![]() ![]() |
?!SΣ | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed Binding: TaskStatus (required): The current status of the task. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) |
![]() ![]() |
SΣ | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) |
![]() ![]() |
SΣ | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc |
![]() ![]() |
SΣ | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ |
![]() ![]() |
Σ | 0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc |
![]() ![]() |
SΣ | 0..1 | Period | Khoảng thời gian thực hiện công việc |
![]() ![]() |
SC | 0..1 | dateTime | Thời điểm khởi tạo công việc |
![]() ![]() |
SΣC | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất |
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) |
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) |
![]() ![]() |
Σ | 0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc |
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||
![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() |
Contributor | |||
![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() |
Meta | |||
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |
![]() ![]() ![]() |
1..1 | Result of output | ||
![]() ![]() ![]() ![]() |
base64Binary | |||
![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() |
canonical(Any) | |||
![]() ![]() ![]() ![]() |
code | |||
![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() |
id | |||
![]() ![]() ![]() ![]() |
instant | |||
![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() |
markdown | |||
![]() ![]() ![]() ![]() |
oid | |||
![]() ![]() ![]() ![]() |
positiveInt | |||
![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() |
unsignedInt | |||
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
url | |||
![]() ![]() ![]() ![]() |
uuid | |||
![]() ![]() ![]() ![]() |
Address | |||
![]() ![]() ![]() ![]() |
Age | |||
![]() ![]() ![]() ![]() |
Annotation | |||
![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() |
ContactPoint | |||
![]() ![]() ![]() ![]() |
Count | |||
![]() ![]() ![]() ![]() |
Distance | |||
![]() ![]() ![]() ![]() |
Duration | |||
![]() ![]() ![]() ![]() |
HumanName | |||
![]() ![]() ![]() ![]() |
Identifier | |||
![]() ![]() ![]() ![]() |
Money | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() |
Range | |||
![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() |
Reference(Any) | |||
![]() ![]() ![]() ![]() |
SampledData | |||
![]() ![]() ![]() ![]() |
Signature | |||
![]() ![]() ![]() ![]() |
Timing | |||
![]() ![]() ![]() ![]() |
ContactDetail | |||
![]() ![]() ![]() ![]() |
Contributor | |||
![]() ![]() ![]() ![]() |
DataRequirement | |||
![]() ![]() ![]() ![]() |
Expression | |||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||
![]() ![]() ![]() ![]() |
UsageContext | |||
![]() ![]() ![]() ![]() |
Dosage | |||
![]() ![]() ![]() ![]() |
Meta | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | 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 | Task | 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 | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | 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()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
Dạng xem Differential
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: vn-task-status-reason, vn-task-basedon-distinct |
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp |
![]() ![]() |
S | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) |
![]() ![]() |
S | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc |
![]() ![]() |
S | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại |
![]() ![]() |
S | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) |
![]() ![]() |
S | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông |
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat |
![]() ![]() |
S | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) |
![]() ![]() |
S | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc |
![]() ![]() |
S | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ |
![]() ![]() |
0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc | |
![]() ![]() |
S | 0..1 | Period | Khoảng thời gian thực hiện công việc |
![]() ![]() |
S | 0..1 | dateTime | Thời điểm khởi tạo công việc |
![]() ![]() |
S | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất |
![]() ![]() |
S | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) |
![]() ![]() |
S | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) |
![]() ![]() |
0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc | |
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc |
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks |
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc |
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện |
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
Dạng xem SnapshotView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct | ||||
![]() ![]() |
Σ | 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 | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Mã công việc điều phối do cơ sở cấp | ||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
SΣ | 0..* | Reference(Kế hoạch chăm sóc VN Core — VN Core CarePlan Profile | Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Ủy quyền hoặc kế hoạch cấp cao hơn dẫn tới công việc (KHÁC yêu cầu ở focus) | ||||
![]() ![]() |
SΣ | 0..1 | Identifier | Mã nhóm điều phối — gom các công việc phát sinh từ cùng một yêu cầu gốc | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Vòng đời công việc: requested | accepted | rejected | in-progress | completed | cancelled | failed Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Lý do khi từ chối, hủy hoặc thất bại Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Trạng thái nghiệp vụ: nhóm REF (chuyển người bệnh) hoặc nhóm RX (cấp phát thuốc) Binding: Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet (extensible) | ||||
![]() ![]() |
SΣ | 1..1 | code | Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
S | 0..1 | code | Mức ưu tiên: routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Loại công việc: fulfill (thực hiện yêu cầu) là giá trị phổ biến nhất Binding: TaskCode (extensible) | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Yêu cầu DVKT/Cận lâm sàng VN Core — VN Core ServiceRequest Profile | Đơn thuốc VN Core — VN Core MedicationRequest Profile) | Yêu cầu mà công việc này đang thực hiện: giấy chuyển tuyến hoặc đơn thuốc | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Bệnh nhân VN Core — VN Core Patient Profile) | Người bệnh mà công việc phục vụ | ||||
![]() ![]() |
Σ | 0..1 | Reference(Lượt khám/nhập viện VN Core — VN Core Encounter Profile) | Lượt khám phát sinh công việc | ||||
![]() ![]() |
SΣ | 0..1 | Period | Khoảng thời gian thực hiện công việc | ||||
![]() ![]() |
SC | 0..1 | dateTime | Thời điểm khởi tạo công việc | ||||
![]() ![]() |
SΣC | 0..1 | dateTime | Thời điểm cập nhật trạng thái gần nhất | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile) | Bên khởi tạo công việc (cơ sở chuyển đi, người kê đơn) | ||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
SΣ | 0..1 | Reference(Nhân viên y tế VN Core — VN Core Practitioner Profile | Vai trò nhân viên y tế VN Core — VN Core PractitionerRole Profile | Cơ sở y tế VN Core — VN Core Organization Profile | Dịch vụ y tế VN Core — VN Core HealthcareService Profile) | Bên chịu trách nhiệm thực hiện (cơ sở tiếp nhận, nhà thuốc) | ||||
![]() ![]() |
Σ | 0..1 | Reference(Địa điểm cung cấp dịch vụ VN Core — VN Core Location Profile) | Địa điểm thực hiện công việc | ||||
![]() ![]() |
S | 0..1 | CodeableConcept | Lý do phát sinh công việc Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | ||||
![]() ![]() |
0..1 | Reference(Chẩn đoán VN Core — VN Core Condition Profile | Xét nghiệm VN Core — VN Core Observation Laboratory Profile) | Chẩn đoán hoặc kết quả dẫn tới công việc | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Ghi chú điều phối | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
S | 0..1 | BackboneElement | Constraints on fulfillment tasks | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Thời hạn hoàn thành công việc | ||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
S | 0..* | BackboneElement | Thông tin đầu vào cần cho việc thực hiện | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
S | 0..* | BackboneElement | Kết quả công việc (ví dụ MedicationDispense đã lập, Encounter đã mở tại cơ sở tiếp nhận) | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
Contributor | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Not State | Unknown | |
| Task.businessStatus | Base | extensible | Trạng thái nghiệp vụ công việc điều phối — VN Task Business Status ValueSet | 📦0.9.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | extensible | Task Codes | 📦4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Task | 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 | Task | 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 | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | 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()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| vn-task-basedon-distinct | error | Task | basedOn phải khác focus: FHIR R4 dành basedOn cho ủy quyền hoặc kế hoạch cấp cao hơn, không phải cho chính yêu cầu đang được thực hiện. Trỏ cùng một resource vào cả hai làm mất khả năng phân biệt hai tầng. |
basedOn.reference.all($this != %resource.focus.reference)
|
| vn-task-status-reason | error | Task | Công việc bị từ chối, hủy hoặc thất bại phải nêu lý do ở statusReason: bên yêu cầu cần biết vì sao để tiếp tục xử lý cho người bệnh. |
(status in ('rejected' | 'cancelled' | 'failed')) implies statusReason.exists()
|
Summary
Mandatory: 2 elements
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Biểu diễn khác của hồ sơ: CSV, Excel, Schematron