News
/
Other news

Publication of “SQL on FHIR - Tabular views of FHIR data using FHIRPath” in npj Digital Medicine

June 26, 2025

We are excited to announce the publication of the paper, SQL on FHIR - Tabular views of FHIR data using FHIRPath, in the journal npj Digital Medicine, part of the Nature Portfolio.

The work addresses a common challenge: FHIR data, typically exchanged as nested JSON or XML, is difficult to query and analyze directly due to its complexity and structure. The SQL on FHIR specification defines a standard, implementation-agnostic method for describing tabular views over FHIR resources using FHIRPath, making it easier to extract, transform, and analyze clinical data across platforms.

Key Features:

  • Standardized view definitions using FHIRPath expressions
  • Portability across multiple technology platforms and databases
  • Simplified transformation of FHIR data into flat, tabular structures suitable for analytics
  • Supports common use cases in clinical decision support, predictive analytics, and real-time alerting

Architectural layers

Significance


This specification enables healthcare organizations, researchers, and vendors to reduce duplication of effort and inconsistency in FHIR data transformations.

What you’ll learn from the paper:

  • Why FHIR data needs transformation: FHIR (Fast Healthcare Interoperability Resources) is now the preferred standard for health data exchange, but its nested JSON/XML structure makes analytics challenging.
  • The SQL on FHIR solution: The paper presents a standard, reusable way to define “view definitions” that turn FHIR resources into flat, tabular data—making it easier to use with SQL, Python, R, Excel, and other analytics tools.
  • How it works: You’ll discover how FHIRPath expressions power these tabular views, and how the approach balances simplicity, expressiveness, and portability for real-world use cases.
  • Real-world validation: The specification was tested across multiple independent implementations and used to successfully replicate a published clinical study, demonstrating its feasibility and portability.
  • Practical examples: The paper includes clear examples of view definitions, showing how to extract and structure data such as patient demographics or clinical observations for analytics.
  • Future impact: Learn how this approach can reduce duplication of effort, increase consistency, and support regulatory requirements like the US 21st Century Cures Act and the European Health Data Space.

Collaborators and Support


The paper is a result of collaborative efforts from an international working group including Health Samurai, Google, CSIRO, Microsoft, Philips, and others. The group is actively driving early implementations to build a standardized, vendor-neutral solution with zero lock-in.

Meet the Authors and Contributors:

  • Authors: John Grimes, Ryan Brush, Nikolai Ryzhikov, Piotr Szul, Joshua Mandel, Dan Gottlieb, Grahame Grieve, Bashir Sadjad, Arjun Sanyal.
  • Special thanks to working group contributors: Gino Canessa, Igor Kislitsyn, Maxim Putintsev, Alexander Walley, Vadim Peretokin, Marat Surmashev, Brian Kaney, Carl Anderson, Kiran Ayyagari, Joel Montavon, Daniel Kapitan, Brian Postlethwaite, Steve Munini, Martijn Harthoorn, Ward Weistra, Adam Culbertson, Joshua Kelly.

Additional Resources

Further Reading by Nikolai Ryzhikov, Health Samurai’s CTO:

  • SQL on FHIR in PostgreSQL
    Dive into the practical implementation of SQL on FHIR using PostgreSQL, exploring real-world use cases and performance considerations.
  • What is a ViewDefinition?
    Understand the core concept of ViewDefinition—how it enables standardized, reusable tabular views of FHIR data for analytics and interoperability.
  • SQL on FHIR: An Inside Look
    Get an insider’s perspective on the development, challenges, and future of SQL on FHIR, directly from the project’s technical leadership.

Health Samurai’s SQL on FHIR engine is available for preview and testing. For inquiries and demonstrations, please contact Health Samurai via the contact form below.

What to expect

Industry Experts

Engage with leading industry experts as they share their insights and experiences in leveraging SQL on FHIR to transform healthcare data management.

Ongoing Challenges

Explore the most recent challenges faced in implementing SQL on FHIR and learn strategies to effectively address these issues.

Use cases

Discover practical use cases that demonstrate the power of SQL on FHIR in real-world healthcare scenarios, showcasing its impact on data analysis and integration.

Best Practices & Solutions

Gain valuable knowledge on best practices and innovative solutions for optimizing the use of SQL on FHIR in your healthcare systems.

Testimonials

HospitalonFHIR - FHIR Camp 2024 – Cascais/Lisbon 🌟 It was a great attending the FHIR Camp 2024, surrounded by passionate professionals and inspiring leaders in the healthcare interoperability space. It was truly an honor to learn from references like Grahame Grieve (and many more), alongside dedicated enthusiasts, all committed to advancing HL7 FHIR standards and fostering better healthcare systems worldwide.

Victor Costa

Membro do conselho na E-Mais - Movimento Associação dos Sistemas de Informação Em Saúde

LInkedin

Had an amazing experience at the FHIR Camp 2024 organized by Health Samurai | Aidbox FHIR® Platform. Inspired by its transformative potential, I look forward to working further in FHIR and hope to see its implementation in Nepal's healthcare system as well.

Manila Bhandari

Electrical Engineer | Researcher

Linkedin

Though a bit delayed but still I don’t want to miss out on talking about the recently concluded #FHIRCamp2024 organized by Health Samurai | Aidbox FHIR® Platform in the beautiful city of Cascais, Portugal.

Gaurav Pradhan

Healthcare & Life-Sciences Consulting | HL7 FHIR® Expert | Digital Transformation Leader

Linkedin

I skipped a lot of recent conferences to prioritize attending FHIR Camp 2024 in Portugal the week before last. It was well worth the trip! It was great to hear Grahame Grieve give the background story on how FHIR came to be an open source effort. The open source angle is really important and unique in that it will require a lot of meaningful collaboration and perhaps unprecedented transparency (things we're not great at in the US) to advance these standards in the coming years. There is and will be a lot of opportunity for people to develop and offer FHIR expertise.

Cindy Throop

Founder, Research Director, Senior Strategic Consultant

Linkedin

It was a pleasure to come to the #FHIR #camp in Cascais as a Hospitals on FHIR ambassador It was a pleasure to exchange our outlook on FHIR #versionning and how to deal with the multiple versions with Grahame Grieve, Lloyd McKenzie, Gino Canessa, Ewout Kramer and Nikolai Ryzhikov I also had the occasion to present the state of FHIR in #France and the work our community is doing to increase adoption And of course, always a pleasure to exchange with friends of the HL7 community.

Luc Chatty

FHIR interoperability expert and architect. CEO of Fyrstain. Hospitals On FHIR ambassador.

Linkedin

FHIR CAMP 2024 in Cascais, Portugal, was filled with excitement and activity. Here are some highlights that I'd love to share. This experience reflected the event's opening message: to connect systems and technologies, we must first connect with each other. It was an incredible day, and I can't wait to see what's next!

Irina Angel

HL7 FHIR® Certified physician-scientist

Linkedin

I'm back from the fantastic experience that was #FHIR Camp 2024 in Cascais, Portugal! I was grateful to reconnect with many of my long-time collaborators and also many new people that bring interesting perspectives that enhance our collective work. I really liked the format - I think it was very conducive to free-flowing conversation about new ideas and approaches. Thank you very much to Nikolai Ryzhikov, Pavel Smirnov and all of Health Samurai | Aidbox FHIR® Platform for the opportunity and the amazing support. I think the event was a great success!

John Grimes

Health Data Interop + Analytics

Linkedin

I had the privilege of attending the FHIR® Camp 2024 🔥 in the beautiful Cascais, Lisbon 🇵🇹 hosted by Health Samurai | Aidbox FHIR® Platform The event brought together some of the brightest minds in the #HL7 #FHIR space, including industry pioneers like Grahame Grieve, Gino Canessa, Lloyd McKenzie, and many others! The sessions were not only inspiring but also directly relevant to the work we do at IgniteData.

Ângelo Ferreira

Tech Product Manager | Healthcare IT | HL7 FHIR

Linkedin

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.