NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire IDomainResourceA 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..1uriLogical URI to reference this questionnaire (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version Σ0..1stringBusiness version of the questionnaire
... name Σ0..1stringName for this questionnaire (computer friendly)
... title Σ0..1stringName for this questionnaire (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
PublicationStatus (Required)
... experimental ?!Σ0..1booleanFor testing purposes, not real usage
... date Σ0..1dateTimeDate this was last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... description 0..1markdownNatural language description of the questionnaire
... purpose 0..1markdownWhy this questionnaire is defined
... approvalDate 0..1dateWhen the questionnaire was approved by publisher
... lastReviewDate 0..1dateWhen the questionnaire was last reviewed
... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be used
... useContext Σ0..*UsageContextContext the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Jurisdiction ValueSet (Extensible)
... contact Σ0..*ContactDetailContact details for the publisher
... copyright 0..1markdownUse and/or publishing restrictions
... code Σ0..*CodingConcept that represents the overall questionnaire
Questionnaire Question Codes (Example)
... subjectType Σ0..*codeResource that can be subject of QuestionnaireResponse
ResourceType (Required)
... item I0..*BackboneElementQuestions 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..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code ΣI0..*CodingCorresponding concept for this item in a terminology
Questionnaire Question Codes (Example)
.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text Σ0..1stringPrimary text for the item
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
QuestionnaireItemType (Required)
.... enableWhen ?!ΣI0..*BackboneElementOnly allow data when
+ enableWhen must contain either a 'answer' or a 'hasAnswer' element
..... question 1..1stringQuestion that determines whether item is enabled
..... hasAnswer I0..1booleanEnable when answered or not
..... answer[x] I0..1Value question must have
Questionnaire Answer Codes (Example)
...... answerBooleanboolean
...... answerDecimaldecimal
...... answerIntegerinteger
...... answerDatedate
...... answerDateTimedateTime
...... answerTimetime
...... answerStringstring
...... answerUriuri
...... answerAttachmentAttachment
...... answerCodingCoding
...... answerQuantityQuantity
...... answerReferenceReference(Any)
.... required I0..1booleanWhether the item must be included in data results
.... repeats I0..1booleanWhether the item may repeat
.... readOnly I0..1booleanDon't allow human editing
.... maxLength I0..1integerNo more than this many characters
.... options I0..1Reference(ValueSet)Valueset containing permitted answers
.... option I0..*BackboneElementPermitted answer
..... value[x] 1..1Answer value
Questionnaire Answer Codes (Example)
...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
.... initial[x] I0..1Default value when item is first rendered
Questionnaire Answer Codes (Example)
..... initialBooleanboolean
..... initialDecimaldecimal
..... initialIntegerinteger
..... initialDatedate
..... initialDateTimedateTime
..... initialTimetime
..... initialStringstring
..... initialUriuri
..... initialAttachmentAttachment
..... initialCodingCoding
..... initialQuantityQuantity
..... initialReferenceReference(Any)
.... item I0..*see itemNested questionnaire items

doco Documentation for this format