eHealth Infrastructure - Local Development build (v2021.3.0). See the Directory of published versions
Defining URL: | http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse |
Version: | 2021.3.0 |
Name: | ehealth-questionnaireresponse |
Status: | Active as of 2021-11-25T09:32:14+00:00 |
Publisher: | Systematic | Trifork |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse
QuestionnaireResponse provides a complete or partial list of answers to a set of questions filled when responding to a questionnaire.
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:
At least one of “subject” and “context” must be provided. “period” searches on range of “authored”.
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
QuestionnaireResponse.language | preferred | CommonLanguages Max Binding: AllLanguages |
QuestionnaireResponse.status | required | QuestionnaireResponseStatus |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes |
Id | Path | Details | Requirements |
dom-2 | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | QuestionnaireResponse | If 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-5 | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | QuestionnaireResponse.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:episodeOfCare | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:episodeOfCare | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:quality | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:quality | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.extension:resolvedTiming | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.extension:resolvedTiming | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.questionnaire | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.authored | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.source | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qrs-1 | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() | |
ele-1 | QuestionnaireResponse.item.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.linkId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.definition | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.answer.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.answer.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | QuestionnaireResponse.item.answer.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | QuestionnaireResponse.item.answer.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.answer.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | QuestionnaireResponse.item.item | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |