## Union of http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-task and http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-task

This is the set of resources that conform to either of the profiles AU eRequesting Task (http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-task) and AU eRequesting Task (http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-task). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* |  | A task to be performed dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management inv-1: Last modified date must be greater than or equal to authored-on date.
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
versionId | Σ | 0..1 | id | Version specific identifier ele-1: All FHIR elements must have a @value or children
lastUpdated | Σ | 0..1 | instant | When the resource version last changed ele-1: All FHIR elements must have a @value or children
source | Σ | 0..1 | uri | Identifies where the resource comes from ele-1: All FHIR elements must have a @value or children
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to ele-1: All FHIR elements must have a @value or children
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. ele-1: All FHIR elements must have a @value or children
tag | Σ | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier |  | 0..* | Identifier | Task Instance Identifier ele-1: All FHIR elements must have a @value or children
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task ele-1: All FHIR elements must have a @value or children
instantiatesUri | Σ | 0..1 | uri | Formal definition of task ele-1: All FHIR elements must have a @value or children
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task ele-1: All FHIR elements must have a @value or children
groupIdentifier | S | 1..1 | ?? | left: Local Order Identifier; right: Requisition or grouper id ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children
type | Σ | 1..1 | CodeableConcept | Coded identifier type for local order identifier Binding: ?? (required) ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
coding | Σ | 1..1 | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children
text | Σ | 0..1 | string | Plain text representation of the concept ele-1: All FHIR elements must have a @value or children
system | Σ | 1..1 | uri | System identifier namespace for the organisation that assigned the order identifier ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | Order identifier ele-1: All FHIR elements must have a @value or children Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use ele-1: All FHIR elements must have a @value or children
assigner | Σ | 0..1 | Reference(Organization) | Organisation that assigned the order identifier ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
reference | Σ | 0..1 | string | Literal reference, Relative, internal or absolute URL ele-1: All FHIR elements must have a @value or children
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). ele-1: All FHIR elements must have a @value or children
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known ele-1: All FHIR elements must have a @value or children
display | Σ | 1..1 | string | Name of the assigning organisation ele-1: All FHIR elements must have a @value or children
partOf | Σ | 0..* | Reference(Task) | Composite task ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 1..1 | code | draft | requested | received | accepted | + Binding: ?? (required) ele-1: All FHIR elements must have a @value or children
statusReason | S Σ | 0..1 | CodeableConcept | Reason for current status Binding Description (No ValueSet): (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. ele-1: All FHIR elements must have a @value or children
businessStatus | Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding Description (No ValueSet): (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. ele-1: All FHIR elements must have a @value or children
intent | S Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order. ele-1: All FHIR elements must have a @value or children
priority | S | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. ele-1: All FHIR elements must have a @value or children
code | Σ | 0..1 | CodeableConcept | Task Type Binding: ?? (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. ele-1: All FHIR elements must have a @value or children
description | Σ | 0..1 | string | Human-readable explanation of task ele-1: All FHIR elements must have a @value or children
focus | S Σ | 0..1 | Reference(Resource) | What task is acting on ele-1: All FHIR elements must have a @value or children
for | S Σ | 1..1 | Reference(AU Core Patient | #sd-au-core-patient-au-core-patient) | Beneficiary of the Task ele-1: All FHIR elements must have a @value or children
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated ele-1: All FHIR elements must have a @value or children
executionPeriod | Σ | 0..1 | Period | Start and end time of execution ele-1: All FHIR elements must have a @value or children
authoredOn | S | 1..1 | dateTime | Task Creation Date ele-1: All FHIR elements must have a @value or children
lastModified | S Σ | 0..1 | dateTime | Task Last Modified Date ele-1: All FHIR elements must have a @value or children
requester | S Σ | 1..1 | Reference(AU Core PractitionerRole | #sd-au-core-practitionerrole-au-core-practitionerrole) | Who is asking for task to be done ele-1: All FHIR elements must have a @value or children
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. ele-1: All FHIR elements must have a @value or children
owner | S Σ | 0..1 | Reference(AU Core Organization | #sd-au-core-organization-au-core-organization) | Responsible individual ele-1: All FHIR elements must have a @value or children
location | Σ | 0..1 | Reference(Location) | Where task occurs ele-1: All FHIR elements must have a @value or children
reasonCode |  | 0..1 | CodeableConcept | Why task is needed Binding Description (No ValueSet): (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. ele-1: All FHIR elements must have a @value or children
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed ele-1: All FHIR elements must have a @value or children
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage ele-1: All FHIR elements must have a @value or children
note |  | 0..* | Annotation | Comments made about the task ele-1: All FHIR elements must have a @value or children
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task ele-1: All FHIR elements must have a @value or children
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
repetitions |  | 0..1 | positiveInt | How many times to repeat ele-1: All FHIR elements must have a @value or children
period |  | 0..1 | Period | When fulfillment sought ele-1: All FHIR elements must have a @value or children
recipient |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? ele-1: All FHIR elements must have a @value or children
input |  | 0..* | BackboneElement | Information used to perform task ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 1..1 | CodeableConcept | Label for the input Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. ele-1: All FHIR elements must have a @value or children
value[x] |  | 1..1 |  | Content to use in performing the task ele-1: All FHIR elements must have a @value or children
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
output |  | 0..* | BackboneElement | Information produced as part of task ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 1..1 | CodeableConcept | Label for output Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. ele-1: All FHIR elements must have a @value or children
value[x] |  | 1..1 |  | Result of output ele-1: All FHIR elements must have a @value or children
valueBase64Binary |  |  | base64Binary |
valueBoolean |  |  | boolean |
valueCanonical |  |  | canonical(Any) |
valueCode |  |  | code |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueDecimal |  |  | decimal |
valueId |  |  | id |
valueInstant |  |  | instant |
valueInteger |  |  | integer |
valueMarkdown |  |  | markdown |
valueOid |  |  | oid |
valuePositiveInt |  |  | positiveInt |
valueString |  |  | string |
valueTime |  |  | time |
valueUnsignedInt |  |  | unsignedInt |
valueUri |  |  | uri |
valueUrl |  |  | url |
valueUuid |  |  | uuid |
valueAddress |  |  | Address |
valueAge |  |  | Age |
valueAnnotation |  |  | Annotation |
valueAttachment |  |  | Attachment |
valueCodeableConcept |  |  | CodeableConcept |
valueCoding |  |  | Coding |
valueContactPoint |  |  | ContactPoint |
valueCount |  |  | Count |
valueDistance |  |  | Distance |
valueDuration |  |  | Duration |
valueHumanName |  |  | HumanName |
valueIdentifier |  |  | Identifier |
valueMoney |  |  | Money |
valuePeriod |  |  | Period |
valueQuantity |  |  | Quantity |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueReference |  |  | Reference(Any) |
valueSampledData |  |  | SampledData |
valueSignature |  |  | Signature |
valueTiming |  |  | Timing |
valueContactDetail |  |  | ContactDetail |
valueContributor |  |  | Contributor |
valueDataRequirement |  |  | DataRequirement |
valueExpression |  |  | Expression |
valueParameterDefinition |  |  | ParameterDefinition |
valueRelatedArtifact |  |  | RelatedArtifact |
valueTriggerDefinition |  |  | TriggerDefinition |
valueUsageContext |  |  | UsageContext |
valueDosage |  |  | Dosage |
valueMeta |  |  | Meta |
Documentation for this format