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/questionnaire-sdc-structureddatacaptureform
. Defines how Questionnaire is used to reflect form definitions to be used within the ONC's Structured Data Capture standard. : Structured Data Capture Questionnaire Design
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.
unable to summarise extension (wrong count)
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
Differential View
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 1..1 | |||
identifier | S | 0..* | Identifier | |
version | S | 0..1 | string | |
status | S | 1..1 | code | Binding: QuestionnaireStatus (required, not extensible) |
date | S | 1..1 | dateTime | Identifies when this version of the form was created. Changes whenever the form is updated. |
publisher | S | 0..1 | string | |
group | S | 1..1 | ||
linkId | S | 1..1 | string | |
title | S | 0..1 | string | |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
concept | S | 0..1 | Coding | |
text | S | 0..1 | string | |
required | S | 1..1 | boolean | |
repeats | S | 1..1 | boolean | |
group | S | 0..* | ||
question | S | 0..* | ||
linkId | S | 1..1 | string | |
concept | 0..* | Coding | ||
text | S | 1..1 | string | |
type | S | 1..1 | code | |
required | S | 0..1 | boolean | |
repeats | S | 0..1 | boolean | |
options | S | 0..1 | ValueSet | |
group | S | 0..* | ||
questionnaire-minOccurs | 0..1 | integer | Minimum repetitions | |
questionnaire-maxOccurs | 0..1 | integer | Maximum repetitions | |
questionnaire-label | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-enableWhen | S | 0..* | Only allow data when: | |
question | S | 1..1 | string | Question that must be answered |
answer | S | 0..1 | * | Value question must have |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Can suppress from display to user | |
questionnaire-hidden | S | 0..1 | boolean | Don't display to user |
questionnaire-defaultValue | S | 0..1 | * | Initial presumed answer for question |
questionnaire-defaultAsFixed | S | 0..1 | boolean | Treat default as fixed value? |
minLength | S | 0..1 | integer | At least this many characters |
maxLength | S | 0..1 | integer | No more than this many characters |
regex | S | 0..1 | string | Regular expression pattern |
entryFormat | S | 0..1 | string | User prompt for format |
minValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Must be >= this value |
maxValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Must be <= this value |
maxDecimalPlaces | S | 0..1 | integer | Maximum digits after decimal |
questionnaire-deReference | S | 0..1 | DataElement | Implemented CDE |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-label | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-instruction | S | 0..* | string | How to populate group or question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-security | S | 0..* | string | Security/privacy rules governing group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-help | S | 0..* | string | Text to display if help incoked on group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-tooltip | S | 0..* | string | Fly-over or equivalent text |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-trailing | S | 0..* | string | Text to display after group/question content |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Can suppress from display to user | |
questionnaire-hidden | S | 0..1 | boolean | Don't display to user |
questionnaire-minOccurs | S | 0..1 | integer | Minimum repetitions |
questionnaire-maxOccurs | S | 0..1 | integer | Maximum repetitions |
questionnaire-sdc-specialGroup | S | 0..1 | code | header | footer |
questionnaire-instruction | S | 0..* | string | How to populate group or question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-security | S | 0..* | string | Security/privacy rules governing group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-help | S | 0..* | string | Text to display if help incoked on group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-tooltip | S | 0..* | string | Fly-over or equivalent text |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-trailing | S | 0..* | string | Text to display after group/question content |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-units | S | 0..* | string | Unit of measure for question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-sdc-endpoint | S | 0..* | uri | Where to send answers |
styleSensitive | S | 0..1 | boolean | Are styles important for processing? |
questionnaire-category | S | 0..1 | CodeableConcept | What kind of questionnaire? |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | I | 1..1 | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire | |
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 | |
questionnaire-sdc-endpoint | S | 0..* | uri | Additional Content defined by implementations |
styleSensitive | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-category | S | 0..1 | CodeableConcept | Additional Content defined by implementations |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | S Σ | 0..* | Identifier | External Ids for this questionnaire |
version | S Σ | 0..1 | string | Logical id for this version of Questionnaire |
status | M SΣ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required, not extensible) |
date | S Σ | 1..1 | dateTime | Identifies when this version of the form was created. Changes whenever the form is updated. |
publisher | S Σ | 0..1 | string | Organization/individual who designed the questionnaire |
telecom | Σ | 0..* | ContactPoint | Contact information of the publisher |
group | S I | 1..1 | Grouped questions que-1: Groups may either contain questions or groups but not both | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
questionnaire-label | S | 0..1 | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-instruction | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-security | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-help | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-tooltip | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-trailing | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-hidden | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-minOccurs | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-maxOccurs | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-sdc-specialGroup | S | 0..1 | code | Additional Content defined by implementations |
questionnaire-instruction | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-security | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-help | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-tooltip | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-trailing | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-units | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | To link questionnaire with questionnaire answers |
title | S | 0..1 | string | Name to be displayed for group |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
value | 0..1 | xsd:string | Primitive value for string | |
concept | S | 0..1 | Coding | Concept that represents this section on a questionnaire Binding: QuestionnaireGroupConcept (preferred, extensible) |
text | S | 0..1 | string | Additional text for the group |
required | S | 1..1 | boolean | Must group be included in data results? |
repeats | S | 1..1 | boolean | Whether the group may repeat |
group | S I | 0..* | Nested questionnaire group | |
question | S I | 0..* | Questions in this group | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
questionnaire-minOccurs | 0..1 | integer | Additional Content defined by implementations | |
questionnaire-maxOccurs | 0..1 | integer | Additional Content defined by implementations | |
questionnaire-label | S | 0..1 | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-enableWhen | S | 0..* | Additional Content defined by implementations | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
question | S | 1..1 | string | Additional Content defined by implementations |
answer | S | 0..1 | * | Additional Content defined by implementations |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Additional Content defined by implementations | |
questionnaire-hidden | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-defaultValue | S | 0..1 | * | Additional Content defined by implementations |
questionnaire-defaultAsFixed | S | 0..1 | boolean | Additional Content defined by implementations |
minLength | S | 0..1 | integer | Additional Content defined by implementations |
maxLength | S | 0..1 | integer | Additional Content defined by implementations |
regex | S | 0..1 | string | Additional Content defined by implementations |
entryFormat | S | 0..1 | string | Additional Content defined by implementations |
minValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Additional Content defined by implementations |
maxValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Additional Content defined by implementations |
maxDecimalPlaces | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-deReference | S | 0..1 | DataElement | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | To link questionnaire with questionnaire answers |
concept | 0..* | Coding | Concept that represents this question on a questionnaire | |
text | S | 1..1 | string | Text of the question as it is shown to the user |
type | S | 1..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required, not extensible) |
required | S | 0..1 | boolean | Must question be answered in data results? |
repeats | S | 0..1 | boolean | Can question have multiple answers? |
options | S | 0..1 | ValueSet | Valueset containing the possible options |
group | S | 0..* | Nested questionnaire group |
XML Template
JSON Template
todo
Differential View
This structure is derived from Questionnaire.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | 1..1 | |||
identifier | S | 0..* | Identifier | |
version | S | 0..1 | string | |
status | S | 1..1 | code | Binding: QuestionnaireStatus (required, not extensible) |
date | S | 1..1 | dateTime | Identifies when this version of the form was created. Changes whenever the form is updated. |
publisher | S | 0..1 | string | |
group | S | 1..1 | ||
linkId | S | 1..1 | string | |
title | S | 0..1 | string | |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
concept | S | 0..1 | Coding | |
text | S | 0..1 | string | |
required | S | 1..1 | boolean | |
repeats | S | 1..1 | boolean | |
group | S | 0..* | ||
question | S | 0..* | ||
linkId | S | 1..1 | string | |
concept | 0..* | Coding | ||
text | S | 1..1 | string | |
type | S | 1..1 | code | |
required | S | 0..1 | boolean | |
repeats | S | 0..1 | boolean | |
options | S | 0..1 | ValueSet | |
group | S | 0..* | ||
questionnaire-minOccurs | 0..1 | integer | Minimum repetitions | |
questionnaire-maxOccurs | 0..1 | integer | Maximum repetitions | |
questionnaire-label | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-enableWhen | S | 0..* | Only allow data when: | |
question | S | 1..1 | string | Question that must be answered |
answer | S | 0..1 | * | Value question must have |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Can suppress from display to user | |
questionnaire-hidden | S | 0..1 | boolean | Don't display to user |
questionnaire-defaultValue | S | 0..1 | * | Initial presumed answer for question |
questionnaire-defaultAsFixed | S | 0..1 | boolean | Treat default as fixed value? |
minLength | S | 0..1 | integer | At least this many characters |
maxLength | S | 0..1 | integer | No more than this many characters |
regex | S | 0..1 | string | Regular expression pattern |
entryFormat | S | 0..1 | string | User prompt for format |
minValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Must be >= this value |
maxValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Must be <= this value |
maxDecimalPlaces | S | 0..1 | integer | Maximum digits after decimal |
questionnaire-deReference | S | 0..1 | DataElement | Implemented CDE |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-label | S | 0..1 | string | E.g. "1(a)", "2.5.3" |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-instruction | S | 0..* | string | How to populate group or question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-security | S | 0..* | string | Security/privacy rules governing group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-help | S | 0..* | string | Text to display if help incoked on group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-tooltip | S | 0..* | string | Fly-over or equivalent text |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-trailing | S | 0..* | string | Text to display after group/question content |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Can suppress from display to user | |
questionnaire-hidden | S | 0..1 | boolean | Don't display to user |
questionnaire-minOccurs | S | 0..1 | integer | Minimum repetitions |
questionnaire-maxOccurs | S | 0..1 | integer | Maximum repetitions |
questionnaire-sdc-specialGroup | S | 0..1 | code | header | footer |
questionnaire-instruction | S | 0..* | string | How to populate group or question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-security | S | 0..* | string | Security/privacy rules governing group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-help | S | 0..* | string | Text to display if help incoked on group/question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-tooltip | S | 0..* | string | Fly-over or equivalent text |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-trailing | S | 0..* | string | Text to display after group/question content |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-units | S | 0..* | string | Unit of measure for question |
style | 0..* | string | Html style value | |
markup | 0..1 | string | String equivalent with html markup | |
questionnaire-sdc-endpoint | S | 0..* | uri | Where to send answers |
styleSensitive | S | 0..1 | boolean | Are styles important for processing? |
questionnaire-category | S | 0..1 | CodeableConcept | What kind of questionnaire? |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Questionnaire | I | 1..1 | A structured set of questions que-2: The link ids for groups and questions must be unique within the questionnaire | |
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 | |
questionnaire-sdc-endpoint | S | 0..* | uri | Additional Content defined by implementations |
styleSensitive | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-category | S | 0..1 | CodeableConcept | Additional Content defined by implementations |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
identifier | S Σ | 0..* | Identifier | External Ids for this questionnaire |
version | S Σ | 0..1 | string | Logical id for this version of Questionnaire |
status | M SΣ | 1..1 | code | draft | published | retired Binding: QuestionnaireStatus (required, not extensible) |
date | S Σ | 1..1 | dateTime | Identifies when this version of the form was created. Changes whenever the form is updated. |
publisher | S Σ | 0..1 | string | Organization/individual who designed the questionnaire |
telecom | Σ | 0..* | ContactPoint | Contact information of the publisher |
group | S I | 1..1 | Grouped questions que-1: Groups may either contain questions or groups but not both | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
questionnaire-label | S | 0..1 | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-instruction | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-security | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-help | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-tooltip | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-trailing | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-hidden | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-minOccurs | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-maxOccurs | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-sdc-specialGroup | S | 0..1 | code | Additional Content defined by implementations |
questionnaire-instruction | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-security | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-help | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-tooltip | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-trailing | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-units | S | 0..* | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | To link questionnaire with questionnaire answers |
title | S | 0..1 | string | Name to be displayed for group |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
value | 0..1 | xsd:string | Primitive value for string | |
concept | S | 0..1 | Coding | Concept that represents this section on a questionnaire Binding: QuestionnaireGroupConcept (preferred, extensible) |
text | S | 0..1 | string | Additional text for the group |
required | S | 1..1 | boolean | Must group be included in data results? |
repeats | S | 1..1 | boolean | Whether the group may repeat |
group | S I | 0..* | Nested questionnaire group | |
question | S I | 0..* | Questions in this group | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
questionnaire-minOccurs | 0..1 | integer | Additional Content defined by implementations | |
questionnaire-maxOccurs | 0..1 | integer | Additional Content defined by implementations | |
questionnaire-label | S | 0..1 | string | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-enableWhen | S | 0..* | Additional Content defined by implementations | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
question | S | 1..1 | string | Additional Content defined by implementations |
answer | S | 0..1 | * | Additional Content defined by implementations |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
questionnaire-sdc-optionalDisplay | 0..1 | boolean | Additional Content defined by implementations | |
questionnaire-hidden | S | 0..1 | boolean | Additional Content defined by implementations |
questionnaire-defaultValue | S | 0..1 | * | Additional Content defined by implementations |
questionnaire-defaultAsFixed | S | 0..1 | boolean | Additional Content defined by implementations |
minLength | S | 0..1 | integer | Additional Content defined by implementations |
maxLength | S | 0..1 | integer | Additional Content defined by implementations |
regex | S | 0..1 | string | Additional Content defined by implementations |
entryFormat | S | 0..1 | string | Additional Content defined by implementations |
minValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Additional Content defined by implementations |
maxValue | S | 0..1 | date, dateTime, time, instant, decimal, integer | Additional Content defined by implementations |
maxDecimalPlaces | S | 0..1 | integer | Additional Content defined by implementations |
questionnaire-deReference | S | 0..1 | DataElement | Additional Content defined by implementations |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
style | 0..* | string | Additional Content defined by implementations | |
markup | 0..1 | string | Additional Content defined by implementations | |
url | 1..1 | uri | identifies the meaning of the extension | |
value[x] | 0..1 | * | Value of extension | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
linkId | S | 1..1 | string | To link questionnaire with questionnaire answers |
concept | 0..* | Coding | Concept that represents this question on a questionnaire | |
text | S | 1..1 | string | Text of the question as it is shown to the user |
type | S | 1..1 | code | boolean | decimal | integer | date | dateTime + Binding: AnswerFormat (required, not extensible) |
required | S | 0..1 | boolean | Must question be answered in data results? |
repeats | S | 0..1 | boolean | Can question have multiple answers? |
options | S | 0..1 | ValueSet | Valueset containing the possible options |
group | S | 0..* | Nested questionnaire group |
XML Template
JSON Template
todo
Other definitions: (todo)
Path | Name | Conformance | ValueSet |
Questionnaire.language | Language | required | http://tools.ietf.org/html/bcp47 |
Questionnaire.status | QuestionnaireStatus | required | QuestionnaireStatus |
Questionnaire.group.concept | QuestionnaireGroupConcept | preferred (extensible) | |
Questionnaire.group.question.type | AnswerFormat | required | AnswerFormat |
Id | Path | Name | Details |
que-2 | Questionnaire | UniqueLinkIds | The link ids for groups and questions must be unique within the questionnaire XPath: count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value)) |
que-1 | Questionnaire.group | GroupHaveSubOrQuestions | Groups may either contain questions or groups but not both XPath: not(exists(f:group) and exists(f:question)) |