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.9.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.9.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Hồ sơ tài nguyên: Công việc điều phối VN Core — VN Core Task Profile

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

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
.. Task C 0..* Task A task to be performed
Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 0..* Identifier Mã công việc điều phối do cơ sở cấp
... groupIdentifier 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
... status ?!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.
... statusReason 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.
... businessStatus 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)
... intent 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.
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code 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)
... focus 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
... for 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ụ
... encounter Σ 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
... executionPeriod SΣ 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn SC 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified SΣC 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... owner 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)
... location Σ 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
... reasonCode 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.
... reasonReference 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
... note 0..* Annotation Ghi chú điều phối
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... period S 0..1 Period Thời hạn hoàn thành công việc
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 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)
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

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

Constraints

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()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: vn-task-status-reason, vn-task-basedon-distinct
... identifier S 0..* Identifier Mã công việc điều phối do cơ sở cấp
... basedOn 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)
... groupIdentifier 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
... statusReason S 0..1 CodeableConcept Lý do khi từ chối, hủy hoặc thất bại
... businessStatus 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)
... intent S 1..1 code Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
... code 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)
... focus 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
... for 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ụ
... encounter 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
... executionPeriod S 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn S 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified S 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... owner 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)
... location 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
... reasonCode S 0..1 CodeableConcept Lý do phát sinh công việc
... reasonReference 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
... note 0..* Annotation Ghi chú điều phối
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... period S 0..1 Period Thời hạn hoàn thành công việc
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
... output 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)

doco Documentation for this format

Terminology Bindings (Differential)

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.

Constraints

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()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct
... 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
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 0..* Identifier Mã công việc điều phối do cơ sở cấp
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn 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)
... groupIdentifier 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
... partOf Σ 0..* Reference(Task) Composite task
... status ?!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.
... statusReason 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.
... businessStatus 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)
... intent 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.
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code 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)
... description Σ 0..1 string Human-readable explanation of task
... focus 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
... for 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ụ
... encounter Σ 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
... executionPeriod SΣ 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn SC 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified SΣC 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner 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)
... location Σ 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
... reasonCode 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.
... reasonReference 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
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Ghi chú điều phối
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... 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
.... repetitions 0..1 positiveInt How many times to repeat
.... period S 0..1 Period Thời hạn hoàn thành công việc
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
.... 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
.... type 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 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)
.... 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
.... type 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 0..* Identifier Mã công việc điều phối do cơ sở cấp
... groupIdentifier 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
... status ?!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.
... statusReason 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.
... businessStatus 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)
... intent 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.
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code 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)
... focus 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
... for 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ụ
... encounter Σ 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
... executionPeriod SΣ 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn SC 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified SΣC 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... owner 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)
... location Σ 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
... reasonCode 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.
... reasonReference 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
... note 0..* Annotation Ghi chú điều phối
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... period S 0..1 Period Thời hạn hoàn thành công việc
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 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)
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: vn-task-status-reason, vn-task-basedon-distinct
... identifier S 0..* Identifier Mã công việc điều phối do cơ sở cấp
... basedOn 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)
... groupIdentifier 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
... statusReason S 0..1 CodeableConcept Lý do khi từ chối, hủy hoặc thất bại
... businessStatus 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)
... intent S 1..1 code Ý định: order (công việc đã giao) là giá trị dùng trong thực tế liên thông
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
... code 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)
... focus 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
... for 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ụ
... encounter 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
... executionPeriod S 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn S 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified S 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... owner 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)
... location 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
... reasonCode S 0..1 CodeableConcept Lý do phát sinh công việc
... reasonReference 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
... note 0..* Annotation Ghi chú điều phối
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... period S 0..1 Period Thời hạn hoàn thành công việc
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
... output 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)

doco Documentation for this format

Terminology Bindings (Differential)

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Task C 0..* Task A task to be performed
Constraints: inv-1, vn-task-status-reason, vn-task-basedon-distinct
... 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
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 0..* Identifier Mã công việc điều phối do cơ sở cấp
... instantiatesCanonical Σ 0..1 canonical(ActivityDefinition) Formal definition of task
... instantiatesUri Σ 0..1 uri Formal definition of task
... basedOn 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)
... groupIdentifier 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
... partOf Σ 0..* Reference(Task) Composite task
... status ?!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.
... statusReason 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.
... businessStatus 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)
... intent 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.
... priority S 0..1 code Mức ưu tiên: routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
... code 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)
... description Σ 0..1 string Human-readable explanation of task
... focus 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
... for 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ụ
... encounter Σ 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
... executionPeriod SΣ 0..1 Period Khoảng thời gian thực hiện công việc
... authoredOn SC 0..1 dateTime Thời điểm khởi tạo công việc
... lastModified SΣC 0..1 dateTime Thời điểm cập nhật trạng thái gần nhất
... requester 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)
... performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
... owner 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)
... location Σ 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
... reasonCode 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.
... reasonReference 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
... insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
... note 0..* Annotation Ghi chú điều phối
... relevantHistory 0..* Reference(Provenance) Key events in history of the Task
... restriction S 0..1 BackboneElement Constraints on fulfillment tasks
.... 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
.... repetitions 0..1 positiveInt How many times to repeat
.... period S 0..1 Period Thời hạn hoàn thành công việc
.... recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
... input S 0..* BackboneElement Thông tin đầu vào cần cho việc thực hiện
.... 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
.... type 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.
.... value[x] 1..1 Content to use in performing the task
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta
... output 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)
.... 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
.... type 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.
.... value[x] 1..1 Result of output
..... valueBase64Binary base64Binary
..... valueBoolean boolean
..... valueCanonical canonical(Any)
..... valueCode code
..... valueDate date
..... valueDateTime dateTime
..... valueDecimal decimal
..... valueId id
..... valueInstant instant
..... valueInteger integer
..... valueMarkdown markdown
..... valueOid oid
..... valuePositiveInt positiveInt
..... valueString string
..... valueTime time
..... valueUnsignedInt unsignedInt
..... valueUri uri
..... valueUrl url
..... valueUuid uuid
..... valueAddress Address
..... valueAge Age
..... valueAnnotation Annotation
..... valueAttachment Attachment
..... valueCodeableConcept CodeableConcept
..... valueCoding Coding
..... valueContactPoint ContactPoint
..... valueCount Count
..... valueDistance Distance
..... valueDuration Duration
..... valueHumanName HumanName
..... valueIdentifier Identifier
..... valueMoney Money
..... valuePeriod Period
..... valueQuantity Quantity
..... valueRange Range
..... valueRatio Ratio
..... valueReference Reference(Any)
..... valueSampledData SampledData
..... valueSignature Signature
..... valueTiming Timing
..... valueContactDetail ContactDetail
..... valueContributor Contributor
..... valueDataRequirement DataRequirement
..... valueExpression Expression
..... valueParameterDefinition ParameterDefinition
..... valueRelatedArtifact RelatedArtifact
..... valueTriggerDefinition TriggerDefinition
..... valueUsageContext UsageContext
..... valueDosage Dosage
..... valueMeta Meta

doco Documentation for this format

Terminology Bindings

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

Constraints

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