Articles
/
Forms

Smarter Forms with Dynamic ValueSet Filtering

Maria Ryzhikova
February 25, 2026
2 minutes

Formbox formarly Aidbox forms now supports dynamic parameterized ValueSets, allowing answer options to be filtered automatically based on values selected in other fields.

This makes forms smarter, reduces user errors, and keeps Questionnaires reusable without hardcoding UI logic.

How It Works

A common example is a Country → State/Province relationship:
- The user selects a country
- The state/province dropdown updates automatically
- Only states belonging to the selected country are displayed
- The selected country code is passed as a parameter to the ValueSet expansion

All filtering happens dynamically during ValueSet expansion.

Real Healthcare Use Cases

- Country → Region → City selection in patient demographics  
- Specialty → Practitioner filtering when assigning care providers  
- Diagnosis → Procedure codes based on selected clinical category  
- Medication → Dosage form or strength filtering  
- Insurance Provider → Plan options filtering

Parameterized ValueSets allow you to build forms that respond intelligently to user input — while keeping your FHIR Questionnaires clean and reusable.

Try it in the public Form Builder

Watch the video guide:

*Formbox, formerly known as Aidbox Forms

contact us

Get in touch with us today!

By submitting the form you agree to Privacy Policy and Cookie Policy.
Thank you!
We’ll be in touch soon.

In the meantime, you can:
Oops! Something went wrong while submitting the form.

Never miss a thing
Subscribe for more content!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
By clicking “Subscribe” you agree to Health Samurai Privacy Policy and consent to Health Samurai using your contact data for newsletter purposes