Care Coordination and 360 Referrals (Proof of Concept)
0.1.0 - proof-of-concept United Kingdom flag

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

Resource Profile: Referral Task

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.

FDP Canonical Data Model

Equivalent FDP Canonical Data Model (CDM) v1.0.0 objects: Referral.

Differences:

  • No CDM equivalent. The referral's workflow state is the CDM Referral.status (17 values) and latestTriageOutcome - provider-side only, with no owner, requester or status history. See Referral Status Values.
  • No link from a referral to its outcome report (Task.output): CDM Clinic Letter links only to an appointment.
  • No forms to complete or completed forms (Task.input / output).
  • CDM Task is a pathway work-list item, not referral fulfilment - To confirm.

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

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-1
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.basedOn This element must be supported. This element is included in summaries. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.identifier This element is included in summaries. 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element must be supported. This element is included in summaries. 0..1 CodeableConcept Reason for decline or cancellation (ORC-16)
Binding: Referral Status Reason Value Set (example)
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent This element is included in summaries. 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)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.identifier This element is included in summaries. 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.authoredOn This element must be supported. C 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. This element is included in summaries. C 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.owner This element must be supported. This element is included in summaries. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Closed by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task 0..* Task A task to be performed
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.basedOn This element must be supported. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.identifier 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.status This element must be supported. 1..1 code draft | requested | received | accepted | +
Task.businessStatus This element must be supported. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order (no extensions allowed)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Task.code 0..1 CodeableConcept Task Type
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.focus This element must be supported. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.identifier 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.authoredOn This element must be supported. 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.owner This element must be supported. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.restriction
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Open by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings (Differential)

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
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-1
Task.id This element is included in summaries. 0..1 id Logical id of this artifact
Task.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Task.text 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
Task.contained 0..* Resource Contained, inline Resources
Task.extension 0..* Extension Additional content defined by implementations
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.instantiatesCanonical This element is included in summaries. 0..1 canonical(ActivityDefinition) Formal definition of task
Task.instantiatesUri This element is included in summaries. 0..1 uri Formal definition of task
Task.basedOn This element must be supported. This element is included in summaries. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.id 0..1 string Unique id for inter-element referencing
Task.basedOn.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.basedOn.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.basedOn.type This element is included in summaries. 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).
Task.basedOn.identifier This element is included in summaries. 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.basedOn.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.groupIdentifier This element is included in summaries. 0..1 Identifier Requisition or grouper id
Task.partOf This element is included in summaries. 0..* Reference(Task) Composite task
Task.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element must be supported. This element is included in summaries. 0..1 CodeableConcept Reason for decline or cancellation (ORC-16)
Binding: Referral Status Reason Value Set (example)
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent This element is included in summaries. 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)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.description This element is included in summaries. 0..1 string Human-readable explanation of task
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.id 0..1 string Unique id for inter-element referencing
Task.for.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.for.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.for.type This element is included in summaries. 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).
Task.for.identifier This element is included in summaries. 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.for.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.encounter This element is included in summaries. 0..1 Reference(Encounter) Healthcare event during which this task originated
Task.executionPeriod This element is included in summaries. 0..1 Period Start and end time of execution
Task.authoredOn This element must be supported. C 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. This element is included in summaries. C 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element must be supported. This element is included in summaries. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.reasonCode 0..1 CodeableConcept Why task is needed
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
Task.reasonReference 0..1 Reference(Resource) Why task is needed
Task.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.relevantHistory 0..* Reference(Provenance) Key events in history of the Task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.id 0..1 string Unique id for inter-element referencing
Task.restriction.extension 0..* Extension Additional content defined by implementations
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.repetitions 0..1 positiveInt How many times to repeat
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.restriction.recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.id 0..1 string Unique id for inter-element referencing
Task.input.extension 0..* Extension Additional content defined by implementations
Task.input.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Closed by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.id 0..1 string Unique id for inter-element referencing
Task.output.extension 0..* Extension Additional content defined by implementations
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings

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

Constraints

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

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-1
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.basedOn This element must be supported. This element is included in summaries. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.identifier This element is included in summaries. 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element must be supported. This element is included in summaries. 0..1 CodeableConcept Reason for decline or cancellation (ORC-16)
Binding: Referral Status Reason Value Set (example)
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent This element is included in summaries. 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)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.identifier This element is included in summaries. 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.authoredOn This element must be supported. C 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. This element is included in summaries. C 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.owner This element must be supported. This element is included in summaries. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Closed by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings

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

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task 0..* Task A task to be performed
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.basedOn This element must be supported. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.identifier 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.status This element must be supported. 1..1 code draft | requested | received | accepted | +
Task.statusReason This element must be supported. 0..1 CodeableConcept Reason for decline or cancellation (ORC-16)
Binding: Referral Status Reason Value Set (example)
Task.businessStatus This element must be supported. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent 1..1 code unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order (no extensions allowed)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Task.code 0..1 CodeableConcept Task Type
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.focus This element must be supported. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.identifier 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.authoredOn This element must be supported. 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.owner This element must be supported. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.restriction
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Open by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings (Differential)

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Task C 0..* Task A task to be performed
Constraints: inv-1
Task.id This element is included in summaries. 0..1 id Logical id of this artifact
Task.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Task.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Task.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Task.text 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
Task.contained 0..* Resource Contained, inline Resources
Task.extension 0..* Extension Additional content defined by implementations
Task.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Task.identifier This element must be supported. 0..* Identifier Task Instance Identifier
Task.instantiatesCanonical This element is included in summaries. 0..1 canonical(ActivityDefinition) Formal definition of task
Task.instantiatesUri This element is included in summaries. 0..1 uri Formal definition of task
Task.basedOn This element must be supported. This element is included in summaries. 1..* Reference(Referral Request) The referral (by Referral ID)
Task.basedOn.id 0..1 string Unique id for inter-element referencing
Task.basedOn.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.basedOn.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.basedOn.type This element is included in summaries. 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).
Task.basedOn.identifier This element is included in summaries. 0..1 ReferralIdentifier Logical reference, when literal reference is not known
Task.basedOn.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.groupIdentifier This element is included in summaries. 0..1 Identifier Requisition or grouper id
Task.partOf This element is included in summaries. 0..* Reference(Task) Composite task
Task.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.
Task.statusReason This element must be supported. This element is included in summaries. 0..1 CodeableConcept Reason for decline or cancellation (ORC-16)
Binding: Referral Status Reason Value Set (example)
Task.businessStatus This element must be supported. This element is included in summaries. 1..1 CodeableConcept 360X referral state
Binding: Referral Workflow Status Value Set (required)
Task.intent This element is included in summaries. 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)
Task.priority This element must be supported. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.
Task.code This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "fulfill"
    }
  ]
}
Task.description This element is included in summaries. 0..1 string Human-readable explanation of task
Task.focus This element must be supported. This element is included in summaries. 1..1 Reference(Referral Request) What task is acting on
Task.for This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Beneficiary of the Task
Task.for.id 0..1 string Unique id for inter-element referencing
Task.for.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Task.for.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Task.for.type This element is included in summaries. 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).
Task.for.identifier This element is included in summaries. 0..1 NHSIdentifier Logical reference, when literal reference is not known
Task.for.display This element is included in summaries. 0..1 string Text alternative for the resource
Task.encounter This element is included in summaries. 0..1 Reference(Encounter) Healthcare event during which this task originated
Task.executionPeriod This element is included in summaries. 0..1 Period Start and end time of execution
Task.authoredOn This element must be supported. C 1..1 dateTime Task Creation Date
Task.lastModified This element must be supported. This element is included in summaries. C 1..1 dateTime Task Last Modified Date
Task.requester This element must be supported. This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization) Referral Initiator
Task.performerType 0..* CodeableConcept Requested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
Task.owner This element must be supported. This element is included in summaries. 0..1 Reference(PractitionerRole | Organization | HealthcareService) Referral Recipient - the service that has taken (or been asked to take) responsibility
Task.location This element is included in summaries. 0..1 Reference(Location) Where task occurs
Task.reasonCode 0..1 CodeableConcept Why task is needed
Binding Description: (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.
Task.reasonReference 0..1 Reference(Resource) Why task is needed
Task.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
Task.note This element must be supported. 0..* Annotation Comments made about the task
Task.relevantHistory 0..* Reference(Provenance) Key events in history of the Task
Task.restriction 0..1 BackboneElement Constraints on fulfillment tasks
Task.restriction.id 0..1 string Unique id for inter-element referencing
Task.restriction.extension 0..* Extension Additional content defined by implementations
Task.restriction.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.restriction.repetitions 0..1 positiveInt How many times to repeat
Task.restriction.period This element must be supported. 0..1 Period Period the referral is valid for (TQ1-6)
Task.restriction.recipient 0..* Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) For whom is fulfillment sought?
Task.input This element must be supported. 0..* BackboneElement Form the Referral Recipient asks to be completed (Questionnaire), by the patient or the referrer
Task.input.id 0..1 string Unique id for inter-element referencing
Task.input.extension 0..* Extension Additional content defined by implementations
Task.input.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.input.type 1..1 CodeableConcept Label for the input
Binding: Referral Task Parameter Value Set (extensible)
Task.input.Slices for value[x] 1..1 canonical(), Reference() Content to use in performing the task
Slice: Unordered, Closed by type:$this
Task.input.Slices for value[x].value[x]:valueCanonical 0..1 canonical(Questionnaire) Content to use in performing the task
Task.input.Slices for value[x].value[x]:valueReference 0..1 Reference(Questionnaire | DocumentReference) Content to use in performing the task
Task.output This element must be supported. 0..* BackboneElement Completed form, appointment, interim consultation note, progress observations or referral outcome
Task.output.id 0..1 string Unique id for inter-element referencing
Task.output.extension 0..* Extension Additional content defined by implementations
Task.output.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Task.output.type 1..1 CodeableConcept Label for output
Binding: Referral Task Parameter Value Set (extensible)
Task.output.value[x] 1..1 Reference(QuestionnaireResponse | Observation | Appointment | Composition | Bundle | DocumentReference | DiagnosticReport | Encounter | CarePlan) Result of output

doco Documentation for this format

Terminology Bindings

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

Constraints

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

 

Other representations of profile: CSV, Excel, Schematron