EpicHealthcare Data Engineering

Epic Clarity and Caboodle to a Healthcare Data Warehouse: Access, Extraction, Modeling and Tests

July 14, 202617 min readUpdated Oct 31, 2026
Written by
Dinesh Thorat
Dinesh Thorat

Digital Growth Lead

Writes about healthcare technology, interoperability, and AI-driven transformation across modern care systems.

Epic Clarity and Caboodle to a Healthcare Data Warehouse: Access, Extraction, Modeling and Tests

Updated October 2026

Epic Clarity is Epic's nightly relational reporting database, and Caboodle is its nightly star-schema warehouse. To feed an enterprise healthcare data warehouse, extract from Caboodle where it holds the fields you need, take the rest from Clarity, and prove every load with tests you can rerun. We would decide access and licensing first, because neither is an engineering question and the public record on both is thin.

Epic documents little of this in public. Where a claim below rests on a university's published rules, a vendor's docs or Epic's public EHI schema, we say which. This guide is for CIOs, heads of data and health tech CTOs planning work on Epic data, and you can use it with any team. If you want help, our fixed $3,500 Healthcare Data Platform Assessment gives you a source inventory, a Clarity and Caboodle coverage check and a costed plan, and our healthcare data warehouse services cover the build.

What are Epic Chronicles, Clarity and Caboodle?

Chronicles is the live database, Clarity is a nightly relational copy, and Caboodle is a nightly star schema built largely from Clarity. UC Davis describes that chain plainly, and Vanderbilt says the same about nightly refresh. Clarity's own schema is what most teams mean by the Epic Clarity data model.

StoreShapeFreshnessBest forPublished evidence
ChroniclesLive operational databaseNowRunning care. Reporting Workbench reads it for up-to-date listsVanderbilt
ClarityRelational, record-level tablesNightly at the sites we readDetail and fields Caboodle lacksUC Davis, Vanderbilt
CaboodleStar schema of facts and dimensionsNightly at the sites we readEfficient reporting. Can carry links to non-Epic dataUC Davis, Vanderbilt
SlicerDicerSelf-service tool over CaboodleOne day behind at VanderbiltExploring populations. No record-level extractVanderbilt

Two details change warehouse design. Vanderbilt says Caboodle holds "most, but not all" of the data in Clarity, so a Caboodle-only plan needs a coverage check. And sources disagree on outside data: phData says Clarity and Caboodle contain only Epic data, while Vanderbilt says its Caboodle has links to external data. Both can be true at different sites, so ask your own team what has been loaded. For a closer look at the warehouse itself, read our Epic Caboodle guide, and for the other modules see the Epic modules list.

Epic's stores stay with the health system. Non-Epic feeds join in your account on their own contracts, so each can be held on its own.

Clarity vs Caboodle: which should feed your warehouse?

Start with Caboodle and drop to Clarity for each gap, because every Caboodle table you reuse is Epic logic your team does not have to rebuild and retest. a UT Southwestern report on building OMOP makes a similar case for reusing Epic's mappings and exception handling.

The evidence does support a different reading. UC Davis feeds its OMOP warehouse from Clarity, and so did Stanford's OMOP paper. A team that needs every field, or wants full control of its logic, has a fair case for Clarity. One test settles it for you: list your 20 most important measures, then check how many can be built from Caboodle at the right grain. Below roughly half, Clarity becomes the main source. That cutoff is our judgment, untested across sites.

Ask this per data set. One warehouse usually ends up using more than one route.

Why not use Bulk FHIR instead?

Epic itself advises against it for this job. Epic's Bulk Data tutorial lists "data synchronization with data warehouses or other databases", periodic loads of large clinical data, and incremental loads as poor uses. It adds that bulk requests are not incremental and run on the operational database, and that result files are deleted after 14 days. Epic names better fits, such as a one-time load before other exchange starts or monthly loads of a targeted set. Our Bulk FHIR guide covers those.

Who can get Clarity and Caboodle access, and what do licenses allow?

Access is decided by each health system and by its Epic agreement, and we found no public Epic document that sets out license terms. We read open.epic.com and fhir.epic.com on 31 October 2026 and found no published license language, price or rule for outside consultants on Clarity or Caboodle. Treat anything you read online on that subject, including this page, as a prompt for your legal team and your Epic contacts.

What is public is how institutions gate access to their own people:

InstitutionPublished rule for accessWhat it tells you
DukeDuke requires a data use agreement, use case document and assessment. Clarity also needs a use case explaining why Caboodle is insufficient and a meeting with an oversight committeeCaboodle is the default and Clarity is the exception
Duke, trainingCertification, accreditation or proficiency through Epic courses such as COG170, CDW110, CLR110. Registration sits in the course catalog on the Epic User WebTraining is part of access, and its catalog is behind a login
VanderbiltVanderbilt routes Clarity access through a work group and requires certification or proficiency in Epic's Clinical Data Model. Data are fully identifiableExpect the data to arrive with identifiers unless you ask otherwise

Those are examples from research-oriented centers, so your rules may differ. phData also frames ingestion as open to organizations that "have licenses for Clarity and Caboodle", which suggests the products are licensed. It does not say on what terms.

What is public, and what is not?

ItemPublic?Where it leaves you
EHI export table documentationYes. Epic's EHI Export Schema, dated 23 October 2026, for the August 2026 versionGood for orientation. Epic says it is intended for EHI export, and sites may differ
Bulk FHIR and other APIsYes, on open.epic.com and fhir.epic.comRead them before assuming a route works
Epic courses and course catalogNo. Duke points to the Epic User WebYour Epic team or a sponsoring employer holds this
Clarity data dictionaryWe could not verify it from Epic. Third-party guides describe it, and we did not see itAsk your Clarity team for the current version
License terms, fees, outside-party rulesNot found on the public sites we readHealth system legal and your Epic contacts

Epic's terms of use say site materials may be distributed only by linking to them, so we link and do not copy its documentation. We counted about 8,000 table names on the EHI index, which shows the scale. A table being in that schema does not prove the same table and columns exist in your Clarity.

Questions to settle before you scope anything

  • Does our Epic agreement let an outside firm view Clarity, Caboodle or their documentation? Who confirms that in writing?
  • Must the extract run under our staff, or can an outside team hold a read-only login?
  • Which of our people are certified, and do they have time for this work?
  • Do we need an extract, a view or a file drop, and who approves the column list?
  • What signal shows that tonight's load has finished?

How do you extract Epic Clarity data into Snowflake, Databricks or Fabric?

Run a read-only extract after the nightly load, take changed rows with an overlap window, and compare full key lists to catch deletes. The target matters less than this logic. Snowflake says PHI requires Business Critical edition and a signed BAA (Snowflake's edition docs). Azure Databricks docs say HIPAA controls require the compliance security profile on every workspace that handles PHI. Our Snowflake and Databricks pages go further.

PatternHow it worksFits whenWatch for
Managed replicationA tool such as Fivetran's Epic Clarity connector copies tables. Its docs list delete capture, excluding CSA tables, plus column and table blockingYour security team approves the tool and its deployment modelHybrid deployment needs an Enterprise or Business Critical plan. Check what a nightly load looks like to the tool
Your own SQL jobsScheduled queries on changed keys, written by your teamYou need tight control, or the tool is not approvedYou own overlap, delete and schema change handling
Full reloadReload whole tables each runSmall reference tablesToo slow on large tables, in our judgment
File drop from the Epic teamThe Epic reporting team writes approved extracts to a secure locationOutside teams may not log inAdd a manifest with row counts, or you cannot tie out
Change capture on the reporting databasephData recommends tools offering thisYour DBA allows itAsk how the nightly load writes rows. Mass rewrites can flood the change stream. This is our caution, not a measured result
Events alongsideHL7 feed or FHIR API for same-day needs. See Epic BridgesA person must act todayDo not reconcile these against Clarity until the next night
Start from Epic's completion signal. A fixed start time will eventually read a half-finished load.

Which column can you use as a watermark?

Assume none until your Clarity team confirms one. In the public schema, PAT_ENC has UPDATE_DATE, described as the time the encounter was pulled into enterprise reporting. That is a load time, so it does not tell you when care happened. The same column did not appear on the five other table pages we checked: PAT_ENC_HSP, CLARITY_ADT, ORDER_RESULTS, HSP_ACCOUNT and PATIENT. Your Clarity may differ, since this is the EHI schema. Plan a per-table load rule from the start. Our change data capture guide covers the general method.

How should you model Clarity and Caboodle data in the warehouse?

Keep a raw mirror in Epic's shape, conform it once, and build marts with one stated grain each. Copying Clarity straight to analysts spreads Epic's joins into every report, and rebuilding it all at once throws away the ability to replay.

Epic's shape at the bottom and your definitions at the top. The aim is for Epic upgrades to touch only the lower layers, so test that at each upgrade.
Public tableStated primary keyDesign point
PAT_ENCPAT_ENC_CSN_IDOne row per encounter, but by default excludes registration and PCP or clinic change contacts. Counts will not match a request for every contact
PAT_ENC_DXPAT_ENC_CSN_ID, LINEMany rows per encounter. An encounter with three diagnosis lines counts three times if you join it to encounters
PAT_ENC_HSPPAT_ENC_CSN_IDHospital encounters only, created through ADT workflows
CLARITY_ADTEVENT_IDOne row per ADT event. Use it for movement and census logic
ORDER_RESULTSORDER_PROC_ID, ORD_DATE_REAL, LINEHolds only the last order contact, so earlier values vanish unless your raw layer keeps them
HSP_ACCOUNTHSP_ACCOUNT_IDBilling grain. Do not treat it as one encounter

These come from Epic's EHI pages as of October 2026. Check each against your Clarity. Three more points deserve a decision early:

  • Patient keys. The schema notes that PAT_ID may be encrypted if a site uses the enterprise reporting encryption utility, so do not plan joins on it across environments until you know.
  • Local time. Several time columns are listed as local. Keep them local and state the rule once. Converting them as if they were UTC moves late-night visits to another day.
  • Site differences. Stanford's OMOP paper reports that its two hospitals' different workflows meant different Clarity tables were populated. Build by site from day one if you run more than one Epic instance or a merged one.

If research is a goal, feed OMOP from the conformed layer and budget it as separate work. Stanford calls code mapping one of the main efforts in its transformation.

What goes wrong when moving Epic data to a warehouse?

Most failures produce a believable wrong number and no error. In the table below, the evidence column says whether a problem is documented in public or is our engineering judgment. Each row has a test in the next section.

FailureWhy it happensBasisTest
Reading during the loadA timer starts the extract before Epic's load endsJudgment, from nightly schedulesT9
Duplicate rowsA rerun or wrong key loads rows twiceJudgmentT1
Rows go missingA failed run or filter drops rowsJudgmentT2, T5
Inflated totalsEncounter joined to a table with linesSchema, PAT_ENC_DX keyT3
Deleted rows still countedA changed-rows feed never reports a deleteFivetran documents delete capture as a feature, with an exclusionT4
Corrected result loses its historySource holds only the last contactSchema, ORDER_RESULTST6
Visit lands on the wrong dayLocal time treated as UTCSchema, local time columnsT7
Patient history splits after a mergeAn old ID stays in your warehouseJudgment. Merge handling is not in the public pages we read, so ask your teamT8
Query breaks after an Epic upgradeColumns change. The schema has a Discontinued flag per columnSchema, EHI Export SchemaRun all on the test copy first
Extract sprawlEach team requests its own copyJudgmentOne allow list, one owner

Which tests should every Clarity extract pass?

Nine tests catch the failures above, and each must hold the release when it fails. We ran them on synthetic rows on 31 October 2026, and all 20 assertions passed. T1 to T4 are the SQL below, each also run against bad data to prove it can fail. T5 to T9 are small Python checks of the rule. This shows the checks catch the fault as written. None has run on a real Clarity database, so results there are unproven, and names will need adapting at your site.

TestPasses when
T1 Unique keysNo primary key repeats in the target
T2 Count tieRows per table and month equal the count captured on the Epic side
T3 No fan-outA one-row-per-encounter mart has one row per CSN
T4 Deletes flaggedEvery target key not in tonight's full list is marked deleted
T5 Overlap windowA row missed by a failed run returns on the next run
T6 Result historyRaw keeps the old and new value, and the current view shows the new one
T7 Local dayA 23:30 visit stays on its own date
T8 MergeEncounters under a retired ID roll up to one person, with none lost
T9 FreshnessPublishing holds unless tonight's completion signal is present
-- T1 Duplicate keys. Expect 0 rows. PAT_ENC_CSN_ID is the primary key in Epic's public EHI schema.
SELECT PAT_ENC_CSN_ID, COUNT(*) AS n FROM wh_encounter GROUP BY PAT_ENC_CSN_ID HAVING COUNT(*) > 1;
-- T2 Count tie by month. source_counts is captured on the Epic side at extract time. Expect 0 rows.
SELECT s.contact_month, s.n AS source_rows, COALESCE(t.n, 0) AS target_rows
FROM source_counts s
LEFT JOIN (SELECT contact_month, COUNT(*) AS n FROM wh_encounter WHERE is_deleted = 0 GROUP BY contact_month) t
  ON t.contact_month = s.contact_month
WHERE s.n <> COALESCE(t.n, 0);
-- T3 Fan-out. A one-row-per-encounter mart must have one row per CSN. Expect 0 rows.
SELECT report_rows, encounters FROM (
  SELECT COUNT(*) AS report_rows, COUNT(DISTINCT PAT_ENC_CSN_ID) AS encounters FROM mart_encounter
) x WHERE report_rows <> encounters;
-- T4 Silent deletes. source_keys is tonight's full key list. Expect 0 rows after flagging.
SELECT t.PAT_ENC_CSN_ID FROM wh_encounter t
LEFT JOIN source_keys s ON s.PAT_ENC_CSN_ID = t.PAT_ENC_CSN_ID
WHERE s.PAT_ENC_CSN_ID IS NULL AND t.is_deleted = 0;

wh_encounter, mart_encounter, source_counts and source_keys are example names for your own tables. The overlap length is your call. Measure how far back late rows reach at your site, and set it above that. For where these checks fit in a wider program, read why integrated data can be worse than siloed.

Any failed check holds the release, and consumers keep the last good night with its date shown.

Who should own an Epic data program?

The health system should own every decision about access, definitions and release, and engineers should own running them. That holds whether you staff the work yourself or hire it out. Clarity is usually run by a reporting team that also guards changes to it, so a vendor needs that team on side from the first week.

Job titles vary. Each row needs one name before work starts.

How to decide who should build your Epic data warehouse

Hire the team that can show you its controls before it shows you its tools. The six questions below are the ones we would ask in your seat. The answers describe what we would put in your plan, so hold us to them in writing.

Risks and how we control them

RiskWhat it costs youControl we put in the plan
Access or license blocks the plan lateRework after design is paid forWritten answers to the access questions before any scope is priced
PHI leaves with no purposePrivacy exposureColumn allow list approved by the privacy officer. Blocked columns never leave the source
Silent errors in published numbersLeaders act on wrong figuresThe nine tests hold the release, and a ledger records each run
Epic upgrade breaks a pipelineMissed nightsRun the tests on a non-production copy before each upgrade, and alert on schema change
Site logic hidden in codeOnly one person understands the numbersDefinitions and grain documented per mart, with a named owner
Vendor overstates Epic experienceMonths lost learning on your projectAsk for the named person, their Epic credentials, and a walkthrough of a sanitized mapping

Governance and PHI handling

Clarity and Caboodle data can be fully identifiable, as Vanderbilt notes, so the design starts by asking which identifiers each use really needs. Discovery and test design start with synthetic or de-identified examples. Access to production data comes later, in approved environments, under a signed BAA. Nirmitee is ISO 27001:2022 certified, which covers how we run our security management. It does not make your platform compliant, so your privacy and security leads still review the design.

Who owns the code and the data

Your data stays yours, and our design keeps it in accounts your organization controls. Ownership of code written during the work is set in the contract before anything is built, so ask to read that clause in the first week. Make sure the clause gives your team the right to use and maintain what it takes forward: the data contracts and mappings, the pipeline and quality tests, the replay and recovery procedures, and the freshness monitoring.

What the team looks like

Expect a data architect, a data engineer, an analytics engineer and QA. A person with Clarity data model training must be on the work, whether from your staff or the vendor, and you should meet them by name. Your Epic reporting team stays involved throughout. Your side supplies a business owner for each published number, a source system owner for each feed, and a privacy or compliance reviewer. A project without those three people on your side will stall, whoever you hire.

What you receive

A build engagement should leave you with running pipelines in your environment, documented grain and definitions, reconciliation reports you can rerun, a runbook, and a handover walkthrough with the people who will operate the platform. Write these into the acceptance criteria.

How to judge a vendor

  • Ask them what they cannot see without your Epic team, and how they would work around it.
  • Ask how they detect a delete, and what happens to a target row when one is found.
  • Ask which of their tests have failed on real work, and what they did next.
  • Ask for an example of Clarity-to-warehouse mapping with client details removed. A claim of experience is no substitute.
  • Ask who on their team holds Epic training, what level, and from which employer.

Healthcare Data Platform Assessment: $3,500, fixed

The Healthcare Data Platform Assessment costs a fixed $3,500 and gives you a build plan you can take to any vendor, including us. It suits a team with Epic as its main source and a warehouse decision ahead. For Epic, the source inventory includes your answers on access, the Clarity and Caboodle coverage check for your priority measures, and the test plan above. If access is not granted in time, the report lists that check as open instead of guessing.

  • Source inventory: every source, its owner, access route, refresh behavior and known gaps.
  • Target architecture: layers, platform recommendation and the tradeoffs behind it.
  • Data model outline: core entities, grain and the definitions that need an owner.
  • Risk list: technical, vendor, privacy and operating risks, ranked.
  • Costed build plan: phases, acceptance checks and an engineering estimate.

Not included: building pipelines, production PHI access, vendor license or API fees, vendor approvals, legal review and ongoing support. Ask for a Healthcare Data Platform Assessment and bring one decision the data must support.

Choosing how to staff this? See our healthcare data and platform engineering guide, or start from our healthcare data engineering services. For app access to live Epic data, see Epic integration services and FHIR integration.

Ready to scale?

Talk to our healthcare engineering team about building, integrating, and shipping faster.

Frequently Asked Questions

What is Epic Clarity?

Epic Clarity is Epic's relational reporting database. A scheduled load, nightly at the sites we read about, copies data out of the live Chronicles database, so report writers and BI tools can query it without touching the live system.

What is the difference between Epic Clarity and Caboodle?

Clarity is a record-level relational database. Caboodle is a star-schema warehouse built largely from Clarity, focused on efficient reporting, and it can hold links to outside data. Vanderbilt notes that Caboodle has most, but not all, of the data in Clarity.

Is Epic Clarity real-time?

No. It refreshes on a schedule, nightly at most sites described in public, so data is usually a day behind. For same-day needs use a FHIR API or an HL7 feed.

Can I move Epic Clarity data into Snowflake or BigQuery?

Technically yes, and published patterns exist for Snowflake. Whether you may depends on your Epic agreement and your health system's approval. Confirm that first. Then extract read-only after the nightly load and test every load.

Is the Epic Clarity data dictionary public?

We could not find it on Epic's public sites. Epic publishes an EHI export schema that covers many tables, but says it is meant for EHI export and that sites vary. Your Clarity team should have the version for your site.

Do you need certification to access Clarity or Caboodle?

Many health systems require it. Duke and Vanderbilt publish rules asking for certification or proficiency through Epic's courses. Each organization sets its own policy.

Why is Epic Clarity reporting considered difficult?

The schema is very large, and site workflows decide which tables are populated. Stanford reported that even its two hospitals populated different tables. Knowing the right joins and grain is most of the skill.

Can I use Bulk FHIR to sync Epic with a data warehouse?

Epic's own tutorial lists warehouse synchronization and incremental loads as poor uses. Bulk requests are not incremental and run on the operational database.
Share