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:

  • The element Task.code.coding is sliced based on the value of value:system

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*Medication Usage Implications
... status S1..1codeFixed Value: requested
... intent S1..1codeFixed Value: proposal
... code S1..1CodeableConcept
.... coding SCodingE.g. Consider alternative medication, Decrease dose, Increase dose, etc.
Slice: Unordered, Open by value:system
Binding: LOINC Answer List LL4049-4 (required)
..... system S1..1uriFixed Value: http://loinc.org
..... code S1..1code
.... text S0..1stringMedication usage suggestion narrative
... description S0..1string
... focus S1..1Reference(Current Medication)
... for S1..1Reference(Patient)
... requester S0..1Reference(Organization)
... reasonReference S0..1Reference(Medication Impact)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*Medication Usage Implications
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierTask Instance Identifier
... instantiates[x] Σ0..1uri, Reference(ActivityDefinition)Formal definition of task
... basedOn Σ0..*Reference(Resource)Request fulfilled by this task
... groupIdentifier Σ0..1IdentifierRequisition or grouper id
... partOf Σ0..*Reference(Task)Composite task
... status ?!SΣ1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required)
Fixed Value: requested
... statusReason Σ0..1CodeableConceptReason for current status
Binding: (unbound) (example)
... businessStatus Σ0..1CodeableConceptE.g. "Specimen collected", "IV prepped"
Binding: (unbound) (example)
... intent SΣ1..1codeproposal | plan | order +
Binding: RequestIntent (required)
Fixed Value: proposal
... priority 0..1codenormal | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣ1..1CodeableConceptTask Type
Binding: (unbound) (example)
.... id 0..1stringxml:id (or equivalent in JSON)
.... coding ΣCodingCode defined by a terminology system
Slice: Unordered, Open by value:system
.... coding SΣ0..1CodingE.g. Consider alternative medication, Decrease dose, Increase dose, etc.
Binding: LOINC Answer List LL4049-4 (required)
..... id 0..1stringxml:id (or equivalent in JSON)
..... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... version Σ0..1stringVersion of the system - if relevant
..... code SΣ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringMedication usage suggestion narrative
... description SΣ0..1stringHuman-readable explanation of task
... focus SΣ1..1Reference(Current Medication)What task is acting on
... for SΣ1..1Reference(Patient)Beneficiary of the Task
... context Σ0..1Reference(Encounter | EpisodeOfCare)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn I0..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣ0..1Reference(Organization)Who is asking for task to be done
... performerType 0..*CodeableConceptrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred)
... owner Σ0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Responsible individual
... reasonCode 0..1CodeableConceptWhy task is needed
Binding: (unbound) (example)
... reasonReference S0..1Reference(Medication Impact)Why task is needed
... note 0..*AnnotationComments made about the task
... relevantHistory 0..*Reference(Provenance)Key events in history of the Task
... restriction I0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... repetitions 0..1positiveIntHow many times to repeat
.... period 0..1PeriodWhen fulfillment sought
.... recipient 0..*Reference(Patient | Practitioner | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input I0..*BackboneElementInformation used to perform task
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
.... value[x] 1..1base64Binary, 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, DosageContent to use in performing the task
... output I0..*BackboneElementInformation produced as part of task
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodeableConceptLabel for output
Binding: (unbound) (example)
.... value[x] 1..1base64Binary, 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, DosageResult of output

doco 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:

  • The element Task.code.coding is sliced based on the value of value:system

Differential View

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*Medication Usage Implications
... status S1..1codeFixed Value: requested
... intent S1..1codeFixed Value: proposal
... code S1..1CodeableConcept
.... coding SCodingE.g. Consider alternative medication, Decrease dose, Increase dose, etc.
Slice: Unordered, Open by value:system
Binding: LOINC Answer List LL4049-4 (required)
..... system S1..1uriFixed Value: http://loinc.org
..... code S1..1code
.... text S0..1stringMedication usage suggestion narrative
... description S0..1string
... focus S1..1Reference(Current Medication)
... for S1..1Reference(Patient)
... requester S0..1Reference(Organization)
... reasonReference S0..1Reference(Medication Impact)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*Medication Usage Implications
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierTask Instance Identifier
... instantiates[x] Σ0..1uri, Reference(ActivityDefinition)Formal definition of task
... basedOn Σ0..*Reference(Resource)Request fulfilled by this task
... groupIdentifier Σ0..1IdentifierRequisition or grouper id
... partOf Σ0..*Reference(Task)Composite task
... status ?!SΣ1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required)
Fixed Value: requested
... statusReason Σ0..1CodeableConceptReason for current status
Binding: (unbound) (example)
... businessStatus Σ0..1CodeableConceptE.g. "Specimen collected", "IV prepped"
Binding: (unbound) (example)
... intent SΣ1..1codeproposal | plan | order +
Binding: RequestIntent (required)
Fixed Value: proposal
... priority 0..1codenormal | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣ1..1CodeableConceptTask Type
Binding: (unbound) (example)
.... id 0..1stringxml:id (or equivalent in JSON)
.... coding ΣCodingCode defined by a terminology system
Slice: Unordered, Open by value:system
.... coding SΣ0..1CodingE.g. Consider alternative medication, Decrease dose, Increase dose, etc.
Binding: LOINC Answer List LL4049-4 (required)
..... id 0..1stringxml:id (or equivalent in JSON)
..... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
..... version Σ0..1stringVersion of the system - if relevant
..... code SΣ1..1codeSymbol in syntax defined by the system
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringMedication usage suggestion narrative
... description SΣ0..1stringHuman-readable explanation of task
... focus SΣ1..1Reference(Current Medication)What task is acting on
... for SΣ1..1Reference(Patient)Beneficiary of the Task
... context Σ0..1Reference(Encounter | EpisodeOfCare)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn I0..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣ0..1Reference(Organization)Who is asking for task to be done
... performerType 0..*CodeableConceptrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred)
... owner Σ0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Responsible individual
... reasonCode 0..1CodeableConceptWhy task is needed
Binding: (unbound) (example)
... reasonReference S0..1Reference(Medication Impact)Why task is needed
... note 0..*AnnotationComments made about the task
... relevantHistory 0..*Reference(Provenance)Key events in history of the Task
... restriction I0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... repetitions 0..1positiveIntHow many times to repeat
.... period 0..1PeriodWhen fulfillment sought
.... recipient 0..*Reference(Patient | Practitioner | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input I0..*BackboneElementInformation used to perform task
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
.... value[x] 1..1base64Binary, 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, DosageContent to use in performing the task
... output I0..*BackboneElementInformation produced as part of task
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... type 1..1CodeableConceptLabel for output
Binding: (unbound) (example)
.... value[x] 1..1base64Binary, 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, DosageResult of output

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathNameConformanceValueSet
Task.languageCommon LanguagesextensibleCommon Languages
Task.statusTaskStatusrequiredTaskStatus
Task.statusReason?extexample
Task.businessStatus?extexample
Task.intentRequestIntentrequiredRequestIntent
Task.priorityRequestPriorityrequiredRequestPriority
Task.code?extexample
Task.code.codingLOINC LL4049-4requiredLOINC LL4049-4
Task.performerTypeTaskPerformerTypepreferredTaskPerformerType
Task.reasonCode?extexample
Task.input.type?extexample
Task.output.type?extexample

Constraints

IdPathDetailsRequirements
dom-2TaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1TaskIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4TaskIf 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-3TaskIf 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-1TaskLast modified date must be greater than or equal to authored-on date.
: lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
ele-1Task.restrictionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Task.inputAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Task.outputAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())