preBallot - The specification is currently in ballot review and subject to change. . . . For a full list of available versions, see the Directory of published versions
QuestionnaireResponse (CA:eReC)
Links
Profile
Derived from
http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
Description
QuestionnaireResponse resource is used to capture additional information, notes, record question/answers, etc. about the referral. This resource will be referrenced via ServiceRequest resource.
References to this resource
Resource Content
QuestionnaireResponse | QuestionnaireResponse | ||
basedOn | S | Reference(ServiceRequest) | |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
status | S | Fixed Value | |
subject | S | Reference(Patient) | |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
authored | S | ||
author | S | Reference(PractitionerRole | Patient) | |
reference | S | ||
identifier | S | ||
system | S | 1.. | |
value | S | 1.. | |
item | S | ||
linkId | S | ||
text | S | 1.. | |
answer | S | ||
value[x] | S | ||
item | S | ||
linkId | S | ||
text | S | ||
answer | S | ||
value[x] | S |
QuestionnaireResponse | I | QuestionnaireResponse | |
id | Σ | 0..1 | string |
meta | Σ | 0..1 | Meta |
implicitRules | Σ ?! | 0..1 | uri |
language | 0..1 | codeBinding | |
text | 0..1 | Narrative | |
contained | 0..* | Resource | |
extension | I | 0..* | Extension |
modifierExtension | ?! I | 0..* | Extension |
identifier | Σ | 0..1 | Identifier |
basedOn | S Σ | 0..* | Reference(ServiceRequest) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
partOf | Σ | 0..* | Reference(Observation | Procedure) |
questionnaire | Σ | 0..1 | canonical(Questionnaire) |
status | S Σ ?! | 1..1 | codeBindingFixed Value |
subject | S Σ | 0..1 | Reference(Patient) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
encounter | Σ | 0..1 | Reference(Encounter) |
authored | S Σ | 0..1 | dateTime |
author | S Σ | 0..1 | Reference(PractitionerRole | Patient) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
reference | S Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | S Σ | 0..1 | Identifier |
id | 0..1 | string | |
extension | I | 0..* | Extension |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | S Σ | 1..1 | uri |
value | S Σ | 1..1 | string |
period | Σ | 0..1 | Period |
assigner | Σ | 0..1 | Reference(Organization) |
display | Σ | 0..1 | string |
source | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) |
item | S I | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
linkId | S | 1..1 | string |
definition | 0..1 | uri | |
text | S | 1..1 | string |
answer | S | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
value[x] | S | 0..1 | |
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) | |
item | S | 0..* | see (item) |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
linkId | S | 1..1 | string |
definition | 0..1 | uri | |
text | S | 0..1 | string |
answer | S | 0..* | BackboneElement |
id | 0..1 | string | |
extension | I | 0..* | Extension |
modifierExtension | Σ ?! I | 0..* | Extension |
value[x] | S | 0..1 | |
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) | |
item | 0..* | see (item) |
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="CA-eReC-QuestionnaireResponse" /> <url value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-QuestionnaireResponse" /> <name value="QuestionnaireResponse" /> <status value="draft" /> <description value="QuestionnaireResponse resource is used to capture additional information, notes, record question/answers, etc. about the referral. This resource will be referrenced via ServiceRequest resource." /> <fhirVersion value="4.0.1" /> <kind value="resource" /> <abstract value="false" /> <type value="QuestionnaireResponse" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" /> <derivation value="constraint" /> <differential> <element id="QuestionnaireResponse.basedOn"> <path value="QuestionnaireResponse.basedOn" /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest" /> </type> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.basedOn.reference"> <path value="QuestionnaireResponse.basedOn.reference" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.basedOn.identifier"> <path value="QuestionnaireResponse.basedOn.identifier" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.basedOn.identifier.system"> <path value="QuestionnaireResponse.basedOn.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.basedOn.identifier.value"> <path value="QuestionnaireResponse.basedOn.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.status"> <path value="QuestionnaireResponse.status" /> <fixedCode value="completed" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.subject"> <path value="QuestionnaireResponse.subject" /> <comment value="The subject of QuestionnaireResponse MUST be same as the subject in the ServiceRequest. If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types." /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" /> </type> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.subject.reference"> <path value="QuestionnaireResponse.subject.reference" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.subject.identifier"> <path value="QuestionnaireResponse.subject.identifier" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.subject.identifier.system"> <path value="QuestionnaireResponse.subject.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.subject.identifier.value"> <path value="QuestionnaireResponse.subject.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.authored"> <path value="QuestionnaireResponse.authored" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.author"> <path value="QuestionnaireResponse.author" /> <comment value="If blank, can assume that the author is the same as the ServiceRequest.requester. Note questionnaireResponse has a few uses: 1) for supplimentary information added when submitting a referral 2) for additional data sets (such as assessments) added AFTER the initial referral submission (e.g., by the provider). For case 1, if blank it can safely be assumed that the author = ServiceRequest.requester.`_**\n\nMapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated.\n\nIf blank, can assume that the author = ServiceRequest.requester. Note questionnaireResponse has a few uses: 1) for supplimentary information added when submitting a referral 2) for additional data sets (such as assessments) added AFTER the initial referral submission (e.g., by the provider). For case 1, if blank it can safely be assumed that the author is the same as ServiceRequest.requester." /> <type> <code value="Reference" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole" /> <targetProfile value="http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" /> </type> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.author.reference"> <path value="QuestionnaireResponse.author.reference" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.author.identifier"> <path value="QuestionnaireResponse.author.identifier" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.author.identifier.system"> <path value="QuestionnaireResponse.author.identifier.system" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.author.identifier.value"> <path value="QuestionnaireResponse.author.identifier.value" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item"> <path value="QuestionnaireResponse.item" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.linkId"> <path value="QuestionnaireResponse.item.linkId" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.text"> <path value="QuestionnaireResponse.item.text" /> <min value="1" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.answer"> <path value="QuestionnaireResponse.item.answer" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.answer.value[x]"> <path value="QuestionnaireResponse.item.answer.value[x]" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.item"> <path value="QuestionnaireResponse.item.item" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.item.linkId"> <path value="QuestionnaireResponse.item.item.linkId" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.item.text"> <path value="QuestionnaireResponse.item.item.text" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.item.answer"> <path value="QuestionnaireResponse.item.item.answer" /> <mustSupport value="true" /> </element> <element id="QuestionnaireResponse.item.item.answer.value[x]"> <path value="QuestionnaireResponse.item.item.answer.value[x]" /> <mustSupport value="true" /> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "CA-eReC-QuestionnaireResponse", "url": "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-QuestionnaireResponse", "name": "QuestionnaireResponse", "status": "draft", "description": "QuestionnaireResponse resource is used to capture additional information, notes, record question/answers, etc. about the referral. This resource will be referrenced via ServiceRequest resource.", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "QuestionnaireResponse", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", "derivation": "constraint", "differential": { "element": [ { "id": "QuestionnaireResponse.basedOn", "path": "QuestionnaireResponse.basedOn", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ServiceRequest" ] } ], "mustSupport": true }, { "id": "QuestionnaireResponse.basedOn.reference", "path": "QuestionnaireResponse.basedOn.reference", "mustSupport": true }, { "id": "QuestionnaireResponse.basedOn.identifier", "path": "QuestionnaireResponse.basedOn.identifier", "mustSupport": true }, { "id": "QuestionnaireResponse.basedOn.identifier.system", "path": "QuestionnaireResponse.basedOn.identifier.system", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.basedOn.identifier.value", "path": "QuestionnaireResponse.basedOn.identifier.value", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.status", "path": "QuestionnaireResponse.status", "fixedCode": "completed", "mustSupport": true }, { "id": "QuestionnaireResponse.subject", "path": "QuestionnaireResponse.subject", "comment": "The subject of QuestionnaireResponse MUST be same as the subject in the ServiceRequest. If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types.", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" ] } ], "mustSupport": true }, { "id": "QuestionnaireResponse.subject.reference", "path": "QuestionnaireResponse.subject.reference", "mustSupport": true }, { "id": "QuestionnaireResponse.subject.identifier", "path": "QuestionnaireResponse.subject.identifier", "mustSupport": true }, { "id": "QuestionnaireResponse.subject.identifier.system", "path": "QuestionnaireResponse.subject.identifier.system", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.subject.identifier.value", "path": "QuestionnaireResponse.subject.identifier.value", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.authored", "path": "QuestionnaireResponse.authored", "mustSupport": true }, { "id": "QuestionnaireResponse.author", "path": "QuestionnaireResponse.author", "comment": "If blank, can assume that the author is the same as the ServiceRequest.requester. Note questionnaireResponse has a few uses: 1) for supplimentary information added when submitting a referral 2) for additional data sets (such as assessments) added AFTER the initial referral submission (e.g., by the provider). For case 1, if blank it can safely be assumed that the author = ServiceRequest.requester.`_**\n\nMapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated.\n\nIf blank, can assume that the author = ServiceRequest.requester. Note questionnaireResponse has a few uses: 1) for supplimentary information added when submitting a referral 2) for additional data sets (such as assessments) added AFTER the initial referral submission (e.g., by the provider). For case 1, if blank it can safely be assumed that the author is the same as ServiceRequest.requester.", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole", "http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient" ] } ], "mustSupport": true }, { "id": "QuestionnaireResponse.author.reference", "path": "QuestionnaireResponse.author.reference", "mustSupport": true }, { "id": "QuestionnaireResponse.author.identifier", "path": "QuestionnaireResponse.author.identifier", "mustSupport": true }, { "id": "QuestionnaireResponse.author.identifier.system", "path": "QuestionnaireResponse.author.identifier.system", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.author.identifier.value", "path": "QuestionnaireResponse.author.identifier.value", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.item", "path": "QuestionnaireResponse.item", "mustSupport": true }, { "id": "QuestionnaireResponse.item.linkId", "path": "QuestionnaireResponse.item.linkId", "mustSupport": true }, { "id": "QuestionnaireResponse.item.text", "path": "QuestionnaireResponse.item.text", "min": 1, "mustSupport": true }, { "id": "QuestionnaireResponse.item.answer", "path": "QuestionnaireResponse.item.answer", "mustSupport": true }, { "id": "QuestionnaireResponse.item.answer.value[x]", "path": "QuestionnaireResponse.item.answer.value[x]", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item", "path": "QuestionnaireResponse.item.item", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item.linkId", "path": "QuestionnaireResponse.item.item.linkId", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item.text", "path": "QuestionnaireResponse.item.item.text", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item.answer", "path": "QuestionnaireResponse.item.item.answer", "mustSupport": true }, { "id": "QuestionnaireResponse.item.item.answer.value[x]", "path": "QuestionnaireResponse.item.item.answer.value[x]", "mustSupport": true } ] } }
Terminology bindings
Constraints
Path | Id | Grade | Details | Expression |
---|---|---|---|---|
QuestionnaireResponse; QuestionnaireResponse; QuestionnaireResponse; QuestionnaireResponse; QuestionnaireResponse; QuestionnaireResponse.meta; QuestionnaireResponse.implicitRules; QuestionnaireResponse.language; QuestionnaireResponse.text; QuestionnaireResponse.extension; QuestionnaireResponse.extension; QuestionnaireResponse.modifierExtension; QuestionnaireResponse.modifierExtension; QuestionnaireResponse.identifier; QuestionnaireResponse.basedOn; QuestionnaireResponse.basedOn.extension; QuestionnaireResponse.basedOn.extension; QuestionnaireResponse.basedOn.reference; QuestionnaireResponse.basedOn.type; QuestionnaireResponse.basedOn.identifier; QuestionnaireResponse.basedOn.identifier.extension; QuestionnaireResponse.basedOn.identifier.extension; QuestionnaireResponse.basedOn.identifier.use; QuestionnaireResponse.basedOn.identifier.type; QuestionnaireResponse.basedOn.identifier.system; QuestionnaireResponse.basedOn.identifier.value; QuestionnaireResponse.basedOn.identifier.period; QuestionnaireResponse.basedOn.identifier.assigner; QuestionnaireResponse.basedOn.display; QuestionnaireResponse.partOf; QuestionnaireResponse.questionnaire; QuestionnaireResponse.status; QuestionnaireResponse.subject; QuestionnaireResponse.subject.extension; QuestionnaireResponse.subject.extension; QuestionnaireResponse.subject.reference; QuestionnaireResponse.subject.type; QuestionnaireResponse.subject.identifier; QuestionnaireResponse.subject.identifier.extension; QuestionnaireResponse.subject.identifier.extension; QuestionnaireResponse.subject.identifier.use; QuestionnaireResponse.subject.identifier.type; QuestionnaireResponse.subject.identifier.system; QuestionnaireResponse.subject.identifier.value; QuestionnaireResponse.subject.identifier.period; QuestionnaireResponse.subject.identifier.assigner; QuestionnaireResponse.subject.display; QuestionnaireResponse.encounter; QuestionnaireResponse.authored; QuestionnaireResponse.author; QuestionnaireResponse.author.extension; QuestionnaireResponse.author.extension; QuestionnaireResponse.author.reference; QuestionnaireResponse.author.type; QuestionnaireResponse.author.identifier; QuestionnaireResponse.author.identifier.extension; QuestionnaireResponse.author.identifier.extension; QuestionnaireResponse.author.identifier.use; QuestionnaireResponse.author.identifier.type; QuestionnaireResponse.author.identifier.system; QuestionnaireResponse.author.identifier.value; QuestionnaireResponse.author.identifier.period; QuestionnaireResponse.author.identifier.assigner; QuestionnaireResponse.author.display; QuestionnaireResponse.source; QuestionnaireResponse.item; QuestionnaireResponse.item; QuestionnaireResponse.item.extension; QuestionnaireResponse.item.extension; QuestionnaireResponse.item.modifierExtension; QuestionnaireResponse.item.modifierExtension; QuestionnaireResponse.item.linkId; QuestionnaireResponse.item.definition; QuestionnaireResponse.item.text; QuestionnaireResponse.item.answer; QuestionnaireResponse.item.answer.extension; QuestionnaireResponse.item.answer.extension; QuestionnaireResponse.item.answer.modifierExtension; QuestionnaireResponse.item.answer.modifierExtension; QuestionnaireResponse.item.answer.value[x]; QuestionnaireResponse.item.answer.item; QuestionnaireResponse.item.item; QuestionnaireResponse.item.item.extension; QuestionnaireResponse.item.item.extension; QuestionnaireResponse.item.item.modifierExtension; QuestionnaireResponse.item.item.modifierExtension; QuestionnaireResponse.item.item.linkId; QuestionnaireResponse.item.item.definition; QuestionnaireResponse.item.item.text; QuestionnaireResponse.item.item.answer; QuestionnaireResponse.item.item.answer.extension; QuestionnaireResponse.item.item.answer.extension; QuestionnaireResponse.item.item.answer.modifierExtension; QuestionnaireResponse.item.item.answer.modifierExtension; QuestionnaireResponse.item.item.answer.value[x]; QuestionnaireResponse.item.item.answer.item; QuestionnaireResponse.item.item.item | dom-2; dom-3; dom-4; dom-5; dom-6; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; ele-1; qrs-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1; ele-1; ele-1; ext-1; ele-1; ext-1; ele-1; ele-1; ele-1 | error; error; error; error; warning; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error; error | If the resource is contained in another resource, it SHALL NOT contain nested Resources; 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; If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated; If a resource is contained in another resource, it SHALL NOT have a security label; A resource should have narrative for robust management; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Nested item can't be beneath both item and answer; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; Must have either extensions or value[x], not both; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children; All FHIR elements must have a @value or children | contained.contained.empty(); 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(); contained.meta.versionId.empty() and contained.meta.lastUpdated.empty(); contained.meta.security.empty(); text.`div`.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); (answer.exists() and item.exists()).not(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); extension.exists() != value.exists(); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()); hasValue() or (children().count() > id.count()) |
Usage
For eReferral, the QuestionnaireResponse resource is used in DirectMessaging integrations WITHOUT a corresponding Questionnaire resource to provide structured form data captured in a RMS Source as a list of questions and responses.
For eConsult, the QuestionnaireResponse resource is used WITH the Questionnaire resource to provide structured data (e.g. provider survey responses) as a list of questions and responses.
Notes
.identifier
- MAY be populated to share business identifers used to reference this resource in subsequent messages
identifier.system
andidentifier.value
SHALL be mustSupport whenever there is a reference or identifier present
.basedOn
- used to associate the QuestionnarieResponse with the ServiceRequest being performed
- SHALL be populated with a reference to the ServiceRequest being performed
- if the resource is being transmitted via messaging, this element SHALL be populated with either:
- a
.reference
to a resource included in the message as aBundle.entry
, or - an
.identifier
populated with theuse
,system
andvalue
elements populated with the officialServiceRequest.identifier
received from the Source System
- a
.status
- Populate with a fixed value:
completed
.subject
- Used to associate the QuestionnaireResponse with the Patient it is about
- Where
.subject
is populated, it SHALL reference the same Patient resource asServiceRequest.subject
- If the information is being transmitted via messaging, this element SHALL
.reference
a resource included in the message as aBundle.entry
.author
- SHOULD be populated with a reference to the PractitionerRole resource or, for self-referrals, a Patient resource who completed the form
- If this element is not populated, recipients MAY assume that the author is the same as the
ServiceRequest.requester
, but this has limitations if supplementary information was added by a different author when submitting a referral or if additional data (such as assessments) are added AFTER the initial referral submission - If the information is being transmitted via messaging, this element SHALL either:
.reference
a resource included in the message as aBundle.entry
, or- include an
.identifier
previously known to both systems
.item
- If a form question is displayed to the user but no answer is provided, then
item.text
should be used and excludeitem.answer
(null or blank values for elements are not FHIR)