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.

TypedFhir API / TypeScript

The typed accessor surface Task exposes for Task — generated from this IG's compiled profile; each typed accessor has a validating raw-FHIR twin (xRaw) where marked. The three ports are parity-enforced.

class Task extends ClinicalResourcegenerated source

Accessor Type Access Notes
$effectiveDate FuzzyDate | undefined read-only The resource's effective date — the first present of this profile's date elements (precedence), normalized to the canonical FuzzyDatetime f…
$display string | undefined read-only The resource's human headline — a coded concept's label, else a title / name, else undefined.
instantiatesCanonical string | undefined read/write Formal definition of task (canonical)
instantiatesUri string | undefined read/write Formal definition of task (URI)
basedOn References read/write · raw twin Request fulfilled by this task (available, not must-support)
groupIdentifier Json | undefined read/write Shared identifier for tasks raised together (e.g. one decision-support card)
partOf References read/write · raw twin Parent task for sub-tasks and branches
status string | undefined read/write Where the task is in its lifecycle
statusReason Concept | undefined read/write · raw twin Reason for current status
businessStatus Concept | undefined read/write · raw twin Task business status
intent string | undefined read/write order (do this) | proposal (consider this) | option (one of these)
priority string | undefined read/write How urgent the task is
code Concept | undefined read/write · raw twin The category the task is filed under
description string | undefined read/write The ask: original task content, stable throughout lifecycle
focus Reference | undefined read/write · raw twin The chart element this task is about (form, inbox document, note, ...)
for Reference | undefined read/write · raw twin Patient this task is about, when it is about one
encounter Reference | undefined read/write · raw twin Healthcare encounter during which task was created
executionPeriod Json | undefined read/write Start and end time of execution
authoredOn FuzzyDate | undefined read/write When task was first created
lastModified FuzzyDate | undefined read/write Task last modified date
requester Reference | undefined read/write · raw twin Who originally requested this task (person, AI graph, or decision-support rule)
performerType Concepts read/write · raw twin Requested performer type
owner Reference | undefined read/write · raw twin Who holds this task now; absent means the whole clinic holds it
location Reference | undefined read/write · raw twin Where task should be performed
reasonCode Concept | undefined read/write · raw twin Why task is needed (coded)
reasonReference Reference | undefined read/write · raw twin Clinical reason for this task (available, not must-support)
insurance References read/write · raw twin Associated insurance coverage
note Notes read/write The conversation on this task, oldest first; the ask itself is description
restriction Json | undefined read/write Constraints on fulfillment tasks
input Json[] | undefined read/write The contained prototype Bundle (local #id reference)