http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|4.0.1

A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.
description: A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.
derivation: specialization
name: QuestionnaireResponse
type: QuestionnaireResponse
elements:
  questionnaire: {short: Form being answered, isSummary: true, index: 3}
  encounter: {short: Encounter created as part of, isSummary: true, index: 6}
  item:
    constraint:
      qrs-1: {human: Nested item can't be beneath both item and answer, severity: error, expression: (answer.exists() and item.exists()).not()}
    short: Groups and questions
    array: true
    index: 10
    elements:
      linkId: {short: Pointer to specific item from Questionnaire, index: 11}
      definition: {short: ElementDefinition - details for the item, index: 12}
      text: {short: Name for group or question text, index: 13}
      answer:
        short: The response(s) to the question
        array: true
        index: 14
        elements:
          value:
            short: Single-valued answer to the question
            choices: []
            index: 16
          item:
            elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', elements, item]
            short: Nested groups and questions
            array: true
            index: 17
      item:
        elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', elements, item]
        short: Nested questionnaire response items
        array: true
        index: 18
    required: [linkId]
  source: {short: The person who answered the questions, isSummary: true, index: 9}
  author: {short: Person who received and recorded the answers, isSummary: true, index: 8}
  status:
    isModifier: true
    short: in-progress | completed | amended | entered-in-error | stopped
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1'}
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    isSummary: true
    index: 4
  identifier: {short: Unique id for this set of answers, isSummary: true, index: 0}
  basedOn: {short: Request fulfilled by this QuestionnaireResponse, array: true, isSummary: true, index: 1}
  authored: {short: Date the answers were gathered, isSummary: true, index: 7}
  partOf: {short: Part of this action, array: true, isSummary: true, index: 2}
  subject: {short: The subject of the questions, isSummary: true, index: 5}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [status]