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

StructureDefinition: StructuredDataCaptureAnswers

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.

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from QuestionnaireAnswers.

Summary

Required/Prohibited Elements

  • The element QuestionnaireAnswers.questionnaire is required
  • The element QuestionnaireAnswers.status is required
  • The element QuestionnaireAnswers.subject is required
  • The element QuestionnaireAnswers.authored is required
  • The element QuestionnaireAnswers.group is required
  • The element QuestionnaireAnswers.group.linkId is required
  • The element QuestionnaireAnswers.group.question.linkId is required
  • The element QuestionnaireAnswers.group.question.text is required
NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireAnswers 1..1QuestionnaireAnswersA structured set of questions and their answers
... meta 0..1MetaMetadata about the resource
... implicitRules ?!0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier S Σ0..1IdentifierUnique id for this set of answers
... questionnaire S Σ1..1QuestionnaireForm being answered
... status ?! SΣ1..1codein-progress | completed | amended
Binding: QuestionnaireAnswersStatus (required)
... subject S Σ1..1PatientThe subject of the questions
... author S Σ0..1Practitioner, Patient, RelatedPersonPerson who received and recorded the answers
... authored S Σ1..1dateTimeIdentifies when this version of the answer set was created. Changes whenever the answers are updated.
... source Σ0..1Patient, Practitioner, RelatedPersonThe person who answered the questions
... encounter Σ0..1EncounterPrimary encounter during which the answers were collected
... group S I1..1Grouped questions
qan-1: Groups may either contain questions or groups but not both
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringCorresponding group within Questionnaire
.... title S0..1stringName for this group
.... text S0..1stringAdditional text for the group
.... subject 0..1ResourceThe subject this group's answers are about
.... group S I0..*Nested questionnaire answers group
.... question S I0..*Questions in this group
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension 0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringCorresponding question within Questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... answer S0..*The response(s) to the question
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension 0..*ExtensionExtensions that cannot be ignored
...... value[x] S0..*boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, ResourceSingle-valued answer to the question
..... group 0..*Nested questionnaire group

todo

This structure is derived from QuestionnaireAnswers.

Summary

Required/Prohibited Elements

  • The element QuestionnaireAnswers.questionnaire is required
  • The element QuestionnaireAnswers.status is required
  • The element QuestionnaireAnswers.subject is required
  • The element QuestionnaireAnswers.authored is required
  • The element QuestionnaireAnswers.group is required
  • The element QuestionnaireAnswers.group.linkId is required
  • The element QuestionnaireAnswers.group.question.linkId is required
  • The element QuestionnaireAnswers.group.question.text is required

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QuestionnaireAnswers 1..1QuestionnaireAnswersA structured set of questions and their answers
... meta 0..1MetaMetadata about the resource
... implicitRules ?!0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier S Σ0..1IdentifierUnique id for this set of answers
... questionnaire S Σ1..1QuestionnaireForm being answered
... status ?! SΣ1..1codein-progress | completed | amended
Binding: QuestionnaireAnswersStatus (required)
... subject S Σ1..1PatientThe subject of the questions
... author S Σ0..1Practitioner, Patient, RelatedPersonPerson who received and recorded the answers
... authored S Σ1..1dateTimeIdentifies when this version of the answer set was created. Changes whenever the answers are updated.
... source Σ0..1Patient, Practitioner, RelatedPersonThe person who answered the questions
... encounter Σ0..1EncounterPrimary encounter during which the answers were collected
... group S I1..1Grouped questions
qan-1: Groups may either contain questions or groups but not both
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringCorresponding group within Questionnaire
.... title S0..1stringName for this group
.... text S0..1stringAdditional text for the group
.... subject 0..1ResourceThe subject this group's answers are about
.... group S I0..*Nested questionnaire answers group
.... question S I0..*Questions in this group
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension 0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringCorresponding question within Questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... answer S0..*The response(s) to the question
...... extension 0..*ExtensionAdditional Content defined by implementations
...... modifierExtension 0..*ExtensionExtensions that cannot be ignored
...... value[x] S0..*boolean, date, dateTime, time, instant, decimal, integer, string, Coding, Attachment, ResourceSingle-valued answer to the question
..... group 0..*Nested questionnaire group

XML Template

JSON Template

todo

 

Other representations of profile: (todo)

Terminology Bindings

PathNameConformanceValueSet
QuestionnaireAnswers.languageLanguagerequiredhttp://tools.ietf.org/html/bcp47
QuestionnaireAnswers.statusQuestionnaireAnswersStatusrequiredQuestionnaireAnswersStatus

Constraints

IdPathNameDetails
qan-1QuestionnaireAnswers.groupGroupHaveSubOrQuestionsGroups may either contain questions or groups but not both
XPath: not(exists(f:group) and exists(f:question))
.