Epic Clarity and Caboodle to a Healthcare Data Warehouse: Access, Extraction, Modeling and Tests
Digital Growth Lead
Writes about healthcare technology, interoperability, and AI-driven transformation across modern care systems.

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.
| Store | Shape | Freshness | Best for | Published evidence |
|---|---|---|---|---|
| Chronicles | Live operational database | Now | Running care. Reporting Workbench reads it for up-to-date lists | Vanderbilt |
| Clarity | Relational, record-level tables | Nightly at the sites we read | Detail and fields Caboodle lacks | UC Davis, Vanderbilt |
| Caboodle | Star schema of facts and dimensions | Nightly at the sites we read | Efficient reporting. Can carry links to non-Epic data | UC Davis, Vanderbilt |
| SlicerDicer | Self-service tool over Caboodle | One day behind at Vanderbilt | Exploring populations. No record-level extract | Vanderbilt |
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.
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.
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:
| Institution | Published rule for access | What it tells you |
|---|---|---|
| Duke | Duke 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 committee | Caboodle is the default and Clarity is the exception |
| Duke, training | Certification, accreditation or proficiency through Epic courses such as COG170, CDW110, CLR110. Registration sits in the course catalog on the Epic User Web | Training is part of access, and its catalog is behind a login |
| Vanderbilt | Vanderbilt routes Clarity access through a work group and requires certification or proficiency in Epic's Clinical Data Model. Data are fully identifiable | Expect 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?
| Item | Public? | Where it leaves you |
|---|---|---|
| EHI export table documentation | Yes. Epic's EHI Export Schema, dated 23 October 2026, for the August 2026 version | Good for orientation. Epic says it is intended for EHI export, and sites may differ |
| Bulk FHIR and other APIs | Yes, on open.epic.com and fhir.epic.com | Read them before assuming a route works |
| Epic courses and course catalog | No. Duke points to the Epic User Web | Your Epic team or a sponsoring employer holds this |
| Clarity data dictionary | We could not verify it from Epic. Third-party guides describe it, and we did not see it | Ask your Clarity team for the current version |
| License terms, fees, outside-party rules | Not found on the public sites we read | Health 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.
| Pattern | How it works | Fits when | Watch for |
|---|---|---|---|
| Managed replication | A tool such as Fivetran's Epic Clarity connector copies tables. Its docs list delete capture, excluding CSA tables, plus column and table blocking | Your security team approves the tool and its deployment model | Hybrid deployment needs an Enterprise or Business Critical plan. Check what a nightly load looks like to the tool |
| Your own SQL jobs | Scheduled queries on changed keys, written by your team | You need tight control, or the tool is not approved | You own overlap, delete and schema change handling |
| Full reload | Reload whole tables each run | Small reference tables | Too slow on large tables, in our judgment |
| File drop from the Epic team | The Epic reporting team writes approved extracts to a secure location | Outside teams may not log in | Add a manifest with row counts, or you cannot tie out |
| Change capture on the reporting database | phData recommends tools offering this | Your DBA allows it | Ask how the nightly load writes rows. Mass rewrites can flood the change stream. This is our caution, not a measured result |
| Events alongside | HL7 feed or FHIR API for same-day needs. See Epic Bridges | A person must act today | Do not reconcile these against Clarity until the next night |
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.
| Public table | Stated primary key | Design point |
|---|---|---|
| PAT_ENC | PAT_ENC_CSN_ID | One 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_DX | PAT_ENC_CSN_ID, LINE | Many rows per encounter. An encounter with three diagnosis lines counts three times if you join it to encounters |
| PAT_ENC_HSP | PAT_ENC_CSN_ID | Hospital encounters only, created through ADT workflows |
| CLARITY_ADT | EVENT_ID | One row per ADT event. Use it for movement and census logic |
| ORDER_RESULTS | ORDER_PROC_ID, ORD_DATE_REAL, LINE | Holds only the last order contact, so earlier values vanish unless your raw layer keeps them |
| HSP_ACCOUNT | HSP_ACCOUNT_ID | Billing 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_IDmay 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.
| Failure | Why it happens | Basis | Test |
|---|---|---|---|
| Reading during the load | A timer starts the extract before Epic's load ends | Judgment, from nightly schedules | T9 |
| Duplicate rows | A rerun or wrong key loads rows twice | Judgment | T1 |
| Rows go missing | A failed run or filter drops rows | Judgment | T2, T5 |
| Inflated totals | Encounter joined to a table with lines | Schema, PAT_ENC_DX key | T3 |
| Deleted rows still counted | A changed-rows feed never reports a delete | Fivetran documents delete capture as a feature, with an exclusion | T4 |
| Corrected result loses its history | Source holds only the last contact | Schema, ORDER_RESULTS | T6 |
| Visit lands on the wrong day | Local time treated as UTC | Schema, local time columns | T7 |
| Patient history splits after a merge | An old ID stays in your warehouse | Judgment. Merge handling is not in the public pages we read, so ask your team | T8 |
| Query breaks after an Epic upgrade | Columns change. The schema has a Discontinued flag per column | Schema, EHI Export Schema | Run all on the test copy first |
| Extract sprawl | Each team requests its own copy | Judgment | One 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.
| Test | Passes when |
|---|---|
| T1 Unique keys | No primary key repeats in the target |
| T2 Count tie | Rows per table and month equal the count captured on the Epic side |
| T3 No fan-out | A one-row-per-encounter mart has one row per CSN |
| T4 Deletes flagged | Every target key not in tonight's full list is marked deleted |
| T5 Overlap window | A row missed by a failed run returns on the next run |
| T6 Result history | Raw keeps the old and new value, and the current view shows the new one |
| T7 Local day | A 23:30 visit stays on its own date |
| T8 Merge | Encounters under a retired ID roll up to one person, with none lost |
| T9 Freshness | Publishing 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.
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.
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
| Risk | What it costs you | Control we put in the plan |
|---|---|---|
| Access or license blocks the plan late | Rework after design is paid for | Written answers to the access questions before any scope is priced |
| PHI leaves with no purpose | Privacy exposure | Column allow list approved by the privacy officer. Blocked columns never leave the source |
| Silent errors in published numbers | Leaders act on wrong figures | The nine tests hold the release, and a ledger records each run |
| Epic upgrade breaks a pipeline | Missed nights | Run the tests on a non-production copy before each upgrade, and alert on schema change |
| Site logic hidden in code | Only one person understands the numbers | Definitions and grain documented per mart, with a named owner |
| Vendor overstates Epic experience | Months lost learning on your project | Ask 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?
What is the difference between Epic Clarity and Caboodle?
Is Epic Clarity real-time?
Can I move Epic Clarity data into Snowflake or BigQuery?
Is the Epic Clarity data dictionary public?
Do you need certification to access Clarity or Caboodle?
Why is Epic Clarity reporting considered difficult?
Can I use Bulk FHIR to sync Epic with a data warehouse?


