QuestionnaireResponse resource implementation guidance
Important: This site is under active development by NHS Digital and is intended to provide all the technical resources you need to successfully develop applications using the FHIR® CDS API. This project is being developed using an agile methodology so iterative updates to content will be added on a regular basis.
Warning: This site is provided for information only and is intended for those engaged with NHS Digital. It is advised not to develop against these specifications until a formal announcement has been made.
QuestionnaireResponse: Implementation Guidance
Usage
The responses to a Questionnaire
sent by the CDSS are communicated back by the EMS using the QuestionnaireResponse resource.
The EMS will present the question and the set of possible responses received from the CDSS to the user during an ongoing clinical evaluation process and any answers from the user will be used to populate a QuestionnaireResponse
.
Detailed implementation guidance for a QuestionnaireResponse
resource in the CDS context is given below:
Name | Cardinality | Type | FHIR Documentation | CDS Implementation Guidance |
---|---|---|---|---|
identifier |
0..1 |
Identifier | Unique id for this set of answers | |
basedOn |
0..* |
Reference | (ReferralRequest | CarePlan | ProcedureRequest) |
Request fulfilled by this QuestionnaireResponse | |
parent |
0..* |
Reference | (Observation | Procedure) |
Part of this action | |
questionnaire |
0..1 |
Reference | (Questionnaire) |
Form being answered | This MUST be populated with a reference to the Questionnaire to which this QuestionnaireResponse is responding. |
status |
1..1 |
code | in-progress | completed | amended | entered-in-error | stopped QuestionnaireResponseStatus (Required). | This MUST be populated either with 'amended' or 'completed'. |
subject |
0..1 |
Reference(Any) | The subject of the questions | This MAY be populated with a reference to the Patient resource. |
context |
0..1 |
Reference | (Encounter | EpisodeOfCare) |
Encounter or Episode during which questionnaire was completed | This MUST be populated with the Encounter for this journey, which is the same as the ServiceDefinition.$evaluate.encounter
|
authored |
0..1 |
dateTime | Date the answers were gathered | This SHOULD be populated with the date and/or time that this set of answers was entered or last changed. |
author |
0..1 |
Reference | (Device | Practitioner | Patient | RelatedPerson) |
Person who received and recorded the answers | |
source |
0..1 |
Reference | (Patient | Practitioner | RelatedPerson) |
The person who answered the questions | |
item |
0..* |
BackboneElement | Groups and questions | The population of this element and its children MUST reflect the item nesting in the Questionnaire to which this QuestionnaireResponse is responding. |
item.linkId |
1..1 |
string | Pointer to specific item from Questionnaire | |
item.definition |
0..1 |
uri | ElementDefinition - details for the item | |
item.text |
0..1 |
string | Name for group or question text | |
item.subject |
1..1 |
Reference | (Any) | The subject this group's answers are about | |
item.answer |
0..* |
BackboneElement | The response(s) to the question | |
item.answer.value[x] |
0..1 |
boolean | decimal | integer | date | dateTime | time | string | uri | Attachment | Coding | Quantity | Reference(Any) |
Single-valued answer to the question Questionnaire Answer Codes (Example) | |
answer.item |
0..* |
BackboneElement | Nested groups and questions | |
item.item |
0..* |
BackboneElement | Nested questionnaire response items |