臺灣長期照顧實作指引 (Taiwan Long-Term Care FHIR Implementation Guide)
0.1.1 - ci-build

臺灣長期照顧實作指引 (Taiwan Long-Term Care FHIR Implementation Guide) - Local Development build (v0.1.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: TWLTC QuestionnaireResponse Referral SOF

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/LTCQuestionnaireResponseReferralSOF Version: 0.1.1
Draft as of 2024-09-16 Computable Name: LTCQuestionnaireResponseReferralSOF

轉介單的長者衰弱評估問卷回覆

Usage:

Formal Views of Profile Content

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

This structure is derived from LTCQuestionnaireResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse LTCQuestionnaireResponse
... item 3..3 BackboneElement 問卷回覆的內容
.... text 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer
..... value[x] 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..* LTCQuestionnaireResponse A structured set of questions and their answers
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire SΣ 0..1 canonical(TWLTC Questionnaire) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
... subject SΣ 1..1 Reference(TWLTC Patient) 問卷回覆的適用主體
.... reference SΣC 1..1 string 問卷回覆的適用主體。[應輸入 Patient Resource ID]
... authored SΣ 1..1 dateTime 問卷回覆的填寫日期
... author SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 問卷回覆的填寫者
.... reference SΣC 1..1 string 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
... source SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 誰提供了問卷回覆的資料,意即誰回答了這份問卷
.... reference SΣC 1..1 string 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
... item SC 3..3 BackboneElement 問卷回覆的內容
qrs-1: Nested item can't be beneath both item and answer
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
.... text S 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer S 0..* BackboneElement 問題或量表項目的回覆
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... value[x] S 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]
.... item S 0..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()
NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..* LTCQuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of this action
... questionnaire SΣ 0..1 canonical(TWLTC Questionnaire) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
... status ?!SΣ 1..1 code 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped]
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject SΣ 1..1 Reference(TWLTC Patient) 問卷回覆的適用主體
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 問卷回覆的適用主體。[應輸入 Patient Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... authored SΣ 1..1 dateTime 問卷回覆的填寫日期
... author SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 問卷回覆的填寫者
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... source SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 誰提供了問卷回覆的資料,意即誰回答了這份問卷
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... item SC 3..3 BackboneElement 問卷回覆的內容
qrs-1: Nested item can't be beneath both item and answer
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
.... definition 0..1 uri ElementDefinition - details for the item
.... text S 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer S 0..* BackboneElement 問題或量表項目的回覆
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... value[x] S 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
QuestionnaireResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
from the FHIR Standard
QuestionnaireResponse.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
QuestionnaireResponse.author.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
QuestionnaireResponse.source.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 1 element(1 nested mandatory element)

Differential View

This structure is derived from LTCQuestionnaireResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse LTCQuestionnaireResponse
... item 3..3 BackboneElement 問卷回覆的內容
.... text 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer
..... value[x] 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..* LTCQuestionnaireResponse A structured set of questions and their answers
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... questionnaire SΣ 0..1 canonical(TWLTC Questionnaire) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
... subject SΣ 1..1 Reference(TWLTC Patient) 問卷回覆的適用主體
.... reference SΣC 1..1 string 問卷回覆的適用主體。[應輸入 Patient Resource ID]
... authored SΣ 1..1 dateTime 問卷回覆的填寫日期
... author SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 問卷回覆的填寫者
.... reference SΣC 1..1 string 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
... source SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 誰提供了問卷回覆的資料,意即誰回答了這份問卷
.... reference SΣC 1..1 string 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
... item SC 3..3 BackboneElement 問卷回覆的內容
qrs-1: Nested item can't be beneath both item and answer
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
.... text S 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer S 0..* BackboneElement 問題或量表項目的回覆
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... value[x] S 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]
.... item S 0..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireResponse 0..* LTCQuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..1 Identifier Unique id for this set of answers
... basedOn Σ 0..* Reference(CarePlan | ServiceRequest) Request fulfilled by this QuestionnaireResponse
... partOf Σ 0..* Reference(Observation | Procedure) Part of this action
... questionnaire SΣ 0..1 canonical(TWLTC Questionnaire) 這個問卷回覆所回答的問卷。[應填入問卷的 URL]
... status ?!SΣ 1..1 code 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped]
Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response.

... subject SΣ 1..1 Reference(TWLTC Patient) 問卷回覆的適用主體
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 問卷回覆的適用主體。[應輸入 Patient Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter Σ 0..1 Reference(Encounter) Encounter created as part of
... authored SΣ 1..1 dateTime 問卷回覆的填寫日期
... author SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 問卷回覆的填寫者
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... source SΣ 0..1 Reference(TWLTC Practitioner | TWLTC RelatedPerson | TWLTC Patient | TWLTC PractitionerRole) 誰提供了問卷回覆的資料,意即誰回答了這份問卷
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC 1..1 string 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID]
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... item SC 3..3 BackboneElement 問卷回覆的內容
qrs-1: Nested item can't be beneath both item and answer
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... linkId S 1..1 string 問題或量表項目的唯一識別碼。[應填入獨立的編號]
.... definition 0..1 uri ElementDefinition - details for the item
.... text S 1..1 string 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低]
.... answer S 0..* BackboneElement 問題或量表項目的回覆
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... value[x] S 1..1 boolean 回覆的內容。[應填入以下值之一:true (是) / false (否)]
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item S 0..* See item (QuestionnaireResponse) 問卷的問題或量表項目(用於巢狀問卷)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
QuestionnaireResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
QuestionnaireResponse.statusrequiredQuestionnaireResponseStatus
http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1
from the FHIR Standard
QuestionnaireResponse.subject.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
QuestionnaireResponse.author.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
QuestionnaireResponse.source.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorQuestionnaireResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireResponseIf 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-4errorQuestionnaireResponseIf 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-5errorQuestionnaireResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceQuestionnaireResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
qrs-1errorQuestionnaireResponse.itemNested item can't be beneath both item and answer
: (answer.exists() and item.exists()).not()

This structure is derived from LTCQuestionnaireResponse

Summary

Mandatory: 1 element(1 nested mandatory element)

 

Other representations of profile: CSV, Excel, Schematron