Skip to content

Task Profile

Canonical../StructureDefinition/nexus-emr-core-clinical-task
Statusdraft · 1.26.0
BaseTask (constraint)
SourceFSH · JSON

A unit of work in the chart: who asked for it, who owns it now, what has been said about it, and which chart element it concerns. Inbox items, to-dos, follow-ups, a result that needs review -- deliberately one kind of work item.

Elements / Differential

What this profile constrains beyond Task. Anything not listed is unchanged from the base; muted type/cardinality values are the base's, shown for context.

Element Flags Card. Type Description & Constraints
Task Invariants: nexus-note-extension-not-where-native, nexus-sugg-1, nexus-sugg-2, nexus-sugg-3, nexus-task-focus-not-contained, nexus-task-priority-detail-1, nexus-task-bizstatus-scope
contained 0..* Resource The suggested-resource Bundle, plus anything else this task carries in-line i
extension 0..* Extension i
Slicing: value:url (open)
extension:threadId S 0..1 Extension(Harness Thread Id) Harness thread id (AI-created tasks) i
identifier 0..* Identifier Business identifier(s) for the task (any system; machine-written tasks carry their producer's key) i
instantiatesCanonical S 0..1 canonical Formal definition of task (canonical) i
instantiatesUri S 0..1 uri Formal definition of task (URI) i
basedOn 0..* Reference(ServiceRequest | MedicationRequest | CarePlan | SupplyRequest) Request fulfilled by this task (available, not must-support) i
groupIdentifier S 0..1 Identifier Shared identifier for tasks raised together (e.g. one decision-support card) i
partOf S 0..* Reference(Task Profile) Parent task for sub-tasks and branches i
status S 1..1 code Where the task is in its lifecycle i
Binding: Clinical Task Statuses (required)
e.g. draft · ready · accepted
statusReason S 0..1 CodeableConcept i
businessStatus S 0..1 CodeableConcept Task business status i
Binding: Task Business Statuses (all recognised) (required)
e.g. ok · needs-review · queued
intent S 1..1 code order (do this) | proposal (consider this) | option (one of these) i
Binding: Clinical Task Intent Value Set (required)
e.g. order · proposal · option
priority S 0..1 code How urgent the task is i
Binding: request-priority (required)
extension 0..* Extension i
Slicing: value:url (open)
extension:priorityDetail S 0..1 Extension(Task Priority Detail) A refinement finer than request-priority allows (currently: trivial) i
code S 0..1 CodeableConcept The category the task is filed under i
Binding: Task Codes (extensible)
e.g. reminder · call · appointment
description S 1..1 string The ask: original task content, stable throughout lifecycle i
focus S 0..1 Reference(QuestionnaireResponse Profile | DocumentReference Profile | Composition Profile | Condition Profile | DiagnosticReport Profile | ServiceRequest Profile | MedicationRequest Profile | Observation Profile | AllergyIntolerance Profile) The chart element this task is about (form, inbox document, note, ...) i
for S 0..1 Reference(Patient Profile) Patient this task is about, when it is about one i
encounter S 0..1 Reference(Encounter Profile) Healthcare encounter during which task was created i
executionPeriod S 0..1 Period i
authoredOn S 1..1 dateTime When task was first created i
lastModified S 0..1 dateTime Task last modified date i
requester S 1..1 Reference(PractitionerRole Profile | Practitioner Profile | Device) Who originally requested this task (person, AI graph, or decision-support rule) i
performerType S 0..* CodeableConcept Requested performer type i
owner S 0..1 Reference(PractitionerRole Profile | Practitioner Profile | CareTeam Profile | Device) Who holds this task now; absent means the whole clinic holds it i
location S 0..1 Reference(Location Profile) Where task should be performed i
reasonCode S 0..1 CodeableConcept Why task is needed (coded) i
reasonReference 0..1 Reference(Condition | Observation | DiagnosticReport | DocumentReference) Clinical reason for this task (available, not must-support) i
insurance S 0..* Reference(Coverage) i
note S 0..* Annotation(Task Note (one conversation turn)) The conversation on this task, oldest first; the ask itself is description i
restriction S 0..1 BackboneElement i
input S 0..* BackboneElement Resource(s) this task NEEDS in order to be worked i
Slicing: pattern:type (open)
value[x] 1..1 Reference(Resource) The referenced chart element (any resource)
input:suggestion S 0..1 BackboneElement The contained prototype Bundle (local #id reference) i
type 1..1 CodeableConcept i
Pattern: {"coding":[{"code":"suggested-resource","system":"../CodeSystem/nexus-task-input-type"}]}
value[x] 1..1 Reference(Bundle) Local reference (#id) to the contained prototype Bundle