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

記錄人員緊急事件的結構化內容。以各 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..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire SΣ 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... subject SΣ 1..1 Reference(Practitioner) The subject of the questions
... authored SΣ 1..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... Slices for item C 11..* BackboneElement Groups and questions
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 1..1 string Pointer to specific item from Questionnaire
.... item:Title SC 1..1 BackboneElement 工作人員職稱
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
..... 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:Name SC 1..1 BackboneElement 工作人員姓名
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:50
.... item:IDNo SC 1..1 BackboneElement 人員身分證字號
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
.... item:EmergencyType SC 1..1 BackboneElement 緊急事件類型
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
..... 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: EmergencyType.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: EmergencyType.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:Date SC 1..1 BackboneElement 發生日期
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... 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 date Single-valued answer to the question
.... item:Time SC 1..1 BackboneElement 發生時間
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... 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 time Single-valued answer to the question
.... item:Reason SC 1..1 BackboneElement 發生原因
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
.... item:Description SC 1..1 BackboneElement 事件敘述
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:Process SC 1..1 BackboneElement 通報及處理過程
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:Report SC 1..1 BackboneElement 檢討紀錄
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:CreateID SC 1..1 BackboneElement 建立機構代碼
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10

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: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:Name.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:IDNo.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG
QuestionnaireResponse.​item:EmergencyType.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Reason.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Description.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Process.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Report.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:CreateID.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-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Name, QuestionnaireResponse.item:IDNo, QuestionnaireResponse.item:EmergencyType, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Reason, QuestionnaireResponse.item:Description, QuestionnaireResponse.item:Process, QuestionnaireResponse.item:Report, QuestionnaireResponse.item:CreateID Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-2
... questionnaire S 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... status S 1..1 code in-progress | completed | amended | entered-in-error | stopped
... subject S 1..1 Reference(Practitioner) The subject of the questions
... author S 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... Slices for item 11..* BackboneElement Groups and questions
Slice: Unordered, Closed by value:linkId
.... item:Title S 1..1 BackboneElement 工作人員職稱
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... answer 0..0 The response(s) to the question
..... Slices for item 1..* Nested questionnaire response items
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:Name S 1..1 BackboneElement 工作人員姓名
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:50
..... item 0..0 Nested questionnaire response items
.... item:IDNo S 1..1 BackboneElement 人員身分證字號
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:10
..... item 0..0 Nested questionnaire response items
.... item:EmergencyType S 1..1 BackboneElement 緊急事件類型
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... answer 0..0 The response(s) to the question
..... Slices for item 1..* Nested questionnaire response items
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: EmergencyType.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: EmergencyType.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:Date S 1..1 BackboneElement 發生日期
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 date Single-valued answer to the question
..... item 0..0 Nested questionnaire response items
.... item:Time S 1..1 BackboneElement 發生時間
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 time Single-valued answer to the question
..... item 0..0 Nested questionnaire response items
.... item:Reason S 1..1 BackboneElement 發生原因
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... answer 1..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:Description S 1..1 BackboneElement 事件敘述
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:Process S 1..1 BackboneElement 通報及處理過程
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:Report S 1..1 BackboneElement 檢討紀錄
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:CreateID S 1..1 BackboneElement 建立機構代碼
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:10
..... item 0..0 Nested questionnaire response items

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
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hn-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of this action
... questionnaire SΣ 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... 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(Practitioner) The subject of the questions
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... authored SΣ 1..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... Slices for item C 11..* BackboneElement Groups and questions
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 1..1 string Pointer to specific item from Questionnaire
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
.... 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
..... 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:Name 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:50
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:IDNo 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:EmergencyType 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
..... 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: EmergencyType.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: EmergencyType.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: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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... 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 date Single-valued answer to the question
...... 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... 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 time Single-valued answer to the question
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Reason 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... 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 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:Description 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Process 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Report 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:CreateID 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
...... 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.​item.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:Name.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:IDNo.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG
QuestionnaireResponse.​item:EmergencyType.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Reason.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Description.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Process.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Report.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:CreateID.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-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Name, QuestionnaireResponse.item:IDNo, QuestionnaireResponse.item:EmergencyType, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Reason, QuestionnaireResponse.item:Description, QuestionnaireResponse.item:Process, QuestionnaireResponse.item:Report, QuestionnaireResponse.item:CreateID Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 41 elements(2 nested mandatory elements)
Must-Support: 20 elements
Prohibited: 15 elements

Structures

This structure refers to these other structures:

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..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire SΣ 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... subject SΣ 1..1 Reference(Practitioner) The subject of the questions
... authored SΣ 1..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... Slices for item C 11..* BackboneElement Groups and questions
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 1..1 string Pointer to specific item from Questionnaire
.... item:Title SC 1..1 BackboneElement 工作人員職稱
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
..... 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:Name SC 1..1 BackboneElement 工作人員姓名
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:50
.... item:IDNo SC 1..1 BackboneElement 人員身分證字號
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
.... item:EmergencyType SC 1..1 BackboneElement 緊急事件類型
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
..... 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: EmergencyType.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: EmergencyType.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:Date SC 1..1 BackboneElement 發生日期
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... 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 date Single-valued answer to the question
.... item:Time SC 1..1 BackboneElement 發生時間
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... 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 time Single-valued answer to the question
.... item:Reason SC 1..1 BackboneElement 發生原因
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:100
.... item:Description SC 1..1 BackboneElement 事件敘述
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:Process SC 1..1 BackboneElement 通報及處理過程
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:Report SC 1..1 BackboneElement 檢討紀錄
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
.... item:CreateID SC 1..1 BackboneElement 建立機構代碼
Constraints: qrs-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10

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: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:Name.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:IDNo.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG
QuestionnaireResponse.​item:EmergencyType.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Reason.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Description.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Process.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Report.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:CreateID.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-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Name, QuestionnaireResponse.item:IDNo, QuestionnaireResponse.item:EmergencyType, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Reason, QuestionnaireResponse.item:Description, QuestionnaireResponse.item:Process, QuestionnaireResponse.item:Report, QuestionnaireResponse.item:CreateID Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Differential View

This structure is derived from QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-2
... questionnaire S 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... status S 1..1 code in-progress | completed | amended | entered-in-error | stopped
... subject S 1..1 Reference(Practitioner) The subject of the questions
... author S 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... Slices for item 11..* BackboneElement Groups and questions
Slice: Unordered, Closed by value:linkId
.... item:Title S 1..1 BackboneElement 工作人員職稱
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... answer 0..0 The response(s) to the question
..... Slices for item 1..* Nested questionnaire response items
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:Name S 1..1 BackboneElement 工作人員姓名
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:50
..... item 0..0 Nested questionnaire response items
.... item:IDNo S 1..1 BackboneElement 人員身分證字號
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:10
..... item 0..0 Nested questionnaire response items
.... item:EmergencyType S 1..1 BackboneElement 緊急事件類型
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... answer 0..0 The response(s) to the question
..... Slices for item 1..* Nested questionnaire response items
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: EmergencyType.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: EmergencyType.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:Date S 1..1 BackboneElement 發生日期
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 date Single-valued answer to the question
..... item 0..0 Nested questionnaire response items
.... item:Time S 1..1 BackboneElement 發生時間
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 time Single-valued answer to the question
..... item 0..0 Nested questionnaire response items
.... item:Reason S 1..1 BackboneElement 發生原因
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... answer 1..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:Description S 1..1 BackboneElement 事件敘述
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:Process S 1..1 BackboneElement 通報及處理過程
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:Report S 1..1 BackboneElement 檢討紀錄
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:200
..... item 0..0 Nested questionnaire response items
.... item:CreateID S 1..1 BackboneElement 建立機構代碼
..... linkId 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... answer 1..1 BackboneElement The response(s) to the question
...... value[x] 1..1 string Single-valued answer to the question
Max Length:10
..... item 0..0 Nested questionnaire response items

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
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
hn-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse C 0..* QuestionnaireResponse A structured set of questions and their answers
Constraints: hn-staffegy-1, hn-staffegy-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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of this action
... questionnaire SΣ 1..1 canonical(Questionnaire) Form being answered
Required Pattern: http://ltc-ig.fhir.tw/Questionnaire/hn-staffegy
... 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(Practitioner) The subject of the questions
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... authored SΣ 1..1 dateTime Date the answers were gathered
... author SΣ 1..1 Reference(長期照顧-機構) Person who received and recorded the answers
... source Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) The person who answered the questions
... Slices for item C 11..* BackboneElement Groups and questions
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 1..1 string Pointer to specific item from Questionnaire
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
.... 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Title
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
..... 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:Name 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Name
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:50
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:IDNo 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: IDNo
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:EmergencyType 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: EmergencyType
..... definition 0..1 uri ElementDefinition - details for the item
..... text 0..1 string Name for group or question text
..... Slices for item 1..* See item (QuestionnaireResponse) Nested questionnaire response items
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 1..1 string Pointer to specific item from Questionnaire
....... definition 0..1 uri ElementDefinition - details for the item
....... text 0..1 string Name for group or question text
....... answer 0..* 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] 0..1 Single-valued answer to the question
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 0..* See item (QuestionnaireResponse) Nested questionnaire response items
..... 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: EmergencyType.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: EmergencyType.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: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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Date
..... 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 date Single-valued answer to the question
...... 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Time
..... 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 time Single-valued answer to the question
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Reason 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Reason
..... 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 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:Description 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Description
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Process 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Process
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:Report 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: Report
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:200
...... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item:CreateID 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 1..1 string Pointer to specific item from Questionnaire
Required Pattern: CreateID
..... 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 string Single-valued answer to the question
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
Max Length:10
...... 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.​item.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:Name.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:IDNo.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:EmergencyType.item:Value.​answer.value[x] Base required 居家護理-緊急事件類型選項 📦1.1.0 This IG
QuestionnaireResponse.​item:EmergencyType.item:Other.​answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Reason.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Description.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Process.answer.​value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:Report.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item:CreateID.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-staffegy-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-staffegy-2 error QuestionnaireResponse 緊急事件類型選擇其他時應填寫補充說明。 item.where(linkId='EmergencyType').all((item.where(linkId='EmergencyType.Value').answer.value.ofType(Coding).where(code='cd2909f1647e7').exists()) implies item.where(linkId='EmergencyType.Other').answer.value.exists())
qrs-1 error QuestionnaireResponse.item, QuestionnaireResponse.item:Title, QuestionnaireResponse.item:Name, QuestionnaireResponse.item:IDNo, QuestionnaireResponse.item:EmergencyType, QuestionnaireResponse.item:Date, QuestionnaireResponse.item:Time, QuestionnaireResponse.item:Reason, QuestionnaireResponse.item:Description, QuestionnaireResponse.item:Process, QuestionnaireResponse.item:Report, QuestionnaireResponse.item:CreateID Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

This structure is derived from QuestionnaireResponse

Summary

Mandatory: 41 elements(2 nested mandatory elements)
Must-Support: 20 elements
Prohibited: 15 elements

Structures

This structure refers to these other structures:

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