Musings on healthcare IT, FHIR, EHR systems, and digital health innovation

🔥 FHIR in the hole!
Back to posts

"Data mapping" means data missing!

Original on LinkedIn

Every step that requires a provider to map internal codes to external standards is a step where data drops out.

If you’re looking to work with health data, you might think you will be good to go when:

  1. The regulations require it.
  2. The standards specify how to expose it.
  3. The EHR is certified to the standards.
  4. The healthcare provider has the data in their system.

So when you call the API, you should get it. But… the chain breaks at step 5: deployment.

The regulatory floor. ONC adopts certification criteria through rulemaking. Those criteria incorporate USCDI, which names the data classes and elements that certified systems must support in plain language (“Discharge Summary,” “Consultation Note”), and US Core, which specifies how to expose them in FHIR (which resource, which value set, which LOINC codes). ATLs test conformance, ACBs issue certifications. Regulatory intent, technical specification, and testing all point at the same target. The result is that a certified Health IT Module is capable of exposing each named category in a specified shape.

Deployment. At each provider organization, someone maintains the mapping from internal codes (ENC_SUMM_123, OUTSIDE_PCP_LTR) to the standard codes the API will emit. This is where capability becomes reality, and it is the only part of the stack no one is held accountable for.

The category schema looks like a filter when you read the spec, but it functions as a precondition for access. If an internal code has not been mapped to one of the recognized categories, the corresponding data does not appear on the API. The data has not been hidden. It has not been labeled.

Mapping does not happen comprehensively because the incentives do not support it. Comprehensive mapping requires analyst time and ongoing maintenance as new internal codes are added. Mapping wrong creates audit and privacy exposure. Mapping right does not unlock anything the provider organization is measured on, and patients and apps cannot see what they are not getting, so there is no feedback loop to drive completeness. Doing the minimum needed to pass certification is the rational equilibrium.

The structural fix I want to argue for is to stop gating access on categorization. Authorized apps should have the right to fetch all documents about a patient. Categorization becomes an opt-in performance hint, a way for an app to narrow a request when it only needs a slice, rather than a precondition for the data being reachable at all.

In that design, an app that needs everything can ask for everything, and a provider that has done careful categorization makes targeted queries cheap for the apps that want a slice. A provider that has not done careful categorization absorbs the cost of broad retrievals on its own infrastructure, which is a signal operations teams actually respond to. Picking a code stops being a high-stakes regulatory act and becomes a hint, which lowers the cost of getting it wrong and makes it easier for providers to choose codes that reflect what their data actually is.


Coda: things you might think would fix this, that don’t

“Use AI to classify everything.” Modern models can infer what kind of note a note is. Classification is not the bottleneck. The bottleneck is adopting an automated classifier into a production EHR pipeline at every provider organization, validating it through compliance review, and trusting it to control what shows up on a regulated API. The provider’s cost-benefit calculation does not change just because the classifier itself is cheap.

“Use one API for both internal and external apps.” Vendors slice the category space finely enough that internal and external views diverge. USCDI clinical notes are exposed to patient-facing apps because regulation requires it. Non-USCDI buckets, like documents received from outside organizations, often are not, even when the mapping work has already been done internally for clinician-facing use.

“Lean on information blocking enforcement.” Enforcement requires complainants who know what is missing. Patients and developers see what they get, not what they did not get. The cardiology consult that never made it onto the API is not something anyone files a complaint about.

Conversation on LinkedIn

26 comments · 83 reactionsReply on LinkedIn
  • Nikolai RyzhikovMay 4, 2026

    CTO @ Health Samurai; HealthDev | FHIR | PostgreSQL | Clojure | Agent Engineering. We are limited by time and imagination

    There is another ultimate solution - eventually make most of data FHIR-native with FHIR-first EHRs :)

    14 reactions

    • Josh Mandel, MDAuthorMay 4, 2026

      Nikolai Ryzhikov Well yes but this still enables "GET DocumentReference?patient=123" ! The surface should be the same.

      3 reactions

    • William LaolagiMay 4, 2026

      Interoperability specialist serving the state of California in Riverside and San Bernardino counties

      Nikolai Ryzhikov that's the dream 😁

    • Nikolai RyzhikovMay 4, 2026

      CTO @ Health Samurai; HealthDev | FHIR | PostgreSQL | Clojure | Agent Engineering. We are limited by time and imagination

      William Laolagi it's slowly getting real

      1 reaction

    • Parnesh RanigaMay 17, 2026

      Medical Imaging Scientist at CSIRO

      Nikolai Ryzhikov not just FHIR-first EHR, but FHIR first “pretty much everything”.

  • Anjun (AJ) ChenMay 4, 2026

    Democratizing GenAI and LHS for global health equity!

    Josh Mandel, MD yes, mapping data, losing data. Need better ways to do this. Your analysis and tests are so helpful! Thanks

    2 reactions

  • Ryan HowellsMay 5, 2026

    Health Care Policy | Strategy | Technology Leader | Kill the Clipboard!

    ONC and CMS requiring Charlie’s PIQI framework as part of certification could also help. https://build.fhir.org/ig/HL7/piqi/piqi_framework.html

    4 reactions

    • Physician Executive | Clinical Informatics & Healthcare Technology Leader | Driving Clinical Strategy Across Payer–Provider Platforms | AI, Data, Value-Based Care

      Ryan Howells, Nothing like a mandate to get things going! A mandate would certainly give PIQI legs.

      Having evaluated it against our framework at Availity, the one key gap I saw in the PIQI handbook is severity: PIQI uses pass/fail SAMs with a criticality boolean. That works for a scorecard, which is a good, digestible format that tells you your score, but it's harder to operationalize as a remediation framework that tells you what to fix, in what order, and why it matters clinically. For example, a missing onset date on an inactive problem is not the same failure as a missing SNOMED code on a condition driving HCC capture.

      Our framework (375+ rules across C-CDA and HL7v2) grades every rule as Minor, Significant, or Critical, supports partial credit at the element level, and includes Patient Safety Indication flags, because some data quality failures pose clinical risk, not just interoperability friction.

      Also: PIQI is scoped to single-message evaluation. Longitudinal quality is where most HEDIS and risk-adjustment gaps actually reside.

      Solid foundation. Certification requirements should be explicit about what floor they're setting, and what they're leaving for the next layer.

    • Ryan HowellsMay 5, 2026

      Health Care Policy | Strategy | Technology Leader | Kill the Clipboard!

      The data quality scorecard needs to be open so there is a minimum degree of normalization across systems at the source before the data moves downstream. Of course our hope is PIQI will be used voluntarily and regs won’t be needed but the same scorecard needs to be used by everyone and the only way to do that is via an open standard and federal regs. The implications of not doing so means the cost of training the AI models to do effective and trustworthy CDS will be too expensive for most clinicians to bear.

      The tools built on top of the open scorecard to determine how the data should be remediated, the severity of the data issues, and the specific use cases for how the data will be used will likely be proprietary based on unique needs. We are actively working with NCQA who said publicly they will be integrating PIQI into HEDIS reporting and the new iteration of PSV.

      Our hope is your framework (and anyone else’s for that matter) uses PIQI as the common floor, not the ceiling.

    • Josh Mandel, MDAuthorMay 5, 2026

      PIQI scores data on the wire. The data I'm talking about isn't on the wire. A cert mandate gives providers a reason to improve what they expose, but the unmapped consult is invisible to the scorecard the same way it's invisible to the API.

    • Charlie HarpMay 6, 2026

      CEO @ Clinical Architecture | Informonster Podcast Host | Healthcare Data Quality Evangelist

      This is true... unless you have the ability to infer data is missing through assessments that look for missing signal though situational, temporal and clinical implausibility. It can be tricky but I would like to discuss it more and see what's possible.

      2 reactions

    • Charlie HarpMay 8, 2026

      CEO @ Clinical Architecture | Informonster Podcast Host | Healthcare Data Quality Evangelist

      Ruben J. Nazario, M.D., MBA - PIQI does does not have severity, in part because we chose a model that aligns with digital quality measures - a simple numerator denominator. In PIQI we assess what we need to use the data. I something is a "nice to have" or 'low/minor' severity why bother scoring it - just measure it as informational. I would also point out that some of what you are doing is outside of the mission scope for PIQI. PIQI Framework was created to establish a open methodology to articulate and measure minimal usability of data in a payload for a given use case. Aggregation, be it categorical, longitudinal or geographical is trivial. Once we have an objective, standards-based score with traceable causality, the stats nerds (me included) 🤓 can have their field day. It has been great seeing members of your team testing PIQI at the connect-a-thons - asking questions and kicking the tires. I am sure you and your team have done significant work in this space and we would love it if you would consider joining the #PIQIAlliance and helping us make PIQI even better. Regardless, I appreciate your perspective and feedback.

      1 reaction

  • Health informatician

    it really depends on the goal of data use on the target side. If for aggregate purposes some data on source side would have been ignored anyway. Not “missed” but declared “irrelevant”. If for historic records, old data might be less relevant today. E.g. a blood pressure value of 1997 might not be of interest in 2026. For actual records, most data will be semantically mappable. And those who still “miss” could simply be re-entered in the current record using the actual semantics and codes.
    This by the way has nothing to do with FHIR perse, but all with SnomedCT etc, clinical information modelling, and for the mapping, with the representation of these semantics in FHIR profiles.

    1 reaction

    • Josh Mandel, MDAuthorMay 5, 2026

      For sure I'm not trying to say that data mapping is a pointless exercise -- but it is at odds with comprehensive access! If you want both all data and clean data you need to treat these as separate problems, and you need to decide what to prioritize in case of conflict between his goals.

      3 reactions

    • Health informatician

      Josh Mandel, MD agee: it really depends on the purpose! (purposes..)

      1 reaction

  • Robert StegweeMay 5, 2026

    Strategic Consultant for Health IT, focusing on meHealth for citizens and professionals in health and care

    Great write-up for the US, with very visible parallels to my European reality. Thanks Josh!

    I know it is slightly off topic, but I would hope clinicians would take the lead in how data should be recorded at the source. This in itself impacts the clinical usefulness of the data when exchanged outside the original point of care.

    Liesbeth Siderius presented on this topic during the recent IPS Summit in Brussels. For a patient summary to be able to contain and convey useful information, the underlying data needs to be recorded in such a way that it can be communicated and consumed intelligently.

    Full report on the summit: https://international-patient-summary.net/ips-summit-in-brussels/

    1 reaction

  • Ashley CairnsMay 5, 2026

    Founder and CEO at keywell.ai | Healthcare AI

    Can't the EHRs do this? Why is it a bottleneck if it's rolled out by the EHR? "The bottleneck is adopting an automated classifier into a production EHR pipeline at every provider organization"

    1 reaction

    • Josh Mandel, MDAuthorMay 5, 2026

      They *could*. But it's a "some risk, no reward" calculus. Will they?

      2 reactions

  • Teddy GedamuMay 5, 2026

    Tenasol

    Josh Mandel, MD Categorization is definitely one source of the problem (USCDI_Clinical Notes being a great example). But there are also other causes, like EHR “template” workflows which results in data getting categorized too broadly (using LOINC as an example) and health data is too sensitive to eliminate this constraint IMO (EHI export was created for this right?).

    Whether the issue is data access or data quality; specs, IGs and certification standards are only part of the equation. We need modern technology (agentic scribes, new data platforms, etc) to do the rest. Its still early, but I’m optimistic over the long term.

    2 reactions

  • Alexander GoelMay 6, 2026

    COO@PhenoML|Talk to Me About Connecting Healthcare Data

    I’ve so many projects where the effort to map data and the quantity of data lost have both been wildly underestimated.

    I want to believe that shared valuesets which are kept in sync between systems via a mechanism like subscriptions could solve part of this problem.

    That said, I think your structural fix is more practical. Let the app get data and structure it themselves. However this approach is not without some obvious risks like getting data you’re not supposed to, or structuring it wrong and eliminating some important data that was relevant to patient care

    1 reaction

    • Healthcare AI & Data Solutions Leader | CDMP, CPMAI, PMP

      Alexander Goel Hold on - maybe I need to reread Josh's post but it sounds like your saying is if everybody just gave me access toi all of their data I could solve the problem for anyone.

    • Alexander GoelMay 6, 2026

      COO@PhenoML|Talk to Me About Connecting Healthcare Data

      Aaron Seib, PMP, FACHDM, CDMP-Practitioner definitely not. We have privacy laws for a reason. I’m suggesting that if everyone used the same codes and mapped all their data so it was exposed via API

      Since that’s probably impossible Josh Mandel, MD’s solution is more practical. He correctly pointed out that the API might be there but the data might not be available via API

  • Janet soppMay 6, 2026

    Systems Analyst Assistant at University of Michigan health system

    Sad to say compliance has always been a challenge. We can get close. I think one issue is we assume everyone is aware of changes.

  • Brian PechMay 7, 2026

    Consultant

    Yes, They Did
    In September 2010, Kaiser Permanente donated its Convergent Medical Terminology (CMT) to the U.S. Department of Health and Human Services (HHS) and the International Health Terminology Standards Development Organisation (IHTSDO).
    As part of this arrangement, the National Library of Medicine (NLM)—which acts as the U.S. member of the IHTSDO—distributes these terminology files and mappings to U.S. users.
    What Was Included in the Donation?
    Kaiser Permanente spent years developing CMT to act as a "translation engine" for electronic health records (EHRs). The donation provided healthcare organizations free access to:
    Clinician-Friendly Terms: The display names used by doctors and nurses in Kaiser's own EHR systems.
    Patient-Friendly Terms: Simplified medical terms that patients see in their personal health record (PHR) portals.
    Standardized Mappings: Direct cross-maps linking these friendly terms to standardized national and international vocabularies, heavily featuring SNOMED CT, as well as mappings to ICD-9-CM and ICD-10-CM.
    Tooling: Processes and tools used to create, manage, and control the quality of the medical terminology.
    Why It Matters
    The goal of this donation was to help other U.S.

  • Dennis GiokasMay 9, 2026

    Board Director ● CPO ● Business and Technology Strategist ● Driving digital health innovation and business growth

    Josh Mandel, MD Yes, the problem exists as you point out. Words matter regarding the source of the problem and solution. For the problem you say: “Every step that requires a provider to map internal codes to external standards is a step where data drops out.” For the solution you say “At each provider organization, someone maintains the mapping from internal codes”. I hold the vendors accountable for this problem, not the provider. I used to chair the general assembly at SNOMED International. I need more than 10 fingers to count how many times leaders from other countries asked my how does your country implement SNOMED. I said we don’t. We hold the vendors accountable for implementation.

    1 reaction

  • Lucia SavageJun 1, 2026

    Smart ideas to fix healthcare. Board Member. Advisor. Expert advisor on public policy, AI, privacy, cybersecurity, and the future of healthcare. I answer questions for CNN and Senators. I write my own posts, not AI.

    There are also maybe institutions that don’t expose all data they could because they think they know better than a patient what should be disclosed.

    1 reaction