Care Coordination and 360 Referrals (Proof of Concept)
0.1.0 - proof-of-concept
Care Coordination and 360 Referrals (Proof of Concept) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/ReferralTask | Version: 0.1.0 | ||||
| Draft as of 2026-11-03 | Computable Name: ReferralTask | ||||
Referral Workflow - the state of a referral, shared between the Referral Initiator
and the Referral Recipient. FHIR equivalent of the 360X HL7 v2 OSU^O51 order status
updates (accept, decline, interim note, outcome, cancel) and of the SIU appointment
and no-show notifications. See Overview Model for
the status mapping.
Equivalent FDP Canonical Data Model (CDM) v1.0.0 objects: Referral.
Differences:
Referral.status (17 values) and latestTriageOutcome - provider-side only, with no owner, requester or status history. See Referral Status Values.Task.output): CDM Clinic Letter links only to an appointment.Task.input / output).The CDM is a downstream persistence model, used here as evidence of what NHS operations record, not as a design source. Mapping by property name - To confirm. See FDP Canonical Data Model Mapping for the full mapping.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |
![]() ![]() |
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. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. Required Pattern: | |
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
C | 1..1 | dateTime | Task Creation Date |
![]() ![]() |
C | 1..1 | dateTime | Task Last Modified Date |
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |
![]() ![]() |
0..* | Annotation | Comments made about the task | |
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍4.0.1 | FHIR Std. |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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
|
This structure is derived from Task
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + | |
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |
![]() ![]() |
1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Required Pattern: | |
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | dateTime | Task Creation Date | |
![]() ![]() |
1..1 | dateTime | Task Last Modified Date | |
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |
![]() ![]() |
0..* | Annotation | Comments made about the task | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Formal definition of task | |||||
![]() ![]() |
0..1 | uri | Formal definition of task | |||||
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
0..1 | Identifier | Requisition or grouper id | |||||
![]() ![]() |
0..* | Reference(Task) | Composite task | |||||
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |||||
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |||||
![]() ![]() |
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. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. Required Pattern: | |||||
![]() ![]() |
0..1 | string | Human-readable explanation of task | |||||
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |||||
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Healthcare event during which this task originated | |||||
![]() ![]() |
0..1 | Period | Start and end time of execution | |||||
![]() ![]() |
C | 1..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
C | 1..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |||||
![]() ![]() |
0..1 | Reference(Location) | Where task occurs | |||||
![]() ![]() |
0..1 | CodeableConcept | Why task is needed Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..1 | Reference(Resource) | Why task is needed | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |||||
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |||||
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |||||
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍4.0.1 | FHIR Std. |
| Task.for.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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
|
This structure is derived from Task
Summary
Mandatory: 7 elements
Must-Support: 16 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |
![]() ![]() |
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. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. Required Pattern: | |
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
C | 1..1 | dateTime | Task Creation Date |
![]() ![]() |
C | 1..1 | dateTime | Task Last Modified Date |
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |
![]() ![]() |
0..* | Annotation | Comments made about the task | |
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍4.0.1 | FHIR Std. |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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
|
Differential View
This structure is derived from Task
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Task | A task to be performed | |
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + | |
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |
![]() ![]() |
1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Fixed Value: order (no extensions allowed) | |
![]() ![]() |
0..1 | code | routine | urgent | asap | stat | |
![]() ![]() |
0..1 | CodeableConcept | Task Type Required Pattern: | |
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |
![]() ![]() |
1..1 | dateTime | Task Creation Date | |
![]() ![]() |
1..1 | dateTime | Task Last Modified Date | |
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |
![]() ![]() |
0..* | Annotation | Comments made about the task | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Task | A task to be performed Constraints: inv-1 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | Task Instance Identifier | |||||
![]() ![]() |
0..1 | canonical(ActivityDefinition) | Formal definition of task | |||||
![]() ![]() |
0..1 | uri | Formal definition of task | |||||
![]() ![]() |
1..* | Reference(Referral Request) | The referral (by Referral ID) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | ReferralIdentifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
0..1 | Identifier | Requisition or grouper id | |||||
![]() ![]() |
0..* | Reference(Task) | Composite task | |||||
![]() ![]() |
1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | |||||
![]() ![]() |
0..1 | CodeableConcept | Reason for decline or cancellation (ORC-16) Binding: Referral Status Reason Value Set (example) | |||||
![]() ![]() |
1..1 | CodeableConcept | 360X referral state Binding: Referral Workflow Status Value Set (required) | |||||
![]() ![]() |
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. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | |||||
![]() ![]() |
0..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. Required Pattern: | |||||
![]() ![]() |
0..1 | string | Human-readable explanation of task | |||||
![]() ![]() |
1..1 | Reference(Referral Request) | What task is acting on | |||||
![]() ![]() |
1..1 | Reference(Patient) | Beneficiary of the Task | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() |
0..1 | NHSIdentifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() |
0..1 | Reference(Encounter) | Healthcare event during which this task originated | |||||
![]() ![]() |
0..1 | Period | Start and end time of execution | |||||
![]() ![]() |
C | 1..1 | dateTime | Task Creation Date | ||||
![]() ![]() |
C | 1..1 | dateTime | Task Last Modified Date | ||||
![]() ![]() |
1..1 | Reference(PractitionerRole | Practitioner | Organization) | Referral Initiator | |||||
![]() ![]() |
0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. | |||||
![]() ![]() |
0..1 | Reference(PractitionerRole | Organization | HealthcareService) | Referral Recipient - the service that has taken (or been asked to take) responsibility | |||||
![]() ![]() |
0..1 | Reference(Location) | Where task occurs | |||||
![]() ![]() |
0..1 | CodeableConcept | Why task is needed Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. | |||||
![]() ![]() |
0..1 | Reference(Resource) | Why task is needed | |||||
![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() |
0..* | Annotation | Comments made about the task | |||||
![]() ![]() |
0..* | Reference(Provenance) | Key events in history of the Task | |||||
![]() ![]() |
0..1 | BackboneElement | Constraints on fulfillment tasks | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | positiveInt | How many times to repeat | |||||
![]() ![]() ![]() |
0..1 | Period | Period the referral is valid for (TQ1-6) | |||||
![]() ![]() ![]() |
0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |||||
![]() ![]() |
0..* | BackboneElement | Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for the input Binding: Referral Task Parameter Value Set (extensible) | |||||
![]() ![]() ![]() |
1..1 | canonical(), Reference() | Content to use in performing the task Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() ![]() |
0..1 | canonical(Questionnaire) | Content to use in performing the task | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Questionnaire | DocumentReference) | Content to use in performing the task | |||||
![]() ![]() |
0..* | BackboneElement | Completed form, appointment, interim consultation note, progress observations or referral outcome | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Label for output Binding: Referral Task Parameter Value Set (extensible) | |||||
![]() ![]() ![]() |
1..1 | Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) | Result of output | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Task.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Task.status | Base | required | TaskStatus | 📍4.0.1 | FHIR Std. |
| Task.statusReason | Base | example | Referral Status Reason Value Set | 📦0.1.0 | This IG |
| Task.businessStatus | Base | required | Referral Workflow Status Value Set | 📦0.1.0 | This IG |
| Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std. |
| Task.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| Task.code | Base | example | Task Codes | 📍4.0.1 | FHIR Std. |
| Task.for.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std. |
| Task.reasonCode | Base | example | Not State | Unknown | |
| Task.input.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| Task.output.type | Base | extensible | Referral Task Parameter Value Set | 📦0.1.0 | This IG |
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | 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 | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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
|
This structure is derived from Task
Summary
Mandatory: 7 elements
Must-Support: 16 elements
Fixed: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron