This page is part of the Da Vinci Health Record Exchange (v0.2.0: STU1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
This Task profile is used to solicit information from a system when direct query is not possible and human intervention might be required
The official URL for this profile is:
http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request
Several Da Vinci guides have a requirement to asynchronously request data that may involve a human collecting, organizing, and/or reviewing data, as described in Requesting exchange using Task. This profile shows how Da Vinci uses Task to perform that process, including defining ‘standard’ codes for the Task and its associated inputs and outputs.
The Task supports two approaches to data sharing:
The content resulting from the request might be conveyed by reference or contained within the Task - and can be any sort of FHIR resource at all (and, using DocumentReference or Binary, can include non-FHIR content as well).
Other Da Vinci IGs may further refine this profile to further refine the request mechanism and/or to constrain the location or permitted content of the returned data.
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Task
Summary
Mandatory: 6 elements (3 nested mandatory elements)
Must-Support: 26 elements
Fixed Value: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
This structure is derived from Task
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Task | A task to be performed tdr-1: Must have exactly one input that is data-query or data-code tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed' tdr-3: Task output SHALL be populated if status is 'completed' |
basedOn | S | 0..* | Reference(Resource) | Also known as Member identifier |
status | S | 1..1 | code | draft | requested | received | accepted | + Binding: HRex Task Status ValueSet (required) |
statusReason | S | 0..1 | CodeableConcept | Reason for current status |
text | S | 1..1 | string | Plain text representation of the concept |
businessStatus | S | 0..1 | CodeableConcept | E.g. 'waiting on internal review' |
text | S | 1..1 | string | Plain text representation of the concept |
intent | S | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order |
code | S | 1..1 | CodeableConcept | Task Type Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-request | |
for | S | 1..1 | Reference(US Core Patient Profile) | Member being queried |
authoredOn | S | 1..1 | dateTime | Task Creation Date |
requester | S | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is asking for data |
owner | S | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is being asked for data |
reasonCode | S | 0..1 | CodeableConcept | Why task is needed |
text | S | 1..1 | string | Plain text representation of the concept |
reasonReference | S | 0..1 | Reference(Claim | HRex Coverage Profile) | Why task is needed |
input | S | 1..* | (Slice Definition) | Information used to perform task Slice: Unordered, Open by pattern:type |
input:query | S | 0..1 | BackboneElement | Requested query |
type | S | 1..1 | CodeableConcept | Label for the input Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-query | |
value[x] | S | 1..1 | string | query value |
input:code | S | 0..1 | BackboneElement | Requested data code |
type | S | 1..1 | CodeableConcept | Label for the input Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-code | |
value[x] | S | 1..1 | CodeableConcept | query value |
output | S | 0..* | (Slice Definition) | Information produced as part of task Slice: Unordered, Open by pattern:type |
output:data | S | 0..* | BackboneElement | Requested data |
type | S | 1..1 | CodeableConcept | Label for output Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-value | |
value[x] | S | 1..1 | Reference() | data reference |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Task | A task to be performed tdr-1: Must have exactly one input that is data-query or data-code tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed' tdr-3: Task output SHALL be populated if status is 'completed' |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | I | 0..* | Identifier | Task Instance Identifier |
instantiatesCanonical | ΣI | 0..1 | canonical(ActivityDefinition) | Formal definition of task |
instantiatesUri | ΣI | 0..1 | uri | Formal definition of task |
basedOn | SΣI | 0..* | Reference(Resource) | Also known as Member identifier |
groupIdentifier | ΣI | 0..1 | Identifier | Requisition or grouper id |
partOf | ΣI | 0..* | Reference(Task) | Composite task |
status | ?!SΣI | 1..1 | code | draft | requested | received | accepted | + Binding: HRex Task Status ValueSet (required) |
statusReason | SΣI | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
businessStatus | SΣI | 0..1 | CodeableConcept | E.g. 'waiting on internal review' Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
intent | SΣI | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required) Fixed Value: order |
priority | I | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
code | SΣI | 1..1 | CodeableConcept | Task Type Binding: TaskCode (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-request | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
description | ΣI | 0..1 | string | Human-readable explanation of task |
focus | ΣI | 0..1 | Reference(Resource) | What task is acting on |
for | SΣI | 1..1 | Reference(US Core Patient Profile) | Member being queried |
encounter | ΣI | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriod | ΣI | 0..1 | Period | Start and end time of execution |
authoredOn | SI | 1..1 | dateTime | Task Creation Date |
lastModified | ΣI | 0..1 | dateTime | Task Last Modified Date |
requester | SΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is asking for data |
performerType | I | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred) |
owner | SΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is being asked for data |
location | ΣI | 0..1 | Reference(Location) | Where task occurs |
reasonCode | SI | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
reasonReference | SI | 0..1 | Reference(Claim | HRex Coverage Profile) | Why task is needed |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | I | 0..* | Annotation | Comments made about the task |
relevantHistory | I | 0..* | Reference(Provenance) | Key events in history of the Task |
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
repetitions | I | 0..1 | positiveInt | How many times to repeat |
period | I | 0..1 | Period | When fulfillment sought |
recipient | I | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
input | SI | 1..* | (Slice Definition) | Information used to perform task Slice: Unordered, Open by pattern:type |
input:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) |
value[x] | I | 1..1 | Content to use in performing the task | |
valueBase64Binary | base64Binary | |||
valueBoolean | boolean | |||
valueCanonical | canonical(Any) | |||
valueCode | code | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueDecimal | decimal | |||
valueId | id | |||
valueInstant | instant | |||
valueInteger | integer | |||
valueMarkdown | markdown | |||
valueOid | oid | |||
valuePositiveInt | positiveInt | |||
valueString | string | |||
valueTime | time | |||
valueUnsignedInt | unsignedInt | |||
valueUri | uri | |||
valueUrl | url | |||
valueUuid | uuid | |||
valueAddress | Address | |||
valueAge | Age | |||
valueAnnotation | Annotation | |||
valueAttachment | Attachment | |||
valueCodeableConcept | CodeableConcept | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
input:query | SI | 0..1 | BackboneElement | Requested query |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-query | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | string | query value |
input:code | SI | 0..1 | BackboneElement | Requested data code |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-code | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | CodeableConcept | query value |
output | SI | 0..* | (Slice Definition) | Information produced as part of task Slice: Unordered, Open by pattern:type |
output:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) |
value[x] | I | 1..1 | Result of output | |
valueBase64Binary | base64Binary | |||
valueBoolean | boolean | |||
valueCanonical | canonical(Any) | |||
valueCode | code | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueDecimal | decimal | |||
valueId | id | |||
valueInstant | instant | |||
valueInteger | integer | |||
valueMarkdown | markdown | |||
valueOid | oid | |||
valuePositiveInt | positiveInt | |||
valueString | string | |||
valueTime | time | |||
valueUnsignedInt | unsignedInt | |||
valueUri | uri | |||
valueUrl | url | |||
valueUuid | uuid | |||
valueAddress | Address | |||
valueAge | Age | |||
valueAnnotation | Annotation | |||
valueAttachment | Attachment | |||
valueCodeableConcept | CodeableConcept | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
output:data | SI | 0..* | BackboneElement | Requested data |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-value | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | Reference() | data reference |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Task | A task to be performed tdr-1: Must have exactly one input that is data-query or data-code tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed' tdr-3: Task output SHALL be populated if status is 'completed' |
basedOn | ΣI | 0..* | Reference(Resource) | Also known as Member identifier |
status | ?!ΣI | 1..1 | code | draft | requested | received | accepted | + Binding: HRex Task Status ValueSet (required) |
statusReason | ΣI | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example) |
text | ΣI | 1..1 | string | Plain text representation of the concept |
businessStatus | ΣI | 0..1 | CodeableConcept | E.g. 'waiting on internal review' Binding: (unbound) (example) |
text | ΣI | 1..1 | string | Plain text representation of the concept |
intent | ΣI | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required) Fixed Value: order |
code | ΣI | 1..1 | CodeableConcept | Task Type Binding: TaskCode (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-request | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
for | ΣI | 1..1 | Reference(US Core Patient Profile) | Member being queried |
authoredOn | I | 1..1 | dateTime | Task Creation Date |
requester | ΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is asking for data |
owner | ΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is being asked for data |
reasonCode | I | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) |
text | ΣI | 1..1 | string | Plain text representation of the concept |
reasonReference | I | 0..1 | Reference(Claim | HRex Coverage Profile) | Why task is needed |
input | I | 1..* | (Slice Definition) | Information used to perform task Slice: Unordered, Open by pattern:type |
input:query | I | 0..1 | BackboneElement | Requested query |
type | I | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-query | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | I | 1..1 | string | query value |
input:code | I | 0..1 | BackboneElement | Requested data code |
type | I | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-code | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | I | 1..1 | CodeableConcept | query value |
output | I | 0..* | (Slice Definition) | Information produced as part of task Slice: Unordered, Open by pattern:type |
output:data | I | 0..* | BackboneElement | Requested data |
type | I | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-value | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | I | 1..1 | Reference() | data reference |
Documentation for this format |
This structure is derived from Task
Summary
Mandatory: 6 elements (3 nested mandatory elements)
Must-Support: 26 elements
Fixed Value: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Task
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Task | A task to be performed tdr-1: Must have exactly one input that is data-query or data-code tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed' tdr-3: Task output SHALL be populated if status is 'completed' |
basedOn | S | 0..* | Reference(Resource) | Also known as Member identifier |
status | S | 1..1 | code | draft | requested | received | accepted | + Binding: HRex Task Status ValueSet (required) |
statusReason | S | 0..1 | CodeableConcept | Reason for current status |
text | S | 1..1 | string | Plain text representation of the concept |
businessStatus | S | 0..1 | CodeableConcept | E.g. 'waiting on internal review' |
text | S | 1..1 | string | Plain text representation of the concept |
intent | S | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order |
code | S | 1..1 | CodeableConcept | Task Type Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-request | |
for | S | 1..1 | Reference(US Core Patient Profile) | Member being queried |
authoredOn | S | 1..1 | dateTime | Task Creation Date |
requester | S | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is asking for data |
owner | S | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is being asked for data |
reasonCode | S | 0..1 | CodeableConcept | Why task is needed |
text | S | 1..1 | string | Plain text representation of the concept |
reasonReference | S | 0..1 | Reference(Claim | HRex Coverage Profile) | Why task is needed |
input | S | 1..* | (Slice Definition) | Information used to perform task Slice: Unordered, Open by pattern:type |
input:query | S | 0..1 | BackboneElement | Requested query |
type | S | 1..1 | CodeableConcept | Label for the input Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-query | |
value[x] | S | 1..1 | string | query value |
input:code | S | 0..1 | BackboneElement | Requested data code |
type | S | 1..1 | CodeableConcept | Label for the input Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-code | |
value[x] | S | 1..1 | CodeableConcept | query value |
output | S | 0..* | (Slice Definition) | Information produced as part of task Slice: Unordered, Open by pattern:type |
output:data | S | 0..* | BackboneElement | Requested data |
type | S | 1..1 | CodeableConcept | Label for output Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-value | |
value[x] | S | 1..1 | Reference() | data reference |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Task | A task to be performed tdr-1: Must have exactly one input that is data-query or data-code tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed' tdr-3: Task output SHALL be populated if status is 'completed' |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | I | 0..* | Identifier | Task Instance Identifier |
instantiatesCanonical | ΣI | 0..1 | canonical(ActivityDefinition) | Formal definition of task |
instantiatesUri | ΣI | 0..1 | uri | Formal definition of task |
basedOn | SΣI | 0..* | Reference(Resource) | Also known as Member identifier |
groupIdentifier | ΣI | 0..1 | Identifier | Requisition or grouper id |
partOf | ΣI | 0..* | Reference(Task) | Composite task |
status | ?!SΣI | 1..1 | code | draft | requested | received | accepted | + Binding: HRex Task Status ValueSet (required) |
statusReason | SΣI | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
businessStatus | SΣI | 0..1 | CodeableConcept | E.g. 'waiting on internal review' Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
intent | SΣI | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required) Fixed Value: order |
priority | I | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
code | SΣI | 1..1 | CodeableConcept | Task Type Binding: TaskCode (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-request | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
description | ΣI | 0..1 | string | Human-readable explanation of task |
focus | ΣI | 0..1 | Reference(Resource) | What task is acting on |
for | SΣI | 1..1 | Reference(US Core Patient Profile) | Member being queried |
encounter | ΣI | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriod | ΣI | 0..1 | Period | Start and end time of execution |
authoredOn | SI | 1..1 | dateTime | Task Creation Date |
lastModified | ΣI | 0..1 | dateTime | Task Last Modified Date |
requester | SΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is asking for data |
performerType | I | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred) |
owner | SΣI | 1..1 | Reference(US Core Organization Profile | US Core Practitioner Profile) | Who is being asked for data |
location | ΣI | 0..1 | Reference(Location) | Where task occurs |
reasonCode | SI | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
coding | ΣI | 0..* | Coding | Code defined by a terminology system |
text | SΣI | 1..1 | string | Plain text representation of the concept |
reasonReference | SI | 0..1 | Reference(Claim | HRex Coverage Profile) | Why task is needed |
insurance | I | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note | I | 0..* | Annotation | Comments made about the task |
relevantHistory | I | 0..* | Reference(Provenance) | Key events in history of the Task |
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
repetitions | I | 0..1 | positiveInt | How many times to repeat |
period | I | 0..1 | Period | When fulfillment sought |
recipient | I | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
input | SI | 1..* | (Slice Definition) | Information used to perform task Slice: Unordered, Open by pattern:type |
input:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) |
value[x] | I | 1..1 | Content to use in performing the task | |
valueBase64Binary | base64Binary | |||
valueBoolean | boolean | |||
valueCanonical | canonical(Any) | |||
valueCode | code | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueDecimal | decimal | |||
valueId | id | |||
valueInstant | instant | |||
valueInteger | integer | |||
valueMarkdown | markdown | |||
valueOid | oid | |||
valuePositiveInt | positiveInt | |||
valueString | string | |||
valueTime | time | |||
valueUnsignedInt | unsignedInt | |||
valueUri | uri | |||
valueUrl | url | |||
valueUuid | uuid | |||
valueAddress | Address | |||
valueAge | Age | |||
valueAnnotation | Annotation | |||
valueAttachment | Attachment | |||
valueCodeableConcept | CodeableConcept | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
input:query | SI | 0..1 | BackboneElement | Requested query |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-query | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | string | query value |
input:code | SI | 0..1 | BackboneElement | Requested data code |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-code | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | CodeableConcept | query value |
output | SI | 0..* | (Slice Definition) | Information produced as part of task Slice: Unordered, Open by pattern:type |
output:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | I | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) |
value[x] | I | 1..1 | Result of output | |
valueBase64Binary | base64Binary | |||
valueBoolean | boolean | |||
valueCanonical | canonical(Any) | |||
valueCode | code | |||
valueDate | date | |||
valueDateTime | dateTime | |||
valueDecimal | decimal | |||
valueId | id | |||
valueInstant | instant | |||
valueInteger | integer | |||
valueMarkdown | markdown | |||
valueOid | oid | |||
valuePositiveInt | positiveInt | |||
valueString | string | |||
valueTime | time | |||
valueUnsignedInt | unsignedInt | |||
valueUri | uri | |||
valueUrl | url | |||
valueUuid | uuid | |||
valueAddress | Address | |||
valueAge | Age | |||
valueAnnotation | Annotation | |||
valueAttachment | Attachment | |||
valueCodeableConcept | CodeableConcept | |||
valueCoding | Coding | |||
valueContactPoint | ContactPoint | |||
valueCount | Count | |||
valueDistance | Distance | |||
valueDuration | Duration | |||
valueHumanName | HumanName | |||
valueIdentifier | Identifier | |||
valueMoney | Money | |||
valuePeriod | Period | |||
valueQuantity | Quantity | |||
valueRange | Range | |||
valueRatio | Ratio | |||
valueReference | Reference(Any) | |||
valueSampledData | SampledData | |||
valueSignature | Signature | |||
valueTiming | Timing | |||
valueContactDetail | ContactDetail | |||
valueContributor | Contributor | |||
valueDataRequirement | DataRequirement | |||
valueExpression | Expression | |||
valueParameterDefinition | ParameterDefinition | |||
valueRelatedArtifact | RelatedArtifact | |||
valueTriggerDefinition | TriggerDefinition | |||
valueUsageContext | UsageContext | |||
valueDosage | Dosage | |||
valueMeta | Meta | |||
output:data | SI | 0..* | BackboneElement | Requested data |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | SI | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp | |
version | 0..1 | string | Version of the system - if relevant | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: data-value | |
display | 0..1 | string | Representation defined by the system | |
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |
text | 0..1 | string | Plain text representation of the concept | |
value[x] | SI | 1..1 | Reference() | data reference |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet / Code |
Task.language | preferred | CommonLanguages Max Binding: AllLanguages |
Task.status | required | HRexTaskStatus |
Task.statusReason | example | |
Task.businessStatus | example | |
Task.intent | required | Fixed Value: order |
Task.priority | required | RequestPriority |
Task.code | example | Pattern: data-request |
Task.performerType | preferred | ProcedurePerformerRoleCodes |
Task.reasonCode | example | |
Task.input.type | example | |
Task.input:query.type | example | Pattern: data-query |
Task.input:code.type | example | Pattern: data-code |
Task.output.type | example | |
Task.output:data.type | example | Pattern: data-value |
Id | Path | Details | Requirements |
dom-2 | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Task | A resource should have narrative for robust management : text.`div`.exists() | |
inv-1 | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn | |
tdr-1 | Task | Must have exactly one input that is data-query or data-code : input.type.where(coding.where(system='http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp' and (code='data-code' or code='data-query')).exists()).count()=1 | |
tdr-2 | Task | Task statusReason SHALL be populated if status is 'rejected' or 'failed' : (status = 'rejected' or status = 'failed') implies statusReason.exists() | |
tdr-3 | Task | Task output SHALL be populated if status is 'completed' : (status = 'completed') implies output.exists() | |
ele-1 | Task.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.instantiatesCanonical | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.instantiatesUri | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.groupIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.statusReason.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.statusReason.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.statusReason.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.statusReason.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.businessStatus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.businessStatus.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.businessStatus.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.businessStatus.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.businessStatus.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.intent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.priority | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.focus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.for | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.executionPeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.authoredOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.lastModified | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.requester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.performerType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.owner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.reasonCode.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.reasonCode.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.reasonCode.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.reasonCode.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.insurance | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.relevantHistory | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.restriction | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.restriction.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.restriction.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.restriction.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.restriction.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.restriction.repetitions | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.restriction.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.restriction.recipient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:query | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:query.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input:query.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input:query.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input:query.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input:query.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:query.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:code.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input:code.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input:code.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.input:code.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.input:code.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.input:code.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.output.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.output.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.output.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.output.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output:data | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output:data.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.output:data.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.output:data.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Task.output:data.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Task.output:data.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Task.output:data.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
A single profile is defined, although what elements are appropriate will vary depending on the stage of the Task’s life cycle. On initiation, the status
would be ‘requested’ and there would not generally be a businessStatus
or statusReason
and certainly would not be any output. As execution progresses, the Task.status
would be adjusted to reflect acceptance or rejection - and statusReason
would typically be populated in the latter case. Once the Task gets underway, businessStatus
might be filled in to help indicate progress/expected timelines. Finally, once the data becomes available, the status
is changed to ‘completed’ and the outputs are linked. (In some cases, preliminary outputs might be linked prior to the Task becoming ‘completed’, though that would be unusual in the Da Vinci situation.)