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 / Snapshot
The full effective definition: base Task with this profile's constraints applied.
| 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 |
||
| id | 0..1 | http://hl7.org/fhirpath/System.String | Logical id of this artifact i | |
| meta | 0..1 | Meta | Metadata about the resource Invariants: ele-1 |
|
| implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created i Invariants: ele-1 |
| language | 0..1 | code | Language of the resource content i Binding: languages ( preferred)Invariants: ele-1 |
|
| text | 0..1 | Narrative | Text summary of the resource, for human interpretation i Invariants: ele-1 |
|
| contained | 0..* | Resource | The suggested-resource Bundle, plus anything else this task carries in-line i | |
| extension | 0..* | Extension | Additional content defined by implementations i Slicing: value:url (open) Invariants: ele-1, ext-1 |
|
| extension:threadId | S | 0..1 | Extension(Harness Thread Id) | Harness thread id (AI-created tasks) i Invariants: ele-1, ext-1 |
| modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored i Invariants: ele-1, ext-1 |
| identifier | 0..* | Identifier | Business identifier(s) for the task (any system; machine-written tasks carry their producer's key) i Invariants: ele-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 |
| basedOn | 0..* | Reference(ServiceRequest | MedicationRequest | CarePlan | SupplyRequest) | Request fulfilled by this task (available, not must-support) 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 |
| id | 0..1 | http://hl7.org/fhirpath/System.String | xml:id (or equivalent in JSON) | |
| extension | 0..* | Extension | Additional content defined by implementations i Slicing: value:url (open) Invariants: ele-1, ext-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 |
| value | 0..1 | http://hl7.org/fhirpath/System.String | Primitive value for code | |
| 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 |
| reasonReference | 0..1 | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Clinical reason for this task (available, not must-support) 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 |
| relevantHistory | 0..* | Reference(Provenance) | Key events in history of the Task i Invariants: ele-1 |
|
| restriction | S | 0..1 | BackboneElement | Constraints on fulfillment tasks i Invariants: ele-1 |
| id | 0..1 | http://hl7.org/fhirpath/System.String | Unique id for inter-element referencing | |
| extension | 0..* | Extension | Additional content defined by implementations i Invariants: ele-1, ext-1 |
|
| modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored even if unrecognized i Invariants: ele-1, ext-1 |
| repetitions | 0..1 | positiveInt | How many times to repeat Invariants: ele-1 |
|
| period | 0..1 | Period | When fulfillment sought i Invariants: ele-1 |
|
| recipient | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? 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 |
| id | 0..1 | http://hl7.org/fhirpath/System.String | Unique id for inter-element referencing | |
| extension | 0..* | Extension | Additional content defined by implementations i Invariants: ele-1, ext-1 |
|
| modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored even if unrecognized i Invariants: ele-1, ext-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 |
| id | 0..1 | http://hl7.org/fhirpath/System.String | Unique id for inter-element referencing | |
| extension | 0..* | Extension | Additional content defined by implementations i Invariants: ele-1, ext-1 |
|
| modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored even if unrecognized i Invariants: ele-1, ext-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 |
|
| id | 0..1 | http://hl7.org/fhirpath/System.String | Unique id for inter-element referencing | |
| extension | 0..* | Extension | Additional content defined by implementations i Invariants: ele-1, ext-1 |
|
| modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored even if unrecognized i Invariants: ele-1, ext-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 |