Simulating Multimodal Healthcare Data: Building an Interactive Clinical Insights
Multimodal clinical dashboard
Practice overview
Provider
Avg. Patient Talk Ratio
Avg. Patient Satisfaction
Avg. Interruptions
Multimodal clinical dashboard
Individual patient visits
Select a patient visit to analyze dataAnalysis dashboard
Please select a visit from the list above to see its analysis. Results will appear here.
Simulating Multimodal Healthcare Data: Building an Interactive Svelte Dashboard for Clinical Insights
Summary
This project introduces an interactive Svelte dashboard designed to simulate and analyze rich, multimodal clinical encounters, addressing the critical scarcity of privacy-safe healthcare data for AI research and informatics education. Inspired by the "Observer" dataset, the tool utilizes a custom Python engine to generate 100 synthetic primary care visits, complete with simulated video timelines, patient-provider talk ratios, and structured clinical metadata. Through intuitive Chart.js visualizations, the two-tiered application provides both high-level aggregated insights and deep-dive analyses of individual visits, offering an invaluable resource for modeling clinical communication.
1. Introduction: The Unmet Need for Clinical Data
In the modern healthcare landscape, innovation in artificial intelligence, user experience, and patient-provider communication is often bottlenecked by one critical resource: data. Real-world clinical encounters are rich with multimodal information—the nuance of a patient’s tone, the physician’s interaction with the Electronic Health Record (EHR), and the non-verbal cues that build or break patient trust. However, this data is justifiably locked away behind stringent privacy regulations like HIPAA.
This creates a significant barrier for researchers, data scientists, and informatics educators who need to understand, model, and improve clinical interactions.
How can we develop an AI that summarizes a visit if it has never “seen” one? How can we teach medical students to improve their “digital bedside manner” without real examples to analyze?
This project was born from this challenge. Inspired by pioneering work in clinical data collection, we set out to create a high-fidelity simulation of a multimodal clinical dataset and build a powerful, interactive web-based dashboard to explore it.
This article provides a comprehensive walkthrough of the project, from its conceptual inspiration to the final, running SvelteKit application.
2. The Inspiration: The “Observer” Dataset
This project is a direct response to the groundbreaking research detailed in the 2025 Journal of the American Medical Informatics Association article:
“Observer: creation of a novel multimodal dataset for outpatient care research” Johnson, K. B., Alasaly, B., Jang, K. J., Eaton, E., Mopidevi, S., & Koppel, R. (2025). https://doi.org/10.1093/jamia/ocaf182
The “Observer” paper details the immense effort to create a shareable, privacy-preserving dataset of real-world outpatient primary care visits. The authors’ goal was to create a resource to “support ambulatory care innovation” and enable future research.
Their dataset, which we use as a “gold standard” for our simulation, includes:
360-degree room-view video and audio
Egocentric (head-mounted) video from both the patient and provider
EHR-derived audit logs, diagnoses, and clinical notes
Patient and provider post-visit surveys (e.g., satisfaction ratings)
Structured metadata like exam room layout and patient demographics
The authors explicitly designed this resource to serve three main goals:
AI research
Communication studies
Informatics education
Our project adopts these three goals as its core pillars. We are not just building a “chart viewer”; we are building a tool that serves these specific, high-level research purposes.
3. Phase 1: Synthetic Data Generation
Since we cannot access the raw “Observer” dataset, our first task was to create a large, varied, and realistic simulation of its analyzed output.
A dashboard with only 4 or 5 data points is a toy. A dashboard with 100+ data points, each with unique properties, becomes a valid tool for observing trends.
To achieve this, we used a Python script to generate a 101-file JSON dataset, mimicking the structure of the data types described in the paper.
The Data Generator Script
This script, data_generator.py, is the engine of our project. It creates two types of files:
visits_metadata.json: A single master file containing the 100 “visits.” This file includes the high-level metadata needed for our global dashboard.
visit_XXX_analysis.json: 100 individual files, one for each visit. This file simulates the analysis of the raw video/audio.
This project successfully demonstrates the power of simulation and modern web technologies to tackle complex, real-world problems.
By standing on the shoulders of the “Observer” research paper, we were able to define a clear set of goals for a clinical data dashboard.
Using Python for data generation and SvelteKit for the frontend, we built a two-tiered application:
Global Dashboard – Aggregates data from 100 visits to provide high-level, actionable insights for clinic managers or AI researchers.
Individual Dashboard – Allows for a deep, multimodal analysis of any selected encounter.
Built in a fraction of the time it would take to gain access to real data, this tool provides an invaluable resource for training, research, and development — perfectly mirroring the objectives of the original “Observer” dataset.