Da Vinci - Documentation Templates and Rules
2.1.0 - STU 2.1

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

## Extension: Contained Reference

Official URL: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference | Version: 2.1.0
Standards status: Trial-use | Maturity Level: 2 | Computable Name: ContainedReference

Indicates that when filling a QuestionnaireResponse and selecting a reference, that the referenced resource should be included as a 'contained' resource within the QuestionnaireResponse

Context of Use

This extension may be used on the following element(s):

- Element ID QuestionnaireResponse.item.answer

Usage info

Usage:

- Use this Extension: DTR Questionnaire Response
- Examples for this Extension: Bundle/home-o2-questionnairepackage-bundle-2, Bundle/home-o2-questionnaireresponse-bundle, Parameters/NextQuestionInputParamsExample, Parameters/NextQuestionOutputParamsExample and QuestionnaireResponse/home-o2-questionnaireresponse

### Formal Views of Extension Content

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

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

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Contained Reference
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference"
value[x] |  | 1..1 | boolean | Contain the reference?
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Contained Reference
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference"
value[x] |  | 1..1 | boolean | Contain the reference?
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type boolean: Indicates that when filling a QuestionnaireResponse and selecting a reference, that the referenced resource should be included as a 'contained' resource within the QuestionnaireResponse

Maturity: 2

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Contained Reference
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference"
value[x] |  | 1..1 | boolean | Contain the reference?
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Contained Reference
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference"
value[x] |  | 1..1 | boolean | Contain the reference?
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type boolean: Indicates that when filling a QuestionnaireResponse and selecting a reference, that the referenced resource should be included as a 'contained' resource within the QuestionnaireResponse

Maturity: 2

Other representations of profile: CSV, Excel, Schematron