FHIR (Fast Healthcare Interoperability Resources) is a standard for exchanging healthcare information electronically. However, FHIR resources often contain multiple elements that are references to other resources, linking them together to create a complex network. Comprehending these nuanced relationships can be challenging, but crucial for thorough data analysis and error identification.
To aid in visualizing these relationships more easily, I've built the FHIR Graph Viewer tool. This tool takes a FHIR bundle as input and generates a graph of the resources and their relationships. The graph is interactive and can be panned and zoomed. Clicking on a resource or relationship will display its details in a dialog.
The tool uses the d3-force library to arrange the elements of the graph with a static force-directed layout ("the magic auto-layout algorithm"). Try it now and see for yourself!