eHealth Infrastructure (v2020.7)

StructureDefinition: ehealth-questionnaireresponse

Introduction

QuestionnaireResponse provides a complete or partial list of answers to a set of questions filled when responding to a questionnaire.

Scope and Usage

Some activities may involve answering a Questionnaire. The answer is captured in a QuestionnaireResponse. Questionnaires can be used for standalone information about the health of the patient, or they can be used to provide context information for Observations.

It is possible to search for QuestionnaireResponses based on:

  • context
  • subject
  • code
  • period
  • deviceMeasuringQuality
  • situationQuality
  • operationQuality

At least one of “subject” and “context” must be provided. “period” searches on range of “authored”.

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse

This profile builds on QuestionnaireResponse.

This profile was published on Tue Oct 27 14:11:48 UTC 2020 as a draft by ehealth.sundhed.dk.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

 

Terminology Bindings

PathConformanceValueSet
QuestionnaireResponse.languageextensibleCommon Languages
Max Binding: All Languages
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
QuestionnaireResponse.item.answer.value[x]exampleQuestionnaire Answer Codes

Constraints

IdPathDetailsRequirements
dom-2QuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1QuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4QuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3QuestionnaireResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1QuestionnaireResponse.extension:qualityAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1QuestionnaireResponse.extension:qualityMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1QuestionnaireResponse.itemAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
qrs-1QuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()
ele-1QuestionnaireResponse.item.answerAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
.