description: Base StructureDefinition for QuestionnaireResponse Resource package_name: hl7.fhir.r2b.core derivation: specialization name: QuestionnaireResponse type: null elements: questionnaire: isModifier: false short: Form being answered type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.questionnaire} isSummary: true index: 1 encounter: isModifier: false short: Primary encounter during which the answers were collected type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.encounter} isSummary: true index: 7 item: isModifier: false short: Groups and questions index: 8 type: BackboneElement mustSupport: false array: true elements: linkId: isModifier: false short: Corresponding item within Questionnaire type: string mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.item.linkId} isSummary: false index: 9 text: isModifier: false short: Name for group or question text type: string mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.item.text} isSummary: false index: 10 subject: isModifier: false short: The subject this group's answers are about type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.item.subject} isSummary: false index: 11 answer: isModifier: false short: The response(s) to the question index: 12 comments: The value is nested because we cannot have a repeating structure that has variable type. type: BackboneElement mustSupport: false array: true elements: valueReference: isModifier: false short: Single-valued answer to the question index: 27 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueUri: isModifier: false short: Single-valued answer to the question index: 23 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: uri mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueTime: isModifier: false short: Single-valued answer to the question index: 21 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: time mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueDecimal: isModifier: false short: Single-valued answer to the question index: 16 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: decimal mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueQuantity: isModifier: false short: Single-valued answer to the question index: 26 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: Quantity mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false value: isModifier: false short: Single-valued answer to the question index: 14 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. mustSupport: false choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueInstant, valueTime, valueString, valueUri, valueAttachment, valueCoding, valueQuantity, valueReference] maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} isSummary: false item: elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse'] isModifier: false short: Nested groups and questions index: 28 mustSupport: false array: true maxLength: 0 base: {max: '*', min: 0, path: QuestionnaireResponse.item.answer.item} isSummary: false valueString: isModifier: false short: Single-valued answer to the question index: 22 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: string mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueBoolean: isModifier: false short: Single-valued answer to the question index: 15 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: boolean mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueInstant: isModifier: false short: Single-valued answer to the question index: 20 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: instant mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueDateTime: isModifier: false short: Single-valued answer to the question index: 19 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: dateTime mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueDate: isModifier: false short: Single-valued answer to the question index: 18 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: date mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueCoding: isModifier: false short: Single-valued answer to the question index: 25 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: Coding mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueInteger: isModifier: false short: Single-valued answer to the question index: 17 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: integer mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false valueAttachment: isModifier: false short: Single-valued answer to the question index: 24 comments: More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. type: Attachment mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: 'QuestionnaireResponse.item.answer.value[x]'} choiceOf: value isSummary: false maxLength: 0 base: {max: '*', min: 0, path: QuestionnaireResponse.item.answer} isSummary: false item: elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse'] isModifier: false short: Nested questionnaire response items index: 29 mustSupport: false array: true maxLength: 0 base: {max: '*', min: 0, path: QuestionnaireResponse.item.item} isSummary: false maxLength: 0 base: {max: '*', min: 0, path: QuestionnaireResponse.item} isSummary: false source: isModifier: false short: The person who answered the questions index: 6 comments: If not specified, no inference can be made about who provided the data. type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.source} isSummary: true author: isModifier: false short: Person who received and recorded the answers index: 4 comments: Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated. type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.author} isSummary: true status: isModifier: true short: in-progress | completed | amended index: 2 type: code mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.status} isSummary: true identifier: isModifier: false short: Unique id for this set of answers type: Identifier mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.identifier} isSummary: true index: 0 authored: isModifier: false short: Date this version was authored index: 5 comments: May be different from the update time of the resource itself, because that is the status of the collection and authoring. This element is optional to allow for systems that may not know the value, however it SHOULD be populated if possible. type: dateTime mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.authored} isSummary: true subject: isModifier: false short: The subject of the questions type: Reference mustSupport: false maxLength: 0 base: {max: '1', min: 0, path: QuestionnaireResponse.subject} isSummary: true index: 3 package_version: 1.4.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse base: http://hl7.org/fhir/StructureDefinition/DomainResource version: null required: [status]