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.
- Backends
- PostgreSQLElasticsearch
- Interactions
- CreateReadUpdatePatchDelete
- Search
- 11 of 11 parameters tested
Structure
| Element | Card. | Type | Description |
|---|---|---|---|
identifierΣ | 0..1 | Identifier | Unique id for this set of answers |
basedOnΣ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse |
partOfΣ | 0..* | Reference(Observation | Procedure) | Part of this action |
questionnaireΣ | 0..1 | canonical(Questionnaire) | Form being answered |
statusRequired?!Σ | 1..1 | code | in-progress | completed | amended | entered-in-error | stoppedBinding (required): questionnaire-answers-status |
subjectΣ | 0..1 | Reference(Resource) | The subject of the questions |
encounterΣ | 0..1 | Reference(Encounter) | Encounter created as part of |
authoredΣ | 0..1 | dateTime | Date the answers were gathered |
authorΣ | 0..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Person who received and recorded the answers |
sourceΣ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | The person who answered the questions |
item | 0..* | BackboneElement | Groups and questions |
linkIdRequired | 1..1 | string | Pointer to specific item from Questionnaire |
definition | 0..1 | uri | ElementDefinition - details for the item |
text | 0..1 | string | Name for group or question text |
answer | 0..* | BackboneElement | The response(s) to the question |
value[x] | 0..1 | boolean | decimal | integer | date | dateTime | time | string | uri | Attachment | Coding | Quantity | Reference(Resource) | Single-valued answer to the questionBinding (example): questionnaire-answers |
item | 0..* | Same as QuestionnaireResponse.item | Nested groups and questions |
item | 0..* | Same as QuestionnaireResponse.item | Nested questionnaire response items |
Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey
Search parameters
Query with GET [base]/QuestionnaireResponse?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.
| Parameter | Type | Description | PG | ES |
|---|---|---|---|---|
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.where(resolve() is Patient) | ||
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 |
PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet. The author of the resource Logical id of this artifact When the resource version last changed Profiles this resource claims to conform to Security Labels applied to this resource Identifies where the resource comes from Tags applied to this resource Derived from the R4B DefinitionCommon parameters on every resource (8)
_haste-health-authorreference _idtoken _lastUpdateddate _profileuri _securitytoken _sourceuri _tagtoken _typetoken