Task
A task to be performed.
- Backends
- PostgreSQLElasticsearch
- Interactions
- CreateReadUpdatePatchDelete
- Search
- 19 of 19 parameters tested
Structure
| Element | Card. | Type | Description |
|---|---|---|---|
identifier | 0..* | Identifier | Task Instance Identifier |
instantiatesCanonicalΣ | 0..1 | canonical(ActivityDefinition) | Formal definition of task |
instantiatesUriΣ | 0..1 | uri | Formal definition of task |
basedOnΣ | 0..* | Reference(Resource) | Request fulfilled by this task |
groupIdentifierΣ | 0..1 | Identifier | Requisition or grouper id |
partOfΣ | 0..* | Reference(Task) | Composite task |
statusRequired?!Σ | 1..1 | code | draft | requested | received | accepted | +Binding (required): task-status |
statusReasonΣ | 0..1 | CodeableConcept | Reason for current status |
businessStatusΣ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" |
intentRequiredΣ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | optionBinding (required): task-intent |
priority | 0..1 | code | routine | urgent | asap | statBinding (required): request-priority |
codeΣ | 0..1 | CodeableConcept | Task TypeBinding (example): task-code |
descriptionΣ | 0..1 | string | Human-readable explanation of task |
focusΣ | 0..1 | Reference(Resource) | What task is acting on |
forΣ | 0..1 | Reference(Resource) | Beneficiary of the Task |
encounterΣ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriodΣ | 0..1 | Period | Start and end time of execution |
authoredOn | 0..1 | dateTime | Task Creation Date |
lastModifiedΣ | 0..1 | dateTime | Task Last Modified Date |
requesterΣ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done |
performerType | 0..* | CodeableConcept | Requested performerBinding (preferred): performer-role |
ownerΣ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual |
locationΣ | 0..1 | Reference(Location) | Where task occurs |
reasonCode | 0..1 | CodeableConcept | Why task is needed |
reasonReference | 0..1 | Reference(Resource) | Why task is needed |
insurance | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | 0..* | Annotation | Comments made about the task |
relevantHistory | 0..* | Reference(Provenance) | Key events in history of the Task |
restriction | 0..1 | BackboneElement | Constraints on fulfillment tasks |
repetitions | 0..1 | positiveInt | How many times to repeat |
period | 0..1 | Period | When fulfillment sought |
recipient | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
input | 0..* | BackboneElement | Information used to perform task |
typeRequired | 1..1 | CodeableConcept | Label for the input |
value[x]Required | 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 | Content to use in performing the task |
output | 0..* | BackboneElement | Information produced as part of task |
typeRequired | 1..1 | CodeableConcept | Label for output |
value[x]Required | 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 |
Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey
Search parameters
Query with GET [base]/Task?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.
| Parameter | Type | Description | PG | ES |
|---|---|---|---|---|
authored-on | date | Search by creation date Task.authoredOn | ||
based-on | reference | Search by requests this task is based on Task.basedOn | ||
business-status | token | Search by business status Task.businessStatus | ||
code | token | Search by task code Task.code | ||
encounter | reference | Search by encounter Task.encounter | ||
focus | reference | Search by task focus Task.focus | ||
group-identifier | token | Search by group identifier Task.groupIdentifier | ||
identifier | token | Search for a task instance by its business identifier Task.identifier | ||
intent | token | Search by task intent Task.intent | ||
modified | date | Search by last modification date Task.lastModified | ||
owner | reference | Search by task owner Task.owner | ||
part-of | reference | Search by task this task is part of Task.partOf | ||
patient | reference | Search by patient Task.for.where(resolve() is Patient) | ||
performer | token | Search by recommended type of performer (e.g., Requester, Performer, Scheduler). Task.performerType | ||
period | date | Search by period Task is/was underway Task.executionPeriod | ||
priority | token | Search by task priority Task.priority | ||
requester | reference | Search by task requester Task.requester | ||
status | token | Search by task status Task.status | ||
subject | reference | Search by subject Task.for |
PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet. The author of the resource Logical id of this artifact When the resource version last changed Profiles this resource claims to conform to Security Labels applied to this resource Identifies where the resource comes from Tags applied to this resource Derived from the R4B DefinitionCommon parameters on every resource (8)
_haste-health-authorreference _idtoken _lastUpdateddate _profileuri _securitytoken _sourceuri _tagtoken _typetoken