Task Profile¶
| Canonical | ../StructureDefinition/nexus-emr-core-clinical-task |
|---|---|
| Status | draft · 1.26.0 |
| Base | Task (constraint) |
| Source | FSH · 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 / Key elements
The working view: must-support, required, modifier and sliced elements from the effective (snapshot) definition.
| Element | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| Task | 0..* | A task to be performed Invariants: dom-2, dom-3, dom-4, dom-5, dom-6, inv-1, 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 |
||
| implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created i Invariants: ele-1 |
| extension:threadId | S | 0..1 | Extension(Harness Thread Id) | Harness thread id (AI-created tasks) i Invariants: ele-1, ext-1 |
| instantiatesCanonical | S | 0..1 | canonical | Formal definition of task (canonical) i Invariants: ele-1 |
| instantiatesUri | S | 0..1 | uri | Formal definition of task (URI) i Invariants: ele-1 |
| groupIdentifier | S | 0..1 | Identifier | Shared identifier for tasks raised together (e.g. one decision-support card) i Invariants: ele-1 |
| partOf | S | 0..* | Reference(Task Profile) | Parent task for sub-tasks and branches i Invariants: ele-1 |
| status | S ?! | 1..1 | code | Where the task is in its lifecycle i Binding: Clinical Task Statuses ( required)e.g. draft · ready · accepted …Invariants: ele-1 |
| statusReason | S | 0..1 | CodeableConcept | Reason for current status i Invariants: ele-1 |
| businessStatus | S | 0..1 | CodeableConcept | Task business status i Binding: Task Business Statuses (all recognised) ( required)e.g. ok · needs-review · queued …Invariants: ele-1 |
| 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 · optionInvariants: ele-1 |
| priority | S | 0..1 | code | How urgent the task is i Binding: request-priority ( required)Invariants: ele-1 |
| extension:priorityDetail | S | 0..1 | Extension(Task Priority Detail) | A refinement finer than request-priority allows (currently: trivial) i Invariants: ele-1, ext-1 |
| code | S | 0..1 | CodeableConcept | The category the task is filed under i Binding: Task Codes ( extensible)e.g. reminder · call · appointment …Invariants: ele-1 |
| description | S | 1..1 | string | The ask: original task content, stable throughout lifecycle i Invariants: ele-1 |
| 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 Invariants: ele-1 |
| for | S | 0..1 | Reference(Patient Profile) | Patient this task is about, when it is about one i Invariants: ele-1 |
| encounter | S | 0..1 | Reference(Encounter Profile) | Healthcare encounter during which task was created i Invariants: ele-1 |
| executionPeriod | S | 0..1 | Period | Start and end time of execution i Invariants: ele-1 |
| authoredOn | S | 1..1 | dateTime | When task was first created i Invariants: ele-1 |
| lastModified | S | 0..1 | dateTime | Task last modified date i Invariants: ele-1 |
| requester | S | 1..1 | Reference(PractitionerRole Profile | Practitioner Profile | Device) | Who originally requested this task (person, AI graph, or decision-support rule) i Invariants: ele-1 |
| performerType | S | 0..* | CodeableConcept | Requested performer type i Binding: performer-role ( preferred)Invariants: ele-1 |
| 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 Invariants: ele-1 |
| location | S | 0..1 | Reference(Location Profile) | Where task should be performed i Invariants: ele-1 |
| reasonCode | S | 0..1 | CodeableConcept | Why task is needed (coded) i Invariants: ele-1 |
| insurance | S | 0..* | Reference(Coverage) | Associated insurance coverage i Invariants: ele-1 |
| note | S | 0..* | Annotation(Task Note (one conversation turn)) | The conversation on this task, oldest first; the ask itself is description iInvariants: ele-1 |
| restriction | S | 0..1 | BackboneElement | Constraints on fulfillment tasks i Invariants: ele-1 |
| input | S | 0..* | BackboneElement | Resource(s) this task NEEDS in order to be worked i Slicing: pattern:type (open) Invariants: ele-1 |
| type | 1..1 | CodeableConcept | Label for the input i Invariants: ele-1 |
|
| value[x] | 1..1 | Reference(Resource) | The referenced chart element (any resource) Invariants: ele-1 |
|
| input:suggestion | S | 0..1 | BackboneElement | The contained prototype Bundle (local #id reference) i Invariants: ele-1 |
| type | 1..1 | CodeableConcept | Label for the input i Pattern: {"coding":[{"code":"suggested-resource","system":"../CodeSystem/nexus-task-input-type"}]}Invariants: ele-1 |
|
| value[x] | 1..1 | Reference(Bundle) | Local reference (#id) to the contained prototype Bundle Invariants: ele-1 |
|
| output | 0..* | BackboneElement | Information produced as part of task Invariants: ele-1 |
|
| type | 1..1 | CodeableConcept | Label for output Invariants: ele-1 |
|
| value[x] | 1..1 | base64Binary, boolean, canonical, 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, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Result of output Invariants: ele-1 |