This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/questionnaireanswers-sdc-structureddatacaptureanswers
Defines how the questionnaire answers resource is used to reflect form data within the ONC's Structured Data Capture standard.
This profile was published on Mon, Apr 21, 2014 00:00+1000 as a draft by U.S. Office of the National Coordinator (ONC)'s Standards and Infrastructure (S&I) Structured Data Capture project.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from QuestionnaireAnswers.
Required/Prohibited Elements
This structure is derived from QuestionnaireAnswers.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | QuestionnaireAnswers | ||
identifier | S | 0..1 | Identifier | |
questionnaire | S | 1..1 | Questionnaire | |
status | S | 1..1 | code | |
subject | S | 1..1 | Patient | |
author | S | 0..1 | Practitioner, Patient, RelatedPerson | |
authored | S | 1..1 | dateTime | Identifies when this version of the answer set was created. Changes whenever the answers are updated. |
source | 0..1 | Patient, Practitioner, RelatedPerson | ||
encounter | 0..1 | Encounter | ||
group | S | 1..1 | ||
linkId | S | 1..1 | ||
title | S | 0..1 | string | |
text | S | 0..1 | string | |
subject | 0..1 | Resource | ||
group | S | 0..* | ||
question | S | 0..* | ||
linkId | S | 1..1 | string | |
text | S | 1..1 | string | |
answer | S | 0..* | ||
value[x] | S | 0..* | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, Resource | |
group | 0..* |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | QuestionnaireAnswers | A structured set of questions and their answers | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | S Σ | 0..1 | Identifier | Unique id for this set of answers |
questionnaire | S Σ | 1..1 | Questionnaire | Form being answered |
status | ?! SΣ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireAnswersStatus (required) |
subject | S Σ | 1..1 | Patient | The subject of the questions |
author | S Σ | 0..1 | Practitioner, Patient, RelatedPerson | Person who received and recorded the answers |
authored | S Σ | 1..1 | dateTime | Identifies when this version of the answer set was created. Changes whenever the answers are updated. |
source | Σ | 0..1 | Patient, Practitioner, RelatedPerson | The person who answered the questions |
encounter | Σ | 0..1 | Encounter | Primary encounter during which the answers were collected |
group | S I | 1..1 | Grouped questions qan-1: Groups may either contain questions or groups but not both | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | Corresponding group within Questionnaire |
title | S | 0..1 | string | Name for this group |
text | S | 0..1 | string | Additional text for the group |
subject | 0..1 | Resource | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire answers group | |
question | S I | 0..* | Questions in this group | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | Corresponding question within Questionnaire |
text | S | 1..1 | string | Text of the question as it is shown to the user |
answer | S | 0..* | The response(s) to the question | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
value[x] | S | 0..* | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, Resource | Single-valued answer to the question |
group | 0..* | Nested questionnaire group |
todo
This structure is derived from QuestionnaireAnswers.
Required/Prohibited Elements
Differential View
This structure is derived from QuestionnaireAnswers.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | QuestionnaireAnswers | ||
identifier | S | 0..1 | Identifier | |
questionnaire | S | 1..1 | Questionnaire | |
status | S | 1..1 | code | |
subject | S | 1..1 | Patient | |
author | S | 0..1 | Practitioner, Patient, RelatedPerson | |
authored | S | 1..1 | dateTime | Identifies when this version of the answer set was created. Changes whenever the answers are updated. |
source | 0..1 | Patient, Practitioner, RelatedPerson | ||
encounter | 0..1 | Encounter | ||
group | S | 1..1 | ||
linkId | S | 1..1 | ||
title | S | 0..1 | string | |
text | S | 0..1 | string | |
subject | 0..1 | Resource | ||
group | S | 0..* | ||
question | S | 0..* | ||
linkId | S | 1..1 | string | |
text | S | 1..1 | string | |
answer | S | 0..* | ||
value[x] | S | 0..* | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, Resource | |
group | 0..* |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | QuestionnaireAnswers | A structured set of questions and their answers | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | S Σ | 0..1 | Identifier | Unique id for this set of answers |
questionnaire | S Σ | 1..1 | Questionnaire | Form being answered |
status | ?! SΣ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireAnswersStatus (required) |
subject | S Σ | 1..1 | Patient | The subject of the questions |
author | S Σ | 0..1 | Practitioner, Patient, RelatedPerson | Person who received and recorded the answers |
authored | S Σ | 1..1 | dateTime | Identifies when this version of the answer set was created. Changes whenever the answers are updated. |
source | Σ | 0..1 | Patient, Practitioner, RelatedPerson | The person who answered the questions |
encounter | Σ | 0..1 | Encounter | Primary encounter during which the answers were collected |
group | S I | 1..1 | Grouped questions qan-1: Groups may either contain questions or groups but not both | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | Corresponding group within Questionnaire |
title | S | 0..1 | string | Name for this group |
text | S | 0..1 | string | Additional text for the group |
subject | 0..1 | Resource | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire answers group | |
question | S I | 0..* | Questions in this group | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | Corresponding question within Questionnaire |
text | S | 1..1 | string | Text of the question as it is shown to the user |
answer | S | 0..* | The response(s) to the question | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
value[x] | S | 0..* | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, Resource | Single-valued answer to the question |
group | 0..* | Nested questionnaire group |
XML Template
JSON Template
todo
Other representations of profile: (todo)
Path | Name | Conformance | ValueSet |
QuestionnaireAnswers.language | Language | required | http://tools.ietf.org/html/bcp47 |
QuestionnaireAnswers.status | QuestionnaireAnswersStatus | required | QuestionnaireAnswersStatus |
Id | Path | Name | Details |
qan-1 | QuestionnaireAnswers.group | GroupHaveSubOrQuestions | Groups may either contain questions or groups but not both XPath: not(exists(f:group) and exists(f:question)) |