PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@3.2.0
    http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
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.
package_name: hl7.fhir.core
derivation: specialization
name: QuestionnaireResponse
type: QuestionnaireResponse
elements:
  questionnaire:
    short: Form being answered
    refers: ['http://hl7.org/fhir/StructureDefinition/Questionnaire']
    type: Reference
    isSummary: true
    index: 3
  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
    type: BackboneElement
    array: true
    index: 10
    elements:
      linkId: {short: Pointer to specific item from Questionnaire, type: string, index: 11}
      definition: {short: ElementDefinition - details for the item, type: uri, index: 12}
      text: {short: Name for group or question text, type: string, index: 13}
      subject:
        short: The subject this group's answers are about
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        index: 14
      answer:
        short: The response(s) to the question
        type: BackboneElement
        array: true
        index: 15
        elements:
          valueReference:
            short: Single-valued answer to the question
            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
            type: Reference
            choiceOf: value
            index: 29
          valueUri: {short: Single-valued answer to the question, type: uri, choiceOf: value, index: 25}
          valueTime: {short: Single-valued answer to the question, type: time, choiceOf: value, index: 23}
          valueDecimal: {short: Single-valued answer to the question, type: decimal, choiceOf: value, index: 19}
          valueQuantity: {short: Single-valued answer to the question, type: Quantity, choiceOf: value, index: 28}
          value:
            short: Single-valued answer to the question
            choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueTime, valueString, valueUri, valueAttachment, valueCoding, valueQuantity, valueReference]
            index: 17
          item:
            elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', elements, item]
            short: Nested groups and questions
            array: true
            index: 30
          valueString: {short: Single-valued answer to the question, type: string, choiceOf: value, index: 24}
          valueBoolean: {short: Single-valued answer to the question, type: boolean, choiceOf: value, index: 18}
          valueDateTime: {short: Single-valued answer to the question, type: dateTime, choiceOf: value, index: 22}
          valueDate: {short: Single-valued answer to the question, type: date, choiceOf: value, index: 21}
          valueCoding: {short: Single-valued answer to the question, type: Coding, choiceOf: value, index: 27}
          valueInteger: {short: Single-valued answer to the question, type: integer, choiceOf: value, index: 20}
          valueAttachment: {short: Single-valued answer to the question, type: Attachment, choiceOf: value, index: 26}
      item:
        elementReference: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', elements, item]
        short: Nested questionnaire response items
        array: true
        index: 31
    required: [linkId]
  source:
    short: The person who answered the questions
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    isSummary: true
    index: 9
  author:
    short: Person who received and recorded the answers
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    type: Reference
    isSummary: true
    index: 8
  status: {isModifier: true, short: in-progress | completed | amended | entered-in-error | stopped, type: code, isSummary: true, index: 4}
  identifier: {short: Unique id for this set of answers, type: Identifier, isSummary: true, index: 0}
  context:
    short: Encounter or Episode during which questionnaire was completed
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare']
    type: Reference
    isSummary: true
    index: 6
  basedOn:
    short: Request fulfilled by this QuestionnaireResponse
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest']
    type: Reference
    array: true
    isSummary: true
    index: 1
  authored: {short: Date the answers were gathered, type: dateTime, isSummary: true, index: 7}
  partOf:
    short: Part of this action
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/Procedure']
    type: Reference
    array: true
    isSummary: true
    index: 2
  subject:
    short: The subject of the questions
    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
    type: Reference
    isSummary: true
    index: 5
package_version: 3.2.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: null
required: [status]