Da Vinci Health Record Exchange (HRex)
0.2.0 - STU R1 - 2nd ballot

This page is part of the Da Vinci Health Record Exchange (v0.2.0: STU1 Ballot 1) 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

Resource Profile: HRexTaskDataRequest

This Task profile is used to solicit information from a system when direct query is not possible and human intervention might be required

The official URL for this profile is:

http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request

Several Da Vinci guides have a requirement to asynchronously request data that may involve a human collecting, organizing, and/or reviewing data, as described in Requesting exchange using Task. This profile shows how Da Vinci uses Task to perform that process, including defining ‘standard’ codes for the Task and its associated inputs and outputs.

The Task supports two approaches to data sharing:

  • One involves leveraging the FHIR ‘search’ mechanism, but with the ability for humans to intervene to either refine the filter or to review/prune the result set.
  • The second involves either specifying a code or text that describes the data to be retrieved

The content resulting from the request might be conveyed by reference or contained within the Task - and can be any sort of FHIR resource at all (and, using DocumentReference or Binary, can include non-FHIR content as well).

Other Da Vinci IGs may further refine this profile to further refine the request mechanism and/or to constrain the location or permitted content of the returned data.

Formal Views of Profile Content

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

This structure is derived from Task

Summary

Mandatory: 6 elements (3 nested mandatory elements)
Must-Support: 26 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Task.input is sliced based on the value of pattern:type
  • The element Task.output is sliced based on the value of pattern:type

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
tdr-1: Must have exactly one input that is data-query or data-code
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
... basedOn S0..*Reference(Resource)Also known as Member identifier
... status S1..1codedraft | requested | received | accepted | +
Binding: HRex Task Status ValueSet (required)
... statusReason S0..1CodeableConceptReason for current status
.... text S1..1stringPlain text representation of the concept
.... text S1..1stringPlain text representation of the concept
... intent S1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... code S1..1CodeableConceptTask Type
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-request
... for S1..1Reference(US Core Patient Profile)Member being queried
... authoredOn S1..1dateTimeTask Creation Date
... requester S1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
... owner S1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
... reasonCode S0..1CodeableConceptWhy task is needed
.... text S1..1stringPlain text representation of the concept
... reasonReference S0..1Reference(Claim | HRex Coverage Profile)Why task is needed
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:query S0..1BackboneElementRequested query
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-query
..... value[x] S1..1stringquery value
.... input:code S0..1BackboneElementRequested data code
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-code
..... value[x] S1..1CodeableConceptquery value
... output S0..*(Slice Definition)Information produced as part of task
Slice: Unordered, Open by pattern:type
.... output:data S0..*BackboneElementRequested data
..... type S1..1CodeableConceptLabel for output
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-value
..... value[x] S1..1Reference()data reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
tdr-1: Must have exactly one input that is data-query or data-code
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier I0..*IdentifierTask Instance Identifier
... instantiatesCanonical ΣI0..1canonical(ActivityDefinition)Formal definition of task
... instantiatesUri ΣI0..1uriFormal definition of task
... basedOn SΣI0..*Reference(Resource)Also known as Member identifier
... groupIdentifier ΣI0..1IdentifierRequisition or grouper id
... partOf ΣI0..*Reference(Task)Composite task
... status ?!SΣI1..1codedraft | requested | received | accepted | +
Binding: HRex Task Status ValueSet (required)
... statusReason SΣI0..1CodeableConceptReason for current status
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... businessStatus SΣI0..1CodeableConceptE.g. 'waiting on internal review'
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... intent SΣI1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required)
Fixed Value: order
... priority I0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣI1..1CodeableConceptTask Type
Binding: TaskCode (example)
Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-request
..... display0..1stringRepresentation defined by the system
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... description ΣI0..1stringHuman-readable explanation of task
... focus ΣI0..1Reference(Resource)What task is acting on
... for SΣI1..1Reference(US Core Patient Profile)Member being queried
... encounter ΣI0..1Reference(Encounter)Healthcare event during which this task originated
... executionPeriod ΣI0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
... performerType I0..*CodeableConceptRequested performer
Binding: ProcedurePerformerRoleCodes (preferred)
... owner SΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
... location ΣI0..1Reference(Location)Where task occurs
... reasonCode SI0..1CodeableConceptWhy task is needed
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... reasonReference SI0..1Reference(Claim | HRex Coverage Profile)Why task is needed
... insurance I0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note I0..*AnnotationComments made about the task
... relevantHistory I0..*Reference(Provenance)Key events in history of the Task
... restriction I0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... repetitions I0..1positiveIntHow many times to repeat
.... period I0..1PeriodWhen fulfillment sought
.... recipient I0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input SI1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type I1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
..... value[x] I1..1Content to use in performing the task
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... input:query SI0..1BackboneElementRequested query
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-query
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1stringquery value
.... input:code SI0..1BackboneElementRequested data code
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-code
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1CodeableConceptquery value
... output SI0..*(Slice Definition)Information produced as part of task
Slice: Unordered, Open by pattern:type
.... output:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type I1..1CodeableConceptLabel for output
Binding: (unbound) (example)
..... value[x] I1..1Result of output
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... output:data SI0..*BackboneElementRequested data
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for output
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-value
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1Reference()data reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
tdr-1: Must have exactly one input that is data-query or data-code
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
... basedOn ΣI0..*Reference(Resource)Also known as Member identifier
... status ?!ΣI1..1codedraft | requested | received | accepted | +
Binding: HRex Task Status ValueSet (required)
... statusReason ΣI0..1CodeableConceptReason for current status
Binding: (unbound) (example)
.... text ΣI1..1stringPlain text representation of the concept
.... text ΣI1..1stringPlain text representation of the concept
... intent ΣI1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required)
Fixed Value: order
... code ΣI1..1CodeableConceptTask Type
Binding: TaskCode (example)
Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-request
..... display0..1stringRepresentation defined by the system
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... for ΣI1..1Reference(US Core Patient Profile)Member being queried
... authoredOn I1..1dateTimeTask Creation Date
... requester ΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
... owner ΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
... reasonCode I0..1CodeableConceptWhy task is needed
Binding: (unbound) (example)
.... text ΣI1..1stringPlain text representation of the concept
... reasonReference I0..1Reference(Claim | HRex Coverage Profile)Why task is needed
... input I1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:query I0..1BackboneElementRequested query
..... type I1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-query
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] I1..1stringquery value
.... input:code I0..1BackboneElementRequested data code
..... type I1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-code
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] I1..1CodeableConceptquery value
... output I0..*(Slice Definition)Information produced as part of task
Slice: Unordered, Open by pattern:type
.... output:data I0..*BackboneElementRequested data
..... type I1..1CodeableConceptLabel for output
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-value
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] I1..1Reference()data reference

doco Documentation for this format

This structure is derived from Task

Summary

Mandatory: 6 elements (3 nested mandatory elements)
Must-Support: 26 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Task.input is sliced based on the value of pattern:type
  • The element Task.output is sliced based on the value of pattern:type

Differential View

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
tdr-1: Must have exactly one input that is data-query or data-code
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
... basedOn S0..*Reference(Resource)Also known as Member identifier
... status S1..1codedraft | requested | received | accepted | +
Binding: HRex Task Status ValueSet (required)
... statusReason S0..1CodeableConceptReason for current status
.... text S1..1stringPlain text representation of the concept
.... text S1..1stringPlain text representation of the concept
... intent S1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: order
... code S1..1CodeableConceptTask Type
Required Pattern: At least the following
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-request
... for S1..1Reference(US Core Patient Profile)Member being queried
... authoredOn S1..1dateTimeTask Creation Date
... requester S1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
... owner S1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
... reasonCode S0..1CodeableConceptWhy task is needed
.... text S1..1stringPlain text representation of the concept
... reasonReference S0..1Reference(Claim | HRex Coverage Profile)Why task is needed
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:query S0..1BackboneElementRequested query
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-query
..... value[x] S1..1stringquery value
.... input:code S0..1BackboneElementRequested data code
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-code
..... value[x] S1..1CodeableConceptquery value
... output S0..*(Slice Definition)Information produced as part of task
Slice: Unordered, Open by pattern:type
.... output:data S0..*BackboneElementRequested data
..... type S1..1CodeableConceptLabel for output
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-value
..... value[x] S1..1Reference()data reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
tdr-1: Must have exactly one input that is data-query or data-code
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier I0..*IdentifierTask Instance Identifier
... instantiatesCanonical ΣI0..1canonical(ActivityDefinition)Formal definition of task
... instantiatesUri ΣI0..1uriFormal definition of task
... basedOn SΣI0..*Reference(Resource)Also known as Member identifier
... groupIdentifier ΣI0..1IdentifierRequisition or grouper id
... partOf ΣI0..*Reference(Task)Composite task
... status ?!SΣI1..1codedraft | requested | received | accepted | +
Binding: HRex Task Status ValueSet (required)
... statusReason SΣI0..1CodeableConceptReason for current status
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... businessStatus SΣI0..1CodeableConceptE.g. 'waiting on internal review'
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... intent SΣI1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required)
Fixed Value: order
... priority I0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required)
... code SΣI1..1CodeableConceptTask Type
Binding: TaskCode (example)
Required Pattern: At least the following
.... id0..1stringUnique id for inter-element referencing
.... extension0..*ExtensionAdditional content defined by implementations
.... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
..... version0..1stringVersion of the system - if relevant
..... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-request
..... display0..1stringRepresentation defined by the system
..... userSelected0..1booleanIf this coding was chosen directly by the user
.... text0..1stringPlain text representation of the concept
... description ΣI0..1stringHuman-readable explanation of task
... focus ΣI0..1Reference(Resource)What task is acting on
... for SΣI1..1Reference(US Core Patient Profile)Member being queried
... encounter ΣI0..1Reference(Encounter)Healthcare event during which this task originated
... executionPeriod ΣI0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
... performerType I0..*CodeableConceptRequested performer
Binding: ProcedurePerformerRoleCodes (preferred)
... owner SΣI1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
... location ΣI0..1Reference(Location)Where task occurs
... reasonCode SI0..1CodeableConceptWhy task is needed
Binding: (unbound) (example)
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣI0..*CodingCode defined by a terminology system
.... text SΣI1..1stringPlain text representation of the concept
... reasonReference SI0..1Reference(Claim | HRex Coverage Profile)Why task is needed
... insurance I0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note I0..*AnnotationComments made about the task
... relevantHistory I0..*Reference(Provenance)Key events in history of the Task
... restriction I0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... repetitions I0..1positiveIntHow many times to repeat
.... period I0..1PeriodWhen fulfillment sought
.... recipient I0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input SI1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type I1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
..... value[x] I1..1Content to use in performing the task
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... input:query SI0..1BackboneElementRequested query
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-query
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1stringquery value
.... input:code SI0..1BackboneElementRequested data code
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for the input
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-code
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1CodeableConceptquery value
... output SI0..*(Slice Definition)Information produced as part of task
Slice: Unordered, Open by pattern:type
.... output:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type I1..1CodeableConceptLabel for output
Binding: (unbound) (example)
..... value[x] I1..1Result of output
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... output:data SI0..*BackboneElementRequested data
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type SI1..1CodeableConceptLabel for output
Binding: (unbound) (example)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: data-value
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] SI1..1Reference()data reference

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Task.languagepreferredCommonLanguages
Max Binding: AllLanguages
Task.statusrequiredHRexTaskStatus
Task.statusReasonexample
Task.businessStatusexample
Task.intentrequiredFixed Value: order
Task.priorityrequiredRequestPriority
Task.codeexamplePattern: data-request
Task.performerTypepreferredProcedurePerformerRoleCodes
Task.reasonCodeexample
Task.input.typeexample
Task.input:query.typeexamplePattern: data-query
Task.input:code.typeexamplePattern: data-code
Task.output.typeexample
Task.output:data.typeexamplePattern: data-value

Constraints

IdPathDetailsRequirements
dom-2TaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.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.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-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-5TaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6TaskA resource should have narrative for robust management
: text.`div`.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
tdr-1TaskMust have exactly one input that is data-query or data-code
: input.type.where(coding.where(system='http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp' and (code='data-code' or code='data-query')).exists()).count()=1
tdr-2TaskTask statusReason SHALL be populated if status is 'rejected' or 'failed'
: (status = 'rejected' or status = 'failed') implies statusReason.exists()
tdr-3TaskTask output SHALL be populated if status is 'completed'
: (status = 'completed') implies output.exists()
ele-1Task.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.instantiatesCanonicalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.instantiatesUriAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.groupIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusReason.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.statusReason.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.statusReason.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusReason.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.businessStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.businessStatus.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.businessStatus.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.businessStatus.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.businessStatus.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.intentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.priorityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.forAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.executionPeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.authoredOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.lastModifiedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requesterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.performerTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.ownerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonCode.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.reasonCode.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.reasonCode.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonCode.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.insuranceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.relevantHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restrictionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.restriction.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.restriction.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.restriction.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.restriction.repetitionsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.recipientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.inputAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:queryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:query.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:query.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:query.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:query.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:query.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:query.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:code.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:code.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:code.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:code.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:code.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:code.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.outputAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output:dataAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output:data.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output:data.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output:data.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output:data.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output:data.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output:data.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

Notes:

A single profile is defined, although what elements are appropriate will vary depending on the stage of the Task’s life cycle. On initiation, the status would be ‘requested’ and there would not generally be a businessStatus or statusReason and certainly would not be any output. As execution progresses, the Task.status would be adjusted to reflect acceptance or rejection - and statusReason would typically be populated in the latter case. Once the Task gets underway, businessStatus might be filled in to help indicate progress/expected timelines. Finally, once the data becomes available, the status is changed to ‘completed’ and the outputs are linked. (In some cases, preliminary outputs might be linked prior to the Task becoming ‘completed’, though that would be unusual in the Da Vinci situation.)