Name Flags Card. Type Description & Constraints doco
. . Questionnaire I DomainResource A structured set of questions
+ The link ids for groups and questions must be unique within the questionnaire
Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
. . . url Σ 0..1 uri Logical URI to reference this questionnaire (globally unique)
. . . identifier Σ 0..* Identifier Additional identifier for the questionnaire
. . . version Σ 0..1 string Business version of the questionnaire
. . . name Σ 0..1 string Name for this questionnaire (computer friendly)
. . . title Σ 0..1 string Name for this questionnaire (human friendly)
. . . status ?! Σ 1..1 code draft | active | retired | unknown
PublicationStatus ( Required)
. . . experimental ?! Σ 0..1 boolean For testing purposes, not real usage
. . . date Σ 0..1 dateTime Date this was last changed
. . . publisher Σ 0..1 string Name of the publisher (organization or individual)
. . . description 0..1 markdown Natural language description of the questionnaire
. . . purpose 0..1 markdown Why this questionnaire is defined
. . . approvalDate 0..1 date When the questionnaire was approved by publisher
. . . lastReviewDate 0..1 date When the questionnaire was last reviewed
. . . effectivePeriod Σ 0..1 Period When the questionnaire is expected to be used
. . . useContext Σ 0..* UsageContext Context the content is intended to support
. . . jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for questionnaire (if applicable)
Jurisdiction ValueSet ( Extensible)
. . . contact Σ 0..* ContactDetail Contact details for the publisher
. . . copyright 0..1 markdown Use and/or publishing restrictions
. . . code Σ 0..* Coding Concept that represents the overall questionnaire
Questionnaire Question Codes ( Example)
. . . subjectType Σ 0..* code Resource that can be subject of QuestionnaireResponse
ResourceType ( Required)
. . . item I 0..* BackboneElement Questions and sections within the Questionnaire
+ Read-only can't be specified for "display" items
+ Default values can't be specified for groups or display items
+ Required and repeat aren't permitted for display items
+ Only 'choice' items can have options
+ A question cannot have both option and options
+ Display items cannot have a "code" asserted
+ Maximum length can only be declared for simple question types
+ Group items must have nested items, display items cannot have nested items
. . . . linkId 1..1 string Unique id for item in questionnaire
. . . . definition 0..1 uri ElementDefinition - details for the item
. . . . code Σ I 0..* Coding Corresponding concept for this item in a terminology
Questionnaire Question Codes ( Example)
. . . . prefix 0..1 string E.g. "1(a)", "2.5.3"
. . . . text Σ 0..1 string Primary text for the item
. . . . type 1..1 code group | display | boolean | decimal | integer | date | dateTime +
QuestionnaireItemType ( Required)
. . . . enableWhen ?! Σ I 0..* BackboneElement Only allow data when
+ enableWhen must contain either a 'answer' or a 'hasAnswer' element
. . . . . question 1..1 string Question that determines whether item is enabled
. . . . . hasAnswer I 0..1 boolean Enable when answered or not
. . . . . answer[x] I 0..1 Value question must have
Questionnaire Answer Codes ( Example)
. . . . . . answerBoolean boolean
. . . . . . answerDecimal decimal
. . . . . . answerInteger integer
. . . . . . answerDate date
. . . . . . answerDateTime dateTime
. . . . . . answerTime time
. . . . . . answerString string
. . . . . . answerUri uri
. . . . . . answerAttachment Attachment
. . . . . . answerCoding Coding
. . . . . . answerQuantity Quantity
. . . . . . answerReference Reference( Any)
. . . . required I 0..1 boolean Whether the item must be included in data results
. . . . repeats I 0..1 boolean Whether the item may repeat
. . . . readOnly I 0..1 boolean Don't allow human editing
. . . . maxLength I 0..1 integer No more than this many characters
. . . . options I 0..1 Reference( ValueSet) Valueset containing permitted answers
. . . . option I 0..* BackboneElement Permitted answer
. . . . . value[x] 1..1 Answer value
Questionnaire Answer Codes ( Example)
. . . . . . valueInteger integer
. . . . . . valueDate date
. . . . . . valueTime time
. . . . . . valueString string
. . . . . . valueCoding Coding
. . . . initial[x] I 0..1 Default value when item is first rendered
Questionnaire Answer Codes ( Example)
. . . . . initialBoolean boolean
. . . . . initialDecimal decimal
. . . . . initialInteger integer
. . . . . initialDate date
. . . . . initialDateTime dateTime
. . . . . initialTime time
. . . . . initialString string
. . . . . initialUri uri
. . . . . initialAttachment Attachment
. . . . . initialCoding Coding
. . . . . initialQuantity Quantity
. . . . . initialReference Reference( Any)
. . . . item I 0..* see item Nested questionnaire items

doco Documentation for this format