Flexpa
Developer PortalFeedbackContact usOnboard

Guides

  • Home
  • Quickstart
  • Financial Data

Network

  • Network guide
  • Directory
  • Updates

Consent

  • Link SDK
  • Patient access

Records

  • FHIR API
  • Node SDK
  • FHIR Introduction
  • Usage
  • Terminology

Misc

  • Changelog
  • Support
  • Flexpa OS
  • We're hiring

Data analytics

FHIR Resources obtained from Flexpa API, while useful on their own, are even more powerful when analyzed to generate insights into your business.

Our API returns raw FHIR data in JSON format. To use this data in popular analytics tools and platforms it must be converted into a structured format. Once converted, the data can also be stored in relational databases for efficient, long-term management and use.

#Tuva

The Tuva Project is a set of open-source tools that makes it easier to derive insights from the kind of data Flexpa unlocks. Specifically, Tuva helps you transform raw healthcare data (FHIR, CCLF, etc.) into a quality-tested format designed for analysis.

By combining Flexpa and Tuva, you can easily query user-consented health data, and transform that raw health information into a storable, structured shape.

#What you can do

By combining Flexpa API and Tuva's FHIR connector, you can:

  • Quickly obtain raw FHIR Resources
  • Pre-process that data into a common data model—the Tuva data model
  • Store that data in a database, or data warehouse like Snowflake, Redshift, or BigQuery

#Pre-requisites

#Flexpa

To perform analytics, you'll need FHIR data:

  • Run through our Quickstart guide to familiarize yourself with Flexpa's tools and set yourself up to query FHIR data.
  • The Quickstart uses data made available in the sandbox environments listed on our test mode page. Be sure you can successfully query for resources such as Observation and Coverage.
  • To obtain live patient data, you can request access through the Flexpa Portal.

#Tuva

To use Tuva, install:

  • python
  • pip
  • dbt

The FHIR connector requires a specific setup described in the repo's README.

#Order of operations

  1. Go through our Quickstart guide and query at least one FHIR bundle from a supported sandbox endpoint.
  2. Use the Tuva FHIR connector to convert the returned resources into the Tuva data model.
  3. Store the CSV output in your database or data warehouse.

#Next steps

Consent

Flexpa Link is a client-side component to help your users link health plan data sources

Build with Flexpa Link →

Flexpa API

Use Flexpa API as a unified API to access Explanation of Benefits and more

Build with Flexpa API →
Status TwitterGitHub

© 2025 Flexpa. All rights reserved.

On this page
  • Tuva
  • What you can do
  • Pre-requisites
  • Flexpa
  • Tuva
  • Order of operations
  • Next steps