臺灣長期照顧實作指引(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/HNCaseDescResponse Version: 1.1.0
Draft as of 2026-09-29 Computable Name: HNCaseDescResponse

記錄共照紀錄的結構化內容。以各 Slice 填入資料,保留未作答與多筆紀錄。

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: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... 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Σ 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 8..* 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..* 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:CaseID 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: CaseID
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:10
.... item:EndDate 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: EndDate
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 date 回覆的內容。[應填入回覆的內容]
.... item:Date 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: Date
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 date 回覆的內容。[應填入回覆的內容]
.... item:Time 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: Time
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 time 回覆的內容。[應填入回覆的內容]
.... item:Time2 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: Time2
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 time 回覆的內容。[應填入回覆的內容]
.... item:MedicalName 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: MedicalName
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:50
.... item:Title 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: Title
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... Slices for item S 1..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
...... 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) 問卷的問題或量表項目(用於巢狀問卷)
..... Slices for item Content/Rules for all slices
...... item:Value S 1..1 BackboneElement 選項
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... answer 1..1 BackboneElement The response(s) to the question
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
...... item:Other S 0..1 BackboneElement 補充說明
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... answer 0..1 BackboneElement The response(s) to the question
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
.... item:Statement 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: Statement
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:200

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:CaseID.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:MedicalName.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG
QuestionnaireResponse.​item:Title.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Statement.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()
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:CaseID, QuestionnaireResponse.item:EndDate, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Time2, QuestionnaireResponse.item:MedicalName, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Statement 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: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... questionnaire 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-casedesc
... Slices for item 8..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed by value:linkId
.... item:CaseID S 1..1 BackboneElement 個案身分證字號
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: CaseID
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:10
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:EndDate S 1..1 BackboneElement 收案日期
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: EndDate
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 date 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Date S 1..1 BackboneElement 照護日期
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Date
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 date 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Time S 1..1 BackboneElement 開始時間
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Time
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 time 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Time2 S 1..1 BackboneElement 結束時間
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Time2
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 time 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:MedicalName S 1..1 BackboneElement 共照成員姓名
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: MedicalName
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:50
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Title S 1..1 BackboneElement 共照成員職稱
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Title
..... answer 0..0 問題或量表項目的回覆
..... Slices for item 1..* 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
..... Slices for item Content/Rules for all slices
...... item:Value S 1..1 BackboneElement 選項
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... answer 1..1 BackboneElement The response(s) to the question
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
....... item 0..0 Nested questionnaire response items
...... item:Other S 0..1 BackboneElement 補充說明
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... answer 0..1 BackboneElement The response(s) to the question
........ value[x] 1..1 string Single-valued answer to the question
Max Length:100
....... item 0..0 Nested questionnaire response items
.... item:Statement S 1..1 BackboneElement 照護紀錄
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Statement
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:200
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... 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/hn-casedesc
... 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 8..* 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..* 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:CaseID 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: CaseID
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:10
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:EndDate 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: EndDate
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 date 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Date 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: Date
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 date 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Time 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: Time
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 time 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Time2 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: Time2
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 time 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:MedicalName 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: MedicalName
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:50
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Title 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: Title
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... Slices for item S 1..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
...... 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) 問卷的問題或量表項目(用於巢狀問卷)
..... Slices for item Content/Rules for all slices
...... item:Value 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
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 1..1 BackboneElement The response(s) to the question
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
........ item 0..* See item (QuestionnaireResponse) Nested groups and questions
...... item:Other 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
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..1 BackboneElement The response(s) to the question
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
........ item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Statement 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: Statement
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions

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:CaseID.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:MedicalName.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG
QuestionnaireResponse.​item:Title.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Statement.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()
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:CaseID, QuestionnaireResponse.item:EndDate, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Time2, QuestionnaireResponse.item:MedicalName, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Statement Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 29 elements(1 nested mandatory element)
Must-Support: 11 elements
Prohibited: 10 elements

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)
  • The element 1 is sliced based on the value of QuestionnaireResponse.item.item (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... 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Σ 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 8..* 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..* 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:CaseID 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: CaseID
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:10
.... item:EndDate 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: EndDate
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 date 回覆的內容。[應填入回覆的內容]
.... item:Date 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: Date
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 date 回覆的內容。[應填入回覆的內容]
.... item:Time 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: Time
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 time 回覆的內容。[應填入回覆的內容]
.... item:Time2 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: Time2
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... answer S 1..1 BackboneElement 問題或量表項目的回覆
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value[x] S 1..1 time 回覆的內容。[應填入回覆的內容]
.... item:MedicalName 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: MedicalName
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:50
.... item:Title 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: Title
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... Slices for item S 1..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
...... 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) 問卷的問題或量表項目(用於巢狀問卷)
..... Slices for item Content/Rules for all slices
...... item:Value S 1..1 BackboneElement 選項
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... answer 1..1 BackboneElement The response(s) to the question
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
...... item:Other S 0..1 BackboneElement 補充說明
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... answer 0..1 BackboneElement The response(s) to the question
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
.... item:Statement 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: Statement
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:200

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:CaseID.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:MedicalName.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG
QuestionnaireResponse.​item:Title.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Statement.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()
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:CaseID, QuestionnaireResponse.item:EndDate, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Time2, QuestionnaireResponse.item:MedicalName, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Statement 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: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... questionnaire 1..1 canonical(長期照顧-問卷) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-casedesc
... Slices for item 8..* BackboneElement 問卷回覆的內容
Slice: Unordered, Closed by value:linkId
.... item:CaseID S 1..1 BackboneElement 個案身分證字號
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: CaseID
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:10
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:EndDate S 1..1 BackboneElement 收案日期
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: EndDate
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 date 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Date S 1..1 BackboneElement 照護日期
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Date
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 date 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Time S 1..1 BackboneElement 開始時間
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Time
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 time 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Time2 S 1..1 BackboneElement 結束時間
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Time2
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 time 回覆的內容。[應填入回覆的內容]
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:MedicalName S 1..1 BackboneElement 共照成員姓名
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: MedicalName
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:50
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)
.... item:Title S 1..1 BackboneElement 共照成員職稱
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Title
..... answer 0..0 問題或量表項目的回覆
..... Slices for item 1..* 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
..... Slices for item Content/Rules for all slices
...... item:Value S 1..1 BackboneElement 選項
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... answer 1..1 BackboneElement The response(s) to the question
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
....... item 0..0 Nested questionnaire response items
...... item:Other S 0..1 BackboneElement 補充說明
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... answer 0..1 BackboneElement The response(s) to the question
........ value[x] 1..1 string Single-valued answer to the question
Max Length:100
....... item 0..0 Nested questionnaire response items
.... item:Statement S 1..1 BackboneElement 照護紀錄
..... linkId 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
Required Pattern: Statement
..... answer 1..1 BackboneElement 問題或量表項目的回覆
...... value[x] 1..1 string 回覆的內容。[應填入回覆的內容]
Max Length:200
..... item 0..0 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* LTCQuestionnaireResponse A structured set of questions and their answers
Constraints: hn-casedesc-1, hn-casedesc-2
... 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/ExtHNEpisode
... 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/hn-casedesc
... 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 8..* 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..* 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:CaseID 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: CaseID
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:10
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:EndDate 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: EndDate
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 date 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Date 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: Date
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 date 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Time 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: Time
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 time 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Time2 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: Time2
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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 time 回覆的內容。[應填入回覆的內容]
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:MedicalName 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: MedicalName
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:50
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Title 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: Title
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... Slices for item S 1..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)
Slice: Unordered, Closed by value:linkId
...... 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) 問卷的問題或量表項目(用於巢狀問卷)
..... Slices for item Content/Rules for all slices
...... item:Value 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
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Value
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 1..1 BackboneElement The response(s) to the question
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 Coding Single-valued answer to the question
Binding: 居家護理-成員職稱選項 (required)
........ item 0..* See item (QuestionnaireResponse) Nested groups and questions
...... item:Other 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
....... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title.Other
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..1 BackboneElement The response(s) to the question
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ value[x] 1..1 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
........ item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Statement 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: Statement
..... definition 0..1 uri ElementDefinition - details for the item
..... text S 0..1 string 問題或量表項目的內容描述。[應填入問題或量表項目的內容]
..... 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.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions

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:CaseID.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:MedicalName.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Title.item:Value.​answer.value[x] Base required 居家護理-成員職稱選項 📦1.1.0 This IG
QuestionnaireResponse.​item:Title.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Statement.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()
hn-casedesc-1 error QuestionnaireResponse 共照成員職稱選擇其他時應填寫補充說明。 item.where(linkId='Title').all((item.where(linkId='Title.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='Title.Other').answer.value.exists())
hn-casedesc-2 error QuestionnaireResponse 照護結束時間不可早於開始時間。 item.where(linkId='Time2').answer.value.single() >= item.where(linkId='Time').answer.value.single()
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:CaseID, QuestionnaireResponse.item:EndDate, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Time2, QuestionnaireResponse.item:MedicalName, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Statement Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 29 elements(1 nested mandatory element)
Must-Support: 11 elements
Prohibited: 10 elements

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)
  • The element 1 is sliced based on the value of QuestionnaireResponse.item.item (Closed)

 

Other representations of profile: CSV, Excel, Schematron