This page is part of the Genetic Reporting Implementation Guide (v0.1.0: STU 1 Ballot 1) based on FHIR v3.3.0. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/task-med-chg
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Task
Summary
Mandatory: 3 elements (2 nested mandatory elements)
Must-Support: 12 elements
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
This structure is derived from Task
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | 0..* | Medication Usage Implications | ||
status | S | 1..1 | code | Fixed Value: requested |
intent | S | 1..1 | code | Fixed Value: proposal |
code | S | 1..1 | CodeableConcept | |
coding | S | Coding | E.g. Consider alternative medication, Decrease dose, Increase dose, etc. Slice: Unordered, Open by value:system Binding: LOINC Answer List LL4049-4 (required) | |
system | S | 1..1 | uri | Fixed Value: http://loinc.org |
code | S | 1..1 | code | |
text | S | 0..1 | string | Medication usage suggestion narrative |
description | S | 0..1 | string | |
focus | S | 1..1 | Reference(Current Medication) | |
for | S | 1..1 | Reference(Patient) | |
requester | S | 0..1 | Reference(Organization) | |
reasonReference | S | 0..1 | Reference(Medication Impact) | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Medication Usage Implications | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 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 | |
instantiates[x] | Σ | 0..1 | uri, Reference(ActivityDefinition) | Formal definition of task |
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task |
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id |
partOf | Σ | 0..* | Reference(Task) | Composite task |
status | ?!SΣ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) Fixed Value: requested |
statusReason | Σ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example) |
businessStatus | Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example) |
intent | SΣ | 1..1 | code | proposal | plan | order + Binding: RequestIntent (required) Fixed Value: proposal |
priority | 0..1 | code | normal | urgent | asap | stat Binding: RequestPriority (required) | |
code | SΣ | 1..1 | CodeableConcept | Task Type Binding: (unbound) (example) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
coding | Σ | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
coding | SΣ | 0..1 | Coding | E.g. Consider alternative medication, Decrease dose, Increase dose, etc. Binding: LOINC Answer List LL4049-4 (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 0..1 | string | Medication usage suggestion narrative |
description | SΣ | 0..1 | string | Human-readable explanation of task |
focus | SΣ | 1..1 | Reference(Current Medication) | What task is acting on |
for | SΣ | 1..1 | Reference(Patient) | Beneficiary of the Task |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this task originated |
executionPeriod | Σ | 0..1 | Period | Start and end time of execution |
authoredOn | I | 0..1 | dateTime | Task Creation Date |
lastModified | ΣI | 0..1 | dateTime | Task Last Modified Date |
requester | SΣ | 0..1 | Reference(Organization) | Who is asking for task to be done |
performerType | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred) | |
owner | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual |
reasonCode | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) | |
reasonReference | S | 0..1 | Reference(Medication Impact) | Why task is needed |
note | 0..* | Annotation | Comments made about the task | |
relevantHistory | 0..* | Reference(Provenance) | Key events in history of the Task | |
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
repetitions | 0..1 | positiveInt | How many times to repeat | |
period | 0..1 | Period | When fulfillment sought | |
recipient | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |
input | I | 0..* | BackboneElement | Information used to perform task |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) | |
value[x] | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, UsageContext, Dosage | Content to use in performing the task | |
output | I | 0..* | BackboneElement | Information produced as part of task |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) | |
value[x] | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, UsageContext, Dosage | Result of output | |
Documentation for this format |
This structure is derived from Task
Summary
Mandatory: 3 elements (2 nested mandatory elements)
Must-Support: 12 elements
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Task
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | 0..* | Medication Usage Implications | ||
status | S | 1..1 | code | Fixed Value: requested |
intent | S | 1..1 | code | Fixed Value: proposal |
code | S | 1..1 | CodeableConcept | |
coding | S | Coding | E.g. Consider alternative medication, Decrease dose, Increase dose, etc. Slice: Unordered, Open by value:system Binding: LOINC Answer List LL4049-4 (required) | |
system | S | 1..1 | uri | Fixed Value: http://loinc.org |
code | S | 1..1 | code | |
text | S | 0..1 | string | Medication usage suggestion narrative |
description | S | 0..1 | string | |
focus | S | 1..1 | Reference(Current Medication) | |
for | S | 1..1 | Reference(Patient) | |
requester | S | 0..1 | Reference(Organization) | |
reasonReference | S | 0..1 | Reference(Medication Impact) | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Task | I | 0..* | Medication Usage Implications | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 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 | |
instantiates[x] | Σ | 0..1 | uri, Reference(ActivityDefinition) | Formal definition of task |
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task |
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id |
partOf | Σ | 0..* | Reference(Task) | Composite task |
status | ?!SΣ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required) Fixed Value: requested |
statusReason | Σ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example) |
businessStatus | Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example) |
intent | SΣ | 1..1 | code | proposal | plan | order + Binding: RequestIntent (required) Fixed Value: proposal |
priority | 0..1 | code | normal | urgent | asap | stat Binding: RequestPriority (required) | |
code | SΣ | 1..1 | CodeableConcept | Task Type Binding: (unbound) (example) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
coding | Σ | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
coding | SΣ | 0..1 | Coding | E.g. Consider alternative medication, Decrease dose, Increase dose, etc. Binding: LOINC Answer List LL4049-4 (required) |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://loinc.org |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 0..1 | string | Medication usage suggestion narrative |
description | SΣ | 0..1 | string | Human-readable explanation of task |
focus | SΣ | 1..1 | Reference(Current Medication) | What task is acting on |
for | SΣ | 1..1 | Reference(Patient) | Beneficiary of the Task |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Healthcare event during which this task originated |
executionPeriod | Σ | 0..1 | Period | Start and end time of execution |
authoredOn | I | 0..1 | dateTime | Task Creation Date |
lastModified | ΣI | 0..1 | dateTime | Task Last Modified Date |
requester | SΣ | 0..1 | Reference(Organization) | Who is asking for task to be done |
performerType | 0..* | CodeableConcept | requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer Binding: TaskPerformerType (preferred) | |
owner | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual |
reasonCode | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example) | |
reasonReference | S | 0..1 | Reference(Medication Impact) | Why task is needed |
note | 0..* | Annotation | Comments made about the task | |
relevantHistory | 0..* | Reference(Provenance) | Key events in history of the Task | |
restriction | I | 0..1 | BackboneElement | Constraints on fulfillment tasks |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
repetitions | 0..1 | positiveInt | How many times to repeat | |
period | 0..1 | Period | When fulfillment sought | |
recipient | 0..* | Reference(Patient | Practitioner | RelatedPerson | Group | Organization) | For whom is fulfillment sought? | |
input | I | 0..* | BackboneElement | Information used to perform task |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example) | |
value[x] | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, UsageContext, Dosage | Content to use in performing the task | |
output | I | 0..* | BackboneElement | Information produced as part of task |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example) | |
value[x] | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ParameterDefinition, DataRequirement, RelatedArtifact, ContactDetail, Contributor, TriggerDefinition, UsageContext, Dosage | Result of output | |
Documentation for this format |
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
Task.language | Common Languages | extensible | Common Languages |
Task.status | TaskStatus | required | TaskStatus |
Task.statusReason | ?ext | example | |
Task.businessStatus | ?ext | example | |
Task.intent | RequestIntent | required | RequestIntent |
Task.priority | RequestPriority | required | RequestPriority |
Task.code | ?ext | example | |
Task.code.coding | LOINC LL4049-4 | required | LOINC LL4049-4 |
Task.performerType | TaskPerformerType | preferred | TaskPerformerType |
Task.reasonCode | ?ext | example | |
Task.input.type | ?ext | example | |
Task.output.type | ?ext | example |
Id | Path | Details | Requirements |
dom-2 | Task | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | Task | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | 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-3 | 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.all(('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists()) | |
inv-1 | Task | Last modified date must be greater than or equal to authored-on date. : lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn | |
ele-1 | Task.restriction | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | Task.input | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | Task.output | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |