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

臺灣長期照顧實作指引(TW LTC IG) - Local Development build (v1.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 在宅急症-收案評估回覆

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/HAHAssessmentResponse Version: 1.1.0
Draft as of 2026-09-29 Computable Name: HAHAssessmentResponse

記錄評估依據、居家環境、照顧者支援與收案建議。

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... 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Σ 1..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 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed 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..1 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:criteria SC 1..1 BackboneElement 評估所依據的計畫名稱與版本
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: criteria
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:homeSafety SC 1..1 BackboneElement 居家環境與設備可行性評估
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: home-safety
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:caregiverSupport SC 1..1 BackboneElement 照顧者支援與照護能力
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: caregiver-support
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:decision SC 1..1 BackboneElement 收案建議
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: decision
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason SC 0..1 BackboneElement 不建議收案或待確認的原因
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: reason
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:criteria.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:homeSafety.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:caregiverSupport.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG
QuestionnaireResponse.​item:reason.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()
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:criteria, QuestionnaireResponse.item:homeSafety, QuestionnaireResponse.item:caregiverSupport, QuestionnaireResponse.item:decision, QuestionnaireResponse.item:reason Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... questionnaire 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hah-intake-assessment|1.1.0
... subject 1..1 Reference(在宅急症-個案) 問卷回覆的適用主體
... Slices for item 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed by value:linkId
.... item:All Slices Content/Rules for all slices
..... answer 0..1 BackboneElement 問題或量表項目的回覆
...... item 0..0 Nested groups and questions
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:criteria S 1..1 BackboneElement 評估所依據的計畫名稱與版本
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: criteria
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:homeSafety S 1..1 BackboneElement 居家環境與設備可行性評估
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: home-safety
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:caregiverSupport S 1..1 BackboneElement 照顧者支援與照護能力
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: caregiver-support
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:decision S 1..1 BackboneElement 收案建議
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: decision
..... answer
...... value[x] 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason S 0..1 BackboneElement 不建議收案或待確認的原因
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: reason
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... 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Σ 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hah-intake-assessment|1.1.0
... 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Σ 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 問卷回覆的填寫者。[應輸入 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 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed 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..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 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:criteria SC 1..1 BackboneElement 評估所依據的計畫名稱與版本
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: criteria
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:homeSafety SC 1..1 BackboneElement 居家環境與設備可行性評估
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: home-safety
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:caregiverSupport SC 1..1 BackboneElement 照顧者支援與照護能力
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: caregiver-support
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:decision SC 1..1 BackboneElement 收案建議
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: decision
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason SC 0..1 BackboneElement 不建議收案或待確認的原因
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: reason
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​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:criteria.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:homeSafety.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:caregiverSupport.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG
QuestionnaireResponse.​item:reason.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()
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:criteria, QuestionnaireResponse.item:homeSafety, QuestionnaireResponse.item:caregiverSupport, QuestionnaireResponse.item:decision, QuestionnaireResponse.item:reason Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 8 elements
Must-Support: 6 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.item (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... 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Σ 1..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 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed 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..1 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:criteria SC 1..1 BackboneElement 評估所依據的計畫名稱與版本
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: criteria
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:homeSafety SC 1..1 BackboneElement 居家環境與設備可行性評估
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: home-safety
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:caregiverSupport SC 1..1 BackboneElement 照顧者支援與照護能力
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: caregiver-support
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:decision SC 1..1 BackboneElement 收案建議
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: decision
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason SC 0..1 BackboneElement 不建議收案或待確認的原因
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: reason
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:criteria.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:homeSafety.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:caregiverSupport.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG
QuestionnaireResponse.​item:reason.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()
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:criteria, QuestionnaireResponse.item:homeSafety, QuestionnaireResponse.item:caregiverSupport, QuestionnaireResponse.item:decision, QuestionnaireResponse.item:reason Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Differential View

This structure is derived from LTCQuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... questionnaire 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hah-intake-assessment|1.1.0
... subject 1..1 Reference(在宅急症-個案) 問卷回覆的適用主體
... Slices for item 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed by value:linkId
.... item:All Slices Content/Rules for all slices
..... answer 0..1 BackboneElement 問題或量表項目的回覆
...... item 0..0 Nested groups and questions
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:criteria S 1..1 BackboneElement 評估所依據的計畫名稱與版本
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: criteria
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:homeSafety S 1..1 BackboneElement 居家環境與設備可行性評估
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: home-safety
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:caregiverSupport S 1..1 BackboneElement 照顧者支援與照護能力
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: caregiver-support
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]
.... item:decision S 1..1 BackboneElement 收案建議
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: decision
..... answer
...... value[x] 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason S 0..1 BackboneElement 不建議收案或待確認的原因
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: reason
..... answer
...... value[x] 0..1 string 回覆的內容。[應填入回覆的內容]

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hah-assessment-completed, hah-assessment-reason
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:episode S 1..1 Reference(在宅急症-收案療程) 在宅急症-療程關聯
URL: http://ltc-ig.fhir.tw/StructureDefinition/ExtHAHEpisode
... 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Σ 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hah-intake-assessment|1.1.0
... 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Σ 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 問卷回覆的填寫者。[應輸入 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 4..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed 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..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 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:criteria SC 1..1 BackboneElement 評估所依據的計畫名稱與版本
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: criteria
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:homeSafety SC 1..1 BackboneElement 居家環境與設備可行性評估
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: home-safety
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:caregiverSupport SC 1..1 BackboneElement 照顧者支援與照護能力
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: caregiver-support
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
.... item:decision SC 1..1 BackboneElement 收案建議
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: decision
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 Coding 回覆的內容。[應填入回覆的內容]
Binding: 在宅急症-收案評估結果值集 (required)
.... item:reason SC 0..1 BackboneElement 不建議收案或待確認的原因
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: reason
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 0..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 0..1 string 回覆的內容。[應填入回覆的內容]
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required QuestionnaireResponseStatus 📍4.0.1 FHIR Std.
QuestionnaireResponse.​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:criteria.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:homeSafety.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:caregiverSupport.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:decision.answer.​value[x] Base required 在宅急症-收案評估結果值集 📦1.1.0 This IG
QuestionnaireResponse.​item:reason.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()
hah-assessment-completed error QuestionnaireResponse 已完成或修訂的評估,四項必要題目都應有答案。 (status = 'completed' or status = 'amended') implies item.where(linkId = 'criteria' or linkId = 'home-safety' or linkId = 'caregiver-support' or linkId = 'decision').all(answer.value.exists())
hah-assessment-reason error QuestionnaireResponse 不建議收案或待確認時應填寫原因。 item.where(linkId='decision').answer.value.ofType(Coding).where(code='ineligible' or code='pending').exists() implies item.where(linkId='reason').answer.value.exists()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:criteria, QuestionnaireResponse.item:homeSafety, QuestionnaireResponse.item:caregiverSupport, QuestionnaireResponse.item:decision, QuestionnaireResponse.item:reason Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 8 elements
Must-Support: 6 elements
Prohibited: 2 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.item (Closed)

 

Other representations of profile: CSV, Excel, Schematron