OMOP Data Model Guide: CDM Tables, Vocabulary and OMOP vs FHIR
CTO & Co-Founder
CTO & Co-Founder at Nirmitee.io. Architects healthcare integrations across FHIR, SMART on FHIR, ABDM and NHCX, writing from production experience taking hospital software from sandbox to go-live.

Updated October 2026
This guide is for CIOs, CTOs and heads of data deciding whether to fund OMOP and who should build it. The OMOP data model is an open relational standard that puts observational health data into the same tables and the same clinical codes at every site, so one analysis can run across many databases. It is formally the OMOP Common Data Model (CDM), maintained by the OHDSI community, and its current version is v5.5.
Our view for leaders is simple: adopt OMOP when you have a named research or evidence need, and do not use it as your general reporting warehouse. Its value comes from shared vocabulary and shared tools, and you pay for both through clinical mapping work that never fully ends. Our healthcare data engineering team scopes this kind of decision, and our fixed-price Healthcare Data Platform Assessment is the first step. The sections below cover the schema, the mapping work, OMOP vs FHIR, and how to judge a vendor.
What Is the OMOP Data Model?
The OMOP Common Data Model is a person-centred relational schema in which every clinical event links to a person and a date, and every coded value links to a standard concept. OHDSI's design principles say it is organized for analysis, and not for the operational needs of providers or payers.
Four of those principles drive most design decisions:
- Domains are person-centric. Each record holds at least a person and a date, which is what makes cohort logic over time practical.
- Source codes stay. Original values are stored beside the mapped concept, so no information is lost and a mapping can be redone.
- It is technology neutral. The CDM runs on any relational database or as SAS analytical datasets.
- Domains exist only where analysis needs them. Everything else goes to the observation table as an entity, attribute and value.
OMOP is often called a star schema. OHDSI describes it as a person-centric relational model, and that is the more accurate description. A team that models it as a classic star of facts and conformed dimensions will fight the vocabulary tables. For that style of model, read our guide to healthcare data modeling and dimension mapping, and compare warehouse, lake and lakehouse designs.
OMOP CDM Tables: The Schema by Group
The OMOP schema has 39 tables in the v5.4 listing, by our count of the OHDSI documentation on 30 October 2026, and v5.5 adds 3 vocabulary metadata tables. Few programs need all of them on day one. A first study often needs person, observation_period, visit_occurrence, the relevant event tables and the vocabulary tables.
| Table | What one row means | The mistake to avoid |
|---|---|---|
| person | One person, with demographics as concepts | Loading duplicates because identity was not resolved first |
| observation_period | A span when this source could see the person | Leaving it as first to last event. It sets the denominator for rates, so a wrong span gives wrong rates |
| visit_occurrence | One encounter | Treating every claim line as a visit |
| condition_occurrence | One recorded condition event | Loading problem-list refreshes as new events |
| drug_exposure | One exposure record, from orders, fills or administrations | Mixing prescribed and dispensed without setting drug_type_concept_id |
| measurement | One structured result, usually a lab or vital | Dropping the source unit. Keep unit_source_value beside unit_concept_id |
| observation | One fact with no better domain | Using it as a dumping ground for unmapped codes |
The OMOP Vocabulary Is Where the Work Lives
The OMOP vocabulary maps every source code to one standard concept, and that standard concept is what your analysis queries. The Book of OHDSI says only standard concepts go in the *_concept_id fields, and that the concept's domain decides which table and field store the event.
That last rule surprises most teams, and it is the design point we would test first in any vendor. The table comes from the concept's domain, and the source container does not decide it. A code that arrives in a FHIR Condition can belong in another table if its standard concept has another domain. An ETL hard-wired as "Condition goes to condition_occurrence" will misplace those records without raising an error.
Three cases need a rule before anyone writes code:
- No mapping. The concept ID defaults to 0. Keep the source value, and report the share of records at 0 for each table.
- One code, several concepts. The Book of OHDSI's example is ICD-9-CM 070.43, hepatitis E with hepatic coma, which maps to two SNOMED concepts. You write two rows.
- Loss of detail. A code with no equal gets a broader "up-hill" map. The book's example is ICD-10-CM W61.51, bitten by goose, which maps to peck by bird. Your clinicians need to know this happens.
The sketch below handles all three. It is a sketch to show the logic. We checked it on a small synthetic vocabulary only, so test it on your own vocabulary release.
# Maps one source code to OMOP. Returns one row per standard target,
# because a combination code can map to more than one concept.
SYSTEM_TO_VOCAB = {
"http://snomed.info/sct": "SNOMED",
"http://hl7.org/fhir/sid/icd-10-cm": "ICD10CM",
"http://hl7.org/fhir/sid/icd-9-cm": "ICD9CM",
"http://loinc.org": "LOINC",
"http://www.nlm.nih.gov/research/umls/rxnorm": "RxNorm",
"http://www.ama-assn.org/go/cpt": "CPT4",
}
DOMAIN_TO_TABLE = {
"Condition": "condition_occurrence", "Drug": "drug_exposure",
"Procedure": "procedure_occurrence", "Measurement": "measurement",
"Observation": "observation", "Device": "device_exposure",
}
def map_code(system, code, conn):
cur = conn.cursor()
cur.execute(
"""SELECT src.concept_id, std.concept_id, std.domain_id
FROM concept src
LEFT JOIN concept_relationship cr
ON cr.concept_id_1 = src.concept_id
AND cr.relationship_id = 'Maps to'
AND cr.invalid_reason IS NULL
LEFT JOIN concept std
ON std.concept_id = cr.concept_id_2
AND std.standard_concept = 'S'
WHERE src.vocabulary_id = %s AND src.concept_code = %s""",
(SYSTEM_TO_VOCAB.get(system), code))
rows = cur.fetchall()
if not rows: # code unknown to this vocabulary release
return [{"concept_id": 0, "source_concept_id": 0, "table": None}]
return [{"concept_id": std or 0, # 0 = no mapping; goes to the review queue
"source_concept_id": src,
"table": DOMAIN_TO_TABLE.get(domain)}
for src, std, domain in rows]
Hierarchy is what repays the effort. Type 2 diabetes mellitus is concept 201826, and a query through concept_ancestor finds its descendants across every site. The Book of OHDSI cautions that a high-quality hierarchy exists only for drugs and conditions, so do not assume the same for other domains. For the wider terminology work, see our guide to terminology mapping in production.
-- New type 2 diabetes patients started on metformin within 90 days,
-- with a year of prior observation. Syntax is PostgreSQL.
WITH first_dx AS (
SELECT co.person_id, MIN(co.condition_start_date) AS index_date
FROM condition_occurrence co
JOIN concept_ancestor ca ON ca.descendant_concept_id = co.condition_concept_id
WHERE ca.ancestor_concept_id = 201826
GROUP BY co.person_id
)
SELECT DISTINCT fd.person_id, fd.index_date
FROM first_dx fd
JOIN observation_period op
ON op.person_id = fd.person_id
AND fd.index_date >= op.observation_period_start_date + INTERVAL '365 days'
AND fd.index_date <= op.observation_period_end_date
JOIN drug_exposure de ON de.person_id = fd.person_id
JOIN concept_ancestor da ON da.descendant_concept_id = de.drug_concept_id
WHERE da.ancestor_concept_id = 1503297 -- metformin
AND de.drug_exposure_start_date
BETWEEN fd.index_date AND fd.index_date + INTERVAL '90 days'; Which OMOP CDM Version Should You Build?
Build new work on the v5.5 definitions, and do not depend on fields new in v5.5 until your tools support them. OHDSI names v5.5 as the current version, and its change list says no fields or tables were removed or renamed, so v5.4 content carries over.
The caution comes from OHDSI's own support table, read on 30 October 2026. Every listed tool shows legacy support, meaning everything that existed in v5.4. For new v5.5 content, only the CDM R package showed tested and released support. Data Quality Dashboard, Achilles, ARES, ATLAS, Rabbit-In-a-Hat, Feature Extraction and Cohort Diagnostics were all marked as started but not yet released. Check that table again before you decide, because it will change.
Older articles describe v5.4 as current or point to a v6. The current OHDSI version pages list v3.0, v5.3, v5.4 and v5.5, so ask anyone who proposes v6 to show why.
Should You Adopt OMOP? A Decision Path
Adopt OMOP when a named consumer needs network studies or repeatable cohorts. Choose something else when the need is operational reporting or a live application.
The best common data model depends on the network you need to join, because the shared code and shared partners are the main prize. Two common cases do not use OMOP as their main model:
| Model | Run by | Choose it when |
|---|---|---|
| OMOP CDM | OHDSI community | You want OHDSI tools and network studies |
| PCORnet CDM | PCORnet Network Partners | You take part in PCORnet research |
| Sentinel CDM | FDA Sentinel Operations Center | You are a Sentinel Data Partner |
| FHIR | HL7 International | You exchange records between live systems |
| Your own dimensional model | You | You need local operational and financial reporting |
FDA Sentinel is often assumed to run on OMOP. Sentinel's documentation describes its own Sentinel Common Data Model.
OMOP vs FHIR: When to Use Which
FHIR moves records between live systems, and OMOP analyzes populations after the fact. An organization doing both kinds of work will usually need both, because they answer different questions.
| Question | FHIR | OMOP CDM |
|---|---|---|
| Main job | Exchange between systems | Retrospective analysis across populations |
| Shape | Resources as JSON or XML over REST | Relational tables queried with SQL |
| Codes | Several code systems can sit on one record | Each row holds one standard concept, with the source code kept |
| Time | Current state and events | Longitudinal history |
| Quality tooling | Validation against profiles; varies by server | Achilles and Data Quality Dashboard |
| Governed by | HL7 International | OHDSI community |
| Typical users | App and integration engineers | Epidemiologists and data scientists |
FHIR cannot replace OMOP for multi-site research, because it does not make two sites choose the same concept for the same event. OMOP cannot replace FHIR for exchange, because it has no API standard for live systems and it drops the operational detail those systems need.
FHIR to OMOP mapping
FHIR to OMOP mapping starts from the resource and ends wherever the concept's domain says. Use the table as a first guess, and let the vocabulary decide each record.
| FHIR resource | Usual OMOP target | Watch for |
|---|---|---|
| Patient | person | Race and ethnicity live in US Core extensions. Merged patients need one person_id |
| Encounter | visit_occurrence, visit_detail | Encounter.class to visit_concept_id. Transfers can go to visit_detail |
| Condition | condition_occurrence, by domain | Exclude entered-in-error and refuted records. Decide what a problem-list refresh means |
| MedicationRequest, MedicationDispense, MedicationAdministration | drug_exposure | Record which one it was in drug_type_concept_id. Do not count one order three times |
| Immunization | drug_exposure | Vaccine codes need a standard drug concept |
| Observation | measurement or observation, by domain | Blood pressure components become separate rows |
| Procedure | procedure_occurrence, by domain | Some codes route to other domains |
| AllergyIntolerance | By domain of the mapped concept | Do not fix this in code. Agree a convention with your reviewer |
| ExplanationOfBenefit, Coverage | cost, payer_plan_period | Adjudicated amounts differ from billed amounts |
Bulk export is the usual extract for this work, and our FHIR bulk data pipeline guide covers it. HL7 also runs a FHIR to OMOP implementation guide. The continuous build we read is 2.0.0-ballot and says it is not an authorized publication, so treat it as a useful reference that is still changing. For the layers around the CDM, see medallion architecture for healthcare.
How to Build an OMOP ETL
An OMOP ETL has four stages in the Book of OHDSI: design, code mapping, implementation and quality control. Keeping design apart from code is the important part, because most errors are errors of meaning.
| Stage | Who | Tool | Output you can inspect |
|---|---|---|---|
| 1. Design | Data expert and CDM expert together | White Rabbit, Rabbit-In-a-Hat | Scan report and a table and field mapping document |
| 2. Code mapping | People with medical knowledge | Usagi | Approved source to concept map |
| 3. Implementation | Technical engineer | SQL or your pipeline tool | Versioned, repeatable ETL code |
| 4. Quality control | Everyone, with a second reviewer on each change | Achilles, Data Quality Dashboard | Reports and reconciliation to source |
Usagi suggests matches by text similarity, and a reviewer approves or corrects them. Treat its output as candidates. A text match can pick a clinically wrong concept, which is why the approval step has a named clinician.
Design the load so a rerun is safe. A common bug writes one row per coding on a FHIR resource, which creates duplicates when a Condition carries both SNOMED and ICD-10 codes. Pick one coding per event by a written priority, and write down why.
Quality checks and tools
Data quality is a precondition for network work. OHDSI says the Data Quality Dashboard runs more than 3,500 checks and must run on all databases before they join a network study. Integrated data can be worse than siloed data when these checks are skipped.
A passing dashboard shows the data conforms to expected patterns. It does not show that your mappings are clinically right. Add two checks of your own: reconcile counts by table and year to the source, and have a clinician compare a known cohort, such as a diabetes registry, with the OMOP result.
| Tool | Job |
|---|---|
| White Rabbit, Rabbit-In-a-Hat | Scan sources and design the mapping |
| Usagi | Suggest code mappings for human review |
| Achilles | Characterize the database |
| Data Quality Dashboard | Run conformance, completeness and plausibility checks |
| ARES | Display Achilles and quality results |
| ATLAS | Define cohorts and run analyses |
| Cohort Diagnostics | Critically evaluate cohort definitions |
| Feature Extraction | Generate features for a cohort |
Who Uses OMOP, and for What
OMOP is used mainly for observational research that must run across several databases without pooling patient records. OHDSI says its community has more than 4,200 collaborators across 83 countries and health records for about 810 million unique patients. Those figures are OHDSI's own and the page does not date them.
A clear published example is a 2021 BMJ study that measured background rates of 15 adverse events of special interest for covid-19 vaccines. It covered 126,661,070 people from 13 databases in eight countries, mapped to a common data model. Those people were observed before vaccines existed, from 2017 to 2019 start dates, which is what makes them a background rate. They were not vaccinated cohorts, though the study is sometimes described that way.
OMOP Is Not De-Identified by Default
An OMOP database usually still holds protected health information, so treat it as PHI until someone proves otherwise. The CDM restricts identifying details such as names, but event dates and a person_source_value remain, and dates are among the identifiers HIPAA Safe Harbor removes. Moving to OMOP changes the shape of the data and leaves its legal status for your privacy team to assess. See governance, lineage and PHI access for the controls.
Network studies reduce sharing because analysis code travels to each site and aggregate results come back. Each site still decides what leaves, and someone with authority needs to review those results.
Who Owns What in an OMOP Program
An OMOP program needs a named clinical owner for mappings and a named data owner for access, in addition to engineers. The Book of OHDSI treats ETL maintenance as continuous and suggests adopting a new vocabulary once or twice a year, which means reprocessing the CDM. Budget for it as a standing duty.
Each vocabulary update can change results, so record the release in cdm_source and store it with each study. Without that record, nobody can explain why a cohort count moved.
What a CIO or Head of Data Should Ask Before Hiring
Here are the questions we would ask any OMOP vendor, ourselves included. The answers separate teams that have thought about meaning from teams that have only moved tables.
Risks and how to control them
| Risk | What it costs you | Control to require |
|---|---|---|
| A wrong map changes study results with no error | Published conclusions cannot be trusted | Named clinical approver, stored map history, known-cohort checks |
| High share of concept 0 | Studies silently miss patients | Report the unmapped share by table, and agree a threshold per study |
| Wrong observation periods | Rates use a wrong denominator | Written rule per source, reviewed with someone who knows its coverage |
| Vocabulary update moves counts | Studies stop reproducing | Pinned release per study and a comparison before adoption |
| Vendor-only knowledge | You cannot run or change the ETL | Design documents, code and maps in your repository from the first week |
| OMOP is used for everything | High mapping cost with little benefit | A named consumer for each domain before it is loaded |
Governance and PHI handling
PHI should stay in your environment wherever that is practical. Ask for least-privilege access, audit logs, and a named person who approves each study and each release of results. Early design work can often use schema scans, profiles and synthetic data, and White Rabbit is built to try to keep personal data out of its reports, though you should check its output yourself. If row-level PHI is needed, a Business Associate Agreement comes first. Nirmitee is ISO 27001:2022 certified and signs Business Associate Agreements. Neither of those makes a given dataset compliant, so your own access rules and audit still apply.
Who owns the code and the data
Once paid, you own the custom ETL code, source to concept maps and documents we write for you, and all of your data. We keep our reusable tools and open-source parts. The CDM definitions and OHDSI tools remain open community work under their own licences.
What the team looks like
Expect named people in these roles: a CDM expert, a data expert for each source (usually from your side), a clinical reviewer with coding knowledge, an engineer, and a data owner on your side with authority over access. One person can hold two roles on a small study. The clinical reviewer role is the one we would refuse to skip.
What you receive
From a build: ETL design documents, versioned code, the approved mapping table with its approver and date, Achilles and quality reports, a reconciliation report, a runbook for vocabulary updates, and a handover your team has rehearsed.
How to judge a vendor
- Show me how your ETL decides the target table when a concept's domain differs from the source record.
- What happens to a code with no mapping, and where can I see that share?
- Who approves mappings, and what is their clinical training?
- How do you define observation_period for each of our sources?
- How will a vocabulary update reach our data, and how will I see what changed?
- Can my team rerun everything without you?
Corrected October 2026: this guide replaces our earlier OMOP vs FHIR article, which overstated OHDSI network figures, named v5.4 as current, and misdescribed the Sentinel system and the BMJ study above.
Start with a Healthcare Data Platform Assessment
Before funding an OMOP build, you need to know whether OMOP is the right model and what your sources will cost to map. The Healthcare Data Platform Assessment is a fixed $3,500 review that takes 2 to 3 weeks and is credited against the build. It gives you written evidence for that decision before you commit a build budget.
- Source inventory: each system, its extract method, its access owner and its known gaps.
- Target architecture: a recommended design, with the options we rejected and why.
- Data model outline: which domains to load for your first study, or the model we would use if OMOP is the wrong choice.
- Risk list: what could stop the work, who owns each risk and how to reduce it.
- Costed build plan: phases, roles and an estimate you can compare with other vendors.
It does not include building pipelines, loading production data, software or cloud licences, a compliance opinion or a fixed price for the build. You can take the output to any team, including your own. Ask for a Healthcare Data Platform Assessment.
You can also read how we approach healthcare data pipelines, or talk to our team if you have one specific OMOP question.
Ready to scale?
Talk to our healthcare engineering team about building, integrating, and shipping faster.
Frequently Asked Questions
What is the OMOP data model?
What is the current version of the OMOP CDM?
How many tables are in the OMOP schema?
What is the difference between OMOP vs FHIR?
Can FHIR replace OMOP for analytics?
How do you do FHIR to OMOP mapping?
What is the best common data model?
Is OMOP HIPAA compliant?
How long does an OMOP ETL take to build?


