TL;DR
This paper introduces a lightweight, browser-native tool that transforms complex, deeply nested FHIR JSON clinical data into human-readable tables, interactive charts, and exportable PDF/Excel reports. Operating entirely client-side, the system eliminates the need for expensive backend infrastructure while inherently preserving patient data privacy.
What Problem Does This Paper Address?
The Fast Healthcare Interoperability Resources (FHIR) standard has successfully unified how electronic health records (EHRs) exchange data. However, raw FHIR data is optimized for machines, not humans. It is typically stored in verbose, deeply nested JSON structures that are incredibly difficult for clinicians, students, and researchers to interpret without specialized software.
While enterprise-grade tools exist to parse this data, they generally require complex backend setups, secured databases, and vendor-specific environments. This creates a massive barrier to entry for educational settings, low-resource environments, or developers looking to quickly prototype an idea. The authors address this gap by building an accessible, zero-overhead tool to bridge the gap between standardized machine data and human comprehension.
Methods
The authors designed an end-to-end, browser-native data transformation pipeline using a modular React architecture.
The system's pipeline consists of three core stages:
- Data Ingestion & Validation: Users can fetch live data via remote FHIR RESTful API endpoints or upload local JSON files offline.
- Parsing & Normalization: The tool flattens heterogeneous FHIR resources into a consistent, intermediate tabular schema entirely within the user's browser.
- Output Generation: Using open-source libraries (
jsPDF,xlsx, andRecharts), the system renders interactive data visualizations and generates structured, downloadable PDF and Excel reports.
Additionally, the architecture includes an optional, read-only LLM component (GPT-4-class) to provide natural-language explanations of the normalized data without altering the underlying clinical records.
Datasets
The system was evaluated using three distinct types of data:
- Synthetic FHIR examples conforming to the HL7 FHIR R4 specification.
- Publicly accessible resources retrieved from the HAPI FHIR server.
- De-identified FHIR bundles used for academic research and education.
The evaluation focused on core clinical resource types, specifically Patient, Observation, Encounter, and DocumentReference. No private or protected health information (PHI) was used.
Key Insights and Ideas
- The Power of Client-Side Processing: Healthcare data tools traditionally rely heavily on server-side processing. This paper demonstrates that modern browser engines are fully capable of handling complex data normalization and document generation in real time.
- Privacy by Design: Because all processing occurs locally in the user's browser, no clinical data is transmitted to external servers. This inherently bypasses the stringent security and compliance hurdles (like HIPAA) typically associated with cloud-based healthcare applications.
- Human-Centered Interoperability: While most recent EHR research focuses on model-centric AI and predictive analytics, this work highlights the ongoing need for basic data accessibility and human-readability in clinical workflows.
Key Results
The system was evaluated across functional correctness and processing latency:
- High Transformation Accuracy: The pipeline successfully processed 100% of Patient resources, 96% of Observation resources, 95% of Encounter resources, and 94% of DocumentReference resources. Failures were mostly due to non-standard, vendor-specific extensions or missing fields in the source JSON.
- Sub-Second Latency: Performance benchmarks show that the tool operates fast enough for real-time interaction, with parsing and rendering taking less than 200 milliseconds total.
A small user study involving graduate students and healthcare data analysts confirmed that the transformed outputs significantly improved readability and accelerated data comprehension compared to viewing raw JSON.
Limitations and Future Work
While highly effective for lightweight applications, the system currently supports a limited subset of FHIR resource types and relies on heuristics to handle non-standard vendor extensions.
Furthermore, because execution happens entirely in-browser, extremely large multi-patient bundles or high-volume data streams could hit browser memory limits. The authors note that future iterations will explore optimizations like Web Workers and streaming parsing, as well as optional hybrid cloud architectures to handle heavier workloads.
Summary updated