Da Vinci - Documentation Templates and Rules
2.1.0 - STU 2.1

Publication Build: This will be filled in by the publication tooling

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

- Examples for this Resource Profile: Parameters/LogQuestionnaireErrorsInputParamsExample

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At least one of 'order', 'questionnaire' and 'context' SHALL be present : parameter.exists(name='order' or name='questionnaire' or name='context') |

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Parameters.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At least one of 'order', 'questionnaire' and 'context' SHALL be present : parameter.exists(name='order' or name='questionnaire' or name='context') |

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Parameters.language | preferred | CommonLanguages `http://hl7.org/fhir/ValueSet/languages` from the FHIR Standard
Additional Bindings | Purpose
AllLanguages | Max Binding

#### Constraints

Id | Grade | Path(s) | Details | Requirements
dtr-1 | error | Parameters | At 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