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 Base ( Abstract )

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

EOrders Task Fulfillment Request Base Profile. Status, statusReason, and businessStatus should all be meaningfully updates 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.

Usage:

- Derived from this Resource Profile: EOrders Task Fulfillment Request, EOrders Communication Request Task and EOrders Task Fulfillment Request Group

### 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 Task

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task 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 |  |  |  |
Slices for tag |  | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$this
tag:eorders-task | S | 1..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S | 0..1 | Coding | claimed-request Binding: EOrders claimed tag value set (required)
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
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)
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) | The provider requesting the diagnostic service
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
owner | S | 1..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
output | S | 0..* | BackboneElement | Must support when completed
type |  | 1..1 | CodeableConcept | Label for output 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 (Differential)

Path | Conformance | ValueSet | URI
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.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.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

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base 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 | fulfillment-task-group Binding: EOrders tag value set (required)
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
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
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
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..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base 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 | fulfillment-task-group Binding: EOrders tag value set (required)
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
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 | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (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
focus | Σ | 0..1 | Reference(Resource) | 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) | 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 Task

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 14 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- EOrders Placer Group Number (http://fhir.geniesolutions.io/StructureDefinition/eorders-placergroupnumber)
- Genie Patient (http://fhir.geniesolutions.io/StructureDefinition/gs-patient)
- EOrders PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/eorders-practitionerrole)
- EOrders Doctor Number (http://fhir.geniesolutions.io/StructureDefinition/eorders-doctornumber)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- Radiology Report (http://fhir.geniesolutions.io/StructureDefinition/gs-Radiology-report)
- Pathology Report (http://fhir.geniesolutions.io/StructureDefinition/gs-pathology-report)

Slices

This structure defines the following Slices:

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

Differential View

This structure is derived from Task

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base task 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 |  |  |  |
Slices for tag |  | 1..* | Coding | Tags applied to this resource Slice: Unordered, Open by pattern:$this
tag:eorders-task | S | 1..1 | Coding | fulfillment-task | fulfillment-task-group Binding: EOrders tag value set (required)
tag:claimed-request | S | 0..1 | Coding | claimed-request Binding: EOrders claimed tag value set (required)
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
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)
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) | The provider requesting the diagnostic service
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
owner | S | 1..1 | Reference(Genie Organization | Genie HealthcareService) | Laboratory organisation requested to fulfil the request
output | S | 0..* | BackboneElement | Must support when completed
type |  | 1..1 | CodeableConcept | Label for output 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 (Differential)

Path | Conformance | ValueSet | URI
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.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.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

#### Constraints

Id | Grade | Path(s) | Details | Requirements
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' |

Key Elements View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Task | C | 0..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base 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 | fulfillment-task-group Binding: EOrders tag value set (required)
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
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
identifier |  | 0..1 | EOrdersDoctorNumber | Laboratory's doctor number for the requester
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..* | Task | This is an abstractprofile. Childprofiles: EOrdersTaskFulfillmentRequest, EOrdersTaskCommunicationRequest, EOrdersTaskFulfillmentGroup Diagnostic request fulfillment abstract base 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 | fulfillment-task-group Binding: EOrders tag value set (required)
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
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 | S | 1..1 | EOrdersPlacerGroupNumber | EOrders Placer Group Number
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 (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
focus | Σ | 0..1 | Reference(Resource) | 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) | 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 Task

Summary

Mandatory: 6 elements(2 nested mandatory elements)
Must-Support: 14 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

- EOrders Placer Group Number (http://fhir.geniesolutions.io/StructureDefinition/eorders-placergroupnumber)
- Genie Patient (http://fhir.geniesolutions.io/StructureDefinition/gs-patient)
- EOrders PractitionerRole (http://fhir.geniesolutions.io/StructureDefinition/eorders-practitionerrole)
- EOrders Doctor Number (http://fhir.geniesolutions.io/StructureDefinition/eorders-doctornumber)
- Genie Organization (http://fhir.geniesolutions.io/StructureDefinition/gs-organization)
- Genie HealthcareService (http://fhir.geniesolutions.io/StructureDefinition/gs-healthcareservice)
- Radiology Report (http://fhir.geniesolutions.io/StructureDefinition/gs-Radiology-report)
- Pathology Report (http://fhir.geniesolutions.io/StructureDefinition/gs-pathology-report)

Slices

This structure defines the following Slices:

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

Other representations of profile: CSV, Excel, Schematron