## Union of http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse and http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse-adapt

This is the set of resources that conform to either of the profiles US Core QuestionnaireResponse Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse) and DTR Questionnaire Response for adaptive form (http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse-adapt). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse | C | 0..* |  | left: US Core Profile based on SDC QuestionnaireResponse; right: Standard Questionnaire Response Constraints: sdcqr-1, sdcqr-2
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: ?? (preferred): A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained | S | 0..* |  | left: Contained, inline Resources; right: A structured set of questions
contained |  |  | Resource |
contained |  |  | Questionnaire(DTRQuestionnaireAdapt) |
extension |  | 0..* | Extension | Extension
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..1 | Identifier | Unique id for this set of answers
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action
questionnaire | S Σ | 1..1 | canonical(SDC Base Questionnaire(4.0.0)) {c} | Form being answered
extension |  | 0..* | Extension | Extension
value |  | 0..1 | string | Primitive value for canonical
status | ?!S Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped Binding: ?? (required): Lifecycle status of the questionnaire response.
subject | S Σ | 1..1 | Reference(US Core Patient Profile(7.0.0) S | Resource) | The subject of the questions
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
authored | S Σ | 1..1 | dateTime | Date the answers were gathered
author | S Σ | 0..1 | Reference(US Core Practitioner Profile(7.0.0) S | US Core Organization Profile(7.0.0) | US Core Patient Profile(7.0.0) | PractitionerRole | US Core Device Profile | US Core RelatedPerson Profile(7.0.0)), Reference(Device | CRD Patient(2.2.1) | US Core Practitioner Profile(7.0.0) | HRex PractitionerRole Profile(1.2.0) | CRD Organization(2.2.1) | RelatedPerson) | Person who received and recorded the answers
source | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
item | S C | 0..* | BackboneElement | Groups and questions Constraints: qrs-1
extension |  | 0..* | Extension | Extension
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | Pointer to specific item from Questionnaire
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 0..1 | string | Name for group or question text
answer | S | 0..* | BackboneElement | The response(s) to the question
extension |  | 0..* | Extension | Extension
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 0..1 |  | Single-valued answer to the question Binding: ?? (example): Code indicating the response provided for a question.
valueBoolean |  |  | boolean |
valueDate |  |  | date |
valueDateTime |  |  | dateTime |
valueTime |  |  | time |
valueDecimal |  |  | decimal S |
valueInteger |  |  | integer |
valueString |  |  | string S |
valueCoding |  |  | Coding S |
valueUri |  |  | uri |
valueQuantity |  |  | Quantity |
valueAttachment |  |  | Attachment |
valueReference |  |  | Reference(Any) |
item | S | 0..* |  | Nested groups and questions
item | S | 0..* |  | Nested questionnaire response items
Documentation for this format