| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
| I | DomainResource | A structured set of questions The link ids for groups and questions must be unique within the questionnaire | ||
| Σ | 0..1 | uri | Globally unique logical identifier for questionnaire | |
| Σ | 0..* | Identifier | External identifiers for this questionnaire | |
| Σ | 0..1 | string | Logical identifier for this version of Questionnaire | |
| ?!Σ | 1..1 | code | draft | published | retired QuestionnaireStatus (Required) | |
| Σ | 0..1 | dateTime | Date this version was authored | |
| Σ | 0..1 | string | Organization/individual who designed the questionnaire | |
| Σ | 0..* | ContactPoint | Contact information of the publisher | |
| Σ | 0..* | CodeableConcept | Questionnaire intends to support these contexts Context of Use ValueSet (Extensible) | |
| Σ | 0..1 | string | Name for the questionnaire | |
| Σ | 0..* | Coding | Concept that represents the overall questionnaire Questionnaire Question Codes (Example) | |
| Σ | 0..* | code | Resource that can be subject of QuestionnaireResponse ResourceType (Required) | |
| 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 "concept" asserted Maximum length can only be declared for simple question types Group items must have nested items, display items cannot have nested items Type is required if a definition is not provided | |
| 1..1 | string | Unique id for item in questionnaire | ||
| I | 0..1 | uri | ElementDefinition - details for the item | |
| ΣI | 0..* | Coding | Concept that represents this item within in a questionnaire Questionnaire Question Codes (Example) | |
| 0..1 | string | E.g. "1(a)", "2.5.3" | ||
| Σ | 0..1 | string | Primary text for the item | |
| I | 0..1 | code | group | display | boolean | decimal | integer | date | dateTime + QuestionnaireItemType (Required) | |
| ?!ΣI | 0..* | BackboneElement | Only allow data when: enableWhen must contain either an 'answer' or an 'answered' element | |
| 1..1 | string | Question that determines whether item is enabled | ||
| I | 0..1 | boolean | Enable when answered or not | |
| I | 0..1 | Value question must have | ||
| boolean | ||||
| decimal | ||||
| integer | ||||
| date | ||||
| dateTime | ||||
| instant | ||||
| time | ||||
| string | ||||
| uri | ||||
| Attachment | ||||
| Coding | ||||
| Quantity | ||||
| Reference(Any) | ||||
| 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 | Reference(ValueSet) | Valueset containing permitted answers | |
| I | 0..* | BackboneElement | Permitted answer | |
| 1..1 | Answer value Questionnaire Answer Codes (Example) | |||
| integer | ||||
| date | ||||
| time | ||||
| string | ||||
| Coding | ||||
| I | 0..1 | Default value when item is first rendered | ||
| boolean | ||||
| decimal | ||||
| integer | ||||
| date | ||||
| dateTime | ||||
| instant | ||||
| time | ||||
| string | ||||
| uri | ||||
| Attachment | ||||
| Coding | ||||
| Quantity | ||||
| Reference(Any) | ||||
| I | 0..* | see item | Nested questionnaire items | |
Documentation for this format | ||||