臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide)
0.2.0 - ci-build+trial-use
臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide) - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://ltc-ig.fhir.tw/StructureDefinition/LTCQuestionnaireResponseReferralSOF | Version: 0.2.0 | |||
Active as of 2024-10-23 | Computable Name: LTCQuestionnaireResponseReferralSOF |
此 Profile 說明本 IG 如何進一步定義 FHIR 的 QuestionnaireResponse Resource,以呈現轉介單-衰弱評估問卷的回覆資料。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from LTCQuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | LTCQuestionnaireResponse | |||
item | 3..3 | BackboneElement | 問卷回覆的內容 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低] | |
answer | ||||
value[x] | 1..1 | boolean | 回覆的內容。[應填入以下值之一:true (是) / false (否)] | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | LTCQuestionnaireResponse | A structured set of questions and their answers | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
questionnaire | SΣ | 0..1 | canonical(長期照顧-問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL] |
status | ?!SΣ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
subject | SΣ | 1..1 | Reference(長期照顧-住民基本資料) | 問卷回覆的適用主體 |
reference | SΣC | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID] |
authored | SΣ | 1..1 | dateTime | 問卷回覆的填寫日期 |
author | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 問卷回覆的填寫者 |
reference | SΣC | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] |
source | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 誰提供了問卷回覆的資料,意即誰回答了這份問卷 |
reference | SΣC | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] |
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) | 問卷的問題或量表項目(用於巢狀問卷) |
Documentation for this format |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
QuestionnaireResponse | 0..* | LTCQuestionnaireResponse | A structured set of questions and their answers | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..1 | Identifier | Unique id for this set of answers | ||||
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action | ||||
questionnaire | SΣ | 0..1 | canonical(長期照顧-問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL] | ||||
status | ?!SΣ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
subject | SΣ | 1..1 | Reference(長期照顧-住民基本資料) | 問卷回覆的適用主體 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
authored | SΣ | 1..1 | dateTime | 問卷回覆的填寫日期 | ||||
author | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 問卷回覆的填寫者 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
source | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 誰提供了問卷回覆的資料,意即誰回答了這份問卷 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
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) | 問卷的問題或量表項目(用於巢狀問卷) | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | ||||
QuestionnaireResponse.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.source.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from LTCQuestionnaireResponse
Differential View
This structure is derived from LTCQuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | LTCQuestionnaireResponse | |||
item | 3..3 | BackboneElement | 問卷回覆的內容 | |
text | 1..1 | string | 問題或量表項目的內容描述。[應填入以下問題之一:體重減輕 / 下肢功能 / 精力降低] | |
answer | ||||
value[x] | 1..1 | boolean | 回覆的內容。[應填入以下值之一:true (是) / false (否)] | |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | LTCQuestionnaireResponse | A structured set of questions and their answers | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
questionnaire | SΣ | 0..1 | canonical(長期照顧-問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL] |
status | ?!SΣ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
subject | SΣ | 1..1 | Reference(長期照顧-住民基本資料) | 問卷回覆的適用主體 |
reference | SΣC | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID] |
authored | SΣ | 1..1 | dateTime | 問卷回覆的填寫日期 |
author | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 問卷回覆的填寫者 |
reference | SΣC | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] |
source | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 誰提供了問卷回覆的資料,意即誰回答了這份問卷 |
reference | SΣC | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] |
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) | 問卷的問題或量表項目(用於巢狀問卷) |
Documentation for this format |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
QuestionnaireResponse | 0..* | LTCQuestionnaireResponse | A structured set of questions and their answers | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..1 | Identifier | Unique id for this set of answers | ||||
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action | ||||
questionnaire | SΣ | 0..1 | canonical(長期照顧-問卷) | 這個問卷回覆所回答的問卷。[應填入問卷的 URL] | ||||
status | ?!SΣ | 1..1 | code | 問卷回覆的狀態。[應填入 in-progress / completed / amended / entered-in-error / stopped] Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
subject | SΣ | 1..1 | Reference(長期照顧-住民基本資料) | 問卷回覆的適用主體 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 問卷回覆的適用主體。[應輸入 Patient Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of | ||||
authored | SΣ | 1..1 | dateTime | 問卷回覆的填寫日期 | ||||
author | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 問卷回覆的填寫者 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 問卷回覆的填寫者。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
source | SΣ | 0..1 | Reference(長期照顧-照顧服務提供者 | 長期照顧-關係人 | 長期照顧-住民基本資料 | 長期照顧-服務人員角色) | 誰提供了問卷回覆的資料,意即誰回答了這份問卷 | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
reference | SΣC | 1..1 | string | 誰提供了問卷回覆的資料。[應輸入 Practitioner / RelatedPerson / Patient / PractitionerRole Resource ID] | ||||
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
display | Σ | 0..1 | string | Text alternative for the resource | ||||
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) | 問卷的問題或量表項目(用於巢狀問卷) | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
QuestionnaireResponse.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | ||||
QuestionnaireResponse.subject.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.author.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard | ||||
QuestionnaireResponse.source.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | QuestionnaireResponse | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | error | QuestionnaireResponse | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | QuestionnaireResponse | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer : (answer.exists() and item.exists()).not() |
This structure is derived from LTCQuestionnaireResponse
Other representations of profile: CSV, Excel, Schematron