Magentus Practice Management FHIR Implementation Guide
1.2.35 - ci-build

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

Resource Profile: EOrders Task Fulfillment Request ( Experimental )

Official URL: http://fhir.geniesolutions.io/StructureDefinition/eorders-diagnosticrequesttask Version: 1.2.35
Draft as of 2025-03-02 Computable Name: EOrdersTaskFulfillmentRequest

EOrders Task Fulfillment Request Profile, Ensure to read the note on the base profile for Task fulfilment that ensures that status, statusReason, and businessStatus are all updated correctly every time a status changes.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task C 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment task
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
inv-1: Last modified date must be greater than or equal to authored-on date.
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 requested
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
ele-1: All FHIR elements must have a @value or children
.... Slices for tag Σ 1..* Coding Tags applied to this resource
Slice: Unordered, Open by value:$this
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


ele-1: All FHIR elements must have a @value or children
..... tag:eorders-task SΣ 1..1 Coding fulfillment-task
Binding: EOrders tag value set (required)
ele-1: All FHIR elements must have a @value or children
...... system Σ 0..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
...... code Σ 0..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
Required Pattern: fulfillment-task
..... tag:claimed-request SΣ 0..1 Coding claimed-request
Binding: EOrders claimed tag value set (required)
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... groupIdentifier SΣ 1..1 EOrdersPlacerGroupNumber Requisition or grouper id
ele-1: All FHIR elements must have a @value or children
... partOf SΣ 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ 1..1 code requested | received | accepted | rejected | cancelled | in-progress | completed | failed
Binding: EOrders Task Status codes (required)
ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... businessStatus SΣ 0..1 CodeableConcept claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data
Binding: eOrders Task Business Status (extensible)
ele-1: All FHIR elements must have a @value or children
... intent Σ 1..1 code order
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.


ele-1: All FHIR elements must have a @value or children
Fixed Value: order
... priority S 0..1 code routine | urgent
Binding: EOrders Priority codes (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept fulfill | abort
Binding: EOrders Task codes (required)
ele-1: All FHIR elements must have a @value or children
... focus SΣ 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related
ele-1: All FHIR elements must have a @value or children
... for SΣ 1..1 Reference(Genie Patient) Patient the fulfillment of the diagnostic request is for
ele-1: All FHIR elements must have a @value or children
... authoredOn SC 1..1 dateTime Request date
ele-1: All FHIR elements must have a @value or children
... lastModified SΣC 0..1 dateTime Date/time when task and/or status last updated
ele-1: All FHIR elements must have a @value or children
... requester SΣ 1..1 Reference(EOrders PractitionerRole) The provider requesting the diagnostic service
ele-1: All FHIR elements must have a @value or children
... owner SΣ 1..1 Reference(Genie Organization | Genie HealthcareService) Laboratory organisation requested to fulfil the request
ele-1: All FHIR elements must have a @value or children
... output S 0..* BackboneElement Must support when completed
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 1..1 CodeableConcept Label for output
Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.


ele-1: All FHIR elements must have a @value or children
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
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Task.meta.tag:eorders-taskrequiredEOrdersTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset
from this IG
Task.meta.tag:claimed-requestrequiredEOrdersClaimedTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset
from this IG
Task.statusrequiredEOrdersTaskStatus
http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus
from this IG
Task.statusReasonexample
Task.businessStatusextensibleEOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem)
http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status
from this IG
Task.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
from the FHIR Standard
Task.priorityrequiredEOrdersPriority
http://fhir.geniesolutions.io/ValueSet/eorders-priority
from this IG
Task.coderequiredEOrdersTaskCode
http://fhir.geniesolutions.io/ValueSet/eorders-taskcode
from this IG
Task.output.typeexamplePattern: DiagnosticReport

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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-1errorTaskOnly 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-2errorTaskOnly use a businessStatus of claimed-request with a status of cancel or requested
: $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'requested'
task-rejected-detailerrorTaskOnly 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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment task
... meta
.... Slices for tag Content/Rules for all slices
..... tag:eorders-task 1..1 Coding fulfillment-task
...... system 0..1 uri Identity of the terminology system
Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
...... code 0..1 code Symbol in syntax defined by the system
Required Pattern: fulfillment-task
... partOf S 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
... focus S 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task C 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment 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 requested
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 value:$this
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


..... tag:eorders-task SΣ 1..1 Coding fulfillment-task
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
...... 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
...... 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 BindingsPurpose
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 Requisition or grouper id
... partOf SΣ 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
... 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 SΣ 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related
... 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 SC 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
Task.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Task.meta.tag:eorders-taskrequiredEOrdersTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset
from this IG
Task.meta.tag:claimed-requestrequiredEOrdersClaimedTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset
from this IG
Task.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Task.statusrequiredEOrdersTaskStatus
http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus
from this IG
Task.statusReasonexample
Task.businessStatusextensibleEOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem)
http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status
from this IG
Task.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
from the FHIR Standard
Task.priorityrequiredEOrdersPriority
http://fhir.geniesolutions.io/ValueSet/eorders-priority
from this IG
Task.coderequiredEOrdersTaskCode
http://fhir.geniesolutions.io/ValueSet/eorders-taskcode
from this IG
Task.requester.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Task.performerTypepreferredProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
Task.reasonCodeexample
Task.input.typeexample
Task.output.typeexamplePattern: DiagnosticReport

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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-1errorTaskOnly 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-2errorTaskOnly use a businessStatus of claimed-request with a status of cancel or requested
: $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'requested'
task-rejected-detailerrorTaskOnly 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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task C 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment task
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
inv-1: Last modified date must be greater than or equal to authored-on date.
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 requested
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
ele-1: All FHIR elements must have a @value or children
.... Slices for tag Σ 1..* Coding Tags applied to this resource
Slice: Unordered, Open by value:$this
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


ele-1: All FHIR elements must have a @value or children
..... tag:eorders-task SΣ 1..1 Coding fulfillment-task
Binding: EOrders tag value set (required)
ele-1: All FHIR elements must have a @value or children
...... system Σ 0..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
...... code Σ 0..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
Required Pattern: fulfillment-task
..... tag:claimed-request SΣ 0..1 Coding claimed-request
Binding: EOrders claimed tag value set (required)
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... groupIdentifier SΣ 1..1 EOrdersPlacerGroupNumber Requisition or grouper id
ele-1: All FHIR elements must have a @value or children
... partOf SΣ 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ 1..1 code requested | received | accepted | rejected | cancelled | in-progress | completed | failed
Binding: EOrders Task Status codes (required)
ele-1: All FHIR elements must have a @value or children
... 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.


ele-1: All FHIR elements must have a @value or children
... businessStatus SΣ 0..1 CodeableConcept claimed-request | user-cancelled-request | invalid-request-data | inaccessible-request-data
Binding: eOrders Task Business Status (extensible)
ele-1: All FHIR elements must have a @value or children
... intent Σ 1..1 code order
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.


ele-1: All FHIR elements must have a @value or children
Fixed Value: order
... priority S 0..1 code routine | urgent
Binding: EOrders Priority codes (required)
ele-1: All FHIR elements must have a @value or children
... code SΣ 1..1 CodeableConcept fulfill | abort
Binding: EOrders Task codes (required)
ele-1: All FHIR elements must have a @value or children
... focus SΣ 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related
ele-1: All FHIR elements must have a @value or children
... for SΣ 1..1 Reference(Genie Patient) Patient the fulfillment of the diagnostic request is for
ele-1: All FHIR elements must have a @value or children
... authoredOn SC 1..1 dateTime Request date
ele-1: All FHIR elements must have a @value or children
... lastModified SΣC 0..1 dateTime Date/time when task and/or status last updated
ele-1: All FHIR elements must have a @value or children
... requester SΣ 1..1 Reference(EOrders PractitionerRole) The provider requesting the diagnostic service
ele-1: All FHIR elements must have a @value or children
... owner SΣ 1..1 Reference(Genie Organization | Genie HealthcareService) Laboratory organisation requested to fulfil the request
ele-1: All FHIR elements must have a @value or children
... output S 0..* BackboneElement Must support when completed
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 1..1 CodeableConcept Label for output
Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.


ele-1: All FHIR elements must have a @value or children
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
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Task.meta.tag:eorders-taskrequiredEOrdersTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset
from this IG
Task.meta.tag:claimed-requestrequiredEOrdersClaimedTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset
from this IG
Task.statusrequiredEOrdersTaskStatus
http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus
from this IG
Task.statusReasonexample
Task.businessStatusextensibleEOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem)
http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status
from this IG
Task.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
from the FHIR Standard
Task.priorityrequiredEOrdersPriority
http://fhir.geniesolutions.io/ValueSet/eorders-priority
from this IG
Task.coderequiredEOrdersTaskCode
http://fhir.geniesolutions.io/ValueSet/eorders-taskcode
from this IG
Task.output.typeexamplePattern: DiagnosticReport

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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-1errorTaskOnly 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-2errorTaskOnly use a businessStatus of claimed-request with a status of cancel or requested
: $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'requested'
task-rejected-detailerrorTaskOnly use a businessStatus of invalid-request-data | inaccessible-request-data with a status of rejected
: $this.businessStatus.coding.where(code in ('invalid-request-data'|'inaccessible-request-data')).exists() implies $this.status='rejected'

Differential View

This structure is derived from EOrdersTaskFulfillmentBase

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment task
... meta
.... Slices for tag Content/Rules for all slices
..... tag:eorders-task 1..1 Coding fulfillment-task
...... system 0..1 uri Identity of the terminology system
Required Pattern: http://fhir.geniesolutions.io/CodeSystem/eorders-tag
...... code 0..1 code Symbol in syntax defined by the system
Required Pattern: fulfillment-task
... partOf S 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
... focus S 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task C 0..* EOrdersTaskFulfillmentBase Diagnostic request fulfillment 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 requested
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 value:$this
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


..... tag:eorders-task SΣ 1..1 Coding fulfillment-task
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
...... 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
...... 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 BindingsPurpose
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 Requisition or grouper id
... partOf SΣ 0..1 Reference(EOrders Task Fulfillment Request Group) Fulfillment task group of which this task is a part
... 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 SΣ 1..1 Reference(EOrders Diagnostic Request | EOrders Pathology Request | EOrders Radiology Request) Diagnostic service to which this task is related
... 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 SC 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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Task.meta.securityextensibleAll Security Labels
http://hl7.org/fhir/ValueSet/security-labels
from the FHIR Standard
Task.meta.tagexampleCommonTags
http://hl7.org/fhir/ValueSet/common-tags
from the FHIR Standard
Task.meta.tag:eorders-taskrequiredEOrdersTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-tag-valueset
from this IG
Task.meta.tag:claimed-requestrequiredEOrdersClaimedTagValueSet
http://fhir.geniesolutions.io/ValueSet/eorders-claimed-tag-valueset
from this IG
Task.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Task.statusrequiredEOrdersTaskStatus
http://fhir.geniesolutions.io/ValueSet/eorders-taskstatus
from this IG
Task.statusReasonexample
Task.businessStatusextensibleEOrdersTaskBusinessStatus (a valid code from eOrders Task Business Status CodeSystem)
http://fhir.geniesolutions.io/ValueSet/eorders-task-business-status
from this IG
Task.intentrequiredFixed Value: order
http://hl7.org/fhir/ValueSet/task-intent|4.0.1
from the FHIR Standard
Task.priorityrequiredEOrdersPriority
http://fhir.geniesolutions.io/ValueSet/eorders-priority
from this IG
Task.coderequiredEOrdersTaskCode
http://fhir.geniesolutions.io/ValueSet/eorders-taskcode
from this IG
Task.requester.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Task.performerTypepreferredProcedurePerformerRoleCodes
http://hl7.org/fhir/ValueSet/performer-role
from the FHIR Standard
Task.reasonCodeexample
Task.input.typeexample
Task.output.typeexamplePattern: DiagnosticReport

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorTaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorTaskIf 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-4errorTaskIf 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-5errorTaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceTaskA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorTaskLast 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-1errorTaskOnly 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-2errorTaskOnly use a businessStatus of claimed-request with a status of cancel or requested
: $this.businessStatus.coding.where(code = 'claimed-request').exists() implies $this.status = 'cancelled' or $this.status = 'requested'
task-rejected-detailerrorTaskOnly 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'

 

Other representations of profile: CSV, Excel, Schematron