2nd DSTU Draft For Comment

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

Profile: StructuredDataCaptureForm

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)

Formal Views of Profile Content

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

Differential View

This structure is derived from Questionnaire.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 1..1
... identifier S0..*Identifier
... version S0..1string
... status S1..1codeBinding: QuestionnaireStatus (required, not extensible)
... date S1..1dateTimeIdentifies when this version of the form was created. Changes whenever the form is updated.
... publisher S0..1string
... group S1..1
.... linkId S1..1string
.... title S0..1string
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... concept S0..1Coding
.... text S0..1string
.... required S1..1boolean
.... repeats S1..1boolean
.... group S0..*
.... question S0..*
..... linkId S1..1string
..... concept 0..*Coding
..... text S1..1string
..... type S1..1code
..... required S0..1boolean
..... repeats S0..1boolean
..... options S0..1ValueSet
..... group S0..*
..... questionnaire-minOccurs 0..1integerMinimum repetitions
..... questionnaire-maxOccurs 0..1integerMaximum repetitions
..... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
...... style 0..*stringHtml style value
...... markup 0..1stringString equivalent with html markup
..... questionnaire-enableWhen S0..*Only allow data when:
...... question S1..1stringQuestion that must be answered
...... answer S0..1*Value question must have
..... questionnaire-sdc-optionalDisplay 0..1booleanCan suppress from display to user
..... questionnaire-hidden S0..1booleanDon't display to user
..... questionnaire-defaultValue S0..1*Initial presumed answer for question
..... questionnaire-defaultAsFixed S0..1booleanTreat default as fixed value?
..... minLength S0..1integerAt least this many characters
..... maxLength S0..1integerNo more than this many characters
..... regex S0..1stringRegular expression pattern
..... entryFormat S0..1stringUser prompt for format
..... minValue S0..1date, dateTime, time, instant, decimal, integerMust be >= this value
..... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
..... maxDecimalPlaces S0..1integerMaximum digits after decimal
..... questionnaire-deReference S0..1DataElementImplemented CDE
...... style 0..*stringHtml style value
...... markup 0..1stringString equivalent with html markup
.... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-instruction S0..*stringHow to populate group or question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-security S0..*stringSecurity/privacy rules governing group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-help S0..*stringText to display if help incoked on group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-tooltip S0..*stringFly-over or equivalent text
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-trailing S0..*stringText to display after group/question content
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
..... questionnaire-sdc-optionalDisplay 0..1booleanCan suppress from display to user
.... questionnaire-hidden S0..1booleanDon't display to user
.... questionnaire-minOccurs S0..1integerMinimum repetitions
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
.... questionnaire-sdc-specialGroup S0..1codeheader | footer
.... questionnaire-instruction S0..*stringHow to populate group or question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-security S0..*stringSecurity/privacy rules governing group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-help S0..*stringText to display if help incoked on group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-tooltip S0..*stringFly-over or equivalent text
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-trailing S0..*stringText to display after group/question content
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-units S0..*stringUnit of measure for question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
... questionnaire-sdc-endpoint S0..*uriWhere to send answers
... styleSensitive S0..1booleanAre styles important for processing?
... questionnaire-category S0..1CodeableConceptWhat kind of questionnaire?

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I1..1A structured set of questions
que-2: The link ids for groups and questions must be unique within the questionnaire
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... questionnaire-sdc-endpoint S0..*uriAdditional Content defined by implementations
... styleSensitive S0..1booleanAdditional Content defined by implementations
... questionnaire-category S0..1CodeableConceptAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier S Σ0..*IdentifierExternal Ids for this questionnaire
... version S Σ0..1stringLogical id for this version of Questionnaire
... status M SΣ1..1codedraft | published | retired
Binding: QuestionnaireStatus (required, not extensible)
... date S Σ1..1dateTimeIdentifies when this version of the form was created. Changes whenever the form is updated.
... publisher S Σ0..1stringOrganization/individual who designed the questionnaire
... telecom Σ0..*ContactPointContact information of the publisher
... group S I1..1Grouped questions
que-1: Groups may either contain questions or groups but not both
.... id 0..1idxml:id (or equivalent in JSON)
.... questionnaire-label S0..1stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-instruction S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-security S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-help S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-tooltip S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-trailing S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... questionnaire-sdc-optionalDisplay 0..1booleanAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-hidden S0..1booleanAdditional Content defined by implementations
.... questionnaire-minOccurs S0..1integerAdditional Content defined by implementations
.... questionnaire-maxOccurs S0..1integerAdditional Content defined by implementations
.... questionnaire-sdc-specialGroup S0..1codeAdditional Content defined by implementations
.... questionnaire-instruction S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-security S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-help S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-tooltip S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-trailing S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-units S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringTo link questionnaire with questionnaire answers
.... title S0..1stringName to be displayed for group
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... value 0..1xsd:stringPrimitive value for string
.... concept S0..1CodingConcept that represents this section on a questionnaire
Binding: QuestionnaireGroupConcept (preferred, extensible)
.... text S0..1stringAdditional text for the group
.... required S1..1booleanMust group be included in data results?
.... repeats S1..1booleanWhether the group may repeat
.... group S I0..*Nested questionnaire group
.... question S I0..*Questions in this group
..... id 0..1idxml:id (or equivalent in JSON)
..... questionnaire-minOccurs 0..1integerAdditional Content defined by implementations
..... questionnaire-maxOccurs 0..1integerAdditional Content defined by implementations
..... questionnaire-label S0..1stringAdditional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... style 0..*stringAdditional Content defined by implementations
...... markup 0..1stringAdditional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... questionnaire-enableWhen S0..*Additional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... question S1..1stringAdditional Content defined by implementations
...... answer S0..1*Additional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... questionnaire-sdc-optionalDisplay 0..1booleanAdditional Content defined by implementations
..... questionnaire-hidden S0..1booleanAdditional Content defined by implementations
..... questionnaire-defaultValue S0..1*Additional Content defined by implementations
..... questionnaire-defaultAsFixed S0..1booleanAdditional Content defined by implementations
..... minLength S0..1integerAdditional Content defined by implementations
..... maxLength S0..1integerAdditional Content defined by implementations
..... regex S0..1stringAdditional Content defined by implementations
..... entryFormat S0..1stringAdditional Content defined by implementations
..... minValue S0..1date, dateTime, time, instant, decimal, integerAdditional Content defined by implementations
..... maxValue S0..1date, dateTime, time, instant, decimal, integerAdditional Content defined by implementations
..... maxDecimalPlaces S0..1integerAdditional Content defined by implementations
..... questionnaire-deReference S0..1DataElementAdditional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... style 0..*stringAdditional Content defined by implementations
...... markup 0..1stringAdditional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... modifierExtension 0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringTo link questionnaire with questionnaire answers
..... concept 0..*CodingConcept that represents this question on a questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... type S1..1codeboolean | decimal | integer | date | dateTime +
Binding: AnswerFormat (required, not extensible)
..... required S0..1booleanMust question be answered in data results?
..... repeats S0..1booleanCan question have multiple answers?
..... options S0..1ValueSetValueset containing the possible options
..... group S0..*Nested questionnaire group

XML Template

JSON Template

todo

Differential View

This structure is derived from Questionnaire.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 1..1
... identifier S0..*Identifier
... version S0..1string
... status S1..1codeBinding: QuestionnaireStatus (required, not extensible)
... date S1..1dateTimeIdentifies when this version of the form was created. Changes whenever the form is updated.
... publisher S0..1string
... group S1..1
.... linkId S1..1string
.... title S0..1string
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... concept S0..1Coding
.... text S0..1string
.... required S1..1boolean
.... repeats S1..1boolean
.... group S0..*
.... question S0..*
..... linkId S1..1string
..... concept 0..*Coding
..... text S1..1string
..... type S1..1code
..... required S0..1boolean
..... repeats S0..1boolean
..... options S0..1ValueSet
..... group S0..*
..... questionnaire-minOccurs 0..1integerMinimum repetitions
..... questionnaire-maxOccurs 0..1integerMaximum repetitions
..... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
...... style 0..*stringHtml style value
...... markup 0..1stringString equivalent with html markup
..... questionnaire-enableWhen S0..*Only allow data when:
...... question S1..1stringQuestion that must be answered
...... answer S0..1*Value question must have
..... questionnaire-sdc-optionalDisplay 0..1booleanCan suppress from display to user
..... questionnaire-hidden S0..1booleanDon't display to user
..... questionnaire-defaultValue S0..1*Initial presumed answer for question
..... questionnaire-defaultAsFixed S0..1booleanTreat default as fixed value?
..... minLength S0..1integerAt least this many characters
..... maxLength S0..1integerNo more than this many characters
..... regex S0..1stringRegular expression pattern
..... entryFormat S0..1stringUser prompt for format
..... minValue S0..1date, dateTime, time, instant, decimal, integerMust be >= this value
..... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
..... maxDecimalPlaces S0..1integerMaximum digits after decimal
..... questionnaire-deReference S0..1DataElementImplemented CDE
...... style 0..*stringHtml style value
...... markup 0..1stringString equivalent with html markup
.... questionnaire-label S0..1stringE.g. "1(a)", "2.5.3"
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-instruction S0..*stringHow to populate group or question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-security S0..*stringSecurity/privacy rules governing group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-help S0..*stringText to display if help incoked on group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-tooltip S0..*stringFly-over or equivalent text
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-trailing S0..*stringText to display after group/question content
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
..... questionnaire-sdc-optionalDisplay 0..1booleanCan suppress from display to user
.... questionnaire-hidden S0..1booleanDon't display to user
.... questionnaire-minOccurs S0..1integerMinimum repetitions
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
.... questionnaire-sdc-specialGroup S0..1codeheader | footer
.... questionnaire-instruction S0..*stringHow to populate group or question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-security S0..*stringSecurity/privacy rules governing group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-help S0..*stringText to display if help incoked on group/question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-tooltip S0..*stringFly-over or equivalent text
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-trailing S0..*stringText to display after group/question content
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
.... questionnaire-units S0..*stringUnit of measure for question
..... style 0..*stringHtml style value
..... markup 0..1stringString equivalent with html markup
... questionnaire-sdc-endpoint S0..*uriWhere to send answers
... styleSensitive S0..1booleanAre styles important for processing?
... questionnaire-category S0..1CodeableConceptWhat kind of questionnaire?

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I1..1A structured set of questions
que-2: The link ids for groups and questions must be unique within the questionnaire
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... questionnaire-sdc-endpoint S0..*uriAdditional Content defined by implementations
... styleSensitive S0..1booleanAdditional Content defined by implementations
... questionnaire-category S0..1CodeableConceptAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier S Σ0..*IdentifierExternal Ids for this questionnaire
... version S Σ0..1stringLogical id for this version of Questionnaire
... status M SΣ1..1codedraft | published | retired
Binding: QuestionnaireStatus (required, not extensible)
... date S Σ1..1dateTimeIdentifies when this version of the form was created. Changes whenever the form is updated.
... publisher S Σ0..1stringOrganization/individual who designed the questionnaire
... telecom Σ0..*ContactPointContact information of the publisher
... group S I1..1Grouped questions
que-1: Groups may either contain questions or groups but not both
.... id 0..1idxml:id (or equivalent in JSON)
.... questionnaire-label S0..1stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-instruction S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-security S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-help S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-tooltip S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-trailing S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... questionnaire-sdc-optionalDisplay 0..1booleanAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-hidden S0..1booleanAdditional Content defined by implementations
.... questionnaire-minOccurs S0..1integerAdditional Content defined by implementations
.... questionnaire-maxOccurs S0..1integerAdditional Content defined by implementations
.... questionnaire-sdc-specialGroup S0..1codeAdditional Content defined by implementations
.... questionnaire-instruction S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-security S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-help S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-tooltip S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-trailing S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... questionnaire-units S0..*stringAdditional Content defined by implementations
..... id 0..1idxml:id (or equivalent in JSON)
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... url 1..1uriidentifies the meaning of the extension
..... value[x] 0..1*Value of extension
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... linkId S1..1stringTo link questionnaire with questionnaire answers
.... title S0..1stringName to be displayed for group
..... style 0..*stringAdditional Content defined by implementations
..... markup 0..1stringAdditional Content defined by implementations
..... value 0..1xsd:stringPrimitive value for string
.... concept S0..1CodingConcept that represents this section on a questionnaire
Binding: QuestionnaireGroupConcept (preferred, extensible)
.... text S0..1stringAdditional text for the group
.... required S1..1booleanMust group be included in data results?
.... repeats S1..1booleanWhether the group may repeat
.... group S I0..*Nested questionnaire group
.... question S I0..*Questions in this group
..... id 0..1idxml:id (or equivalent in JSON)
..... questionnaire-minOccurs 0..1integerAdditional Content defined by implementations
..... questionnaire-maxOccurs 0..1integerAdditional Content defined by implementations
..... questionnaire-label S0..1stringAdditional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... style 0..*stringAdditional Content defined by implementations
...... markup 0..1stringAdditional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... questionnaire-enableWhen S0..*Additional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... question S1..1stringAdditional Content defined by implementations
...... answer S0..1*Additional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... questionnaire-sdc-optionalDisplay 0..1booleanAdditional Content defined by implementations
..... questionnaire-hidden S0..1booleanAdditional Content defined by implementations
..... questionnaire-defaultValue S0..1*Additional Content defined by implementations
..... questionnaire-defaultAsFixed S0..1booleanAdditional Content defined by implementations
..... minLength S0..1integerAdditional Content defined by implementations
..... maxLength S0..1integerAdditional Content defined by implementations
..... regex S0..1stringAdditional Content defined by implementations
..... entryFormat S0..1stringAdditional Content defined by implementations
..... minValue S0..1date, dateTime, time, instant, decimal, integerAdditional Content defined by implementations
..... maxValue S0..1date, dateTime, time, instant, decimal, integerAdditional Content defined by implementations
..... maxDecimalPlaces S0..1integerAdditional Content defined by implementations
..... questionnaire-deReference S0..1DataElementAdditional Content defined by implementations
...... id 0..1idxml:id (or equivalent in JSON)
...... style 0..*stringAdditional Content defined by implementations
...... markup 0..1stringAdditional Content defined by implementations
...... url 1..1uriidentifies the meaning of the extension
...... value[x] 0..1*Value of extension
..... modifierExtension 0..*ExtensionExtensions that cannot be ignored
..... linkId S1..1stringTo link questionnaire with questionnaire answers
..... concept 0..*CodingConcept that represents this question on a questionnaire
..... text S1..1stringText of the question as it is shown to the user
..... type S1..1codeboolean | decimal | integer | date | dateTime +
Binding: AnswerFormat (required, not extensible)
..... required S0..1booleanMust question be answered in data results?
..... repeats S0..1booleanCan question have multiple answers?
..... options S0..1ValueSetValueset containing the possible options
..... group S0..*Nested questionnaire group

XML Template

JSON Template

todo

 

Other definitions: (todo)

Terminology Bindings

PathNameConformanceValueSet
Questionnaire.languageLanguagerequiredhttp://tools.ietf.org/html/bcp47
Questionnaire.statusQuestionnaireStatusrequiredQuestionnaireStatus
Questionnaire.group.conceptQuestionnaireGroupConceptpreferred (extensible)
Questionnaire.group.question.typeAnswerFormatrequiredAnswerFormat

Constraints

IdPathNameDetails
que-2QuestionnaireUniqueLinkIdsThe 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-1Questionnaire.groupGroupHaveSubOrQuestionsGroups may either contain questions or groups but not both
XPath: not(exists(f:group) and exists(f:question))
.