Da Vinci - Documentation Templates and Rules
2.2.0 - STU 2.2

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.2.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 Questionnaire Package Input Parameters

Official URL: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-qpackage-input-parameters | Version: 2.2.0 | Highlight text changes?
Standards status: Trial-use Active as of 2026-03-27 | Maturity Level: 2 | Computable Name: DTRQuestionnairePackageInputParameters

The Parameters profile used to define the inputs of the $questionnaire-package operation (also see 'Retrieving Questionnaire Packages').
If both orders and a context id are present, then the context id can be used to link to additional information retrieved during CRD and to expedite re-processing of which Questionnaires are needed. However, the system should check that the passed orders are the same as was processed at CRD time before presuming that the questionnaires needed will be the same and if the orders have changed, or there's a possibility that the rules governing which Questionnaires are needed might have changed, the system SHOULD re-check to determine the needed Questionnaires.§prof-1 If specific Questionnaires are requested as part of the DTR invocation, such additional checking is not expected.

Usages:

- Examples for this Profile: Parameters/QuestionnairePackageInputParamsExample

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response Constraints: dtr-1
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 Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
parameter:coverage | S Σ C | 1..1 | BackboneElement | Operation Parameter Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: coverage
resource | S | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
parameter:order | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: order
resource | S Σ C | 1..1 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
parameter:questionnaire | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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(DTR Base Questionnaire) | If parameter is a data type
parameter:context | S Σ C | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: context
value[x] | S Σ C | 1..1 | string | If parameter is a data type
parameter:changedsince | S Σ C | 0..1 | BackboneElement | When the Questionnaire package was last retrieved Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: changedsince
value[x] | S Σ C | 1..1 | instant | If parameter is a data type
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
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')`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:coverage, Parameters.parameter:order, Parameters.parameter:questionnaire, Parameters.parameter:context, Parameters.parameter:changedsince | A parameter must have one and only one of (value, resource, part) | `(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response
Slices for parameter | S | 1..* | BackboneElement | Operation Parameter Slice: Unordered, Open by pattern:name
parameter:coverage | S | 1..1 | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: coverage
resource | S | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
parameter:order | S | 0..* | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: order
resource | S | 1..1 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
parameter:questionnaire | S | 0..* | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: questionnaire
value[x] | S | 1..1 | canonical(DTR Base Questionnaire) | If parameter is a data type
parameter:context | S | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context
name |  | 1..1 | string | Name from the definition Required Pattern: context
value[x] | S | 1..1 | string | If parameter is a data type
parameter:changedsince | S | 0..1 | BackboneElement | When the Questionnaire package was last retrieved
name |  | 1..1 | string | Name from the definition Required Pattern: changedsince
value[x] | S | 1..1 | instant | If parameter is a data type
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response Constraints: dtr-1
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 Constraints: inv-1
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:coverage | S Σ C | 1..1 | BackboneElement | Operation Parameter Constraints: inv-1
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: coverage
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 | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:order | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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: order
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 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:questionnaire | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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(DTR Base 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:context | S Σ C | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context Constraints: inv-1
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: context
value[x] | S Σ C | 1..1 | string | 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:changedsince | S Σ C | 0..1 | BackboneElement | When the Questionnaire package was last retrieved Constraints: inv-1
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: changedsince
value[x] | S Σ C | 1..1 | instant | 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
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Parameters.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
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')`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:coverage, Parameters.parameter:order, Parameters.parameter:questionnaire, Parameters.parameter:context, Parameters.parameter:changedsince | A parameter must have one and only one of (value, resource, part) | `(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))`

Summary

Mandatory: 3 elements(4 nested mandatory elements)
Must-Support: 11 elements

Structures

This structure refers to these other structures:

- CRD Coverage (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage|2.2.1)
- CRD Base Appointment (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-base|2.2.1)
- CRD Encounter (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter|2.2.1)
- CRD Communication Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest|2.2.1)
- CRD Device Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest|2.2.1)
- CRD Medication Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest|2.2.1)
- CRD Nutrition Order (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder|2.2.1)
- CRD Service Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest|2.2.1)
- CRD Vision Prescription (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription|2.2.1)
- DTR Base Questionnaire (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-base-questionnaire)

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 Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response Constraints: dtr-1
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 Constraints: inv-1
parameter:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition
parameter:coverage | S Σ C | 1..1 | BackboneElement | Operation Parameter Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: coverage
resource | S | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
parameter:order | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: order
resource | S Σ C | 1..1 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
parameter:questionnaire | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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(DTR Base Questionnaire) | If parameter is a data type
parameter:context | S Σ C | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: context
value[x] | S Σ C | 1..1 | string | If parameter is a data type
parameter:changedsince | S Σ C | 0..1 | BackboneElement | When the Questionnaire package was last retrieved Constraints: inv-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
name | Σ | 1..1 | string | Name from the definition Required Pattern: changedsince
value[x] | S Σ C | 1..1 | instant | If parameter is a data type
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
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')`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:coverage, Parameters.parameter:order, Parameters.parameter:questionnaire, Parameters.parameter:context, Parameters.parameter:changedsince | A parameter must have one and only one of (value, resource, part) | `(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))`

Differential View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response
Slices for parameter | S | 1..* | BackboneElement | Operation Parameter Slice: Unordered, Open by pattern:name
parameter:coverage | S | 1..1 | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: coverage
resource | S | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
parameter:order | S | 0..* | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: order
resource | S | 1..1 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
parameter:questionnaire | S | 0..* | BackboneElement | Operation Parameter
name |  | 1..1 | string | Name from the definition Required Pattern: questionnaire
value[x] | S | 1..1 | canonical(DTR Base Questionnaire) | If parameter is a data type
parameter:context | S | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context
name |  | 1..1 | string | Name from the definition Required Pattern: context
value[x] | S | 1..1 | string | If parameter is a data type
parameter:changedsince | S | 0..1 | BackboneElement | When the Questionnaire package was last retrieved
name |  | 1..1 | string | Name from the definition Required Pattern: changedsince
value[x] | S | 1..1 | instant | If parameter is a data type
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression

Snapshot ViewView

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Parameters | C | 0..* | Parameters | Operation Request or Response Constraints: dtr-1
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 Constraints: inv-1
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:coverage | S Σ C | 1..1 | BackboneElement | Operation Parameter Constraints: inv-1
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: coverage
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 | 1..1 | CRDCoverage(2.2.1) | Insurance or medical plan or a payment agreement
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:order | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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: order
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 |  | One or more Order resource instances, e.g., DeviceRequest, ServiceRequest, MedicationRequest, ... Encounter, Appointment, or prior-auth Claim, etc.
resource |  |  | Appointment(CRDAppointmentBase) |
resource |  |  | Encounter(CRDEncounter) |
resource |  |  | CommunicationRequest(CRDCommunicationRequest) |
resource |  |  | DeviceRequest(CRDDeviceRequest) |
resource |  |  | MedicationRequest(CRDMedicationRequest) |
resource |  |  | NutritionOrder(CRDNutritionOrder) |
resource |  |  | ServiceRequest(CRDServiceRequest) |
resource |  |  | SupplyRequest |
resource |  |  | VisionPrescription(CRDVisionPrescription) |
part | Σ | 0..* | See parameter (Parameters) | Named part of a multi-part parameter
parameter:questionnaire | S Σ C | 0..* | BackboneElement | Operation Parameter Constraints: inv-1
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(DTR Base 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:context | S Σ C | 0..1 | BackboneElement | CRD, CDex, or PAS-provided context Constraints: inv-1
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: context
value[x] | S Σ C | 1..1 | string | 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:changedsince | S Σ C | 0..1 | BackboneElement | When the Questionnaire package was last retrieved Constraints: inv-1
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: changedsince
value[x] | S Σ C | 1..1 | instant | 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
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Parameters.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
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')`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
inv-1 | error | Parameters.parameter, Parameters.parameter:coverage, Parameters.parameter:order, Parameters.parameter:questionnaire, Parameters.parameter:context, Parameters.parameter:changedsince | A parameter must have one and only one of (value, resource, part) | `(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))`

Summary

Mandatory: 3 elements(4 nested mandatory elements)
Must-Support: 11 elements

Structures

This structure refers to these other structures:

- CRD Coverage (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage|2.2.1)
- CRD Base Appointment (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-appointment-base|2.2.1)
- CRD Encounter (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter|2.2.1)
- CRD Communication Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-communicationrequest|2.2.1)
- CRD Device Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest|2.2.1)
- CRD Medication Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest|2.2.1)
- CRD Nutrition Order (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder|2.2.1)
- CRD Service Request (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-servicerequest|2.2.1)
- CRD Vision Prescription (http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-visionprescription|2.2.1)
- DTR Base Questionnaire (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-base-questionnaire)

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