FHIRData EngineeringOMOP

OMOP Data Model Guide: CDM Tables, Vocabulary and OMOP vs FHIR

April 20, 202622 min readUpdated Oct 30, 2026
Written by
Jitendra Choudhary
Jitendra Choudhary

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.

OMOP Data Model Guide: CDM Tables, Vocabulary and OMOP vs FHIR

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.

Most of the effort sits in the orange column. Deciding meaning takes people who know both the source data and the clinic.

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.

The clinical tables hold events. The vocabulary tables hold meaning, and you download those from OHDSI instead of building them.
TableWhat one row meansThe mistake to avoid
personOne person, with demographics as conceptsLoading duplicates because identity was not resolved first
observation_periodA span when this source could see the personLeaving it as first to last event. It sets the denominator for rates, so a wrong span gives wrong rates
visit_occurrenceOne encounterTreating every claim line as a visit
condition_occurrenceOne recorded condition eventLoading problem-list refreshes as new events
drug_exposureOne exposure record, from orders, fills or administrationsMixing prescribed and dispensed without setting drug_type_concept_id
measurementOne structured result, usually a lab or vitalDropping the source unit. Keep unit_source_value beside unit_concept_id
observationOne fact with no better domainUsing 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 branches catch what simple ETLs miss: no mapping, several targets, and a target in another domain.

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.

This is our opinion. The strongest case for OMOP is a study you can name.

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:

ModelRun byChoose it when
OMOP CDMOHDSI communityYou want OHDSI tools and network studies
PCORnet CDMPCORnet Network PartnersYou take part in PCORnet research
Sentinel CDMFDA Sentinel Operations CenterYou are a Sentinel Data Partner
FHIRHL7 InternationalYou exchange records between live systems
Your own dimensional modelYouYou 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.

The conformed layer feeds both. Avoid building the research copy straight off an operational API.
QuestionFHIROMOP CDM
Main jobExchange between systemsRetrospective analysis across populations
ShapeResources as JSON or XML over RESTRelational tables queried with SQL
CodesSeveral code systems can sit on one recordEach row holds one standard concept, with the source code kept
TimeCurrent state and eventsLongitudinal history
Quality toolingValidation against profiles; varies by serverAchilles and Data Quality Dashboard
Governed byHL7 InternationalOHDSI community
Typical usersApp and integration engineersEpidemiologists 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 resourceUsual OMOP targetWatch for
PatientpersonRace and ethnicity live in US Core extensions. Merged patients need one person_id
Encountervisit_occurrence, visit_detailEncounter.class to visit_concept_id. Transfers can go to visit_detail
Conditioncondition_occurrence, by domainExclude entered-in-error and refuted records. Decide what a problem-list refresh means
MedicationRequest, MedicationDispense, MedicationAdministrationdrug_exposureRecord which one it was in drug_type_concept_id. Do not count one order three times
Immunizationdrug_exposureVaccine codes need a standard drug concept
Observationmeasurement or observation, by domainBlood pressure components become separate rows
Procedureprocedure_occurrence, by domainSome codes route to other domains
AllergyIntoleranceBy domain of the mapped conceptDo not fix this in code. Agree a convention with your reviewer
ExplanationOfBenefit, Coveragecost, payer_plan_periodAdjudicated 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.

StageWhoToolOutput you can inspect
1. DesignData expert and CDM expert togetherWhite Rabbit, Rabbit-In-a-HatScan report and a table and field mapping document
2. Code mappingPeople with medical knowledgeUsagiApproved source to concept map
3. ImplementationTechnical engineerSQL or your pipeline toolVersioned, repeatable ETL code
4. Quality controlEveryone, with a second reviewer on each changeAchilles, Data Quality DashboardReports 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.

ToolJob
White Rabbit, Rabbit-In-a-HatScan sources and design the mapping
UsagiSuggest code mappings for human review
AchillesCharacterize the database
Data Quality DashboardRun conformance, completeness and plausibility checks
ARESDisplay Achilles and quality results
ATLASDefine cohorts and run analyses
Cohort DiagnosticsCritically evaluate cohort definitions
Feature ExtractionGenerate 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.

Vocabulary refresh appears here because after an update some mapped targets stop being standard and must be rechecked.

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

RiskWhat it costs youControl to require
A wrong map changes study results with no errorPublished conclusions cannot be trustedNamed clinical approver, stored map history, known-cohort checks
High share of concept 0Studies silently miss patientsReport the unmapped share by table, and agree a threshold per study
Wrong observation periodsRates use a wrong denominatorWritten rule per source, reviewed with someone who knows its coverage
Vocabulary update moves countsStudies stop reproducingPinned release per study and a comparison before adoption
Vendor-only knowledgeYou cannot run or change the ETLDesign documents, code and maps in your repository from the first week
OMOP is used for everythingHigh mapping cost with little benefitA 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

  1. Show me how your ETL decides the target table when a concept's domain differs from the source record.
  2. What happens to a code with no mapping, and where can I see that share?
  3. Who approves mappings, and what is their clinical training?
  4. How do you define observation_period for each of our sources?
  5. How will a vocabulary update reach our data, and how will I see what changed?
  6. 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?

The OMOP data model, or OMOP Common Data Model, is an open relational standard maintained by OHDSI. It stores observational health data in shared person-centred tables with standard concepts, so the same analysis can run at many sites.

What is the current version of the OMOP CDM?

OHDSI names v5.5 as the current version, as read on 30 October 2026. It adds three vocabulary metadata tables and seven optional fields to v5.4 and removes nothing. Most OHDSI tools had released support for v5.4 content but not yet for new v5.5 content.

How many tables are in the OMOP schema?

The v5.4 documentation lists 39 tables by our count, grouped into clinical, health system, health economics, derived, metadata and vocabulary tables. v5.5 adds three more. A first study usually loads only some of them.

What is the difference between OMOP vs FHIR?

FHIR exchanges records between live systems through an API. OMOP stores history in relational tables for analysis across populations. They serve different jobs, so many organizations run both and connect them with an ETL.

Can FHIR replace OMOP for analytics?

For a single site and simple questions, FHIR-based analytics can work. For multi-site research it does not replace OMOP, because FHIR does not force sites to use one standard concept for each event.

How do you do FHIR to OMOP mapping?

Flatten each resource, map its code to a standard concept using the Maps to relationship, then write the record to the table set by that concept's domain. Keep the source value, and send codes with no mapping to a review queue.

What is the best common data model?

It depends on which network and tools you need. OMOP suits OHDSI studies, PCORnet CDM suits PCORnet research, Sentinel CDM suits Sentinel partners, and a dimensional model usually suits local reporting.

Is OMOP HIPAA compliant?

HIPAA compliance is a property of how you run a system, and OMOP is only a data model. An OMOP database usually keeps dates and can be PHI, so it needs the same access controls, audit and agreements as other PHI stores.

How long does an OMOP ETL take to build?

We do not publish a general figure because it depends on the number of sources, how much is locally coded, and reviewer time. A source scan and a sample of unmapped codes give a much better estimate than any industry average.
Share