QuestionnaireContent.AllItems
Renders all questionnaire items in a single scrollable view for non-paged mode.
Overview
The QuestionnaireContent.AllItems component renders the complete questionnaire in a single view, automatically organizing items into sections and groups while maintaining conditional logic evaluation for all items simultaneously. This is ideal for shorter questionnaires or when users prefer to see all questions at once.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
style | StyleProp<ViewStyle> | undefined | Custom styles for the all items container |
...viewProps | ViewProps | - | All other React Native View props (testID, accessible, etc.) |
Features
- Complete Form Rendering: Displays all questionnaire items in a single view
- Automatic Grouping: Organizes items by FHIR groups and sections
- Conditional Logic: Evaluates
enableWhenrules for all items simultaneously - Performance Optimized: Efficient rendering for large questionnaires
- Scroll Integration: Works seamlessly with ScrollView containers