Atrius India Core FHIR Implementation Guide
0.1.0 - ci-build

Atrius India Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Atrius India Core QuestionnaireResponse

Official URL: https://atrius.in/fhir/r4/atrius-in/StructureDefinition/atrius-in-questionnaireresponse Version: 0.1.0
Draft as of 2026-07-24 Computable Name: AtriusInQuestionnaireResponse
Other Identifiers: OID:1.3.6.1.4.1.66219.1.42.103

Atrius India Core profile. Parent: FHIR R4. Structurally aligned with QI-Core. India terminology via NDHM ValueSets where noted. Legacy QI-Core projection: runtime-mapper.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... basedOn Σ 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... questionnaire SΣ 0..1 canonical(Questionnaire) Form being answered
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter Σ 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored SΣ 0..1 dateTime Date the answers were gathered
... author Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... answer S 0..* BackboneElement The response(s) to the question
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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 error 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 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error QuestionnaireResponse.implicitRules, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.item, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x] All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error QuestionnaireResponse.modifierExtension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... basedOn 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... partOf 0..* Reference(Atrius India Core Observation(0.1.0) | Atrius India Core Observation Body Measurement(0.1.0) | Atrius India Core Observation General Assessment(0.1.0) | Atrius India Core Observation Lifestyle(0.1.0) | Atrius India Core Observation Physical Activity(0.1.0) | Atrius India Core Observation Vital Signs(0.1.0) | Atrius India Core Observation Women Health(0.1.0) | Atrius India Core Procedure(0.1.0)) Part of this action
... questionnaire S 0..1 canonical(Questionnaire) Form being answered
... subject S 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored S 0..1 dateTime Date the answers were gathered
... author 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... item S 0..* BackboneElement Groups and questions
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... answer S 0..* BackboneElement The response(s) to the question
..... value[x] S 0..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) Single-valued answer to the question

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Atrius India Core Observation(0.1.0) | Atrius India Core Observation Body Measurement(0.1.0) | Atrius India Core Observation General Assessment(0.1.0) | Atrius India Core Observation Lifestyle(0.1.0) | Atrius India Core Observation Physical Activity(0.1.0) | Atrius India Core Observation Vital Signs(0.1.0) | Atrius India Core Observation Women Health(0.1.0) | Atrius India Core Procedure(0.1.0)) Part of this action
... questionnaire SΣ 0..1 canonical(Questionnaire) Form being answered
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter Σ 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored SΣ 0..1 dateTime Date the answers were gathered
... author Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 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 S 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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 error 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 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error QuestionnaireResponse.meta, QuestionnaireResponse.implicitRules, QuestionnaireResponse.language, QuestionnaireResponse.text, QuestionnaireResponse.extension, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.source, QuestionnaireResponse.item, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.definition, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error QuestionnaireResponse.extension, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Summary

Must-Support: 8 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... basedOn Σ 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... questionnaire SΣ 0..1 canonical(Questionnaire) Form being answered
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter Σ 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored SΣ 0..1 dateTime Date the answers were gathered
... author Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... answer S 0..* BackboneElement The response(s) to the question
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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 error 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 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error QuestionnaireResponse.implicitRules, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.item, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x] All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error QuestionnaireResponse.modifierExtension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... basedOn 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... partOf 0..* Reference(Atrius India Core Observation(0.1.0) | Atrius India Core Observation Body Measurement(0.1.0) | Atrius India Core Observation General Assessment(0.1.0) | Atrius India Core Observation Lifestyle(0.1.0) | Atrius India Core Observation Physical Activity(0.1.0) | Atrius India Core Observation Vital Signs(0.1.0) | Atrius India Core Observation Women Health(0.1.0) | Atrius India Core Procedure(0.1.0)) Part of this action
... questionnaire S 0..1 canonical(Questionnaire) Form being answered
... subject S 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored S 0..1 dateTime Date the answers were gathered
... author 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... item S 0..* BackboneElement Groups and questions
.... linkId S 1..1 string Pointer to specific item from Questionnaire
.... answer S 0..* BackboneElement The response(s) to the question
..... value[x] S 0..1 boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) Single-valued answer to the question

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse(4.0.1) A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(Atrius India Core CarePlan(0.1.0) | Atrius India Core ServiceRequest(0.1.0) | Atrius India Core Service Not Requested(0.1.0)) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Atrius India Core Observation(0.1.0) | Atrius India Core Observation Body Measurement(0.1.0) | Atrius India Core Observation General Assessment(0.1.0) | Atrius India Core Observation Lifestyle(0.1.0) | Atrius India Core Observation Physical Activity(0.1.0) | Atrius India Core Observation Vital Signs(0.1.0) | Atrius India Core Observation Women Health(0.1.0) | Atrius India Core Procedure(0.1.0)) Part of this action
... questionnaire SΣ 0..1 canonical(Questionnaire) Form being answered
... status ?!SΣ 1..1 code in-progress | completed | amended | entered-in-error | stopped
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
... subject SΣ 0..1 Reference(Atrius India Core Patient(0.1.0)) The subject of the questions
... encounter Σ 0..1 Reference(Atrius India Core Encounter(0.1.0)) Encounter created as part of
... authored SΣ 0..1 dateTime Date the answers were gathered
... author Σ 0..1 Reference(Atrius India Core Patient(0.1.0) | Atrius India Core Practitioner(0.1.0) | Atrius India Core PractitionerRole(0.1.0) | Atrius India Core Organization(0.1.0) | Atrius India Core RelatedPerson(0.1.0) | Atrius India Core Device(0.1.0)) Person who received and recorded the answers
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... item SC 0..* BackboneElement Groups and questions
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... linkId S 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 S 0..* BackboneElement The response(s) to the question
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
..... value[x] S 0..1 Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueDecimal decimal
...... valueInteger integer
...... valueDate date
...... valueDateTime dateTime
...... valueTime time
...... valueString string
...... valueUri uri
...... valueAttachment Attachment
...... valueCoding Coding
...... valueQuantity Quantity
...... valueReference Reference(Resource)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error 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 error 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 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error QuestionnaireResponse.meta, QuestionnaireResponse.implicitRules, QuestionnaireResponse.language, QuestionnaireResponse.text, QuestionnaireResponse.extension, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.identifier, QuestionnaireResponse.basedOn, QuestionnaireResponse.partOf, QuestionnaireResponse.questionnaire, QuestionnaireResponse.status, QuestionnaireResponse.subject, QuestionnaireResponse.encounter, QuestionnaireResponse.authored, QuestionnaireResponse.author, QuestionnaireResponse.source, QuestionnaireResponse.item, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.linkId, QuestionnaireResponse.item.definition, QuestionnaireResponse.item.text, QuestionnaireResponse.item.answer, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.modifierExtension, QuestionnaireResponse.item.answer.value[x], QuestionnaireResponse.item.answer.item, QuestionnaireResponse.item.item All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error QuestionnaireResponse.extension, QuestionnaireResponse.modifierExtension, QuestionnaireResponse.item.extension, QuestionnaireResponse.item.modifierExtension, QuestionnaireResponse.item.answer.extension, QuestionnaireResponse.item.answer.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Summary

Must-Support: 8 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron