Patient-Generated Health Data (PGHD) Implementation Guide
0.5.0 - release
Publication Build: This will be filled in by the publication tooling
Official URL: http://fhir/pghd/StructureDefinition/pghd-questionnaire-response | Version: 0.5.0 | |||
Active as of 2024-12-19 | Computable Name: PGHDQuestionnaireResponse | |||
Copyright/Legal: Copyright 2024+ |
This profile defines the QuestionnaireResponse.
このプロファイルは質問票回答を定義します。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |
![]() ![]() ![]() |
S | 0..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) |
![]() ![]() ![]() |
S | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) |
![]() ![]() ![]() |
S | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) |
![]() ![]() ![]() |
S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Groups and questions (回答) |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) |
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Single-valued answer to the question (質問に対する回答内容) | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
SΣ | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) |
![]() ![]() ![]() |
SΣ | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) |
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions (回答) qrs-1: Nested item can't be beneath both item and answer |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) |
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question (質問に対する回答内容) Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers 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![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) | ||||
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions (回答) qrs-1: Nested item can't be beneath both item and answer | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question (質問に対する回答内容) Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |||||
![]() |
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.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers 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 QuestionnaireResponse
Differential View
This structure is derived from QuestionnaireResponse
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |
![]() ![]() ![]() |
S | 0..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) |
![]() ![]() ![]() |
S | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) |
![]() ![]() ![]() |
S | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) |
![]() ![]() ![]() |
S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) |
![]() ![]() ![]() |
S | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Groups and questions (回答) |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) |
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, Quantity, Reference(Resource) | Single-valued answer to the question (質問に対する回答内容) | |
![]() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
SΣ | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) |
![]() ![]() ![]() |
SΣ | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) |
![]() ![]() ![]() |
SΣ | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) |
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) |
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions (回答) qrs-1: Nested item can't be beneath both item and answer |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) |
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question (質問に対する回答内容) Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1 from the FHIR Standard | |
QuestionnaireResponse.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers 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![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | PGHD QuestionnaireResponse Profile (質問票回答プロファイル) | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Unique id for this set of answers | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(PGHD SelfCare Plan Profile) | Request fulfilled by this QuestionnaireResponse (この回答にって作られたセルフケアプランの参照) | ||||
![]() ![]() ![]() |
SΣ | 0..* | Reference(Observation) | Part of this action (この質問票の回答が行われる元となったPGHDの結果) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | canonical(PGHD Questionnaire Profile) | Form being answered (質問票への参照) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped (回答のステータス) Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The subject of the questions (回答の対象となる人) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Date the answers were gathered (回答が収集された日) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | Person who received and recorded the answers (回答を受け取って回答を記録した人) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PGHD Patient Profile) | The person who answered the questions (回答を行った人) | ||||
![]() ![]() ![]() |
SC | 0..* | BackboneElement | Groups and questions (回答) qrs-1: Nested item can't be beneath both item and answer | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Pointer to specific item from Questionnaire (質問項目に紐づくID) | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item (質問項目の詳細) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text (質問項目のテキスト表現) | |||||
![]() ![]() ![]() ![]() |
0..* | BackboneElement | The response(s) to the question (質問に対する回答) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Single-valued answer to the question (質問に対する回答内容) Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question. | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested groups and questions | |||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Nested questionnaire response items | |||||
![]() |
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.item.answer.value[x] | example | QuestionnaireAnswerCodes (a valid code from SNOMED CT)http://hl7.org/fhir/ValueSet/questionnaire-answers 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 QuestionnaireResponse
Other representations of profile: CSV, Excel, Schematron