1 of 19

Designing intuitive UIs for template-based extraction

empowering non-tech users

Lessons from building Aidbox Forms

Organized by

FHIR® SDC Conference

June 2025

2 of 19

About Vitalii

  • 5 years in Health IT & FHIR�
  • 15+ years in IT across roles: Tech Support, Oracle DBA / Developer, Full-stack dev �(JVM & JS: Java, Kotlin, Ceylon, Clojure)�
  • Passionate about Functional Programming, Programming Languages, and building delightful, intuitive UIs

Tech Lead, Aidbox Forms

Health Samurai

Vitalii Banchenko

FHIR® SDC Conference | June 2025

3 of 19

Agenda

I

II

III

IV

What is extraction?

Why template-based extraction?

Why do we need a UI for it?

Demo

Future challenges

V

FHIR® SDC Conference | June 2025

4 of 19

What is extraction

& why we need it?

  • FHIR enables data exchange and reuse�
  • Data must have a known structure�
  • Questionnaires (and their responses) have arbitrary structures�
  • Extraction maps them to structured resources

The process of transforming QuestionnaireResponse�data into structured FHIR resources

extraction

Questionnaire�Response

FHIR resource

(Observation, etc..)

FHIR® SDC Conference | June 2025

5 of 19

Why template-based extraction?

Logic model of extraction:

  • It’s idiomatic and intuitive – �you simply create FHIR resources�
  • It’s powerful – you can set any field within the template�
  • It decouples extraction logic �from the Questionnaire

Questionnaire

Questionnaire�Response

Template

Resource�instance

extraction

FHIR® SDC Conference | June 2025

6 of 19

How it looks under the hood

Key components:

  • Everything is done via FHIR extensions�
  • The template is a contained resource with embedded FHIRPath expressions�
  • Template references can link to the form or specific items

Questionnaire

QuestionnaireResponse

Observation

Template: �newObservation

Item: �Body Weight

Item: �Body Weight

resourceType: �Observation…

templateExtractValue:� expr: item.answer.value

linkId: bodyWeight�Text: Body Weight…

templateExtract:� reference: newObservation

answer:� value: 60� unit: ‘kg’�

linkId: bodyWeight�Text: Body Weight…

resourceType:Observation�valueQuantity:� value: 60� unit: kg

��

FHIR® SDC Conference | June 2025

7 of 19

Why we need a UI for extraction?

Our goal:

Make a complex process approachable for non-technical users through thoughtful UI/UX design

Challenges without a UI:

  • Authoring raw JSON is difficult�
  • Requires deep understanding of FHIR structure�
  • Hard to validate and test�
  • Prone to errors: incorrect resource structure, wrong field values, faulty FHIRPath expressions, missing required fields

FHIR® SDC Conference | June 2025

8 of 19

  • Eliminates common errors�
  • Guides the structure of FHIR resources�
  • Removes manual effort for entering known data�
  • Hides FHIRPath complexity for simple use cases

What our UI provides

FHIR® SDC Conference | June 2025

9 of 19

How it works: Template selection

Template schema selection

  • Intuitive interface for choosing extraction templates�
  • Guides users to the correct data structure from the start

FHIR® SDC Conference | June 2025

10 of 19

How it works: Intuitive data mapping

TreeView-based representation

  • Maps complex FHIR structures into an easy-to-navigate tree�
  • Enhances understanding and reduces cognitive load

TreeView Structure: �Provides a simplified, navigable representation

FHIR Structure: Displays the underlying FHIR resource model

FHIR® SDC Conference | June 2025

11 of 19

How it works: Navigating & Populating Data

TreeView-based navigation: �Seamlessly traverse complex FHIR resource paths

Predefined FHIRPath for getting answers: �Automated expressions for extracting answers from QuestionnaireResponse

FHIR® SDC Conference | June 2025

12 of 19

How it works: Smart Lookups

Item Codes: �Quick search and selection of relevant codes

Basic ValueSet Lookups: �Simplifies data entry by providing predefined value options

Cross-reference Lookup: �Connects related data points across resources

FHIR® SDC Conference | June 2025

13 of 19

How it works: Validation & Debugging

Template Validation: �Prevents common errors in resource definition

Debug console for testing template: �Powerful environment for identification and resolution of extraction issues

FHIR® SDC Conference | June 2025

14 of 19

Let’s demo

FHIR® SDC Conference | June 2025

15 of 19

Insights from Development

& what’s next?

  • UI/UX design took more time than developing the extraction engine�
  • User-friendly solutions are key to driving adoption of FHIR and SDC

  • Deep terminology integration�
  • Profiles integration�
  • Graph representation of Questionnaires and extracted resources

FHIR® SDC Conference | June 2025

16 of 19

Where to try it

free and online

Explore our Public Form Builder and see how easy template-based extraction can be!�

Scan the QR code or visit:�https://form-builder.aidbox.app/

We’d love to hear your feedback and ideas!

form-builder.aidbox.app

FHIR® SDC Conference | June 2025

17 of 19

Got questions?

FHIR® SDC Conference | June 2025

18 of 19

Let’s keep in touch

Full Stack Engineer, Tech Lead – Aidbox Forms

Health Samurai

vitaly@health-samurai.io

Vitalii Banchenko

#lets connect

FHIR® SDC Conference | June 2025

19 of 19

Thank you!

FHIR® SDC Conference | June 2025