1.0.0 - release
            
          
CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cambio.se/StructureDefinition/TaskReferral/v1 | Version: 1.0.0 | |||
| Active as of 2021-04-14 | Computable Name: TaskReferral | |||
The TaskReferral profile represents the task to be performed as a result of a referral request. This profile is based on the FHIR resource Task.
TaskReferral is intended to be used for communicating referral statuses and referral outputs, e.g. assessments and answers. The output section refers to composition resources which can be contained within the Task. For the intended use of Composition, refer to CompositionReferralClinicalInformation section.
The intended use for reading data with this API is in first hand that the API is applied for direct access and should not be used to transfer data between caregivers. If it should be used for "data copying" between care providers, patient consent must be handled outside the API.
| Type | Description | 
|---|---|
| Rule | External user should not be someone else than the patient of which record the referral data belongs. E.g. A healthcare professional is not the intended user of the API. | 
| Rule | The consumer of the API is responsible for making sure data retrieved is filtered in compliance with laws and regulations prior to presenting it to any end-users. | 
| Rule | For reading referral information, the external system needs to be able to evaluate PDL. This means whether the information can be displayed for a healthcare professional with a specific assignment. PDL data needed (HSA care unit and HSA care provider) is retrieved by including the organization referenced from ServiceRequest.performer.PractitionerRoleLiteSe (PractitionerRoleLiteSe.OrganizationSEVendorLite). For more information, see supported Queries. | 
| COS version | Profile version | Required COSMIC version | Date | Description | 
|---|---|---|---|---|
| 3.0.0 | 1.0.0 | R8.3.05 | Mar 2021 | Initial version, support for GET. | 
TaskReferral supports GET queries. It supports a _include operation which makes it possible to read both the referral request(ServiceRequest) and the included referenced referral documentation, answers and assessments (Composition).
| HTTP Method | Description | 
|---|---|
| GET | Support for GET Task by specific Id, and also to search by subject. | 
| Parameter | Format | Mandatory | Comment | 
|---|---|---|---|
_profile | 
      string | No | 
focus | 
      reference | Yes | 
GET [baseURL]/Task/focus= (Search)GET [baseURL]/Task/focus=[]&_include=[] (Search)The following _include parameters are supported:
forfocusownerowner.practitionerowner.organizationrequesterrequester.practitionerrequester.organizationTask:focus -
This will return all tasks which reference this ServiceRequest.
No specific error codes for Task, for common codes, refer to the Error Handling section.
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..* | TaskReferralCore | A task to be performed Constraints: inv-1  | 
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | 
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |
![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient  | 
![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | 
?!Σ | 1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error Binding: TaskStatus (required): The current status of the task.  | 
![]() ![]()  | 
Σ | 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 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | 
![]() ![]()  | 
Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order  | 
![]() ![]()  | 
0..1 | code | routine | urgent | asap Binding: RequestPriority (required): The task's priority.  | |
![]() ![]()  | 
Σ | 1..1 | Reference(ServiceRequestReferral) | What task is acting on | 
![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: ServiceRequest  | 
![]() ![]()  | 
ΣC | 0..1 | dateTime | Task Last Modified Date | 
![]() ![]()  | 
Σ | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | 
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | 
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Task.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | |
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1From the FHIR Standard  | |
| Task.businessStatus | example | ||
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | |
| Task.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/task-intent|4.0.1From the FHIR Standard  | |
| Task.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | |
| Task.focus.type | extensible | Fixed Value: ServiceRequesthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Task.input.type | example | ||
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 TaskReferralCore
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | TaskReferralCore | A task to be performed | |
![]() ![]()  | 
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]()  | 
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |
![]() ![]() ![]()  | 
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]()  | 
1..1 | string | The value that is unique | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" | |
![]() ![]() ![]()  | 
1..1 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | |
![]() ![]()  | 
1..1 | code | order Fixed Value: order  | |
![]() ![]()  | 
0..1 | code | routine | urgent | asap | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | Reference(ServiceRequestReferral) | What task is acting on | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | dateTime | Task Last Modified Date | |
![]() ![]()  | 
0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
1..1 | code | Symbol in syntax defined by the system Required Pattern: FIN  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | |
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | TaskReferralCore | A task to be performed Constraints: inv-1  | ||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (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: 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 | ||||
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
?!Σ | 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: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient  | ||||
![]() ![]() ![]()  | 
Σ | 1..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) | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error Binding: TaskStatus (required): The current status of the task.  | ||||
![]() ![]()  | 
Σ | 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.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order  | ||||
![]() ![]()  | 
0..1 | code | routine | urgent | asap Binding: RequestPriority (required): The task's priority.  | |||||
![]() ![]()  | 
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(ServiceRequestReferral) | What task is acting on | ||||
![]() ![]() ![]()  | 
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 | ||||
![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: ServiceRequest  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Patient) | Beneficiary of the Task | ||||
![]() ![]()  | 
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | ||||
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
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 Documentation Types (required)  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |||||
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() ![]()  | 
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 Documentation Types (required)  | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: FIN  | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Task.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard  | ||||
| Task.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard  | ||||
| Task.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Task.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Task.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1From the FHIR Standard  | ||||
| Task.businessStatus | example | |||||
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | ||||
| Task.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/task-intent|4.0.1From the FHIR Standard  | ||||
| Task.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | ||||
| Task.focus.type | extensible | Fixed Value: ServiceRequesthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Task.input.type | example | |||||
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | ||||
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 TaskReferralCore
Summary
Mandatory: 4 elements(2 nested mandatory elements)
 Fixed: 2 elements
 Prohibited: 19 elements
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..* | TaskReferralCore | A task to be performed Constraints: inv-1  | 
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | 
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |
![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient  | 
![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | 
?!Σ | 1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error Binding: TaskStatus (required): The current status of the task.  | 
![]() ![]()  | 
Σ | 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 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | 
![]() ![]()  | 
Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order  | 
![]() ![]()  | 
0..1 | code | routine | urgent | asap Binding: RequestPriority (required): The task's priority.  | |
![]() ![]()  | 
Σ | 1..1 | Reference(ServiceRequestReferral) | What task is acting on | 
![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: ServiceRequest  | 
![]() ![]()  | 
ΣC | 0..1 | dateTime | Task Last Modified Date | 
![]() ![]()  | 
Σ | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | 
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | 
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Task.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | |
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1From the FHIR Standard  | |
| Task.businessStatus | example | ||
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | |
| Task.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/task-intent|4.0.1From the FHIR Standard  | |
| Task.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | |
| Task.focus.type | extensible | Fixed Value: ServiceRequesthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | |
| Task.input.type | example | ||
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 TaskReferralCore
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | TaskReferralCore | A task to be performed | |
![]() ![]()  | 
1..1 | Meta | Metadata about the resource | |
![]() ![]() ![]()  | 
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |
![]() ![]() ![]()  | 
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]()  | 
1..1 | string | The value that is unique | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" | |
![]() ![]() ![]()  | 
1..1 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | |
![]() ![]()  | 
1..1 | code | order Fixed Value: order  | |
![]() ![]()  | 
0..1 | code | routine | urgent | asap | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | Reference(ServiceRequestReferral) | What task is acting on | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | dateTime | Task Last Modified Date | |
![]() ![]()  | 
0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | |
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |
![]() ![]() ![]() ![]()  | 
1..1 | CodeableConcept | Label for output Binding: Referral Documentation Types (required)  | |
![]() ![]() ![]() ![]() ![]()  | 
||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
1..1 | code | Symbol in syntax defined by the system Required Pattern: FIN  | |
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | |
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | |
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | TaskReferralCore | A task to be performed Constraints: inv-1  | ||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 1..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]()  | 
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (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: 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 | ||||
![]() ![]()  | 
1..1 | Identifier | Task Instance Identifier | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
?!Σ | 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: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient  | ||||
![]() ![]() ![]()  | 
Σ | 1..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) | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | Draft | Requested | Accepted | Rejected | Cancelled | In progress | Completed | Entered in error Binding: TaskStatus (required): The current status of the task.  | ||||
![]() ![]()  | 
Σ | 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.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system Binding: ReferralBusinessStatus (required)  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order  | ||||
![]() ![]()  | 
0..1 | code | routine | urgent | asap Binding: RequestPriority (required): The task's priority.  | |||||
![]() ![]()  | 
Σ | 0..1 | string | Human-readable explanation of task | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(ServiceRequestReferral) | What task is acting on | ||||
![]() ![]() ![]()  | 
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 | ||||
![]() ![]() ![]()  | 
Σ | 1..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). Fixed Value: ServiceRequest  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Patient) | Beneficiary of the Task | ||||
![]() ![]()  | 
ΣC | 0..1 | dateTime | Task Last Modified Date | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Organization | Patient | Practitioner | PractitionerRoleLiteSe) | Who is asking for task to be done | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | Organization | PractitionerRoleLiteSe) | Responsible individual | ||||
![]() ![]()  | 
0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type.coding.code  | |||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
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 Documentation Types (required)  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Result of output | |||||
![]() ![]() ![]()  | 
0..1 | BackboneElement | Information produced as part of task | |||||
![]() ![]() ![]() ![]()  | 
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 Documentation Types (required)  | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Required Pattern: FIN  | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]()  | 
1..1 | Reference(CompositionReferralClinicalInformation) | Final Answer | |||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Task.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard  | ||||
| Task.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard  | ||||
| Task.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Task.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Task.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Task.status | required | TaskStatushttp://hl7.org/fhir/ValueSet/task-status|4.0.1From the FHIR Standard  | ||||
| Task.businessStatus | example | |||||
| Task.businessStatus.coding | required | ReferralBusinessStatushttps://fhir.cambio.se/ValueSet/ReferralBusinessStatus/v1From this IG  | ||||
| Task.intent | required | Fixed Value: orderhttp://hl7.org/fhir/ValueSet/task-intent|4.0.1From the FHIR Standard  | ||||
| Task.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | ||||
| Task.focus.type | extensible | Fixed Value: ServiceRequesthttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Task.input.type | example | |||||
| Task.output.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | ||||
| Task.output:finalAnswer.type | required | ReferralDocumentationTypeshttps://cambio.codes/referral-documentation-type/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 TaskReferralCore
Summary
Mandatory: 4 elements(2 nested mandatory elements)
 Fixed: 2 elements
 Prohibited: 19 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron