Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.60) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: EOrders Task Fulfillment Request Base ( Abstract Experimental )

Official URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-task-fulfillment-base | Version: 1.2.60
Active as of 2026-04-05 | Computable Name: EOrdersTaskFulfillmentBase

EOrders Task Fulfillment Request Base Profile. `status`, `statusReason`, and `businessStatus` should all be meaningfully updated on status change. If some attributes are not used, they should be cleared to prevent propagation of other status attributes outside of their binding to the original status for which they were intended.

Note that we have begun to include some `Task` output options that can be provided by the filler as part of the fulfilment process. For example,

- Reference to reflex orders that define a filler nominated change in diagnostic request fulfilment, e.g. when an alternative test or procedure is provided.
- Indirect references to diagnostic reports that are created as an outcome of fulfilment. These are referenced via a `Task` as the task allows tracking of the receipt of the report by the original requester.
- Booking information for the test or procedure which has been created via an independent booking process. This is provided through a `Slot` reference that, through other contained resources, carries information of time, location, and provider.

Usages:

- Derived from this Profile: EOrders Task Fulfillment Request, EOrders Communication Request Task, EOrders Task Fulfillment Request Group, Diagnostic Imaging Report CopyTo Task and Diagnostic Imaging Report Transaction Task Entry

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: inv-1, task-rejected-detail
meta | Σ | 0..1 | Meta | Metadata about the resource
Slices for tag | Σ | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
tag:eorders-task | S Σ | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
tag:placer-family | S Σ | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S Σ | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
businessStatus | S Σ | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent | Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S Σ | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
focus | Σ | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S Σ | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
authoredOn | S C | 1..1 | dateTime | Request date
lastModified | S Σ C | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S Σ | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
owner | S Σ | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
value[x] |  | 1..1 |  | Result of output
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:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | Slot Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | DiagnosticReport Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | ServiceRequest Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Task.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:claimed-request | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.statusReason | Base | example |  | Not State | Unknown
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std.
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG
Task.output.type | Base | example |  | Not State | Unknown
Task.output:appointmentSlot.​type | Base | example |  | Not State | Unknown
Task.output:diagnosticReportOutput.​type | Base | example |  | Not State | Unknown
Task.output:fillerOrder.​type | Base | example |  | Not State | Unknown

#### 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`
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

This structure is derived from Task

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: task-rejected-detail
meta |  |  |  |
Slices for tag |  | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this
tag:eorders-task | S | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S | 0..1 | Coding | claimed-request Required Pattern: At least the following
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
tag:placer-family | S | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
status | S | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed
businessStatus | S | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent |  | 1..1 | code | order Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
focus |  | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
authoredOn | S | 1..1 | dateTime | Request date
lastModified | S | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
owner | S | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
type | S | 1..1 | CodeableConcept | Slot Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
type | S | 1..1 | CodeableConcept | DiagnosticReport Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
type | S | 1..1 | CodeableConcept | ServiceRequest Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: inv-1, task-rejected-detail
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Slices for tag | Σ | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
tag:eorders-task | S Σ | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
tag:placer-family | S Σ | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier | Task Instance Identifier
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task
instantiatesUri | Σ | 0..1 | uri | Formal definition of task
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id
partOf | Σ | 0..* | Reference(Task) | Composite task
status | ?!S Σ | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S Σ | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
businessStatus | S Σ | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent | Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S Σ | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
description | Σ | 0..1 | string | Human-readable explanation of task
focus | Σ | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S Σ | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated
executionPeriod | Σ | 0..1 | Period | Start and end time of execution
authoredOn | S C | 1..1 | dateTime | Request date
lastModified | S Σ C | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S Σ | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
owner | S Σ | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
location | Σ | 0..1 | Reference(Location) | Where task occurs
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.
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage
note |  | 0..* | Annotation | Comments made about the task
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
repetitions |  | 0..1 | positiveInt | How many times to repeat
period |  | 0..1 | Period | When fulfillment sought
recipient |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought?
input |  | 0..* | BackboneElement | Information used to perform task
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
value[x] |  | 1..1 |  | Content to use in performing the task
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 |
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
value[x] |  | 1..1 |  | Result of output
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:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | Slot Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | DiagnosticReport Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | ServiceRequest Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Task.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Task.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:claimed-request | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.statusReason | Base | example |  | Not State | Unknown
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std.
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG
Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std.
Task.reasonCode | Base | example |  | Not State | Unknown
Task.input.type | Base | example |  | Not State | Unknown
Task.output.type | Base | example |  | Not State | Unknown
Task.output:appointmentSlot.​type | Base | example |  | Not State | Unknown
Task.output:diagnosticReportOutput.​type | Base | example |  | Not State | Unknown
Task.output:fillerOrder.​type | Base | example |  | Not State | Unknown

#### 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`
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

This structure is derived from Task

Summary

Mandatory: 4 elements
Must-Support: 22 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- Genie Patient (http://fhir.geniesolutions.io/StructureDefinition/gs-patient)
- EOrders PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/eorders-practitionerrole)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- EOrders Booking Slot (http://fhir.geniesolutions.io/StructureDefinition/eorders-booking-slot)
- Diagnostic Imaging Report Transaction Task Entry (http://fhir.geniesolutions.io/StructureDefinition/gs-imaging-task-report-request)
- EOrders Pathology Request (http://fhir.geniesolutions.io/StructureDefinition/eorders-pathologyrequest)
- EOrders Radiology Request (http://fhir.geniesolutions.io/StructureDefinition/eorders-radiologyrequest)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Task.meta.tag
- The element 1 is sliced based on the value of Task.output

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: inv-1, task-rejected-detail
meta | Σ | 0..1 | Meta | Metadata about the resource
Slices for tag | Σ | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
tag:eorders-task | S Σ | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
tag:placer-family | S Σ | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S Σ | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
businessStatus | S Σ | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent | Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S Σ | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
focus | Σ | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S Σ | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
authoredOn | S C | 1..1 | dateTime | Request date
lastModified | S Σ C | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S Σ | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
owner | S Σ | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
value[x] |  | 1..1 |  | Result of output
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:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | Slot Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | DiagnosticReport Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | ServiceRequest Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Task.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:claimed-request | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.statusReason | Base | example |  | Not State | Unknown
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std.
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG
Task.output.type | Base | example |  | Not State | Unknown
Task.output:appointmentSlot.​type | Base | example |  | Not State | Unknown
Task.output:diagnosticReportOutput.​type | Base | example |  | Not State | Unknown
Task.output:fillerOrder.​type | Base | example |  | Not State | Unknown

#### 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`
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

Differential View

This structure is derived from Task

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: task-rejected-detail
meta |  |  |  |
Slices for tag |  | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this
tag:eorders-task | S | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S | 0..1 | Coding | claimed-request Required Pattern: At least the following
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
tag:placer-family | S | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
status | S | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed
businessStatus | S | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent |  | 1..1 | code | order Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
focus |  | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
authoredOn | S | 1..1 | dateTime | Request date
lastModified | S | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
owner | S | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
type | S | 1..1 | CodeableConcept | Slot Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
type | S | 1..1 | CodeableConcept | DiagnosticReport Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
type | S | 1..1 | CodeableConcept | ServiceRequest Required Pattern: At least the following
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstract profile. Child profiles: EOrdersTaskCommunicationRequest, GSImagingTaskCopyTo, GSImagingTaskReportRequest, EOrdersTaskFulfillmentRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task Constraints: inv-1, task-rejected-detail
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Slices for tag | Σ | 0..* | Coding | Tags applied to this resource Slice: Unordered, Open by value:$this Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
tag:eorders-task | S Σ | 0..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: claimed-request
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
tag:placer-family | S Σ | 0..1 | Coding | Placer family, e.g. genie | gentu | acmepms Binding: EOrders Placer Tag Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier | Task Instance Identifier
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task
instantiatesUri | Σ | 0..1 | uri | Formal definition of task
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id
partOf | Σ | 0..* | Reference(Task) | Composite task
status | ?!S Σ | 1..1 | code | requested | received | accepted | rejected | cancelled | in-progress | completed | failed Binding: EOrders Task Status codes (required)
statusReason | S Σ | 0..1 | CodeableConcept | Must support when status is rejected, cancelled or failed Binding Description: (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.
businessStatus | S Σ | 0..1 | CodeableConcept | claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data Binding: eOrders Task Business Status (extensible)
intent | Σ | 1..1 | code | order Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: order
priority | S | 0..1 | code | routine | urgent Binding: EOrders Priority codes (required)
code | S Σ | 1..1 | CodeableConcept | fulfill | abort Binding: EOrders Task codes (required)
description | Σ | 0..1 | string | Human-readable explanation of task
focus | Σ | 0..1 | Reference(ServiceRequest | CommunicationRequest | DiagnosticReport) | What task is acting on
for | S Σ | 1..1 | Reference(Genie Patient) | Patient the fulfillment of the diagnostic request is for
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated
executionPeriod | Σ | 0..1 | Period | Start and end time of execution
authoredOn | S C | 1..1 | dateTime | Request date
lastModified | S Σ C | 0..1 | dateTime | Date/time when task and/or status last updated
requester | S Σ | 1..1 | Reference(EOrders PractitionerRole | Genie Organization) | The provider or organization requesting the action
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
owner | S Σ | 0..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
location | Σ | 0..1 | Reference(Location) | Where task occurs
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.
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage
note |  | 0..* | Annotation | Comments made about the task
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
repetitions |  | 0..1 | positiveInt | How many times to repeat
period |  | 0..1 | Period | When fulfillment sought
recipient |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought?
input |  | 0..* | BackboneElement | Information used to perform task
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for the input Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.
value[x] |  | 1..1 |  | Content to use in performing the task
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 |
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by value:type
output:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Label for output Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.
value[x] |  | 1..1 |  | Result of output
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:appointmentSlot | S | 0..1 | BackboneElement | Slot with linked Schedule, HealthcareService, and Location
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | Slot Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Slot
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(EOrders Booking Slot) | Reference to Slot linked to Schedule->HealthcareService->Location chain
output:diagnosticReportOutput | S | 0..* | BackboneElement | Diagnostic report output
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | DiagnosticReport Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] | S | 1..1 | Reference(Diagnostic Imaging Report Transaction Task Entry) | Reference to Receiving Task for a DiagnosticReport resource
output:fillerOrder | S | 0..* | BackboneElement | Filler order output. The referenced ServiceRequest should be a filler order that defines the change in the diagnostic request as part of fulfilment, e.g. when an alternative test or procedure is provided.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | S | 1..1 | CodeableConcept | ServiceRequest Binding Description: (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
coding |  | 1..* | Coding | Code defined by a terminology system Fixed Value: (Complex)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
system |  | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/resource-types
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ServiceRequest
display |  | 0..1 | string | Representation defined by the system
userSelected |  | 0..1 | boolean | If this coding was chosen directly by the user
text |  | 0..1 | string | Plain text representation of the concept
value[x] |  | 1..1 | Reference(EOrders Pathology Request | EOrders Radiology Request) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Task.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Task.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:eorders-task | Base | required | EOrders tag value set | 📦1.2.60 | This IG
Task.meta.tag:claimed-request | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
Task.meta.tag:placer-family | Base | required | EOrders Placer Tag Value Set | 📦1.2.60 | This IG
Task.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Task.status | Base | required | EOrders Task Status codes | 📦1.2.60 | This IG
Task.statusReason | Base | example |  | Not State | Unknown
Task.businessStatus | Base | extensible | eOrders Task Business Status | 📦1.2.60 | This IG
Task.intent | Base | required | TaskIntent | 📍4.0.1 | FHIR Std.
Task.priority | Base | required | EOrders Priority codes | 📦1.2.60 | This IG
Task.code | Base | required | EOrders Task codes | 📦1.2.60 | This IG
Task.performerType | Base | preferred | Procedure Performer Role Codes | 📍4.0.1 | FHIR Std.
Task.reasonCode | Base | example |  | Not State | Unknown
Task.input.type | Base | example |  | Not State | Unknown
Task.output.type | Base | example |  | Not State | Unknown
Task.output:appointmentSlot.​type | Base | example |  | Not State | Unknown
Task.output:diagnosticReportOutput.​type | Base | example |  | Not State | Unknown
Task.output:fillerOrder.​type | Base | example |  | Not State | Unknown

#### 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`
task-rejected-detail | error | Task | Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected | `$this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'`

This structure is derived from Task

Summary

Mandatory: 4 elements
Must-Support: 22 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- Genie Patient (http://fhir.geniesolutions.io/StructureDefinition/gs-patient)
- EOrders PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/eorders-practitionerrole)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- EOrders Booking Slot (http://fhir.geniesolutions.io/StructureDefinition/eorders-booking-slot)
- Diagnostic Imaging Report Transaction Task Entry (http://fhir.geniesolutions.io/StructureDefinition/gs-imaging-task-report-request)
- EOrders Pathology Request (http://fhir.geniesolutions.io/StructureDefinition/eorders-pathologyrequest)
- EOrders Radiology Request (http://fhir.geniesolutions.io/StructureDefinition/eorders-radiologyrequest)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Task.meta.tag
- The element 1 is sliced based on the value of Task.output

Other representations of profile: CSV, Excel, Schematron