AI Assistant
AI-powered tool for building and editing FHIR SDC Questionnaires through natural language interaction.
The AI Assistant in the Aidbox UI Builder is a powerful tool designed to help you quickly build and manage FHIR SDC Questionnaires through natural language interaction. It provides seamless integration with the builder's tools and controls, significantly accelerating form creation and editing.
Getting Started
Chat Interface
Once your API key is set, you'll see a traditional chat interface:
Type your request and hit Send button or press Shift+Enter keys.
The assistant will respond and execute actions on your behalf.
Context and token usage are shown below the input field.
Use Clear chat to reset the conversation.
Capabilities
The AI Assistant can comprehensively manage FHIR SDC Questionnaires including:
Item structure - Add, remove, move, and nest questionnaire items
Population - Pre-fill items from patient data, observations, or static values
Answer options - Configure choice options, value sets, and dynamic expressions
Enablement - Set up conditional display logic based on other responses
Calculation - Create calculated fields and computed values
Extraction - Map form responses back to FHIR observations and resources
Validation - Add constraints, required fields, and data type validation
Presentation - Modify layout, styling, media content, and user interface elements
Metadata - Managing questionnaire-level properties such as title, version, and tags
For example, when asked to create a BMI form, the assistant:
Created height and weight fields
Added a calculated BMI field
Updated the form preview accordingly
Use Case Scenarios
1. Building a Depression Screening Form (Iterative Approach)
2. Setting Up Patient Data Pre-population
3. Refining Form Structure
Best Practices
To get the most out of the AI Assistant, follow these recommendations:
Be specific and clear - Provide detailed descriptions of what you want to achieve
Break down complex requests - Split large tasks into smaller, manageable steps
Use examples - Reference existing form elements or provide sample data when possible
Specify item types - Mention the exact field types you need (choice, text, date, etc.)
Include context - Explain the purpose of the form or questionnaire you're building
Review before saving - Always check the assistant's changes before clicking Save
Use medical terminology - Reference standard codes (LOINC, SNOMED) when working with clinical forms
Test iteratively - Make changes gradually and test functionality as you go
Keep chat history manageable - Clear chat history when conversations become too long, you want a fresh approach, the assistant seems confused, or you're switching task types.
Questions & Answers
Last updated
Was this helpful?