EXR: An Interactive Immersive EHR Visualization in Extended Reality

Benoit Marteau, Shaun Q. Y. Tan, Jieru Li, Andrew Hornback, Yishan Zhong, Shaunna Wang, Christian Lowson, Jason Woloff, Joshua M. Pahys, Steven W. Hwang, Coleman Hilton, May D. Wang

TL;DR

EXR is a modular Extended Reality (XR) platform that unifies flat, text-based Electronic Health Records (EHRs) with 3D volumetric medical imaging and AI-powered segmentations into a single immersive workspace. By leveraging the FHIR data standard and a novel timeline-warping algorithm, the system allows clinicians to intuitively interact with a patient's complete longitudinal medical history and anatomical models in real time.

What Problem Does This Paper Address?

Modern healthcare relies heavily on Electronic Health Records (EHRs), but the traditional 2D interfaces used to view them are failing clinicians. Doctors are forced to scroll through endless, fragmented lists of lab results, clinical notes, and histories on flat screens, which leads to cognitive overload and can obscure critical temporal patterns.

Furthermore, inherently 3D data—such as CT or MRI scans (DICOM files)—are treated as isolated entities, completely disconnected from the patient's text-based history. This fragmentation forces clinicians to mentally stitch together data from disparate systems, hindering holistic patient assessment and collaborative decision-making.

Methods

The authors developed EXR, a multimodal XR infrastructure built using the Unity engine and deployed on a Meta Quest 3 headset. The system architecture is strictly modular, consisting of five core components designed to integrate smoothly into existing hospital networks:

  1. XR Application: The user interface where clinicians interact with data in 3D space.
  2. Network Interface: Handles wired, Wi-Fi, or Bluetooth connections securely.
  3. Local Manager Server: A Python-based Flask server that acts as the central traffic controller, managing data routing and authentication.
  4. Data Storage: Combines an Azure FHIR Server (for structured EHR data) and unstructured storage (for raw imaging files).
  5. AI Computation Server: Runs heavy deep-learning models for image processing.
Figure 1: EXR Infrastructure comprises of five components: (1) the XR Application, (2) the interface between the XR device and the local manager server, (3) a local manager server, (4) storage server (FHIR server and unstructure data storage), and (5) AI computational server. The EXR represents the different encounters on a warped timeline for a specific patient. For a specific encounter, we can represent the different events (e.g., conditions, observations, medications, etc.) as a detailed timeline under the main visit timeline. The timeline warping enables sparse and long timeline (over years) to not compress visits close to each other (over days)

Key Technical Innovations:

  • Secure Local Architecture: To comply with strict healthcare privacy regulations (like HIPAA/PHI), the XR headset never directly connects to the internet or cloud storage. Instead, the Local Manager Server handles authentication via Microsoft Azure OAuth, keeping authorization tokens hidden from the headset.
  • Timeline Warping: Displaying a patient's history over several years usually results in dense clusters of visits (e.g., during an acute illness) becoming unreadably compressed. The authors introduced a dynamic warping formula that automatically switches between linear spacing for close-together visits and logarithmic spacing for sparse, distant events.
  • AI-Powered Spine Segmentation: As a proof-of-concept, the system integrates a coarse-to-fine 3D spine segmentation pipeline. It uses a low-resolution 3D U-Net to find the spine centerline, a Spatial Configuration-Net to locate specific vertebral landmarks, and a high-resolution 3D U-Net to generate precise binary masks for individual vertebrae.

Datasets

The platform was developed and evaluated using two primary data sources:

  • Synthea: Used to populate the Azure FHIR server with over 100 highly detailed synthetic patient records, including demographics, conditions, medications, encounters, and imaging study metadata.
  • VerSe2019 & VerSe2020: Public benchmarks containing CT volumes from 113 subjects, used to train and evaluate the performance of the 3D spine segmentation AI model.

Key Insights and Ideas

  • FHIR as a Semantic Backbone: By adhering strictly to the Fast Healthcare Interoperability Resources (FHIR) standard, the system preserves the natural relationships between different medical events (e.g., linking a specific medication to a specific doctor's visit). This ensures that even if components of the system are swapped out, the contextual links remain intact.
  • Contextual Linking in 3D Space: Instead of opening separate applications, a clinician in the EXR environment can simply click on a "pills" icon for medications, a "cube" for procedures, or a "pink capsule" representing an imaging study. Clicking the imaging study automatically triggers the backend AI server to stream the corresponding 3D segmented spine model directly into the room.
Figure 2: XR-based EHR visualization

Key Results

  • Segmentation Accuracy: The integrated spine segmentation model achieved a high level of accuracy, boasting a mean Dice score of 91.23% on the VerSe 2020 dataset and 86.44% on the VerSe 2019 test set.
  • Inference Speed: On a dual-socket Intel Xeon Platinum system, the average inference time per patient CT volume was 1 minute and 40 seconds (3 seconds for spine localization, 19 seconds for vertebrae localization, and 1 minute 17 seconds for fine segmentation).
  • Qualitative Success: The prototype successfully demonstrated stable, real-time rendering of complex 3D anatomical meshes alongside text panels and warped timelines within the Meta Quest 3 environment.

Limitations and Future Work

While technically impressive, the authors note that EXR is still a yet-to-be-validated prototype. It has not yet undergone formal clinical trials or usability testing (such as the System Usability Scale) with real healthcare professionals.

The AI pipeline also revealed a few edge-case vulnerabilities: it occasionally missed vertebrae when the anatomical centroids were too close together, or mislabeled segments when faced with rare vertebral mutations or severe metal implant artifacts.

Moving forward, the team plans to transition the AI backend into a dynamic microservices architecture, incorporate more complex FHIR resources (like real-time biosignals and free-text clinical notes), and implement multi-user remote collaboration features so specialists can consult on the same 3D workspace from different locations.

Summary updated

BibTeX
@misc{marteau2025exr,
  author = {Benoit Marteau and Shaun Q. Y. Tan and Jieru Li and Andrew Hornback and Yishan Zhong and Shaunna Wang and Christian Lowson and Jason Woloff and Joshua M. Pahys and Steven W. Hwang and Coleman Hilton and May D. Wang},
  title = {{EXR: An Interactive Immersive EHR Visualization in Extended Reality}},
  year = {2025},
  eprint = {2512.05438},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.05438},
}
Figure