gms | German Medical Science

64. Jahrestagung der Deutschen Gesellschaft für Medizinische Informatik, Biometrie und Epidemiologie e. V. (GMDS)

Deutsche Gesellschaft für Medizinische Informatik, Biometrie und Epidemiologie

08. - 11.09.2019, Dortmund

Modeling a Graph Data Model for FHIR Resources

Meeting Abstract

  • Henner M. Kruse - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany
  • Alexander Helhorn - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany
  • Lo An Phan-Vogtmann - Institute of Medical Statistics, Computer and Data Sciences (IMSID), Jena University Hospital, Jena, Germany
  • Eric Thomas - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany
  • Andrew J. Heidel - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany
  • Kutaiba Saleh - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany
  • André Scherag - Institute of Medical Statistics, Computer and Data Sciences (IMSID), Jena University Hospital, Jena, Germany
  • Danny Ammon - Data Integration Center, IT Department, Jena University Hospital, Jena, Germany

Deutsche Gesellschaft für Medizinische Informatik, Biometrie und Epidemiologie. 64. Jahrestagung der Deutschen Gesellschaft für Medizinische Informatik, Biometrie und Epidemiologie e.V. (GMDS). Dortmund, 08.-11.09.2019. Düsseldorf: German Medical Science GMS Publishing House; 2019. DocAbstr. 262

doi: 10.3205/19gmds160, urn:nbn:de:0183-19gmds1608

Published: September 6, 2019

© 2019 Kruse et al.
This is an Open Access article distributed under the terms of the Creative Commons Attribution 4.0 License. See license information at http://creativecommons.org/licenses/by/4.0/.


Outline

Text

Introduction: (Fast Healthcare Interoperability Resources) is a modern standard for communication and representation of clinical data, where each dataset is defined by a single resource, linked to other resources [1]. But FHIR® does explicitely not define how to persist these resources [2]. Most implementations of a persistence-layer for FHIR® resources are using a relational database management system (RDBMS) [3], [4], [5].

Since a relational database require queries to be conducted on tables or views, partly using expensive JOIN functions, and filtered for the exact dataset, they tend to become slow on larger databases and may require the RDBMS to cache huge amounts of the stored data during the query [6].

Within the last years we've seen a rise of Graph Database systems for the storage of large interlinked datasets. Those database systems may pose a perfect match for a persistence layer of FHIR resources. Especially in clinical studies where the data is equally important as its relations [7].

Methods: We conducted basic research on how to implement a graph data model for persistence of FHIR® resources. This model shall be used for decision making on a future implementation of such a persistence layer. Since the resulting model is important for the determination of a database system, the result shall be technology agnostic.

For an initial concept of the model we decided to constrain the resources to a subset to fulfill the basic needs of a short inpatient stay with multiple Observations and Procedures. The model was designed through a review of these resources and a structured definition of nodes, edges and properties in a property graph model [7], [8].

Results: Our resulting data model shows, that a graph data model is well suited for the data structure of interlinked FHIR resources. Also the representation in a graph model renders very comprehensible.

The graph model includes a node for each FHIR® resource, containing properties for each of the resources elements and an edge for each "Reference" element within a resource. In order to maintain data provenance, each node itself begins a directed acyclic graph containing newer or older versions of this resource as nodes linked via edges with a specific label.

Discussion: At first glance the structure of a graph data model seems well suited for our purpose. Nevertheless the model still has to prove its usefulness. Due to no real implementation, we did not conduct any queries or other real tests on the model.

We expect some queries to be substantially easier and faster than in classic RDBMS. Especially queries on relations to a specific node (i.e. "Observations of Patient xyz"), but we need to evaluate extensive queries for specialized data sets. Especially regarding the common query for specific clinical resources over a given time frame (i.e. “number of infections in the last year”) and further restrictions (i.e. “... within ICU”).

In order to test the model and do further research we will need to implement this model in a graph database system.

The authors declare that they have no competing interests.

The authors declare that an ethics committee vote is not required.


References

1.
Health Level Seven International. Summary – Introducing HL7 FHIR. [Accessed 01 April 2019]. Available from: https://www.hl7.org/fhir/summary.html External link
2.
Health Level Seven International. Persistent storage – Using FHIR in persistent stores. [Accessed 18 March 2019]. Available from: https://www.hl7.org/fhir/2018May/storage.html External link
3.
Health Level Seven International. HL7 Wiki. [Accessed 01 April 2019]. Available from: http://wiki.hl7.org External link
4.
University Health Network. HAPI FHIR – JPA Server. [Accessed 01 April 2019]. Available from: http://hapifhir.io/doc_jpa.html External link
5.
Health Samurai. fhirbase – Database for FHIR. [Accessed 01 April 2019]. Available from: https://www.health-samurai.io/fhirbase External link
6.
Batra S, Tyagi C. Comparative analysis of relational and graph databases. International Journal of Soft Computing and Engineering (IJSCE). 2012 May;2(2):509-12.
7.
Angles R, Gutierrez C. Survey of Graph Database Models. ACM Comput Surv. 2008 Feb;40(1):1-39.
8.
Angles R. The Property Graph Database Model. In: Olteanu D, Poblete B, editors. Proceedings of the 12th Alberto Mendelzon International Workshop on Foundations of Data Management, Vol. 2100. Cali, Colombia, 21.-25.05.2018. Aachen: CEUR-WS; 2018. paper26.