Union of http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request and http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request

This is the set of resources that conform to either of the profiles CDex Task Data Request Profile (http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request) and CDex Task Data Request Profile (http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task C0..*A task to be performed
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
inv-1: Last modified date must be greater than or equal to authored-on date.
cdex-7: If code = "data-request-code", must have one "code" input.
cdex-12: If code = "data-request-query", must have one "query" input.
cdex-8: If code = "data-request-questionnaire", must have one "questionnaire" input.
cdex-9: Must have exactly one input that is data-query or data-code or questionnaire
tdr-2: Task statusReason SHALL be populated if status is 'rejected' or 'failed'
tdr-3: Task output SHALL be populated if status is 'completed'
cdex-11: If code = "data-request-questionnaire" and status = "completed", should have one "questionnaire-response" output referencing the QuestionnaireResponse.
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... versionId Σ0..1idVersion specific identifier
ele-1: All FHIR elements must have a @value or children
.... lastUpdated Σ0..1instantWhen the resource version last changed
ele-1: All FHIR elements must have a @value or children
.... source Σ0..1uriIdentifies where the resource comes from
ele-1: All FHIR elements must have a @value or children
.... profile Σ0..*canonical(StructureDefinition)Profiles this resource claims to conform to
ele-1: All FHIR elements must have a @value or children
.... security Σ0..*CodingSecurity Labels applied to this resource
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
.... tag Σ0..*CodingTags applied to this resource
Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".


ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... system Σ0..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
..... code Σ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier S0..*IdentifierTask Instance Identifier
ele-1: All FHIR elements must have a @value or children
... instantiatesCanonical Σ0..1canonical(ActivityDefinition)Formal definition of task
ele-1: All FHIR elements must have a @value or children
... instantiatesUri Σ0..1uriFormal definition of task
ele-1: All FHIR elements must have a @value or children
... basedOn SΣ0..*Reference(Resource)Authorization for data request
ele-1: All FHIR elements must have a @value or children
... groupIdentifier Σ0..1IdentifierRequisition or grouper id
ele-1: All FHIR elements must have a @value or children
... partOf Σ0..*Reference(Task)Composite task
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codedraft | requested | received | accepted | +
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
... statusReason SΣ0..1CodeableConceptReason for current status
Binding Description (No ValueSet): (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.


ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding Σ0..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
.... text SΣ1..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... businessStatus SΣ0..1CodeableConceptFor example, 'waiting on internal review'
Binding Description (No ValueSet): (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc.


ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding Σ0..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
.... text SΣ1..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... intent SΣ1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order.


ele-1: All FHIR elements must have a @value or children
... priority 0..1coderoutine | urgent | asap | stat
Binding: ?? (required): The task's priority.


ele-1: All FHIR elements must have a @value or children
... code SΣ1..1CodeableConceptleft: data-request-code | data-request-query | data-request-questionnaire; right: data-request-query | data-request-code | data-request-questionnaire
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding SΣ1..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... system SΣ0..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
..... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
.... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... description Σ0..1stringHuman-readable explanation of task
ele-1: All FHIR elements must have a @value or children
... for SΣ1..1Reference(US Core Patient Profile)Member (i.e., patient) being queried
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier SΣ0..1IdentifierPatient Member ID
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... encounter Σ0..1Reference(Encounter)Healthcare event during which this task originated
ele-1: All FHIR elements must have a @value or children
... executionPeriod Σ0..1PeriodStart and end time of execution
ele-1: All FHIR elements must have a @value or children
... authoredOn S1..1dateTimeTask Creation Date
ele-1: All FHIR elements must have a @value or children
... lastModified Σ0..1dateTimeTask Last Modified Date
ele-1: All FHIR elements must have a @value or children
... requester SΣ1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is asking for data
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier SΣ0..1IdentifierData Consumer ID
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... performerType 0..*CodeableConceptRequested performer
Binding: ?? (preferred): The type(s) of task performers allowed.


ele-1: All FHIR elements must have a @value or children
... owner SΣ1..1Reference(US Core Organization Profile | US Core Practitioner Profile)Who is being asked for data
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier SΣ0..1IdentifierProvider ID
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... location Σ0..1Reference(Location)Where task occurs
ele-1: All FHIR elements must have a @value or children
... reasonCode S0..1CodeableConceptWhy task is needed
Binding Description (No ValueSet): (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.


ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding Σ0..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
.... text SΣ1..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... reasonReference S0..1Reference(Claim | HRex Coverage Profile)Why task is needed
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier SΣ0..1IdentifierCoverage or Claim ID
ele-1: All FHIR elements must have a @value or children
.... display Σ0..1stringText alternative for the resource
ele-1: All FHIR elements must have a @value or children
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
ele-1: All FHIR elements must have a @value or children
... note 0..*AnnotationComments made about the task
ele-1: All FHIR elements must have a @value or children
... relevantHistory 0..*Reference(Provenance)Key events in history of the Task
ele-1: All FHIR elements must have a @value or children
... restriction 0..1BackboneElementConstraints on fulfillment tasks
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... repetitions 0..1positiveIntHow many times to repeat
ele-1: All FHIR elements must have a @value or children
.... period 0..1PeriodWhen fulfillment sought
ele-1: All FHIR elements must have a @value or children
.... recipient 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization)For whom is fulfillment sought?
ele-1: All FHIR elements must have a @value or children
... input S1..*BackboneElementInformation used to perform task
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 1..1CodeableConceptLabel for the input
Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.


ele-1: All FHIR elements must have a @value or children
.... value[x] 1..1Content to use in performing the task
ele-1: All FHIR elements must have a @value or children
..... 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 S0..*BackboneElementInformation produced as part of task
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 1..1CodeableConceptLabel for output
Binding Description (No ValueSet): (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.


ele-1: All FHIR elements must have a @value or children
.... value[x] 1..1Result of output
ele-1: All FHIR elements must have a @value or children
..... 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

doco Documentation for this format