臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide)
0.2.0 - ci-build+trial-use
臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide) - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://ltc-ig.fhir.tw/StructureDefinition/LTCQuestionnaireResponseCMSMemory | Version: 0.2.0 | |||
Active as of 2024-10-23 | Computable Name: LTCQuestionnaireResponseCMSMemory |
此 Profile 說明本 IG 如何進一步定義 FHIR 的 QuestionnaireResponse Resource,以呈現照顧管理評估量表-個案短期記憶力問卷的回覆資料。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from LTCQuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | LTCQuestionnaireResponse | |||
Slices for item | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId | |
item:item-d0 | S | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D0 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案短期記憶力回答狀態 | |
answer | 1..1 | BackboneElement | 個案短期記憶力回答狀態的回覆 | |
value[x] | 1..1 | string | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] | |
item:item-d1a | S | 0..1 | BackboneElement | D1a. 個案能重複的詞數 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1a | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案能重複的詞數 | |
answer | 1..1 | BackboneElement | 個案能重複的詞數的回覆 | |
value[x] | 1..1 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] | |
item:item-d1b1 | S | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b1 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 回憶起「襪子」 | |
answer | 1..1 | BackboneElement | 回憶起「襪子」的回覆 | |
value[x] | 1..1 | string | 回憶起「襪子」的回覆。[應填入以下字串之一:是,且不需提示 | 是,但須給予提示 | 否,無法回憶該品項] | |
item:item-d1b2 | S | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b2 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 回憶起「藍色」 | |
answer | 1..1 | BackboneElement | 回憶起「藍色」的回覆 | |
value[x] | 1..1 | string | 回憶起「藍色」的回覆。[應填入以下字串之一:是,且不需提示 | 是,但須給予提示 | 否,無法回憶該品項] | |
item:item-d1b3 | S | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b3 | |
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 |
---|---|---|---|---|
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 | SC | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId qrs-1: Nested item can't be beneath both item and answer |
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-d0 | SC | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D0 |
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 | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. |
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) |
item:item-d1a | SC | 0..1 | BackboneElement | D1a. 個案能重複的詞數 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1a |
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 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] |
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) |
item:item-d1b1 | SC | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b1 |
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-d1b2 | SC | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b2 |
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-d1b3 | SC | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b3 |
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 |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d0.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b1.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b2.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b3.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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-d0, QuestionnaireResponse.item:item-d1a, QuestionnaireResponse.item:item-d1b1, QuestionnaireResponse.item:item-d1b2, QuestionnaireResponse.item:item-d1b3 | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
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 | SC | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId qrs-1: Nested item can't be beneath both item and answer | ||||
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-d0 | SC | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D0 | ||||
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 | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] 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-d1a | SC | 0..1 | BackboneElement | D1a. 個案能重複的詞數 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1a | ||||
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 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] | ||||
item | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) | ||||
item:item-d1b1 | SC | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b1 | ||||
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-d1b2 | SC | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b2 | ||||
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-d1b3 | SC | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b3 | ||||
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 |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | ||||
QuestionnaireResponse.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.source.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d0.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b1.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b2.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b3.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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-d0, QuestionnaireResponse.item:item-d1a, QuestionnaireResponse.item:item-d1b1, QuestionnaireResponse.item:item-d1b2, QuestionnaireResponse.item:item-d1b3 | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from LTCQuestionnaireResponse
Summary
Mandatory: 4 elements(12 nested mandatory elements)
Must-Support: 5 elements
Slices
This structure defines the following Slices:
Differential View
This structure is derived from LTCQuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | LTCQuestionnaireResponse | |||
Slices for item | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId | |
item:item-d0 | S | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D0 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案短期記憶力回答狀態 | |
answer | 1..1 | BackboneElement | 個案短期記憶力回答狀態的回覆 | |
value[x] | 1..1 | string | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] | |
item:item-d1a | S | 0..1 | BackboneElement | D1a. 個案能重複的詞數 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1a | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 個案能重複的詞數 | |
answer | 1..1 | BackboneElement | 個案能重複的詞數的回覆 | |
value[x] | 1..1 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] | |
item:item-d1b1 | S | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b1 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 回憶起「襪子」 | |
answer | 1..1 | BackboneElement | 回憶起「襪子」的回覆 | |
value[x] | 1..1 | string | 回憶起「襪子」的回覆。[應填入以下字串之一:是,且不需提示 | 是,但須給予提示 | 否,無法回憶該品項] | |
item:item-d1b2 | S | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b2 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 回憶起「藍色」 | |
answer | 1..1 | BackboneElement | 回憶起「藍色」的回覆 | |
value[x] | 1..1 | string | 回憶起「藍色」的回覆。[應填入以下字串之一:是,且不需提示 | 是,但須給予提示 | 否,無法回憶該品項] | |
item:item-d1b3 | S | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 |
linkId | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b3 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入問題或量表項目的內容] Required Pattern: 回憶起「床鋪」 | |
answer | 1..1 | BackboneElement | 回憶起「床鋪」的回覆 | |
value[x] | 1..1 | string | 回憶起「床鋪」的回覆。[應填入以下字串之一:是,且不需提示 | 是,但須給予提示 | 否,無法回憶該品項] | |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | SC | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId qrs-1: Nested item can't be beneath both item and answer |
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-d0 | SC | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D0 |
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 | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. |
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) |
item:item-d1a | SC | 0..1 | BackboneElement | D1a. 個案能重複的詞數 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1a |
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 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] |
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) |
item:item-d1b1 | SC | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b1 |
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-d1b2 | SC | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b2 |
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-d1b3 | SC | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 qrs-1: Nested item can't be beneath both item and answer |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
linkId | S | 1..1 | string | 問題或量表項目的唯一識別碼。[應填入獨立的編號] Required Pattern: D1b3 |
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 |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d0.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b1.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b2.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | |
QuestionnaireResponse.item:item-d1b3.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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-d0, QuestionnaireResponse.item:item-d1a, QuestionnaireResponse.item:item-d1b1, QuestionnaireResponse.item:item-d1b2, QuestionnaireResponse.item:item-d1b3 | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
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 | SC | 1..5 | BackboneElement | 問卷回覆的內容 Slice: Unordered, Open by value:linkId qrs-1: Nested item can't be beneath both item and answer | ||||
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-d0 | SC | 1..1 | BackboneElement | D0. 個案短期記憶力回答狀態 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D0 | ||||
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 | 個案短期記憶力回答狀態的回覆。[應填入以下字串之一:個案可回答 D 大題 | 個案本人無法回答 | 拒答] 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-d1a | SC | 0..1 | BackboneElement | D1a. 個案能重複的詞數 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1a | ||||
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 | integer | 個案能重複的詞數的回覆。[應填入 0-3 之間的整數] | ||||
item | 0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
item | S | 0..* | See item (QuestionnaireResponse) | 問卷的問題或量表項目(用於巢狀問卷) | ||||
item:item-d1b1 | SC | 0..1 | BackboneElement | D1b1. 回憶起「襪子」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b1 | ||||
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-d1b2 | SC | 0..1 | BackboneElement | D1b2. 回憶起「藍色」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b2 | ||||
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-d1b3 | SC | 0..1 | BackboneElement | D1b3. 回憶起「床鋪」 qrs-1: Nested item can't be beneath both item and answer | ||||
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: D1b3 | ||||
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 |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | ||||
QuestionnaireResponse.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.source.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d0.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b1.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b2.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard | ||||
QuestionnaireResponse.item:item-d1b3.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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-d0, QuestionnaireResponse.item:item-d1a, QuestionnaireResponse.item:item-d1b1, QuestionnaireResponse.item:item-d1b2, QuestionnaireResponse.item:item-d1b3 | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from LTCQuestionnaireResponse
Summary
Mandatory: 4 elements(12 nested mandatory elements)
Must-Support: 5 elements
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron