ePath R4 Implementation Guide
1.0.1 - ci-build Japan

ePath R4 Implementation Guide - Local Development build (v1.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: EPath QuestionnaireResponse

Official URL: http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse | Version: 1.0.1
Active as of 2026-02-19 | Computable Name: EPathQuestionnaireResponse
Copyright/Legal: Joint Committee of JAMI and JSCP（日本医療情報学会と日本クリニカルパス学会との合同委員会）. CC(Creative Commons) BY-ND 4.0

入力フォーム回答（病日・イベント単位）

Usages:

- Use this Profile: EPath Bundle Message EP12 and EPath Bundle Message EP22
- Examples for this Profile: QuestionnaireResponse/QUIS-RES.4311234567.phr.Sample
- CapabilityStatements using this Profile: EPath Repository ClientCapabilityStatement and EPath Repository Server CapabilityStatement

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | QuestionnaireResponse | A structured set of questions and their answers
meta | Σ | 1..1 | Meta | Metadata about the resource
profile | S Σ | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | リソースインスタンス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S Σ | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。 Example General: 123456
Slices for basedOn | Σ | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S Σ | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
identifier | S Σ | 1..1 | Identifier | 適用時パス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
assigner | S Σ | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
basedOn:Event | S Σ | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
identifier | S Σ | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
questionnaire | S Σ | 0..1 | canonical(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(JP Core Patient Profile) | 主題への参照
identifier | S Σ | 0..1 | Identifier | 識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
authored | S Σ | 1..1 | dateTime | 回答を記録した日付を設定する。
author | S Σ | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S Σ | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
type | S Σ | 0..1 | uri | 回答者のリソース種別 Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | 回答者識別子
item | S C | 0..* | BackboneElement | 入力コントロール 入力値 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
QuestionnaireResponse.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍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()`
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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  |  | QuestionnaireResponse |
meta |  | 1..1 | Meta | Metadata about the resource
profile | S | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
identifier | S | 1..1 | Identifier | リソースインスタンス識別子
system |  | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。
Slices for basedOn |  | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
identifier | S | 1..1 | Identifier | 適用時パス識別子
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S | 1..1 | string | The value that is unique
assigner | S | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
basedOn:Event | S | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
identifier | S | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S | 1..1 | string | The value that is unique
questionnaire | S | 0..1 | canonical(Questionnaire) | 入力フォーム定義の正規URL
status | S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped
subject | S | 1..1 | Reference(JP Core Patient Profile) | 主題への参照
identifier | S | 0..1 | Identifier | 識別子
system | S | 1..1 | uri | The namespace for the identifier value
value | S | 1..1 | string | The value that is unique
authored | S | 1..1 | dateTime | 回答を記録した日付を設定する。
author | S | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
type | S | 0..1 | uri | 回答者のリソース種別
identifier | S | 0..1 | Identifier | 回答者識別子
item | S | 0..* | BackboneElement | 入力コントロール 入力値
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | QuestionnaireResponse | A structured set of questions and their answers
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 1..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | S Σ | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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.
Additional Bindings | Purpose
AllLanguages | Max Binding
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 | S Σ | 1..1 | Identifier | リソースインスタンス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S Σ | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。 Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
Slices for basedOn | Σ | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S Σ | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 1..1 | Identifier | 適用時パス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | S Σ | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
display | Σ | 0..1 | string | Text alternative for the resource
basedOn:Event | S Σ | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action
questionnaire | S Σ | 0..1 | canonical(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(JP Core Patient Profile) | 主題への参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 0..1 | Identifier | 識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
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 Σ | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S Σ | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | S Σ | 0..1 | uri | 回答者のリソース種別 Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | 回答者識別子
display | Σ | 0..1 | string | Text alternative for the resource
item | S C | 0..* | BackboneElement | 入力コントロール 入力値 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
definition |  | 0..1 | uri | ElementDefinition - details for the item
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] |  | 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
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
QuestionnaireResponse.​meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.

#### 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()`
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

Summary

Mandatory: 9 elements(9 nested mandatory elements)
Must-Support: 24 elements
Fixed: 3 elements

Structures

This structure refers to these other structures:

- EPath CarePlan EPathApply (http://e-path.jp/fhir/ePath/StructureDefinition/EPathCarePlanEPathApply)
- JP Core Organization Profile (http://jpfhir.jp/fhir/core/StructureDefinition/JP_Organization)
- EPath CarePlan Event (http://e-path.jp/fhir/ePath/StructureDefinition/EPathCarePlanEvent)
- JP Core Patient Profile (http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the values of QuestionnaireResponse.basedOn

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | QuestionnaireResponse | A structured set of questions and their answers
meta | Σ | 1..1 | Meta | Metadata about the resource
profile | S Σ | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | リソースインスタンス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S Σ | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。 Example General: 123456
Slices for basedOn | Σ | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S Σ | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
identifier | S Σ | 1..1 | Identifier | 適用時パス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
assigner | S Σ | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
basedOn:Event | S Σ | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
identifier | S Σ | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
questionnaire | S Σ | 0..1 | canonical(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(JP Core Patient Profile) | 主題への参照
identifier | S Σ | 0..1 | Identifier | 識別子
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
system | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
authored | S Σ | 1..1 | dateTime | 回答を記録した日付を設定する。
author | S Σ | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S Σ | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
type | S Σ | 0..1 | uri | 回答者のリソース種別 Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | 回答者識別子
item | S C | 0..* | BackboneElement | 入力コントロール 入力値 Constraints: qrs-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
QuestionnaireResponse.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍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()`
qrs-1 | error | QuestionnaireResponse.item | Nested item can't be beneath both item and answer | `(answer.exists() and item.exists()).not()`

Differential View

This structure is derived from QuestionnaireResponse

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  |  | QuestionnaireResponse |
meta |  | 1..1 | Meta | Metadata about the resource
profile | S | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
identifier | S | 1..1 | Identifier | リソースインスタンス識別子
system |  | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。
Slices for basedOn |  | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
identifier | S | 1..1 | Identifier | 適用時パス識別子
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S | 1..1 | string | The value that is unique
assigner | S | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
basedOn:Event | S | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
identifier | S | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S | 1..1 | string | The value that is unique
questionnaire | S | 0..1 | canonical(Questionnaire) | 入力フォーム定義の正規URL
status | S | 1..1 | code | in-progress | completed | amended | entered-in-error | stopped
subject | S | 1..1 | Reference(JP Core Patient Profile) | 主題への参照
identifier | S | 0..1 | Identifier | 識別子
system | S | 1..1 | uri | The namespace for the identifier value
value | S | 1..1 | string | The value that is unique
authored | S | 1..1 | dateTime | 回答を記録した日付を設定する。
author | S | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
type | S | 0..1 | uri | 回答者のリソース種別
identifier | S | 0..1 | Identifier | 回答者識別子
item | S | 0..* | BackboneElement | 入力コントロール 入力値
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
QuestionnaireResponse |  | 0..* | QuestionnaireResponse | A structured set of questions and their answers
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 1..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | S Σ | 1..* | canonical(StructureDefinition) | 本プロファイルを識別するURLとバージョンを指定する。http://e-path.jp/fhir/ePath/StructureDefinition/EPathQuestionnaireResponse|x.y.z を設定する。
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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.
Additional Bindings | Purpose
AllLanguages | Max Binding
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 | S Σ | 1..1 | Identifier | リソースインスタンス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | 固定値 http://e-path.jp/fhir/ePath/IdSystem/quis-response-id を設定する。 Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/quis-response-id
value | S Σ | 1..1 | string | リソースインスタンス識別子、フォームの回答を一意に特定できる値を設定する。 Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
Slices for basedOn | Σ | 0..* | Reference(CarePlan) | ケアプランへの参照 Slice: Unordered, Open by value:identifier.system
basedOn:ePathApply | S Σ | 0..1 | Reference(EPath CarePlan EPathApply) | 適用後パスへの参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 1..1 | Identifier | 適用時パス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/apply-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | S Σ | 1..1 | Reference(JP Core Organization Profile) | 医療機関情報
display | Σ | 0..1 | string | Text alternative for the resource
basedOn:Event | S Σ | 0..1 | Reference(EPath CarePlan Event) | 病日・イベントへの参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 1..1 | Identifier | 病日・イベント情報のリソースインスタンス識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://e-path.jp/fhir/ePath/IdSystem/event-id
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
partOf | Σ | 0..* | Reference(Observation | Procedure) | Part of this action
questionnaire | S Σ | 0..1 | canonical(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(JP Core Patient Profile) | 主題への参照
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
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 | S Σ | 0..1 | Identifier | 識別子
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
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 Σ | 1..1 | Reference(Device | Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | フォームの記録者情報を設定する。
source | S Σ | 1..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | フォームの回答者情報を設定する。
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 | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | S Σ | 0..1 | uri | 回答者のリソース種別 Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | S Σ | 0..1 | Identifier | 回答者識別子
display | Σ | 0..1 | string | Text alternative for the resource
item | S C | 0..* | BackboneElement | 入力コントロール 入力値 Constraints: qrs-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
linkId | S | 1..1 | string | OATユニット識別子[-リピート番号]、観察項目識別子を半角ピリオド"."で連結したものを設定する。観察項目識別子は観察項目レベルで一意の識別子を設定すること。
definition |  | 0..1 | uri | ElementDefinition - details for the item
text |  | 0..1 | string | 質問の内容（観察項目コード表記）
answer | S | 0..* | BackboneElement | 入力フォームの回答
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
value[x] |  | 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
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
QuestionnaireResponse.​meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:ePathApply.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​basedOn:Event.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​status | Base | required | QuestionnaireResponseStatus | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​subject.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​source.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
QuestionnaireResponse.​item.answer.value[x] | Base | example | Questionnaire Answer Codes | 📍4.0.1 | FHIR Std.

#### 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()`
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

Summary

Mandatory: 9 elements(9 nested mandatory elements)
Must-Support: 24 elements
Fixed: 3 elements

Structures

This structure refers to these other structures:

- EPath CarePlan EPathApply (http://e-path.jp/fhir/ePath/StructureDefinition/EPathCarePlanEPathApply)
- JP Core Organization Profile (http://jpfhir.jp/fhir/core/StructureDefinition/JP_Organization)
- EPath CarePlan Event (http://e-path.jp/fhir/ePath/StructureDefinition/EPathCarePlanEvent)
- JP Core Patient Profile (http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the values of QuestionnaireResponse.basedOn

Other representations of profile: CSV, Excel, Schematron