This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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/Profile/questionnaireanswers-sdc-structureddatacaptureanswers
. Defines how the questionnaire answers resource is used to reflect form data within the ONC's Structured Data Capture standard. : Structured Data Capture Data Capture
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.
Required/Prohibited Elements
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
Differential View
This structure is derived from QuestionnaireAnswers.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | |||
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 | Any | ||
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, Any | |
group | 0..* |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | A structured set of questions and their answers | ||
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 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, not extensible) | |
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 | M SΣ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireAnswersStatus (required, not extensible) |
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 | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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 | Any | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire answers group | |
question | S I | 0..* | Questions in this group | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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 | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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, Any | Single-valued answer to the question |
group | 0..* | Nested questionnaire group |
XML Template
JSON Template
todo
Differential View
This structure is derived from QuestionnaireAnswers.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | |||
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 | Any | ||
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, Any | |
group | 0..* |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireAnswers | 1..1 | A structured set of questions and their answers | ||
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 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, not extensible) | |
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 | M SΣ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireAnswersStatus (required, not extensible) |
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 | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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 | Any | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire answers group | |
question | S I | 0..* | Questions in this group | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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 | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
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, Any | Single-valued answer to the question |
group | 0..* | Nested questionnaire group |
XML Template
JSON Template
todo
Other definitions: (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)) |