Da Vinci - Documentation Templates and Rules
2.1.0 - STU 2.1 United States of America flag

Da Vinci - Documentation Templates and Rules, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-dtr/ and changes regularly. See the Directory of published versions

Resource Profile: DTR Log Questionnaire Errors Input Parameters

Official URL: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters Version: 2.1.0
Standards status: Trial-use Maturity Level: 2 Computable Name: DTRLogErrorsInputParameters

The Parameters profile used to define the inputs to the $log-questionnaire-errors operation.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for parameter SΣC 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
.... parameter:questionnaire ΣC 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: questionnaire
..... value[x] SΣC 1..1 canonical(Questionnaire) If parameter is a data type
ele-1: All FHIR elements must have a @value or children
.... parameter:outcome ΣC 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: operationOutcome
..... resource SΣC 1..1 OperationOutcome If parameter is a whole resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')

This structure is derived from Parameters

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... Slices for parameter S 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
.... parameter:questionnaire 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
..... name 1..1 string Name from the definition
Required Pattern: questionnaire
..... value[x] S 1..1 canonical(Questionnaire) If parameter is a data type
.... parameter:outcome 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
..... name 1..1 string Name from the definition
Required Pattern: operationOutcome
..... resource S 1..1 OperationOutcome If parameter is a whole resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')
NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter SΣC 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:questionnaire ΣC 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: questionnaire
..... value[x] SΣC 1..1 canonical(Questionnaire) If parameter is a data type
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:outcome ΣC 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: operationOutcome
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource SΣC 1..1 OperationOutcome If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Parameters.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')

This structure is derived from Parameters

Summary

Mandatory: 1 element(2 nested mandatory elements)
Must-Support: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

Maturity: 2

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for parameter SΣC 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
.... parameter:questionnaire ΣC 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: questionnaire
..... value[x] SΣC 1..1 canonical(Questionnaire) If parameter is a data type
ele-1: All FHIR elements must have a @value or children
.... parameter:outcome ΣC 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
ele-1: All FHIR elements must have a @value or children
inv-1: A parameter must have one and only one of (value, resource, part)
..... modifierExtension ?!Σ 0..* Extension Extensions 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
..... name Σ 1..1 string Name from the definition
ele-1: All FHIR elements must have a @value or children
Required Pattern: operationOutcome
..... resource SΣC 1..1 OperationOutcome If parameter is a whole resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')

Differential View

This structure is derived from Parameters

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... Slices for parameter S 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
.... parameter:questionnaire 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
..... name 1..1 string Name from the definition
Required Pattern: questionnaire
..... value[x] S 1..1 canonical(Questionnaire) If parameter is a data type
.... parameter:outcome 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
..... name 1..1 string Name from the definition
Required Pattern: operationOutcome
..... resource S 1..1 OperationOutcome If parameter is a whole resource

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Parameters C 0..* Parameters Operation Request or Response
dtr-1: At least one of 'order', 'questionnaire' and 'context' SHALL be present
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for parameter SΣC 1..* BackboneElement Operation Parameter
Slice: Unordered, Open by pattern:name
inv-1: A parameter must have one and only one of (value, resource, part)
.... parameter:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:questionnaire ΣC 0..* BackboneElement The Questionnaire generating the errors (The reference SHOULD be version-specific)
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: questionnaire
..... value[x] SΣC 1..1 canonical(Questionnaire) If parameter is a data type
..... resource ΣC 0..1 Resource If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter
.... parameter:outcome ΣC 0..* BackboneElement Operation Outcome associated with the Questionnaire/CQL
inv-1: A parameter must have one and only one of (value, resource, part)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... name Σ 1..1 string Name from the definition
Required Pattern: operationOutcome
..... value[x] ΣC 0..1 If parameter is a data type
...... valueBase64Binary base64Binary
...... valueBoolean boolean
...... valueCanonical canonical(Any)
...... valueCode code
...... valueDate date
...... valueDateTime dateTime
...... valueDecimal decimal
...... valueId id
...... valueInstant instant
...... valueInteger integer
...... valueMarkdown markdown
...... valueOid oid
...... valuePositiveInt positiveInt
...... valueString string
...... valueTime time
...... valueUnsignedInt unsignedInt
...... valueUri uri
...... valueUrl url
...... valueUuid uuid
...... valueAddress Address
...... valueAge Age
...... valueAnnotation Annotation
...... valueAttachment Attachment
...... valueCodeableConcept CodeableConcept
...... valueCoding Coding
...... valueContactPoint ContactPoint
...... valueCount Count
...... valueDistance Distance
...... valueDuration Duration
...... valueHumanName HumanName
...... valueIdentifier Identifier
...... valueMoney Money
...... valuePeriod Period
...... valueQuantity Quantity
...... valueRange Range
...... valueRatio Ratio
...... valueReference Reference(Any)
...... valueSampledData SampledData
...... valueSignature Signature
...... valueTiming Timing
...... valueContactDetail ContactDetail
...... valueContributor Contributor
...... valueDataRequirement DataRequirement
...... valueExpression Expression
...... valueParameterDefinition ParameterDefinition
...... valueRelatedArtifact RelatedArtifact
...... valueTriggerDefinition TriggerDefinition
...... valueUsageContext UsageContext
...... valueDosage Dosage
...... valueMeta Meta
..... resource SΣC 1..1 OperationOutcome If parameter is a whole resource
..... part Σ 0..* See parameter (Parameters) Named part of a multi-part parameter

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Parameters.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
dtr-1errorParametersAt least one of 'order', 'questionnaire' and 'context' SHALL be present
: parameter.exists(name='order' or name='questionnaire' or name='context')

This structure is derived from Parameters

Summary

Mandatory: 1 element(2 nested mandatory elements)
Must-Support: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Parameters.parameter

Maturity: 2

 

Other representations of profile: CSV, Excel, Schematron