Magentus Practice Management FHIR Implementation Guide
1.2.16 - ci-build

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

## Resource Profile: EOrders Task Fulfillment Request Group

Official URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-task-fulfillment-group | Version: 1.2.16
Draft as of 2024-08-15 | Computable Name: EOrdersTaskFulfillmentGroup

EOrders Task Fulfillment Request Group Profile

Usage:

- Refer to this Resource Profile: EOrders Communication Request Patient, EOrders Task Fulfillment Request and EOrders Communication Request Task
- Examples for this Resource Profile: Task/28dc34e1-4999-4786-8238-9f8f8a5b78c2

### Formal Views of Profile Content

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

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

This structure is derived from EOrdersTaskFulfillmentBase

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task |  | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task
meta |  |  |  |
Slices for tag |  |  |  | Content/Rules for all slices
tag:eorders-task |  | 1..1 | Coding | fulfillment-task-group
system |  | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
code |  | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
partOf |  | 0..0 |  |
focus |  | 0..0 |  |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task inv-1: Last modified date must be greater than or equal to authored-on date. task-cancel-detail-1: Only use a businessStatus of user-cancelled-request with a status of cancel task-cancel-detail-2: Only use a businessStatus of claimed-request with a status of cancel or accepted task-rejected-detail: Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected
meta | Σ | 0..1 | Meta | Metadata about the resource
Slices for tag | Σ | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$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 Σ | 1..1 | Coding | fulfillment-task-group Binding: EOrders tag value set (required)
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: EOrders claimed tag value set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
groupIdentifier | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (No ValueSet): (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)
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) | The provider requesting the diagnostic service
owner | S Σ | 1..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
output | S | 0..* | BackboneElement | Must support when completed
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
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. 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/event-resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
value[x] |  | 1..1 | Reference(Radiology Report | Pathology Report) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
Task.meta.tag | example | CommonTags `http://hl7.org/fhir/ValueSet/common-tags` from the FHIR Standard
Task.meta.tag:eorders-task | required | EOrdersTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset` from this IG
Task.meta.tag:claimed-request | required | EOrdersClaimedTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset` from this IG
Task.status | required | EOrdersTaskStatus `http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus` from this IG
Task.statusReason | example |
Task.businessStatus | extensible | EOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem) `http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status` from this IG
Task.intent | required | Fixed Value: order `http://hl7.org/fhir/ValueSet/task-intent|4.0.1` from the FHIR Standard
Task.priority | required | EOrdersPriority `http://fhir.geniesolutions.io/ValueSet/eorders-priority` from this IG
Task.code | required | EOrdersTaskCode `http://fhir.geniesolutions.io/ValueSet/eorders-taskcode` from this IG
Task.output.type | example | Pattern: DiagnosticReport

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Task | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn |
task-cancel-detail-1 | error | Task | Only use a businessStatus of user-cancelled-request with a status of cancel : $this.businessStatus.coding.where(code in ('user-cancelled-request')).exists() implies $this.status='cancelled' |
task-cancel-detail-2 | error | Task | Only use a businessStatus of claimed-request with a status of cancel or accepted : $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'accepted' |
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
--- | --- | --- | --- | ---
Task | C | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task inv-1: Last modified date must be greater than or equal to authored-on date. task-cancel-detail-1: Only use a businessStatus of user-cancelled-request with a status of cancel task-cancel-detail-2: Only use a businessStatus of claimed-request with a status of cancel or accepted task-rejected-detail: Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected
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 | Σ | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$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 Σ | 1..1 | Coding | fulfillment-task-group Binding: EOrders tag value set (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: EOrders claimed 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
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
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 | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (No ValueSet): (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
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) | The provider requesting the diagnostic service
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
display | Σ | 0..1 | string | Text alternative for the resource
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
owner | S Σ | 1..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 (No ValueSet): (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 (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.
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 |
output | S | 0..* | BackboneElement | Must support when completed
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 (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. 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/event-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] |  | 1..1 | Reference(Radiology Report | Pathology Report) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
Task.meta.security | extensible | All Security Labels `http://hl7.org/fhir/ValueSet/security-labels` from the FHIR Standard
Task.meta.tag | example | CommonTags `http://hl7.org/fhir/ValueSet/common-tags` from the FHIR Standard
Task.meta.tag:eorders-task | required | EOrdersTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset` from this IG
Task.meta.tag:claimed-request | required | EOrdersClaimedTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset` from this IG
Task.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Task.status | required | EOrdersTaskStatus `http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus` from this IG
Task.statusReason | example |
Task.businessStatus | extensible | EOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem) `http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status` from this IG
Task.intent | required | Fixed Value: order `http://hl7.org/fhir/ValueSet/task-intent|4.0.1` from the FHIR Standard
Task.priority | required | EOrdersPriority `http://fhir.geniesolutions.io/ValueSet/eorders-priority` from this IG
Task.code | required | EOrdersTaskCode `http://fhir.geniesolutions.io/ValueSet/eorders-taskcode` from this IG
Task.requester.type | extensible | ResourceType `http://hl7.org/fhir/ValueSet/resource-types` from the FHIR Standard
Task.performerType | preferred | ProcedurePerformerRoleCodes `http://hl7.org/fhir/ValueSet/performer-role` from the FHIR Standard
Task.reasonCode | example |
Task.input.type | example |
Task.output.type | example | Pattern: DiagnosticReport

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Task | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn |
task-cancel-detail-1 | error | Task | Only use a businessStatus of user-cancelled-request with a status of cancel : $this.businessStatus.coding.where(code in ('user-cancelled-request')).exists() implies $this.status='cancelled' |
task-cancel-detail-2 | error | Task | Only use a businessStatus of claimed-request with a status of cancel or accepted : $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'accepted' |
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 EOrdersTaskFulfillmentBase

Summary

Must-Support: 1 element
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count

Differential View

This structure is derived from EOrdersTaskFulfillmentBase

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task |  | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task
meta |  |  |  |
Slices for tag |  |  |  | Content/Rules for all slices
tag:eorders-task |  | 1..1 | Coding | fulfillment-task-group
system |  | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
code |  | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
partOf |  | 0..0 |  |
focus |  | 0..0 |  |
Documentation for this format

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task inv-1: Last modified date must be greater than or equal to authored-on date. task-cancel-detail-1: Only use a businessStatus of user-cancelled-request with a status of cancel task-cancel-detail-2: Only use a businessStatus of claimed-request with a status of cancel or accepted task-rejected-detail: Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected
meta | Σ | 0..1 | Meta | Metadata about the resource
Slices for tag | Σ | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$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 Σ | 1..1 | Coding | fulfillment-task-group Binding: EOrders tag value set (required)
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: EOrders claimed tag value set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
groupIdentifier | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (No ValueSet): (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)
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) | The provider requesting the diagnostic service
owner | S Σ | 1..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
output | S | 0..* | BackboneElement | Must support when completed
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
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. 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/event-resource-types
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: DiagnosticReport
value[x] |  | 1..1 | Reference(Radiology Report | Pathology Report) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
Task.meta.tag | example | CommonTags `http://hl7.org/fhir/ValueSet/common-tags` from the FHIR Standard
Task.meta.tag:eorders-task | required | EOrdersTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset` from this IG
Task.meta.tag:claimed-request | required | EOrdersClaimedTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset` from this IG
Task.status | required | EOrdersTaskStatus `http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus` from this IG
Task.statusReason | example |
Task.businessStatus | extensible | EOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem) `http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status` from this IG
Task.intent | required | Fixed Value: order `http://hl7.org/fhir/ValueSet/task-intent|4.0.1` from the FHIR Standard
Task.priority | required | EOrdersPriority `http://fhir.geniesolutions.io/ValueSet/eorders-priority` from this IG
Task.code | required | EOrdersTaskCode `http://fhir.geniesolutions.io/ValueSet/eorders-taskcode` from this IG
Task.output.type | example | Pattern: DiagnosticReport

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Task | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn |
task-cancel-detail-1 | error | Task | Only use a businessStatus of user-cancelled-request with a status of cancel : $this.businessStatus.coding.where(code in ('user-cancelled-request')).exists() implies $this.status='cancelled' |
task-cancel-detail-2 | error | Task | Only use a businessStatus of claimed-request with a status of cancel or accepted : $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'accepted' |
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
--- | --- | --- | --- | ---
Task | C | 0..* | EOrdersTaskFulfillmentBase | Diagnostic request fulfillment group task inv-1: Last modified date must be greater than or equal to authored-on date. task-cancel-detail-1: Only use a businessStatus of user-cancelled-request with a status of cancel task-cancel-detail-2: Only use a businessStatus of claimed-request with a status of cancel or accepted task-rejected-detail: Only use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected
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 | Σ | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$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 Σ | 1..1 | Coding | fulfillment-task-group Binding: EOrders tag value set (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag-codesystem
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: fulfillment-task-group
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
tag:claimed-request | S Σ | 0..1 | Coding | claimed-request Binding: EOrders claimed 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
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
groupSubTaskCount | S | 0..1 | positiveInt | Count of Sub-Tasks for a Group Task URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count
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 | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (No ValueSet): (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
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) | The provider requesting the diagnostic service
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
display | Σ | 0..1 | string | Text alternative for the resource
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.
owner | S Σ | 1..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 (No ValueSet): (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 (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.
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 |
output | S | 0..* | BackboneElement | Must support when completed
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 (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. 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/event-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] |  | 1..1 | Reference(Radiology Report | Pathology Report) | Result of output
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet / Code | URI
Task.meta.security | extensible | All Security Labels `http://hl7.org/fhir/ValueSet/security-labels` from the FHIR Standard
Task.meta.tag | example | CommonTags `http://hl7.org/fhir/ValueSet/common-tags` from the FHIR Standard
Task.meta.tag:eorders-task | required | EOrdersTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset` from this IG
Task.meta.tag:claimed-request | required | EOrdersClaimedTagValueSet `http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset` from this IG
Task.language | preferred | CommonLanguages
Additional Bindings | Purpose
AllLanguages | Max Binding
`http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Task.status | required | EOrdersTaskStatus `http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus` from this IG
Task.statusReason | example |
Task.businessStatus | extensible | EOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem) `http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status` from this IG
Task.intent | required | Fixed Value: order `http://hl7.org/fhir/ValueSet/task-intent|4.0.1` from the FHIR Standard
Task.priority | required | EOrdersPriority `http://fhir.geniesolutions.io/ValueSet/eorders-priority` from this IG
Task.code | required | EOrdersTaskCode `http://fhir.geniesolutions.io/ValueSet/eorders-taskcode` from this IG
Task.requester.type | extensible | ResourceType `http://hl7.org/fhir/ValueSet/resource-types` from the FHIR Standard
Task.performerType | preferred | ProcedurePerformerRoleCodes `http://hl7.org/fhir/ValueSet/performer-role` from the FHIR Standard
Task.reasonCode | example |
Task.input.type | example |
Task.output.type | example | Pattern: DiagnosticReport

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dom-2 | error | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | error | Task | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | error | Task | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() |
dom-5 | error | Task | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | best practice | Task | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
inv-1 | error | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn |
task-cancel-detail-1 | error | Task | Only use a businessStatus of user-cancelled-request with a status of cancel : $this.businessStatus.coding.where(code in ('user-cancelled-request')).exists() implies $this.status='cancelled' |
task-cancel-detail-2 | error | Task | Only use a businessStatus of claimed-request with a status of cancel or accepted : $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'accepted' |
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 EOrdersTaskFulfillmentBase

Summary

Must-Support: 1 element
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

- http://fhir.geniesolutions.io/StructureDefinition/eorders-subtask-count

Other representations of profile: CSV, Excel, Schematron