Name | Flags | Card. | Type |
Description & Constraints
![]() |
---|---|---|---|---|
|
TU | DomainResource | A structured set of questions
+ Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation + Rule: 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 |
|
|
Σ | 0..1 | uri | Canonical identifier for this questionnaire, represented as a URI (globally unique) |
|
Σ | 0..* | Identifier | Additional identifier for the questionnaire
|
|
Σ | 0..1 | string | Business version of the questionnaire |
|
Σ | 0..1 | string | Name for this questionnaire (computer friendly) |
|
Σ | 0..1 | string | Name for this questionnaire (human friendly) |
|
0..* | canonical( Questionnaire) | Instantiates protocol or definition
|
|
|
?! Σ | 1..1 | code | draft | active | retired | unknown
PublicationStatus ( Required) |
|
Σ | 0..1 | boolean | For testing purposes, not real usage |
|
Σ | 0..* | code | Resource that can be subject of QuestionnaireResponse
ResourceType ( Required) |
|
Σ | 0..1 | dateTime | Date last changed |
|
Σ | 0..1 | string | Name of the publisher (organization or individual) |
|
Σ | 0..* | ContactDetail | Contact details for the publisher
|
|
0..1 | markdown | Natural language description of the questionnaire | |
|
Σ | 0..* | UsageContext | The context that the content is intended to support
|
|
Σ | 0..* | CodeableConcept | Intended jurisdiction for questionnaire (if applicable)
Jurisdiction ( Extensible) |
|
0..1 | markdown | Why this questionnaire is defined | |
|
0..1 | markdown | Use and/or publishing restrictions | |
|
0..1 | date | When the questionnaire was approved by publisher | |
|
0..1 | date | When the questionnaire was last reviewed | |
|
Σ | 0..1 | Period | When the questionnaire is expected to be used |
|
Σ | 0..* | Coding | Concept that represents the overall questionnaire
Questionnaire Question Codes ( Example) |
|
I | 0..* | BackboneElement | Questions and sections within the Questionnaire
+ Rule: Group items must have nested items when Questionanire is complete + Warning: Groups should have items + Rule: Display items cannot have child items + Rule: Display items cannot have a "code" asserted + Rule: A question cannot have both answerOption and answerValueSet + Rule: Only 'choice' and 'open-choice' items can have answerValueSet + Rule: Required and repeat aren't permitted for display items + Rule: Initial values can't be specified for groups or display items + Rule: Read-only can't be specified for "display" items + Rule: Maximum length can only be declared for simple question types + Rule: If one or more answerOption is present, initial[x] must be missing + Rule: If there are more than one enableWhen, enableBehavior must be specified + Rule: Can only have multiple initial values for repeating items |
|
1..1 | string | Unique id for item in questionnaire | |
|
0..1 | uri | ElementDefinition - details for the item | |
|
I | 0..* | Coding | Corresponding concept for this item in a terminology
Questionnaire Question Codes ( Example) |
|
0..1 | string | E.g. "1(a)", "2.5.3" | |
|
0..1 | string | Primary text for the item | |
|
1..1 | code | group | display | boolean | decimal | integer | date | dateTime +
QuestionnaireItemType ( Required) |
|
|
?! I | 0..* | BackboneElement | Only allow data when
+ Rule: If the operator is 'exists', the value must be a boolean |
|
1..1 | string | Question that determines whether item is enabled | |
|
1..1 | code | exists | = | != | > | < | >= | <=
QuestionnaireItemOperator ( Required) |
|
|
I | 1..1 | Value for question comparison based on operator
Questionnaire Answer Codes ( Example) |
|
|
boolean | |||
|
decimal | |||
|
integer | |||
|
date | |||
|
dateTime | |||
|
time | |||
|
string | |||
|
Coding | |||
|
Quantity | |||
|
Reference( Any) | |||
|
I | 0..1 | code | all | any
EnableWhenBehavior ( Required) |
|
I | 0..1 | boolean | Whether the item must be included in data results |
|
I | 0..1 | boolean | Whether the item may repeat |
|
I | 0..1 | boolean | Don't allow human editing |
|
I | 0..1 | integer | No more than this many characters |
|
I | 0..1 | canonical( ValueSet) | Valueset containing permitted answers |
|
I | 0..* | BackboneElement | Permitted answer
|
|
1..1 | Answer value
Questionnaire Answer Codes ( Example) |
||
|
integer | |||
|
date | |||
|
time | |||
|
string | |||
|
Coding | |||
|
Reference( Any) | |||
|
0..1 | boolean | Whether option is selected by default | |
|
I | 0..* | BackboneElement | Initial value(s) when item is first rendered
|
|
1..1 | Actual value for initializing the question
Questionnaire Answer Codes ( Example) |
||
|
boolean | |||
|
decimal | |||
|
integer | |||
|
date | |||
|
dateTime | |||
|
time | |||
|
string | |||
|
uri | |||
|
Attachment | |||
|
Coding | |||
|
Quantity | |||
|
Reference( Any) | |||
|
I | 0..* | see item | Nested questionnaire items
|
![]() |