Fig. 4: View definitions and compositional queries used in evaluation.
From: SQL on FHIR - Tabular views of FHIR data using FHIRPath

The raw FHIR resources were transformed into a set of intermediate views, based on demographics, encounter details and different types of observations. These views were then combined using SQL queries to produce the final set of input variables required for the analysis.