This page is part of a downloaded copy of this specification. This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR v3.5.0. . For a full list of available versions, see the Directory of published versions

This is a pre-release version (Ballot 1) of Coverage Requirements Discovery (CRD) R1/STU. There is no current official version.
For a full list of available versions, see the Directory of published versions .

## StructureDefinition: CRD Task

The official URL for this profile is:

    http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-taskquestionnaire-r4

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Task

Summary

Mandatory: 11 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-location-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage-r4

This structure is derived from Task

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task |  | 0..* |  |
identifier | S | 0..* | Identifier |
instantiatesCanonical | S | 1..1 | canonical(Questionnaire) |
instantiatesUri |  | 0..1 | uri |
basedOn | S | 1..1 | Reference(Resource) |
groupIdentifier |  | 0..1 | Identifier |
partOf |  | 0..* | Reference(Task) |
status | S | 1..1 | code | Fixed Value: draft
statusReason |  | 0..1 | CodeableConcept |
businessStatus |  | 0..1 | CodeableConcept |
intent | S | 1..1 | code |
priority |  | 0..1 | code |
code | S | 1..1 | CodeableConcept | Binding: CRD Task Codes (required)
description | S | 1..1 | string |
focus |  | 0..1 | Reference(Resource) |
for | S | 1..1 | Reference(Resource) |
context |  | 0..1 | Reference(CRD Encounter) |
executionPeriod |  | 0..1 | Period |
authoredOn | S | 1..1 | dateTime |
lastModified |  | 0..1 | dateTime |
requester | S | 1..1 | Reference(CRD Practitioner) |
performerType |  | 0..* | CodeableConcept |
owner | S | 1..1 | Reference(CRD Practitioner) |
location | S | 1..1 | Reference(CRD Location) |
reasonCode | S | 0..1 | CodeableConcept | Binding: CRD Reason Codes (required)
reasonReference |  | 0..1 | Reference(Resource) |
insurance | S | 1..1 | Reference(CRD Coverage) |
note |  | 0..* | Annotation |
relevantHistory |  | 0..* | Reference(Provenance) |
restriction |  | 0..1 | BackboneElement |
input |  | 0..* | BackboneElement |
output |  | 0..* | BackboneElement |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | I | 0..* |  | A task to be performed
id | Î£ | 0..1 | id | Logical id of this artifact
meta | Î£ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Î£ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (preferred)
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional Content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | Task Instance Identifier
instantiatesCanonical | S Î£ | 1..1 | canonical(Questionnaire) | Formal definition of task
instantiatesUri | Î£ | 0..1 | uri | Formal definition of task
basedOn | S Î£ | 1..1 | Reference(Resource) | Request fulfilled by this task
groupIdentifier | Î£ | 0..1 | Identifier | Requisition or grouper id
partOf | Î£ | 0..* | Reference(Task) | Composite task
status | ?!S Î£ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) Fixed Value: draft
statusReason | Î£ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example)
businessStatus | Î£ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example)
intent | S Î£ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required)
priority |  | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required)
code | S Î£ | 1..1 | CodeableConcept | Task Type Binding: CRD Task Codes (required)
description | S Î£ | 1..1 | string | Human-readable explanation of task
focus | Î£ | 0..1 | Reference(Resource) | What task is acting on
for | S Î£ | 1..1 | Reference(Resource) | Beneficiary of the Task
context | Î£ | 0..1 | Reference(CRD Encounter) | Healthcare event during which this task originated
executionPeriod | Î£ | 0..1 | Period | Start and end time of execution
authoredOn | S I | 1..1 | dateTime | Task Creation Date
lastModified | Î£I | 0..1 | dateTime | Task Last Modified Date
requester | S Î£ | 1..1 | Reference(CRD Practitioner) | Who is asking for task to be done
performerType |  | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred)
owner | S Î£ | 1..1 | Reference(CRD Practitioner) | Responsible individual
location | S Î£ | 1..1 | Reference(CRD Location) | Where task occurs
reasonCode | S | 0..1 | CodeableConcept | Why task is needed Binding: CRD Reason Codes (required)
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed
insurance | S | 1..1 | Reference(CRD Coverage) | Associated insurance coverage
note |  | 0..* | Annotation | Comments made about the task
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
repetitions |  | 0..1 | positiveInt | How many times to repeat
period |  | 0..1 | Period | When fulfillment sought
recipient |  | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought?
input | I | 0..* | BackboneElement | Information used to perform task
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
type |  | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example)
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, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, Expression, UsageContext, Dosage | Content to use in performing the task
output | I | 0..* | BackboneElement | Information produced as part of task
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example)
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, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, Expression, UsageContext, Dosage | Result of output
Documentation for this format

This structure is derived from Task

Summary

Mandatory: 11 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-location-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage-r4

Differential View

This structure is derived from Task

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task |  | 0..* |  |
identifier | S | 0..* | Identifier |
instantiatesCanonical | S | 1..1 | canonical(Questionnaire) |
instantiatesUri |  | 0..1 | uri |
basedOn | S | 1..1 | Reference(Resource) |
groupIdentifier |  | 0..1 | Identifier |
partOf |  | 0..* | Reference(Task) |
status | S | 1..1 | code | Fixed Value: draft
statusReason |  | 0..1 | CodeableConcept |
businessStatus |  | 0..1 | CodeableConcept |
intent | S | 1..1 | code |
priority |  | 0..1 | code |
code | S | 1..1 | CodeableConcept | Binding: CRD Task Codes (required)
description | S | 1..1 | string |
focus |  | 0..1 | Reference(Resource) |
for | S | 1..1 | Reference(Resource) |
context |  | 0..1 | Reference(CRD Encounter) |
executionPeriod |  | 0..1 | Period |
authoredOn | S | 1..1 | dateTime |
lastModified |  | 0..1 | dateTime |
requester | S | 1..1 | Reference(CRD Practitioner) |
performerType |  | 0..* | CodeableConcept |
owner | S | 1..1 | Reference(CRD Practitioner) |
location | S | 1..1 | Reference(CRD Location) |
reasonCode | S | 0..1 | CodeableConcept | Binding: CRD Reason Codes (required)
reasonReference |  | 0..1 | Reference(Resource) |
insurance | S | 1..1 | Reference(CRD Coverage) |
note |  | 0..* | Annotation |
relevantHistory |  | 0..* | Reference(Provenance) |
restriction |  | 0..1 | BackboneElement |
input |  | 0..* | BackboneElement |
output |  | 0..* | BackboneElement |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | I | 0..* |  | A task to be performed
id | Î£ | 0..1 | id | Logical id of this artifact
meta | Î£ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Î£ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (preferred)
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional Content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S | 0..* | Identifier | Task Instance Identifier
instantiatesCanonical | S Î£ | 1..1 | canonical(Questionnaire) | Formal definition of task
instantiatesUri | Î£ | 0..1 | uri | Formal definition of task
basedOn | S Î£ | 1..1 | Reference(Resource) | Request fulfilled by this task
groupIdentifier | Î£ | 0..1 | Identifier | Requisition or grouper id
partOf | Î£ | 0..* | Reference(Task) | Composite task
status | ?!S Î£ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) Fixed Value: draft
statusReason | Î£ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example)
businessStatus | Î£ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example)
intent | S Î£ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required)
priority |  | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required)
code | S Î£ | 1..1 | CodeableConcept | Task Type Binding: CRD Task Codes (required)
description | S Î£ | 1..1 | string | Human-readable explanation of task
focus | Î£ | 0..1 | Reference(Resource) | What task is acting on
for | S Î£ | 1..1 | Reference(Resource) | Beneficiary of the Task
context | Î£ | 0..1 | Reference(CRD Encounter) | Healthcare event during which this task originated
executionPeriod | Î£ | 0..1 | Period | Start and end time of execution
authoredOn | S I | 1..1 | dateTime | Task Creation Date
lastModified | Î£I | 0..1 | dateTime | Task Last Modified Date
requester | S Î£ | 1..1 | Reference(CRD Practitioner) | Who is asking for task to be done
performerType |  | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred)
owner | S Î£ | 1..1 | Reference(CRD Practitioner) | Responsible individual
location | S Î£ | 1..1 | Reference(CRD Location) | Where task occurs
reasonCode | S | 0..1 | CodeableConcept | Why task is needed Binding: CRD Reason Codes (required)
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed
insurance | S | 1..1 | Reference(CRD Coverage) | Associated insurance coverage
note |  | 0..* | Annotation | Comments made about the task
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
repetitions |  | 0..1 | positiveInt | How many times to repeat
period |  | 0..1 | Period | When fulfillment sought
recipient |  | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought?
input | I | 0..* | BackboneElement | Information used to perform task
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
type |  | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example)
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, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, Expression, UsageContext, Dosage | Content to use in performing the task
output | I | 0..* | BackboneElement | Information produced as part of task
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example)
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, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, Expression, UsageContext, Dosage | Result of output
Documentation for this format

Other representations of profile: Schematron

### Terminology Bindings

Path | Name | Conformance | ValueSet
Task.language | Language | preferred | Common Languages
Task.status | TaskStatus | required | TaskStatus
Task.statusReason | ?ext | example |
Task.businessStatus | ?ext | example |
Task.intent | TaskIntent | required | TaskIntent
Task.priority | Request priority | required | RequestPriority
Task.code | CRD Task Codes | required | CRD Task Codes
Task.performerType | TaskPerformerType | preferred | TaskPerformerType
Task.reasonCode | CRD Reason Codes | required | CRD Reason Codes
Task.input.type | ?ext | example |
Task.output.type | ?ext | example |

### Constraints

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-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-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-6 | Task | A resource should have narrative for robust management : text.div.exists() |
dom-5 | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
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 |
ele-1 | Task.restriction | 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.output | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |