臺灣長期照顧實作指引(TW LTC IG)
1.0.0 - STU 1.0.0

臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions

## Resource Profile: 照顧管理評估量表－個案溝通能力問卷回覆

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/LTCQuestionnaireResponseCMSCommunication | Version: 1.0.0
Active as of 2026-03-01 | Computable Name: LTCQuestionnaireResponseCMSCommunication

此 Profile 說明本 IG 如何進一步定義 FHIR 的 QuestionnaireResponse Resource，以呈現照顧管理評估量表－個案溝通能力問卷的回覆資料。

Usages:

- Use this Profile: 照顧管理評估量表文件打包
- Refer to this Profile: 照顧管理評估量表文件架構
- Examples for this Profile: QuestionnaireResponse/ltc-questionnaire-response-communication-example
- CapabilityStatements using this Profile: 臺灣長期照顧實作指引 - 用戶端能力聲明 and 臺灣長期照顧實作指引 - 伺服端能力聲明

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | LTCQuestionnaireResponse | 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
questionnaire | S Σ | 0..1 | canonical(長期照顧－問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
status | ?!S Σ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
subject | S Σ | 1..1 | Reference(長期照顧－住民基本資料) | 問卷回覆的適用主體
reference | S Σ C | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID]
authored | S Σ | 1..1 | dateTime | 問卷回覆的填寫日期
author | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 問卷回覆的填寫者
reference | S Σ C | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
source | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 誰提供了問卷回覆的資料，意即誰回答了這份問卷
reference | S Σ C | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
Slices for item | S C | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId Constraints: qrs-1
item:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號]
text | S | 0..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
answer | S | 0..* | BackboneElement | 問題或量表項目的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 0..1 |  | 回覆的內容。[應填入回覆的內容] 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 | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1 | S C | 1..1 | BackboneElement | C1. 個案意識狀態 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer | S | 1..1 | BackboneElement | 個案意識狀態的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1a | S C | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer | S | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c2 | S C | 1..1 | BackboneElement | C2. 個案視力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer | S | 1..1 | BackboneElement | 個案視力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c3 | S C | 1..1 | BackboneElement | C3. 個案聽力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer | S | 1..1 | BackboneElement | 個案聽力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c4 | S C | 1..1 | BackboneElement | C4. 個案表達能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer | S | 1..1 | BackboneElement | 個案表達能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c5 | S C | 1..1 | BackboneElement | C5. 個案理解能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer | S | 1..1 | BackboneElement | 個案理解能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
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.
QuestionnaireResponse.​item:item-c1.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1a.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c2.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c3.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c4.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c5.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 | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
qrs-1 | error | QuestionnaireResponse.item, QuestionnaireResponse.item:item-c1, QuestionnaireResponse.item:item-c1a, QuestionnaireResponse.item:item-c2, QuestionnaireResponse.item:item-c3, QuestionnaireResponse.item:item-c4, QuestionnaireResponse.item:item-c5 | Nested item can't be beneath both item and answer | `(answer.exists() and item.exists()).not()`

This structure is derived from LTCQuestionnaireResponse

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  |  | LTCQuestionnaireResponse |
Slices for item |  | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId
item:item-c1 | S | 1..1 | BackboneElement | C1. 個案意識狀態
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer |  | 1..1 | BackboneElement | 個案意識狀態的回覆
value[x] |  | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）]
item:item-c1a | S | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer |  | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
value[x] |  | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適]
item:item-c2 | S | 1..1 | BackboneElement | C2. 個案視力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer |  | 1..1 | BackboneElement | 個案視力的回覆
value[x] |  | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估]
item:item-c3 | S | 1..1 | BackboneElement | C3. 個案聽力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer |  | 1..1 | BackboneElement | 個案聽力的回覆
value[x] |  | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估]
item:item-c4 | S | 1..1 | BackboneElement | C4. 個案表達能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer |  | 1..1 | BackboneElement | 個案表達能力的回覆
value[x] |  | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義]
item:item-c5 | S | 1..1 | BackboneElement | C5. 個案理解能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer |  | 1..1 | BackboneElement | 個案理解能力的回覆
value[x] |  | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力]
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | LTCQuestionnaireResponse | 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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..1 | Identifier | Unique 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 | S Σ | 0..1 | canonical(長期照顧－問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
status | ?!S Σ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
subject | S Σ | 1..1 | Reference(長期照顧－住民基本資料) | 問卷回覆的適用主體
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
authored | S Σ | 1..1 | dateTime | 問卷回覆的填寫日期
author | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 問卷回覆的填寫者
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
source | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 誰提供了問卷回覆的資料，意即誰回答了這份問卷
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
Slices for item | S C | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId Constraints: qrs-1
item:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號]
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 0..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
answer | S | 0..* | BackboneElement | 問題或量表項目的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 0..1 |  | 回覆的內容。[應填入回覆的內容] 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 | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1 | S C | 1..1 | BackboneElement | C1. 個案意識狀態 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer | S | 1..1 | BackboneElement | 個案意識狀態的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1a | S C | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer | S | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c2 | S C | 1..1 | BackboneElement | C2. 個案視力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer | S | 1..1 | BackboneElement | 個案視力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c3 | S C | 1..1 | BackboneElement | C3. 個案聽力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer | S | 1..1 | BackboneElement | 個案聽力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c4 | S C | 1..1 | BackboneElement | C4. 個案表達能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer | S | 1..1 | BackboneElement | 個案表達能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c5 | S C | 1..1 | BackboneElement | C5. 個案理解能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer | S | 1..1 | BackboneElement | 個案理解能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
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.​subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​author.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1a.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c2.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c3.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c4.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c5.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 | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
qrs-1 | error | QuestionnaireResponse.item, QuestionnaireResponse.item:item-c1, QuestionnaireResponse.item:item-c1a, QuestionnaireResponse.item:item-c2, QuestionnaireResponse.item:item-c3, QuestionnaireResponse.item:item-c4, QuestionnaireResponse.item:item-c5 | Nested item can't be beneath both item and answer | `(answer.exists() and item.exists()).not()`

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 20 elements(3 nested mandatory elements)
Must-Support: 6 elements
Fixed: 1 element

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of QuestionnaireResponse.item

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | LTCQuestionnaireResponse | 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
questionnaire | S Σ | 0..1 | canonical(長期照顧－問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
status | ?!S Σ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
subject | S Σ | 1..1 | Reference(長期照顧－住民基本資料) | 問卷回覆的適用主體
reference | S Σ C | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID]
authored | S Σ | 1..1 | dateTime | 問卷回覆的填寫日期
author | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 問卷回覆的填寫者
reference | S Σ C | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
source | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 誰提供了問卷回覆的資料，意即誰回答了這份問卷
reference | S Σ C | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
Slices for item | S C | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId Constraints: qrs-1
item:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號]
text | S | 0..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
answer | S | 0..* | BackboneElement | 問題或量表項目的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 0..1 |  | 回覆的內容。[應填入回覆的內容] 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 | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1 | S C | 1..1 | BackboneElement | C1. 個案意識狀態 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer | S | 1..1 | BackboneElement | 個案意識狀態的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1a | S C | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer | S | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c2 | S C | 1..1 | BackboneElement | C2. 個案視力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer | S | 1..1 | BackboneElement | 個案視力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c3 | S C | 1..1 | BackboneElement | C3. 個案聽力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer | S | 1..1 | BackboneElement | 個案聽力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c4 | S C | 1..1 | BackboneElement | C4. 個案表達能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer | S | 1..1 | BackboneElement | 個案表達能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c5 | S C | 1..1 | BackboneElement | C5. 個案理解能力 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer | S | 1..1 | BackboneElement | 個案理解能力的回覆
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
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.
QuestionnaireResponse.​item:item-c1.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1a.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c2.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c3.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c4.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c5.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 | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
qrs-1 | error | QuestionnaireResponse.item, QuestionnaireResponse.item:item-c1, QuestionnaireResponse.item:item-c1a, QuestionnaireResponse.item:item-c2, QuestionnaireResponse.item:item-c3, QuestionnaireResponse.item:item-c4, QuestionnaireResponse.item:item-c5 | Nested item can't be beneath both item and answer | `(answer.exists() and item.exists()).not()`

Differential View

This structure is derived from LTCQuestionnaireResponse

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  |  | LTCQuestionnaireResponse |
Slices for item |  | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId
item:item-c1 | S | 1..1 | BackboneElement | C1. 個案意識狀態
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer |  | 1..1 | BackboneElement | 個案意識狀態的回覆
value[x] |  | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）]
item:item-c1a | S | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer |  | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
value[x] |  | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適]
item:item-c2 | S | 1..1 | BackboneElement | C2. 個案視力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer |  | 1..1 | BackboneElement | 個案視力的回覆
value[x] |  | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估]
item:item-c3 | S | 1..1 | BackboneElement | C3. 個案聽力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer |  | 1..1 | BackboneElement | 個案聽力的回覆
value[x] |  | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估]
item:item-c4 | S | 1..1 | BackboneElement | C4. 個案表達能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer |  | 1..1 | BackboneElement | 個案表達能力的回覆
value[x] |  | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義]
item:item-c5 | S | 1..1 | BackboneElement | C5. 個案理解能力
linkId |  | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
text |  | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer |  | 1..1 | BackboneElement | 個案理解能力的回覆
value[x] |  | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力]
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | LTCQuestionnaireResponse | 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
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..1 | Identifier | Unique 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 | S Σ | 0..1 | canonical(長期照顧－問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
status | ?!S Σ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.
subject | S Σ | 1..1 | Reference(長期照顧－住民基本資料) | 問卷回覆的適用主體
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
authored | S Σ | 1..1 | dateTime | 問卷回覆的填寫日期
author | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 問卷回覆的填寫者
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
source | S Σ | 0..1 | Reference(長期照顧－照顧服務提供者 | 長期照顧－關係人 | 長期照顧－住民基本資料 | 長期照顧－服務人員角色) | 誰提供了問卷回覆的資料，意即誰回答了這份問卷
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
Slices for item | S C | 5..6 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId Constraints: qrs-1
item:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號]
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 0..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
answer | S | 0..* | BackboneElement | 問題或量表項目的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 0..1 |  | 回覆的內容。[應填入回覆的內容] 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 | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1 | S C | 1..1 | BackboneElement | C1. 個案意識狀態 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Fixed Value: C1
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案意識狀態
answer | S | 1..1 | BackboneElement | 個案意識狀態的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案意識狀態的回覆。[應填入以下字串之一：清醒 | 嗜睡 | 混亂 | 呆滯 | 昏迷 | 其他（同時描述內容）] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c1a | S C | 0..1 | BackboneElement | C1a. 能對外來刺激做出有意義反應的能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C1a
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 能對外來刺激做出有意義反應的能力
answer | S | 1..1 | BackboneElement | 能對外來刺激做出有意義反應的能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 能對外來刺激做出有意義反應的能力的回覆。[應填入以下字串之一：對疼痛刺激無反應，且無表情 | 僅對疼痛刺激有反應，但無法口頭表達 | 偶而可以口頭表達不適] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c2 | S C | 1..1 | BackboneElement | C2. 個案視力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C2
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案視力
answer | S | 1..1 | BackboneElement | 個案視力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案視力的回覆。[應填入以下字串之一：正常 | 輕度障礙 | 中度障礙 | 重度障礙 | 極重度障礙 | 失明 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c3 | S C | 1..1 | BackboneElement | C3. 個案聽力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C3
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案聽力
answer | S | 1..1 | BackboneElement | 個案聽力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案聽力的回覆。[應填入以下字串之一：適當 | 輕度障礙 | 中度障礙 | 重度障礙 | 無法評估] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c4 | S C | 1..1 | BackboneElement | C4. 個案表達能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C4
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案表達能力
answer | S | 1..1 | BackboneElement | 個案表達能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案表達能力的回覆。[應填入以下字串之一：良好 | 僅可表達簡單的意思 | 雖能表達簡單的意思，但多數難以理解 | 僅可表達零碎的字或詞 | 無法表達/無法令人理解/不具意義] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
item:item-c5 | S C | 1..1 | BackboneElement | C5. 個案理解能力 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: C5
definition |  | 0..1 | uri | ElementDefinition - details for the item
text | S | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案理解能力
answer | S | 1..1 | BackboneElement | 個案理解能力的回覆
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] | S | 1..1 | string | 個案理解能力的回覆。[應填入以下字串之一：良好 | 僅可理解簡單的句子 | 僅可理解關鍵的字或詞 | 無法理解 | 無法判斷理解能力] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
item |  | 0..* | See item (QuestionnaireResponse) | Nested groups and questions
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目（用於巢狀問卷）
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.​subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​author.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c1a.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c2.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c3.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c4.answer.​value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item:item-c5.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 | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
qrs-1 | error | QuestionnaireResponse.item, QuestionnaireResponse.item:item-c1, QuestionnaireResponse.item:item-c1a, QuestionnaireResponse.item:item-c2, QuestionnaireResponse.item:item-c3, QuestionnaireResponse.item:item-c4, QuestionnaireResponse.item:item-c5 | Nested item can't be beneath both item and answer | `(answer.exists() and item.exists()).not()`

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 20 elements(3 nested mandatory elements)
Must-Support: 6 elements
Fixed: 1 element

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of QuestionnaireResponse.item

Other representations of profile: CSV, Excel, Schematron