PrescribeIT® Specification and Guide Version 5.0

 

The official URL for this profile is:

http://prescribeit.ca/fhir/StructureDefinition/profile-task-emr-response

Download Excel representation

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

>

This structure is derived from PrescribeIT® Response Task profile

NameCard.TypeConstraints and Usage
.  Task 0..*PrescribeIT® Response Task profileinv-2: A Failure reason may be present only when a task has failed.
inv-1: Last modified date must be greater than or equal to created date.
Definition:
A task to be performed.

..  id 1..1idDefinition:
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.


Comments:
Usage Note: This will usually be a GUID and is assigned by the sending application.

..  meta 1..1MetaDefinition:
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.

...  profile 1..*uriDefinition:
A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].


Comments:
It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.

..  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

..  extension
     (groupIdentifier)
1..1Task Group IdentifierDefinition:
This is the common identifier that represents a paper order. It may be shared by multiple Task instances for various Medication Orders, reflecting multiple requests that are authorized simultaneously for a patient by a single prescriber


Comments:
Usage Note: This business identifier is assigned by the sending application and is used to group tasks together that need to be processed and managed together. Refer to the PrescribeIT® Version 5.0 Jurisdictional Rules and Task Grouping Excel spreadsheet rules for a full set of scenarios.

..  extension
     (basedOn)
1..1Task Order Based OnDefinition:
Identifies a request, plan or proposal that drove the creation of this task


Comments:
Usage Note: The URL for this extension does not refer to an existing web-page as is a pre-adoption extension. Refer to the Shared Health implementation Guide for more information.

...  url 1..1uri"http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn"
...  value[x] 1..1Reference()Slice: Unordered, Closed by type:$this
Definition:
The identifier of the request task that this task was created based on


Comments:
Conformance Rule: The will be a URN (form urn:uuid:[guid]) containing the Task.id for the task being responded to

...  value[x]
       (valueReference)
1..1Reference() {r}Definition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).


Comments:
Conformance Rule: The will be a URN (form urn:uuid:[guid]) containing the Task.id for the task being responded to

....  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

....  extension
         (multipleResponse)
0..1Task Multiple ResponseDefinition:
If true, indicates that this renewal response is a subsequent response of an initial response that was sent as 'under review'.


Comments:
Conformance Rules:



  1. This must not be provided on any of the initial responses including when initial response is under review

  2. This must only be provided and set to true on a subsequent response of Approve, Approve with change or Deny which follows on initial response of 'under review'

  3. Subsequent responses of under review are not permitted



....  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
Conformance Rule: This shall be the Task.id of the request task being responded to, expressed as a uri (i.e. urn:uuid:[original task id])

..  type 1..1Shared Health CodeableConcept CodeBinding: PrescriptionTaskType (20220913) (required)
Definition:
A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.


Comments:
This will be a fixed code for each type of task. Review usage comments on child elements.

..  priority 0..1codeBinding: PrescriptionTaskPriority (20190415) (required)
Definition:
The priority of the task among other tasks of the same type.


Comments:
This element does not apply to Tasks p170-m (Pharmacist Adapt), p200-m (RX Dispense Notification), and p210-m (RX Dispense Cancel Notification)



Conformance Rule: If one of the medications within a group is a high priority, the EMR should present the entire renewal request (based on Group Identifier) as a high priority item within the queue.



Conformance Rule: For Tasks p141-m (Cancel RX Request Denied) and p143-m (Cancel RX Remaining Fills Revoked) the priority must be set to high.



Usage Note: For Task e150-m (Discontinue RX Request) the priority should default to normal.

..  status 1..1codeBinding: TaskStatus (required): The current status of the task.


Definition:
The current status of the task.


Comments:
This will be fixed based on the task code being used as the architecture calls for different tasks for each state rather than updating of existing tasks.

..  subject 0..1Reference(Resource)Definition:
The subject of the task.

..  for 1..1Reference(Shared Health Patient) {b}Definition:
The entity who benefits from the performance of the service specified in the task (e.g., the patient).


Comments:
Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)

...  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
This is a reference to the Patient associated with the task. It will be a URN pointing to the id of the patient record in the message

..  created 1..1dateTimecreated-full: Must be at least a full date. i.e. yyyy-mm-dd
Definition:
The date and time this task was created.


Comments:
This indicates when the request was created. This will generally be the same as the date of message construction.



Conformance Rule: Date-Time must be specified down to the day. Time is optional and may be ignored.



Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'

..  lastModified 1..1dateTimelastModified-full: Must be at least a full date. i.e. yyyy-mm-dd
Definition:
The date and time of last modification to this task.


Comments:
This is required by FHIR but is not needed. It should generally be set to the same value as Task.created. This is the date of the most recent transaction as recorded in the EMR.



Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'.



Conformance Rule: PMS is not expected to display this date as it is irrelevant to the Pharmacist or to the processing of the discontinue notification.

..  creator 1..1Reference(Shared Health Practitioner) {b}Definition:
The creator of the task.


Comments:
This is who is submitting the task and asking for it be done.



In the context of all EMR message this will be the PrescribeIT® Prescriber that responsible for initiating or overseeing the clinical event in the message.

..  owner 1..1Reference(Shared Health - eRx Service Location) {b}Definition:
The owner of this task. The participant who can execute this task.


Comments:
This is who is intended to receive/act on the task

...  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
This is a reference to the pharmacy Organization being responded to. This value should echo the Task.creator from the request task being responded to. Example: value='https://{environmentSpecificHost}/{environmentAndContextSpecificPath}/Organization/{CPRID}'

This structure is derived from PrescribeIT® Response Task profile

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*PrescribeIT® Response Task profileA task to be performed
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-task-basedon S1..1Reference()Plan, request or referral
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-basedon
.... value[x]:valueReference S1..1Reference() {r}Value of extension
..... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ext-task-multiple-response S0..1booleanTask Multiple Response?
URL: http://prescribeit.ca/fhir/StructureDefinition/ext-task-multiple-response
..... reference S1..1stringRelative, internal or absolute URL reference
... priority S0..1codenormal | high
... creator S1..1Reference(Shared Health Practitioner) {b}Task requestor
... owner S1..1Reference(Shared Health - eRx Service Location) {b}Task recipient
.... reference S1..1stringRelative, internal or absolute URL reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*PrescribeIT® Response Task profileA task to be performed
... id SΣ1..1idLogical id of this artifact
... meta SΣ1..1MetaMetadata about the resource
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... profile SΣ1..*uriProfiles this resource claims to conform to
.... tag Σ0..*CodingTags applied to this resource
Binding: (unbound) (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required): A human language.


... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-task-group-identifier S1..1Shared Health IdentifierGroup Identifier
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-group-identifier
... ext-task-basedon S1..1Reference()Plan, request or referral
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-basedon
.... id 0..1idxml:id (or equivalent in JSON)
.... url S1..1uri"http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn"
.... value[x] S1..1(Slice Definition)e-Renewal request
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference() {r}Value of extension
...... id 0..1idxml:id (or equivalent in JSON)
...... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... ext-task-multiple-response S0..1booleanTask Multiple Response?
URL: http://prescribeit.ca/fhir/StructureDefinition/ext-task-multiple-response
...... reference SΣI1..1stringRelative, internal or absolute URL reference
...... display Σ0..1stringText alternative for the resource
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..1IdentifierTask Instance Identifier
... type S1..1Shared Health CodeableConcept CodeConcept - reference to a terminology or just text
Binding: PrescriptionTaskType (20220913) (required)
... description Σ0..1stringTask Description
... performerType 0..*Codingrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred): The type(s) of task performers allowed


... priority S0..1codenormal | high
Binding: PrescriptionTaskPriority (20190415) (required)
... status SΣI1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.

... failureReason ΣI0..1CodeableConceptTask Failure Reason
... subject S0..1Reference(Resource)Focus of task
... for SΣ1..1Reference(Shared Health Patient) {b}Beneficiary of the Task
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... reference SΣI1..1stringRelative, internal or absolute URL reference
.... display Σ0..1stringText alternative for the resource
... definition Σ0..1uriTask Definition
... created SI1..1dateTimeTask Creation Date
created-full: Must be at least a full date. i.e. yyyy-mm-dd
... lastModified SΣI1..1dateTimeTask Last Modified Date
lastModified-full: Must be at least a full date. i.e. yyyy-mm-dd
... creator S1..1Reference(Shared Health Practitioner) {b}Task requestor
... owner S1..1Reference(Shared Health - eRx Service Location) {b}Task recipient
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... reference SΣI1..1stringRelative, internal or absolute URL reference
.... display Σ0..1stringText alternative for the resource
... parent 0..1Reference(Task)Composite task
... input 0..*BackboneElementTask Input
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... name 1..1stringInput Name
.... value[x] 1..1Input Value
..... valueBooleanboolean
..... valueIntegerinteger
..... valueDecimaldecimal
..... valueBase64Binarybase64Binary
..... valueInstantinstant
..... valueStringstring
..... valueUriuri
..... valueDatedate
..... valueDateTimedateTime
..... valueTimetime
..... valueCodecode
..... valueOidoid
..... valueIdid
..... valueUnsignedIntunsignedInt
..... valuePositiveIntpositiveInt
..... valueMarkdownmarkdown
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueIdentifierIdentifier
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueQuantityQuantity
..... valueRangeRange
..... valuePeriodPeriod
..... valueRatioRatio
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueHumanNameHumanName
..... valueAddressAddress
..... valueContactPointContactPoint
..... valueTimingTiming
..... valueReferenceReference(Any)
..... valueMetaMeta
... output 0..*BackboneElementTask Output
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... name 1..1stringOutput Name
.... value[x] 1..1Output Value
..... valueBooleanboolean
..... valueIntegerinteger
..... valueDecimaldecimal
..... valueBase64Binarybase64Binary
..... valueInstantinstant
..... valueStringstring
..... valueUriuri
..... valueDatedate
..... valueDateTimedateTime
..... valueTimetime
..... valueCodecode
..... valueOidoid
..... valueIdid
..... valueUnsignedIntunsignedInt
..... valuePositiveIntpositiveInt
..... valueMarkdownmarkdown
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueIdentifierIdentifier
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueQuantityQuantity
..... valueRangeRange
..... valuePeriodPeriod
..... valueRatioRatio
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueHumanNameHumanName
..... valueAddressAddress
..... valueContactPointContactPoint
..... valueTimingTiming
..... valueReferenceReference(Any)
..... valueMetaMeta

doco Documentation for this format

Grid View

This structure is derived from PrescribeIT® Response Task profile

NameCard.TypeConstraints and Usage
.  Task 0..*PrescribeIT® Response Task profileinv-2: A Failure reason may be present only when a task has failed.
inv-1: Last modified date must be greater than or equal to created date.
Definition:
A task to be performed.

..  id 1..1idDefinition:
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.


Comments:
Usage Note: This will usually be a GUID and is assigned by the sending application.

..  meta 1..1MetaDefinition:
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.

...  profile 1..*uriDefinition:
A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].


Comments:
It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.

..  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

..  extension
     (groupIdentifier)
1..1Task Group IdentifierDefinition:
This is the common identifier that represents a paper order. It may be shared by multiple Task instances for various Medication Orders, reflecting multiple requests that are authorized simultaneously for a patient by a single prescriber


Comments:
Usage Note: This business identifier is assigned by the sending application and is used to group tasks together that need to be processed and managed together. Refer to the PrescribeIT® Version 5.0 Jurisdictional Rules and Task Grouping Excel spreadsheet rules for a full set of scenarios.

..  extension
     (basedOn)
1..1Task Order Based OnDefinition:
Identifies a request, plan or proposal that drove the creation of this task


Comments:
Usage Note: The URL for this extension does not refer to an existing web-page as is a pre-adoption extension. Refer to the Shared Health implementation Guide for more information.

...  url 1..1uri"http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn"
...  value[x] 1..1Reference()Slice: Unordered, Closed by type:$this
Definition:
The identifier of the request task that this task was created based on


Comments:
Conformance Rule: The will be a URN (form urn:uuid:[guid]) containing the Task.id for the task being responded to

...  value[x]
       (valueReference)
1..1Reference() {r}Definition:
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).


Comments:
Conformance Rule: The will be a URN (form urn:uuid:[guid]) containing the Task.id for the task being responded to

....  extension 0..*ExtensionSlice: Unordered, Open by value:url
Definition:
An Extension

....  extension
         (multipleResponse)
0..1Task Multiple ResponseDefinition:
If true, indicates that this renewal response is a subsequent response of an initial response that was sent as 'under review'.


Comments:
Conformance Rules:



  1. This must not be provided on any of the initial responses including when initial response is under review

  2. This must only be provided and set to true on a subsequent response of Approve, Approve with change or Deny which follows on initial response of 'under review'

  3. Subsequent responses of under review are not permitted



....  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
Conformance Rule: This shall be the Task.id of the request task being responded to, expressed as a uri (i.e. urn:uuid:[original task id])

..  type 1..1Shared Health CodeableConcept CodeBinding: PrescriptionTaskType (20220913) (required)
Definition:
A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.


Comments:
This will be a fixed code for each type of task. Review usage comments on child elements.

..  priority 0..1codeBinding: PrescriptionTaskPriority (20190415) (required)
Definition:
The priority of the task among other tasks of the same type.


Comments:
This element does not apply to Tasks p170-m (Pharmacist Adapt), p200-m (RX Dispense Notification), and p210-m (RX Dispense Cancel Notification)



Conformance Rule: If one of the medications within a group is a high priority, the EMR should present the entire renewal request (based on Group Identifier) as a high priority item within the queue.



Conformance Rule: For Tasks p141-m (Cancel RX Request Denied) and p143-m (Cancel RX Remaining Fills Revoked) the priority must be set to high.



Usage Note: For Task e150-m (Discontinue RX Request) the priority should default to normal.

..  status 1..1codeBinding: TaskStatus (required): The current status of the task.


Definition:
The current status of the task.


Comments:
This will be fixed based on the task code being used as the architecture calls for different tasks for each state rather than updating of existing tasks.

..  subject 0..1Reference(Resource)Definition:
The subject of the task.

..  for 1..1Reference(Shared Health Patient) {b}Definition:
The entity who benefits from the performance of the service specified in the task (e.g., the patient).


Comments:
Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message)

...  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
This is a reference to the Patient associated with the task. It will be a URN pointing to the id of the patient record in the message

..  created 1..1dateTimecreated-full: Must be at least a full date. i.e. yyyy-mm-dd
Definition:
The date and time this task was created.


Comments:
This indicates when the request was created. This will generally be the same as the date of message construction.



Conformance Rule: Date-Time must be specified down to the day. Time is optional and may be ignored.



Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'

..  lastModified 1..1dateTimelastModified-full: Must be at least a full date. i.e. yyyy-mm-dd
Definition:
The date and time of last modification to this task.


Comments:
This is required by FHIR but is not needed. It should generally be set to the same value as Task.created. This is the date of the most recent transaction as recorded in the EMR.



Usage Note: If time is present, FHIR requires the UTC offset and for time to be specified down to the seconds. If seconds aren't available, they may be filled with '00'.



Conformance Rule: PMS is not expected to display this date as it is irrelevant to the Pharmacist or to the processing of the discontinue notification.

..  creator 1..1Reference(Shared Health Practitioner) {b}Definition:
The creator of the task.


Comments:
This is who is submitting the task and asking for it be done.



In the context of all EMR message this will be the PrescribeIT® Prescriber that responsible for initiating or overseeing the clinical event in the message.

..  owner 1..1Reference(Shared Health - eRx Service Location) {b}Definition:
The owner of this task. The participant who can execute this task.


Comments:
This is who is intended to receive/act on the task

...  reference 1..1stringDefinition:
A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.


Comments:
This is a reference to the pharmacy Organization being responded to. This value should echo the Task.creator from the request task being responded to. Example: value='https://{environmentSpecificHost}/{environmentAndContextSpecificPath}/Organization/{CPRID}'

Differential View

This structure is derived from PrescribeIT® Response Task profile

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*PrescribeIT® Response Task profileA task to be performed
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-task-basedon S1..1Reference()Plan, request or referral
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-basedon
.... value[x]:valueReference S1..1Reference() {r}Value of extension
..... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ext-task-multiple-response S0..1booleanTask Multiple Response?
URL: http://prescribeit.ca/fhir/StructureDefinition/ext-task-multiple-response
..... reference S1..1stringRelative, internal or absolute URL reference
... priority S0..1codenormal | high
... creator S1..1Reference(Shared Health Practitioner) {b}Task requestor
... owner S1..1Reference(Shared Health - eRx Service Location) {b}Task recipient
.... reference S1..1stringRelative, internal or absolute URL reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*PrescribeIT® Response Task profileA task to be performed
... id SΣ1..1idLogical id of this artifact
... meta SΣ1..1MetaMetadata about the resource
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... versionId Σ0..1idVersion specific identifier
.... lastUpdated Σ0..1instantWhen the resource version last changed
.... profile SΣ1..*uriProfiles this resource claims to conform to
.... tag Σ0..*CodingTags applied to this resource
Binding: (unbound) (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required): A human language.


... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-task-group-identifier S1..1Shared Health IdentifierGroup Identifier
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-group-identifier
... ext-task-basedon S1..1Reference()Plan, request or referral
URL: http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn profiled by http://prescribeit.ca/fhir/StructureDefinition/ext-task-basedon
.... id 0..1idxml:id (or equivalent in JSON)
.... url S1..1uri"http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn"
.... value[x] S1..1(Slice Definition)e-Renewal request
Slice: Unordered, Closed by type:$this
..... value[x]:valueReference S1..1Reference() {r}Value of extension
...... id 0..1idxml:id (or equivalent in JSON)
...... extension S0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... ext-task-multiple-response S0..1booleanTask Multiple Response?
URL: http://prescribeit.ca/fhir/StructureDefinition/ext-task-multiple-response
...... reference SΣI1..1stringRelative, internal or absolute URL reference
...... display Σ0..1stringText alternative for the resource
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..1IdentifierTask Instance Identifier
... type S1..1Shared Health CodeableConcept CodeConcept - reference to a terminology or just text
Binding: PrescriptionTaskType (20220913) (required)
... description Σ0..1stringTask Description
... performerType 0..*Codingrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred): The type(s) of task performers allowed


... priority S0..1codenormal | high
Binding: PrescriptionTaskPriority (20190415) (required)
... status SΣI1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.

... failureReason ΣI0..1CodeableConceptTask Failure Reason
... subject S0..1Reference(Resource)Focus of task
... for SΣ1..1Reference(Shared Health Patient) {b}Beneficiary of the Task
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... reference SΣI1..1stringRelative, internal or absolute URL reference
.... display Σ0..1stringText alternative for the resource
... definition Σ0..1uriTask Definition
... created SI1..1dateTimeTask Creation Date
created-full: Must be at least a full date. i.e. yyyy-mm-dd
... lastModified SΣI1..1dateTimeTask Last Modified Date
lastModified-full: Must be at least a full date. i.e. yyyy-mm-dd
... creator S1..1Reference(Shared Health Practitioner) {b}Task requestor
... owner S1..1Reference(Shared Health - eRx Service Location) {b}Task recipient
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... reference SΣI1..1stringRelative, internal or absolute URL reference
.... display Σ0..1stringText alternative for the resource
... parent 0..1Reference(Task)Composite task
... input 0..*BackboneElementTask Input
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... name 1..1stringInput Name
.... value[x] 1..1Input Value
..... valueBooleanboolean
..... valueIntegerinteger
..... valueDecimaldecimal
..... valueBase64Binarybase64Binary
..... valueInstantinstant
..... valueStringstring
..... valueUriuri
..... valueDatedate
..... valueDateTimedateTime
..... valueTimetime
..... valueCodecode
..... valueOidoid
..... valueIdid
..... valueUnsignedIntunsignedInt
..... valuePositiveIntpositiveInt
..... valueMarkdownmarkdown
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueIdentifierIdentifier
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueQuantityQuantity
..... valueRangeRange
..... valuePeriodPeriod
..... valueRatioRatio
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueHumanNameHumanName
..... valueAddressAddress
..... valueContactPointContactPoint
..... valueTimingTiming
..... valueReferenceReference(Any)
..... valueMetaMeta
... output 0..*BackboneElementTask Output
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... name 1..1stringOutput Name
.... value[x] 1..1Output Value
..... valueBooleanboolean
..... valueIntegerinteger
..... valueDecimaldecimal
..... valueBase64Binarybase64Binary
..... valueInstantinstant
..... valueStringstring
..... valueUriuri
..... valueDatedate
..... valueDateTimedateTime
..... valueTimetime
..... valueCodecode
..... valueOidoid
..... valueIdid
..... valueUnsignedIntunsignedInt
..... valuePositiveIntpositiveInt
..... valueMarkdownmarkdown
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueIdentifierIdentifier
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueQuantityQuantity
..... valueRangeRange
..... valuePeriodPeriod
..... valueRatioRatio
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueHumanNameHumanName
..... valueAddressAddress
..... valueContactPointContactPoint
..... valueTimingTiming
..... valueReferenceReference(Any)
..... valueMetaMeta

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
Task.meta.tagexample
Task.languagerequiredhttp://tools.ietf.org/html/bcp47
Task.typerequiredPrescriptionTaskType
Task.performerTypepreferredTaskPerformerType
Task.priorityrequiredPrescriptionTaskPriority
Task.statusrequiredTaskStatus

Constraints

IdPathDetailsRequirements
inv-2TaskA Failure reason may be present only when a task has failed.
: failureReason.empty() or status = 'failed'
inv-1TaskLast modified date must be greater than or equal to created date.
: lastModified >= created
created-fullTask.createdMust be at least a full date. i.e. yyyy-mm-dd
: length()>=10
lastModified-fullTask.lastModifiedMust be at least a full date. i.e. yyyy-mm-dd
: length()>=10