> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# QuestionnaireResponse

> 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.

## Properties

| Name                | Required | Type                                                                                                                                                                                                                                                                                                                                                            | Description                                                    |
| ------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| identifier          | No       | [Identifier](/medical-api/fhir/data-types/identifier)                                                                                                                                                                                                                                                                                                           | Unique id for this set of answers                              |
| basedOn             | No       | Reference\<[CarePlan](/medical-api/fhir/resources/careplan) / [ServiceRequest](/medical-api/fhir/resources/servicerequest)>\[]                                                                                                                                                                                                                                  | Request fulfilled by this QuestionnaireResponse                |
| partOf              | No       | Reference\<[Observation](/medical-api/fhir/resources/observation) / [Procedure](/medical-api/fhir/resources/procedure)>\[]                                                                                                                                                                                                                                      | Part of this action                                            |
| questionnaire       | No       | canonical                                                                                                                                                                                                                                                                                                                                                       | Form being answered                                            |
| status              | Yes      | code                                                                                                                                                                                                                                                                                                                                                            | in-progress / completed / amended / entered-in-error / stopped |
| subject             | No       | Reference\<Resource>                                                                                                                                                                                                                                                                                                                                            | The subject of the questions                                   |
| encounter           | No       | Reference\<[Encounter](/medical-api/fhir/resources/encounter)>                                                                                                                                                                                                                                                                                                  | Encounter created as part of                                   |
| authored            | No       | dateTime                                                                                                                                                                                                                                                                                                                                                        | Date the answers were gathered                                 |
| author              | No       | Reference\<[Device](/medical-api/fhir/resources/device) / [Practitioner](/medical-api/fhir/resources/practitioner) / [PractitionerRole](/medical-api/fhir/resources/practitionerrole) / [Patient](/medical-api/fhir/resources/patient) / [RelatedPerson](/medical-api/fhir/resources/relatedperson) / [Organization](/medical-api/fhir/resources/organization)> | Person who received and recorded the answers                   |
| source              | No       | Reference\<[Patient](/medical-api/fhir/resources/patient) / [Practitioner](/medical-api/fhir/resources/practitioner) / [PractitionerRole](/medical-api/fhir/resources/practitionerrole) / [RelatedPerson](/medical-api/fhir/resources/relatedperson)>                                                                                                           | The person who answered the questions                          |
| item                | No       | QuestionnaireResponseItem                                                                                                                                                                                                                                                                                                                                       | Groups and questions                                           |
| - id                | No       | string                                                                                                                                                                                                                                                                                                                                                          | Unique id for inter-element referencing                        |
| - extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                                                                                                                                          | Additional content defined by implementations                  |
| - modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                                                                                                                                          | Extensions that cannot be ignored even if unrecognized         |
| - linkId            | Yes      | string                                                                                                                                                                                                                                                                                                                                                          | Pointer to specific item from Questionnaire                    |
| - definition        | No       | uri                                                                                                                                                                                                                                                                                                                                                             | ElementDefinition - details for the item                       |
| - text              | No       | string                                                                                                                                                                                                                                                                                                                                                          | Name for group or question text                                |
| - answer            | No       | QuestionnaireResponseItemAnswer                                                                                                                                                                                                                                                                                                                                 | The response(s) to the question                                |
| - id                | No       | string                                                                                                                                                                                                                                                                                                                                                          | Unique id for inter-element referencing                        |
| - extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                                                                                                                                          | Additional content defined by implementations                  |
| - modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                                                                                                                                          | Extensions that cannot be ignored even if unrecognized         |
| - value\[x]         | No       | boolean, decimal, integer, date, dateTime, time, string, uri, [Attachment](/medical-api/fhir/data-types/attachment), [Coding](/medical-api/fhir/data-types/coding), [Quantity](/medical-api/fhir/data-types/quantity), Reference\<Resource>                                                                                                                     | Single-valued answer to the question                           |
| - item              | No       | \[]                                                                                                                                                                                                                                                                                                                                                             | Nested groups and questions                                    |
| - item              | No       | \[]                                                                                                                                                                                                                                                                                                                                                             | Nested questionnaire response items                            |

## Search Parameters

| Name          | Type      | Description                                                                     | Expression                          |
| ------------- | --------- | ------------------------------------------------------------------------------- | ----------------------------------- |
| author        | reference | The author of the questionnaire response                                        | QuestionnaireResponse.author        |
| authored      | date      | When the questionnaire response was last changed                                | QuestionnaireResponse.authored      |
| based-on      | reference | Plan/proposal/order fulfilled by this questionnaire response                    | QuestionnaireResponse.basedOn       |
| encounter     | reference | Encounter associated with the questionnaire response                            | QuestionnaireResponse.encounter     |
| identifier    | token     | The unique identifier for the questionnaire response                            | QuestionnaireResponse.identifier    |
| part-of       | reference | Procedure or observation this questionnaire response was performed as a part of | QuestionnaireResponse.partOf        |
| patient       | reference | The patient that is the subject of the questionnaire response                   | QuestionnaireResponse.subject       |
| questionnaire | reference | The questionnaire the answers are provided for                                  | QuestionnaireResponse.questionnaire |
| source        | reference | The individual providing the information reflected in the questionnaire respose | QuestionnaireResponse.source        |
| status        | token     | The status of the questionnaire response                                        | QuestionnaireResponse.status        |
| subject       | reference | The subject of the questionnaire response                                       | QuestionnaireResponse.subject       |

## Inherited Properties

| Name              | Required | Type                                                   | Description                                            |
| ----------------- | -------- | ------------------------------------------------------ | ------------------------------------------------------ |
| id                | No       | string                                                 | Logical id of this artifact                            |
| meta              | No       | [Meta](/medical-api/fhir/data-types/meta)              | Metadata about the resource                            |
| implicitRules     | No       | uri                                                    | A set of rules under which this content was created    |
| language          | No       | code                                                   | Language of the resource content                       |
| text              | No       | [Narrative](/medical-api/fhir/data-types/narrative)    | Text summary of the resource, for human interpretation |
| contained         | No       | Resource\[]                                            | Contained, inline Resources                            |
| extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations          |
| modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored                      |

To view the FHIR specification for this resource, see [QuestionnaireResponse](https://www.hl7.org/fhir/StructureDefinition/QuestionnaireResponse).
