0.3.0 - Second STU ballot

This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.3.0: STU 1 Ballot 2) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: TaskQuestionnaireSTU3

The official URL for this profile is:

http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-taskquestionnaire-stu3

Formal Views of Profile Content

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

This structure is derived from Task

Summary

Mandatory: 11 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*A task to be performed
... 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)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI1..1Reference(CoverageSTU3)Insurance
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierTask Instance Identifier
... definition[x] SΣ1..1uri, Reference(ActivityDefinition)Formal definition of task
... basedOn SΣ1..1Reference(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: draft
... 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)
... priority 0..1codenormal | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣ1..1CodeableConceptTask Type
Binding: CRD Task Codes (required)
... description SΣ1..1stringHuman-readable explanation of task
... focus Σ0..1Reference(Resource)What task is acting on
... for SΣ1..1Reference(Resource)Beneficiary of the Task
... context Σ0..1Reference(EncounterSTU3)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1BackboneElementWho is asking for task to be done
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(PractitionerSTU3)Individual asking for task
.... onBehalfOf 0..1Reference(Organization)Organization individual is acting for
... performerType 0..*CodeableConceptrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred)
... owner SΣ1..1Reference(PractitionerSTU3)Responsible individual
... reason S0..1CodeableConceptWhy task is needed
Binding: CRD Reason Codes (required)
... 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, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaContent 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, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaResult of output

doco Documentation for this format

This structure is derived from Task

Summary

Mandatory: 11 elements
Must-Support: 14 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*A task to be performed
... 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)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI1..1Reference(CoverageSTU3)Insurance
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierTask Instance Identifier
... definition[x] SΣ1..1uri, Reference(ActivityDefinition)Formal definition of task
... basedOn SΣ1..1Reference(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: draft
... 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)
... priority 0..1codenormal | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣ1..1CodeableConceptTask Type
Binding: CRD Task Codes (required)
... description SΣ1..1stringHuman-readable explanation of task
... focus Σ0..1Reference(Resource)What task is acting on
... for SΣ1..1Reference(Resource)Beneficiary of the Task
... context Σ0..1Reference(EncounterSTU3)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1BackboneElementWho is asking for task to be done
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... agent SΣ1..1Reference(PractitionerSTU3)Individual asking for task
.... onBehalfOf 0..1Reference(Organization)Organization individual is acting for
... performerType 0..*CodeableConceptrequester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer
Binding: TaskPerformerType (preferred)
... owner SΣ1..1Reference(PractitionerSTU3)Responsible individual
... reason S0..1CodeableConceptWhy task is needed
Binding: CRD Reason Codes (required)
... 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, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaContent 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, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, MetaResult of output

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Task.statusrequiredFixed Value: draft
Task.intentrequiredRequestIntent
Task.coderequiredCRDTaskCodes
Task.reasonrequiredCRDReasonCodes

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
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
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.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Task.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Task.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.requesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
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())