Extensions for Using Data Elements from FHIR STU3 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/3.0/StructureDefinition/profile-Task | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R3_Task_R5 | ||
This cross-version profile allows STU3 Task content to be represented via FHIR R5 Task resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task(5.0.0) | A task to be performed Constraints: inv-1, tsk-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | uri, Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition) | STU3: Formal definition of task (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.definition Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | CodeableConcept | STU3: requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.performerType Binding: R3TaskPerformerTypeForR5 (0.1.0) (preferred): The type(s) of task performers allowed Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
?!Σ | 0..1 | boolean | True if Task is prohibiting action |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Task Status | 📍5.0.0 | FHIR Std. |
| Task.intent | Base | required | Task Intent | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | 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 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Task.implicitRules, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.status, Task.intent, Task.doNotPerform | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| tsk-1 | error | Task | Task.restriction is only allowed if the Task is seeking fulfillment and a focus is specified. |
restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir/CodeSystem/task-code').exists() and focus.exists()
|
This structure is derived from Task
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task(5.0.0) | A task to be performed Constraints: inv-1, tsk-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | STU3: meta additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | STU3: text additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | uri, Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition) | STU3: Formal definition of task (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.definition Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | STU3: requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.performerType Binding: R3TaskPerformerTypeForR5 (0.1.0) (preferred): The type(s) of task performers allowed Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | STU3: identifier additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | Request fulfilled by this task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: basedOn additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Requisition or grouper id | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | STU3: groupIdentifier additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.groupIdentifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
Σ | 0..1 | CodeableReference() | Reason for current status Binding: TaskStatusReason (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding Description: (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. | ||||
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The priority of a task (may affect service level applied to the task). | |||||
![]() ![]() |
?!Σ | 0..1 | boolean | True if Task is prohibiting action | ||||
![]() ![]() |
ΣC | 0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
ΣC | 0..1 | Reference(Resource) | What task is acting on | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: focus additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Beneficiary of the Task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: for additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: context additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Period | When the task should be performed | ||||
![]() ![]() |
Σ | 0..1 | Period | Start and end time of execution | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | STU3: executionPeriod additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.executionPeriod Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Resource) | STU3: Individual asking for task URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) | STU3: Organization individual is acting for (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.requester.onBehalfOf Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableReference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Who should perform Task Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Responsible individual | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: owner URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what performed the task | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of performance Binding Description: (example): Codes to identify types of task performers. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who performed the task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Where task occurs | ||||
![]() ![]() |
0..* | CodeableReference() | Why task is needed Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | STU3: note additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.note Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: relevantHistory additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | BackboneElement | Constraints on fulfillment tasks | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | When fulfillment is sought | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | STU3: When fulfillment sought additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.restriction.period Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: recipient URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | BackboneElement | Information used to perform task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta | STU3: value additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.input.value Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
integer64 | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
CodeableReference | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
RatioRange | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Availability | |||||||
![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta | STU3: value additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.output.value Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
integer64 | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
CodeableReference | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
RatioRange | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Availability | |||||||
![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| Task.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| Task.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Task.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| Task.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Task.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| Task.basedOn.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.groupIdentifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Task.groupIdentifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| Task.partOf.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.status | Base | required | Task Status | 📍5.0.0 | FHIR Std. |
| Task.statusReason | Base | example | Task Status Reason | 📍5.0.0 | FHIR Std. |
| Task.businessStatus | Base | example | Not State | Unknown | |
| Task.intent | Base | required | Task Intent | 📍5.0.0 | FHIR Std. |
| Task.priority | Base | required | RequestPriority | 📍5.0.0 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍5.0.0 | FHIR Std. |
| Task.focus.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.for.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.encounter.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.requester.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.requestedPerformer | Base | preferred | Procedure Performer Role Codes | 📍5.0.0 | FHIR Std. |
| Task.owner.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.performer.function | Base | example | Not State | Unknown | |
| Task.reason | Base | example | Not State | Unknown | |
| Task.relevantHistory.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.restriction.recipient.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | 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 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Task.meta, Task.meta.extension, Task.meta.extension:meta, Task.meta.versionId, Task.meta.lastUpdated, Task.meta.source, Task.meta.profile, Task.meta.security, Task.meta.tag, Task.implicitRules, Task.language, Task.text, Task.text.extension, Task.text.extension:text, Task.text.status, Task.text.div, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.identifier, Task.identifier.extension, Task.identifier.extension:identifier, Task.identifier.use, Task.identifier.type, Task.identifier.system, Task.identifier.value, Task.identifier.period, Task.identifier.assigner, Task.instantiatesCanonical, Task.instantiatesUri, Task.basedOn, Task.basedOn.extension, Task.basedOn.extension:basedOn, Task.basedOn.reference, Task.basedOn.type, Task.basedOn.identifier, Task.basedOn.display, Task.groupIdentifier, Task.groupIdentifier.extension, Task.groupIdentifier.extension:groupIdentifier, Task.groupIdentifier.use, Task.groupIdentifier.type, Task.groupIdentifier.system, Task.groupIdentifier.value, Task.groupIdentifier.period, Task.groupIdentifier.assigner, Task.partOf, Task.partOf.extension, Task.partOf.extension:partOf, Task.partOf.reference, Task.partOf.type, Task.partOf.identifier, Task.partOf.display, Task.status, Task.statusReason, Task.businessStatus, Task.intent, Task.priority, Task.doNotPerform, Task.code, Task.description, Task.focus, Task.focus.extension, Task.focus.extension:focus, Task.focus.reference, Task.focus.type, Task.focus.identifier, Task.focus.display, Task.for, Task.for.extension, Task.for.extension:for, Task.for.reference, Task.for.type, Task.for.identifier, Task.for.display, Task.encounter, Task.encounter.extension, Task.encounter.extension:context, Task.encounter.reference, Task.encounter.type, Task.encounter.identifier, Task.encounter.display, Task.requestedPeriod, Task.executionPeriod, Task.executionPeriod.extension, Task.executionPeriod.extension:executionPeriod, Task.executionPeriod.start, Task.executionPeriod.end, Task.authoredOn, Task.lastModified, Task.requester, Task.requester.extension, Task.requester.extension:agent, Task.requester.extension:onBehalfOf, Task.requester.reference, Task.requester.type, Task.requester.identifier, Task.requester.display, Task.requestedPerformer, Task.owner, Task.owner.extension, Task.owner.extension:owner, Task.owner.reference, Task.owner.type, Task.owner.identifier, Task.owner.display, Task.performer, Task.performer.extension, Task.performer.modifierExtension, Task.performer.function, Task.performer.actor, Task.location, Task.reason, Task.insurance, Task.note, Task.note.extension, Task.note.extension:note, Task.note.author[x], Task.note.time, Task.note.text, Task.relevantHistory, Task.relevantHistory.extension, Task.relevantHistory.extension:relevantHistory, Task.relevantHistory.reference, Task.relevantHistory.type, Task.relevantHistory.identifier, Task.relevantHistory.display, Task.restriction, Task.restriction.extension, Task.restriction.modifierExtension, Task.restriction.repetitions, Task.restriction.period, Task.restriction.period.extension, Task.restriction.period.extension:period, Task.restriction.period.start, Task.restriction.period.end, Task.restriction.recipient, Task.restriction.recipient.extension, Task.restriction.recipient.extension:recipient, Task.restriction.recipient.reference, Task.restriction.recipient.type, Task.restriction.recipient.identifier, Task.restriction.recipient.display, Task.input, Task.input.extension, Task.input.extension:value, Task.input.modifierExtension, Task.input.type, Task.input.value[x], Task.output, Task.output.extension, Task.output.extension:value, Task.output.modifierExtension, Task.output.type, Task.output.value[x] | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Task.meta.extension, Task.meta.extension:meta, Task.text.extension, Task.text.extension:text, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.identifier.extension, Task.identifier.extension:identifier, Task.basedOn.extension, Task.basedOn.extension:basedOn, Task.groupIdentifier.extension, Task.groupIdentifier.extension:groupIdentifier, Task.partOf.extension, Task.partOf.extension:partOf, Task.focus.extension, Task.focus.extension:focus, Task.for.extension, Task.for.extension:for, Task.encounter.extension, Task.encounter.extension:context, Task.executionPeriod.extension, Task.executionPeriod.extension:executionPeriod, Task.requester.extension, Task.requester.extension:agent, Task.requester.extension:onBehalfOf, Task.owner.extension, Task.owner.extension:owner, Task.performer.extension, Task.performer.modifierExtension, Task.note.extension, Task.note.extension:note, Task.relevantHistory.extension, Task.relevantHistory.extension:relevantHistory, Task.restriction.extension, Task.restriction.modifierExtension, Task.restriction.period.extension, Task.restriction.period.extension:period, Task.restriction.recipient.extension, Task.restriction.recipient.extension:recipient, Task.input.extension, Task.input.extension:value, Task.input.modifierExtension, Task.output.extension, Task.output.extension:value, Task.output.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| tsk-1 | error | Task | Task.restriction is only allowed if the Task is seeking fulfillment and a focus is specified. |
restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir/CodeSystem/task-code').exists() and focus.exists()
|
| txt-1 | error | Task.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | Task.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from Task
Summary
Mandatory: 0 element(2 nested mandatory elements)
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task(5.0.0) | A task to be performed Constraints: inv-1, tsk-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | uri, Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition) | STU3: Formal definition of task (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.definition Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | CodeableConcept | STU3: requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.performerType Binding: R3TaskPerformerTypeForR5 (0.1.0) (preferred): The type(s) of task performers allowed Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. |
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
![]() ![]() |
?!Σ | 0..1 | boolean | True if Task is prohibiting action |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | Task Status | 📍5.0.0 | FHIR Std. |
| Task.intent | Base | required | Task Intent | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | 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 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Task.implicitRules, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.status, Task.intent, Task.doNotPerform | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| tsk-1 | error | Task | Task.restriction is only allowed if the Task is seeking fulfillment and a focus is specified. |
restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir/CodeSystem/task-code').exists() and focus.exists()
|
Differential View
This structure is derived from Task
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task(5.0.0) | A task to be performed Constraints: inv-1, tsk-1 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | STU3: meta additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | STU3: text additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | uri, Reference(Cross-version Profile for STU3.ActivityDefinition for use in FHIR R5(0.1.0) | ActivityDefinition) | STU3: Formal definition of task (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.definition Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | STU3: requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.performerType Binding: R3TaskPerformerTypeForR5 (0.1.0) (preferred): The type(s) of task performers allowed Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | STU3: identifier additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | ||||
![]() ![]() |
Σ | 0..1 | uri | Formal definition of task | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | Request fulfilled by this task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: basedOn additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Requisition or grouper id | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | STU3: groupIdentifier additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.groupIdentifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(Task) | Composite task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | ||||
![]() ![]() |
Σ | 0..1 | CodeableReference() | Reason for current status Binding: TaskStatusReason (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding Description: (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. | ||||
![]() ![]() |
Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | ||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The priority of a task (may affect service level applied to the task). | |||||
![]() ![]() |
?!Σ | 0..1 | boolean | True if Task is prohibiting action | ||||
![]() ![]() |
ΣC | 0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. | ||||
![]() ![]() |
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]() |
ΣC | 0..1 | Reference(Resource) | What task is acting on | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: focus additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Beneficiary of the Task | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: for additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: context additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Period | When the task should be performed | ||||
![]() ![]() |
Σ | 0..1 | Period | Start and end time of execution | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | STU3: executionPeriod additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.executionPeriod Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() |
C | 0..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Resource) | STU3: Individual asking for task URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for STU3.Organization for use in FHIR R5(0.1.0) | Organization) | STU3: Organization individual is acting for (new) URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.requester.onBehalfOf Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableReference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Who should perform Task Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Responsible individual | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: owner URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Who or what performed the task | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of performance Binding Description: (example): Codes to identify types of task performers. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who performed the task | ||||
![]() ![]() |
Σ | 0..1 | Reference(Location) | Where task occurs | ||||
![]() ![]() |
0..* | CodeableReference() | Why task is needed Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | STU3: note additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.note Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: relevantHistory additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | BackboneElement | Constraints on fulfillment tasks | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | When fulfillment is sought | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | STU3: When fulfillment sought additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.restriction.period Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | STU3: recipient URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | BackboneElement | Information used to perform task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta | STU3: value additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.input.value Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. | |||||
![]() ![]() ![]() |
1..1 | Content to use in performing the task | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
integer64 | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
CodeableReference | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
RatioRange | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Availability | |||||||
![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
![]() ![]() |
0..* | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Address, Annotation, Attachment, ContactPoint, HumanName, Identifier, Period, Range, Ratio, SampledData, Signature, Timing, Meta | STU3: value additional types URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-Task.output.value Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. | |||||
![]() ![]() ![]() |
1..1 | Result of output | ||||||
![]() ![]() ![]() ![]() |
base64Binary | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
canonical(Any) | |||||||
![]() ![]() ![]() ![]() |
code | |||||||
![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() |
id | |||||||
![]() ![]() ![]() ![]() |
instant | |||||||
![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() |
integer64 | |||||||
![]() ![]() ![]() ![]() |
markdown | |||||||
![]() ![]() ![]() ![]() |
oid | |||||||
![]() ![]() ![]() ![]() |
positiveInt | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() |
unsignedInt | |||||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
uuid | |||||||
![]() ![]() ![]() ![]() |
Address | |||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Annotation | |||||||
![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
CodeableReference | |||||||
![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() |
Count | |||||||
![]() ![]() ![]() ![]() |
Distance | |||||||
![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() |
HumanName | |||||||
![]() ![]() ![]() ![]() |
Identifier | |||||||
![]() ![]() ![]() ![]() |
Money | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
RatioRange | |||||||
![]() ![]() ![]() ![]() |
Reference(Any) | |||||||
![]() ![]() ![]() ![]() |
SampledData | |||||||
![]() ![]() ![]() ![]() |
Signature | |||||||
![]() ![]() ![]() ![]() |
Timing | |||||||
![]() ![]() ![]() ![]() |
ContactDetail | |||||||
![]() ![]() ![]() ![]() |
DataRequirement | |||||||
![]() ![]() ![]() ![]() |
Expression | |||||||
![]() ![]() ![]() ![]() |
ParameterDefinition | |||||||
![]() ![]() ![]() ![]() |
RelatedArtifact | |||||||
![]() ![]() ![]() ![]() |
TriggerDefinition | |||||||
![]() ![]() ![]() ![]() |
UsageContext | |||||||
![]() ![]() ![]() ![]() |
Availability | |||||||
![]() ![]() ![]() ![]() |
ExtendedContactDetail | |||||||
![]() ![]() ![]() ![]() |
Dosage | |||||||
![]() ![]() ![]() ![]() |
Meta | |||||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| Task.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| Task.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Task.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| Task.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Task.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| Task.basedOn.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.groupIdentifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Task.groupIdentifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| Task.partOf.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.status | Base | required | Task Status | 📍5.0.0 | FHIR Std. |
| Task.statusReason | Base | example | Task Status Reason | 📍5.0.0 | FHIR Std. |
| Task.businessStatus | Base | example | Not State | Unknown | |
| Task.intent | Base | required | Task Intent | 📍5.0.0 | FHIR Std. |
| Task.priority | Base | required | RequestPriority | 📍5.0.0 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍5.0.0 | FHIR Std. |
| Task.focus.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.for.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.encounter.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.requester.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.requestedPerformer | Base | preferred | Procedure Performer Role Codes | 📍5.0.0 | FHIR Std. |
| Task.owner.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.performer.function | Base | example | Not State | Unknown | |
| Task.reason | Base | example | Not State | Unknown | |
| Task.relevantHistory.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.restriction.recipient.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Task.input.type | Base | example | Not State | Unknown | |
| Task.output.type | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | 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 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Task | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Task.meta, Task.meta.extension, Task.meta.extension:meta, Task.meta.versionId, Task.meta.lastUpdated, Task.meta.source, Task.meta.profile, Task.meta.security, Task.meta.tag, Task.implicitRules, Task.language, Task.text, Task.text.extension, Task.text.extension:text, Task.text.status, Task.text.div, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.identifier, Task.identifier.extension, Task.identifier.extension:identifier, Task.identifier.use, Task.identifier.type, Task.identifier.system, Task.identifier.value, Task.identifier.period, Task.identifier.assigner, Task.instantiatesCanonical, Task.instantiatesUri, Task.basedOn, Task.basedOn.extension, Task.basedOn.extension:basedOn, Task.basedOn.reference, Task.basedOn.type, Task.basedOn.identifier, Task.basedOn.display, Task.groupIdentifier, Task.groupIdentifier.extension, Task.groupIdentifier.extension:groupIdentifier, Task.groupIdentifier.use, Task.groupIdentifier.type, Task.groupIdentifier.system, Task.groupIdentifier.value, Task.groupIdentifier.period, Task.groupIdentifier.assigner, Task.partOf, Task.partOf.extension, Task.partOf.extension:partOf, Task.partOf.reference, Task.partOf.type, Task.partOf.identifier, Task.partOf.display, Task.status, Task.statusReason, Task.businessStatus, Task.intent, Task.priority, Task.doNotPerform, Task.code, Task.description, Task.focus, Task.focus.extension, Task.focus.extension:focus, Task.focus.reference, Task.focus.type, Task.focus.identifier, Task.focus.display, Task.for, Task.for.extension, Task.for.extension:for, Task.for.reference, Task.for.type, Task.for.identifier, Task.for.display, Task.encounter, Task.encounter.extension, Task.encounter.extension:context, Task.encounter.reference, Task.encounter.type, Task.encounter.identifier, Task.encounter.display, Task.requestedPeriod, Task.executionPeriod, Task.executionPeriod.extension, Task.executionPeriod.extension:executionPeriod, Task.executionPeriod.start, Task.executionPeriod.end, Task.authoredOn, Task.lastModified, Task.requester, Task.requester.extension, Task.requester.extension:agent, Task.requester.extension:onBehalfOf, Task.requester.reference, Task.requester.type, Task.requester.identifier, Task.requester.display, Task.requestedPerformer, Task.owner, Task.owner.extension, Task.owner.extension:owner, Task.owner.reference, Task.owner.type, Task.owner.identifier, Task.owner.display, Task.performer, Task.performer.extension, Task.performer.modifierExtension, Task.performer.function, Task.performer.actor, Task.location, Task.reason, Task.insurance, Task.note, Task.note.extension, Task.note.extension:note, Task.note.author[x], Task.note.time, Task.note.text, Task.relevantHistory, Task.relevantHistory.extension, Task.relevantHistory.extension:relevantHistory, Task.relevantHistory.reference, Task.relevantHistory.type, Task.relevantHistory.identifier, Task.relevantHistory.display, Task.restriction, Task.restriction.extension, Task.restriction.modifierExtension, Task.restriction.repetitions, Task.restriction.period, Task.restriction.period.extension, Task.restriction.period.extension:period, Task.restriction.period.start, Task.restriction.period.end, Task.restriction.recipient, Task.restriction.recipient.extension, Task.restriction.recipient.extension:recipient, Task.restriction.recipient.reference, Task.restriction.recipient.type, Task.restriction.recipient.identifier, Task.restriction.recipient.display, Task.input, Task.input.extension, Task.input.extension:value, Task.input.modifierExtension, Task.input.type, Task.input.value[x], Task.output, Task.output.extension, Task.output.extension:value, Task.output.modifierExtension, Task.output.type, Task.output.value[x] | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Task.meta.extension, Task.meta.extension:meta, Task.text.extension, Task.text.extension:text, Task.extension, Task.extension:definition, Task.extension:performerType, Task.modifierExtension, Task.identifier.extension, Task.identifier.extension:identifier, Task.basedOn.extension, Task.basedOn.extension:basedOn, Task.groupIdentifier.extension, Task.groupIdentifier.extension:groupIdentifier, Task.partOf.extension, Task.partOf.extension:partOf, Task.focus.extension, Task.focus.extension:focus, Task.for.extension, Task.for.extension:for, Task.encounter.extension, Task.encounter.extension:context, Task.executionPeriod.extension, Task.executionPeriod.extension:executionPeriod, Task.requester.extension, Task.requester.extension:agent, Task.requester.extension:onBehalfOf, Task.owner.extension, Task.owner.extension:owner, Task.performer.extension, Task.performer.modifierExtension, Task.note.extension, Task.note.extension:note, Task.relevantHistory.extension, Task.relevantHistory.extension:relevantHistory, Task.restriction.extension, Task.restriction.modifierExtension, Task.restriction.period.extension, Task.restriction.period.extension:period, Task.restriction.recipient.extension, Task.restriction.recipient.extension:recipient, Task.input.extension, Task.input.extension:value, Task.input.modifierExtension, Task.output.extension, Task.output.extension:value, Task.output.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. |
lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
|
| tsk-1 | error | Task | Task.restriction is only allowed if the Task is seeking fulfillment and a focus is specified. |
restriction.exists() implies code.coding.where(code='fulfill' and system='http://hl7.org/fhir/CodeSystem/task-code').exists() and focus.exists()
|
| txt-1 | error | Task.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | Task.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from Task
Summary
Mandatory: 0 element(2 nested mandatory elements)
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron