Skip to main content

QuestionnaireResponse

ResourceClinical · DiagnosticsTrial useMaturity 3

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.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
11 of 11 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..1IdentifierUnique 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..1canonical(Questionnaire)Form being answered
statusRequired?!Σ
1..1codein-progress | completed | amended | entered-in-error | stoppedBinding (required): questionnaire-answers-status
subjectΣ
0..1Reference(Resource)The subject of the questions
encounterΣ
0..1Reference(Encounter)Encounter created as part of
authoredΣ
0..1dateTimeDate the answers were gathered
authorΣ
0..1Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)Person who received and recorded the answers
sourceΣ
0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson)The person who answered the questions
item
0..*BackboneElementGroups and questions
linkIdRequired
1..1stringPointer to specific item from Questionnaire
definition
0..1uriElementDefinition - details for the item
text
0..1stringName for group or question text
answer
0..*BackboneElementThe response(s) to the question
value[x]
0..1boolean | 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.itemNested groups and questions
item
0..*Same as QuestionnaireResponse.itemNested 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.

ParameterTypeDescriptionPGES
authorreference

The author of the questionnaire response

QuestionnaireResponse.author
authoreddate

When the questionnaire response was last changed

QuestionnaireResponse.authored
based-onreference

Plan/proposal/order fulfilled by this questionnaire response

QuestionnaireResponse.basedOn
encounterreference

Encounter associated with the questionnaire response

QuestionnaireResponse.encounter
identifiertoken

The unique identifier for the questionnaire response

QuestionnaireResponse.identifier
part-ofreference

Procedure or observation this questionnaire response was performed as a part of

QuestionnaireResponse.partOf
patientreference

The patient that is the subject of the questionnaire response

QuestionnaireResponse.subject.where(resolve() is Patient)
questionnairereference

The questionnaire the answers are provided for

QuestionnaireResponse.questionnaire
sourcereference

The individual providing the information reflected in the questionnaire respose

QuestionnaireResponse.source
statustoken

The status of the questionnaire response

QuestionnaireResponse.status
subjectreference

The subject of the questionnaire response

QuestionnaireResponse.subject

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition