HL7中国表单填报实施指南
2025.03.11 - release
HL7中国表单填报实施指南 - Local Development build (v2025.03.11) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
官方URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/profile-extractable-questionnaire-response | 版本: 2025.03.11 | |||
Draft as of 2025-03-11 | 机读名称: ExtractableQuestionnaireResponse |
支持数据提取的调查问卷应答资源本地化定义。
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | 该调查问卷应答填报的时间 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
C | 1..* | BackboneElement | 调查问卷应答中的条目 ele-1: All FHIR elements must have a @value or children qrs-1: Item cannot contain both item and answer qrs-2: Repeated answers are combined in the answers array of a single item |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
C | 1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SC | 0..* | BackboneElement | 条目的应答 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | 条目应答的数据类型由调查问卷中的item.type决定 Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Item cannot contain both item and answer : (answer.exists() and item.exists()).not() | |
qrs-2 | error | QuestionnaireResponse.item | Repeated answers are combined in the answers array of a single item : repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue() |
该结构继承自 QuestionnaireResponse 。
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |
![]() ![]() ![]() |
S | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 |
![]() ![]() ![]() |
S | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed |
![]() ![]() ![]() |
1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | 该调查问卷应答填报的时间 | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | BackboneElement | 调查问卷应答中的条目 | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation |
![]() ![]() ![]() ![]() |
1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 | |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | 条目的应答 |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, SimpleQuantity, Reference(Resource) | 条目应答的数据类型由调查问卷中的item.type决定 | |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |||||
![]() ![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for 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 | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this set of answers | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Observation | Procedure) | Part of referenced event | ||||
![]() ![]() ![]() |
SΣ | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | 该调查问卷应答填报的时间 | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | 调查问卷应答中的条目 qrs-1: Item cannot contain both item and answer qrs-2: Repeated answers are combined in the answers array of a single item | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text | |||||
![]() ![]() ![]() ![]() |
SC | 0..* | BackboneElement | 条目的应答 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | 条目应答的数据类型由调查问卷中的item.type决定 Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities. | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Child items of question | |||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Child items of group item | |||||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Item cannot contain both item and answer : (answer.exists() and item.exists()).not() | |
qrs-2 | error | QuestionnaireResponse.item | Repeated answers are combined in the answers array of a single item : repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue() |
该结构继承自 QuestionnaireResponse 。
关键元素视图
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | 该调查问卷应答填报的时间 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
C | 1..* | BackboneElement | 调查问卷应答中的条目 ele-1: All FHIR elements must have a @value or children qrs-1: Item cannot contain both item and answer qrs-2: Repeated answers are combined in the answers array of a single item |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
C | 1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SC | 0..* | BackboneElement | 条目的应答 ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | 条目应答的数据类型由调查问卷中的item.type决定 Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Item cannot contain both item and answer : (answer.exists() and item.exists()).not() | |
qrs-2 | error | QuestionnaireResponse.item | Repeated answers are combined in the answers array of a single item : repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue() |
差异视图
该结构继承自 QuestionnaireResponse 。
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |
![]() ![]() ![]() |
S | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 |
![]() ![]() ![]() |
S | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed |
![]() ![]() ![]() |
1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | dateTime | 该调查问卷应答填报的时间 | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..* | BackboneElement | 调查问卷应答中的条目 | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation |
![]() ![]() ![]() ![]() |
1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 | |
![]() ![]() ![]() ![]() |
S | 0..* | BackboneElement | 条目的应答 |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean, decimal, integer, date, dateTime, time, string, uri, Attachment, Coding, SimpleQuantity, Reference(Resource) | 条目应答的数据类型由调查问卷中的item.type决定 | |
![]() |
快照视图
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | QuestionnaireResponse | A structured set of questions and their answers | |||||
![]() ![]() ![]() |
Σ | 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: AllLanguages (required): IETF language tag for 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 | ||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this set of answers | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(CarePlan | ServiceRequest) | Request fulfilled by this QuestionnaireResponse | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(Observation | Procedure) | Part of referenced event | ||||
![]() ![]() ![]() |
SΣ | 1..1 | canonical(Questionnaire) | 指向调查问卷的全球唯一标识符 | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | 该调查问卷应答的状态,默认值可以设为completed Binding: QuestionnaireResponseStatus (required): Lifecycle status of the questionnaire response. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Person) | 调查对象。如果为匿名用户可以使用Reference.identifier记录居民的唯一标识符 | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | 该调查问卷应答填报的时间 | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | 调查问卷应答中的条目 qrs-1: Item cannot contain both item and answer qrs-2: Repeated answers are combined in the answers array of a single item | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | boolean | 该条目所填报的数据是否需要被提取分析.默认值为false URL: http://hl7.org.cn/fhir-ig/form/StructureDefinition/ext-extractable-observation | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | 条目应答的唯一标识,与调查问卷中条目标识相对应。 | ||||
![]() ![]() ![]() ![]() |
0..1 | uri | ElementDefinition - details for the item | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Name for group or question text | |||||
![]() ![]() ![]() ![]() |
SC | 0..* | BackboneElement | 条目的应答 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | 条目应答的数据类型由调查问卷中的item.type决定 Binding: QuestionnaireAnswerCodes (example): Binding this is problematic because one value set can't apply to both codes and quantities. | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
time | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Reference(Resource) | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Child items of question | |||||
![]() ![]() ![]() ![]() |
0..* | See item (QuestionnaireResponse) | Child items of group item | |||||
![]() |
Path | Conformance | ValueSet | URI |
QuestionnaireResponse.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
QuestionnaireResponse.status | required | QuestionnaireResponseStatushttp://hl7.org/fhir/ValueSet/questionnaire-answers-status|5.0.0 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Item cannot contain both item and answer : (answer.exists() and item.exists()).not() | |
qrs-2 | error | QuestionnaireResponse.item | Repeated answers are combined in the answers array of a single item : repeat(answer|item).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue() |
该结构继承自 QuestionnaireResponse 。
本 Profile 的其它表示法: CSV, Excel, Schematron