# QuestionnaireResponse

Canonical page: https://docs.ovok.com/api/fhir/r4/questionnaire-response

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.

These interaction paths describe standard FHIR R4 patterns. Availability can depend on the API capabilities enabled for your Ovok project.

| **Interaction** | **Method** | **Path** |
| --- | --- | --- |
| Read | `GET` | `/fhir/R4/QuestionnaireResponse/[id]` |
| Vread | `GET` | `/fhir/R4/QuestionnaireResponse/[id]/_history/[vid]` |
| Update | `PUT` | `/fhir/R4/QuestionnaireResponse/[id]` |
| Patch | `PATCH` | `/fhir/R4/QuestionnaireResponse/[id]` |
| Delete | `DELETE` | `/fhir/R4/QuestionnaireResponse/[id]` |
| Create | `POST` | `/fhir/R4/QuestionnaireResponse` |
| Search | `GET` | `/fhir/R4/QuestionnaireResponse` |
| History | `GET` | `/fhir/R4/QuestionnaireResponse/[id]/_history` |

## Top-level elements [#top-level-elements]

| **Element** | **Type** | **Cardinality** | **Description** |
| --- | --- | --- | --- |
| <span id="element-id"></span>`id` | [string](/fhir-elements/primitive/string) | `0..1` | Logical id of this artifact |
| <span id="element-meta"></span>`meta` | [Meta](/fhir-elements/complex/meta) | `0..1` | Metadata about the resource |
| <span id="element-implicit-rules"></span>`implicitRules` | [uri](/fhir-elements/primitive/uri) | `0..1` | A set of rules under which this content was created |
| <span id="element-language"></span>`language` | [code](/fhir-elements/primitive/code) | `0..1` | Language of the resource content |
| <span id="element-text"></span>`text` | [Narrative](/fhir-elements/complex/narrative) | `0..1` | Text summary of the resource, for human interpretation |
| <span id="element-contained"></span>`contained` | [Resource](/fhir-elements/foundation/resource) | `0..*` | Contained, inline Resources |
| <span id="element-extension"></span>`extension` | [Extension](/fhir-elements/complex/extension) | `0..*` | Additional content defined by implementations |
| <span id="element-modifier-extension"></span>`modifierExtension` | [Extension](/fhir-elements/complex/extension) | `0..*` | Extensions that cannot be ignored |
| <span id="element-identifier"></span>`identifier` | [Identifier](/fhir-elements/complex/identifier) | `0..1` | Unique id for this set of answers |
| <span id="element-based-on"></span>`basedOn` | [Reference](/fhir-elements/complex/reference) | `0..*` | Request fulfilled by this QuestionnaireResponse |
| <span id="element-part-of"></span>`partOf` | [Reference](/fhir-elements/complex/reference) | `0..*` | Part of this action |
| <span id="element-questionnaire"></span>`questionnaire` | [canonical](/fhir-elements/primitive/canonical) | `0..1` | Form being answered |
| <span id="element-status"></span>`status` | [code](/fhir-elements/primitive/code) | `1..1` | in-progress \| completed \| amended \| entered-in-error \| stopped |
| <span id="element-subject"></span>`subject` | [Reference](/fhir-elements/complex/reference) | `0..1` | The subject of the questions |
| <span id="element-encounter"></span>`encounter` | [Reference](/fhir-elements/complex/reference) | `0..1` | Encounter created as part of |
| <span id="element-authored"></span>`authored` | [dateTime](/fhir-elements/primitive/date-time) | `0..1` | Date the answers were gathered |
| <span id="element-author"></span>`author` | [Reference](/fhir-elements/complex/reference) | `0..1` | Person who received and recorded the answers |
| <span id="element-source"></span>`source` | [Reference](/fhir-elements/complex/reference) | `0..1` | The person who answered the questions |
| <span id="element-item"></span>`item` | [BackboneElement](/fhir-elements/complex/backbone-element) | `0..*` | Groups and questions |

## Resource-specific search parameters [#resource-specific-search-parameters]

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| `author` | reference | The author of the questionnaire response |
| `authored` | date | When the questionnaire response was last changed |
| `based-on` | reference | Plan/proposal/order fulfilled by this questionnaire response |
| `encounter` | reference | Encounter associated with the questionnaire response |
| `identifier` | token | The unique identifier for the questionnaire response |
| `item-subject` | reference | Allows searching for QuestionnaireResponses by item value where the item has isSubject=true |
| `part-of` | reference | Procedure or observation this questionnaire response was performed as a part of |
| `patient` | reference | The patient that is the subject of the questionnaire response |
| `questionnaire` | reference | The questionnaire the answers are provided for |
| `source` | reference | The individual providing the information reflected in the questionnaire respose |
| `status` | token | The status of the questionnaire response |
| `subject` | reference | The subject of the questionnaire response |

## Reference [#reference]

Official FHIR R4 spec: [QuestionnaireResponse](https://hl7.org/fhir/R4/questionnaireresponse.html).  
Maturity: Trial Use 3 (FMM 3).
