Blog

    Healthcare Data Standards

    By GauravNovember 13, 202610 mins read
    On this page

    A new interface project often starts with a slogan: we will use FHIR. Then the laboratory still sends results as HL7 v2, the referral partner wants a document, the payer wants an X12 claim, and the scanner speaks DICOM. The team builds four mappings and calls the slogan a strategy.

    Healthcare data standards are how you assign each of those jobs a format on purpose. This guide is the assignment: messages, APIs, documents, claims, images, and the codes inside them. It is for the architect who has to say yes to one standard and no to the others for a given interface.

    What are healthcare data standards?

    Choosing a standard for an interface?

    Agnotic Technologies implements HL7 v2, HL7 FHIR, and the related clinical and claims standards so each feed has one job and one format.

    Healthcare data standards are the agreed formats and codes that let one system read another system's clinical and administrative data. HL7 v2, HL7 FHIR, C-CDA, X12, DICOM, and the code sets behind them each solve a different job. Picking one standard for every interface is how projects stall.

    A standard is not a quality rating. HL7 v2 is not the old choice and FHIR the new one in every room. V2 still moves admissions, orders, and results inside hospitals because the receivers already parse it. FHIR fits an API, an app, and a patient-level query. A document standard fits a snapshot someone will file. X12 fits a claim. DICOM fits an image. The architect's job is to name the job before naming the standard, and to keep the code set (the vocabulary on a fact) separate from the envelope (the message, resource, or file that carries it).

    When should you use HL7 v2 instead of HL7 FHIR?

    Use HL7 v2 when the sender and receiver already exchange a high volume of ADT, orders, or results and the contract is a feed, not an application. Use HL7 FHIR when a known client must read or write specific data about a patient through an API, especially outside the four walls of one interface engine.

    V2 is a message. A result posts, an acknowledgement returns, and both sides move on. That pattern is a poor fit for an app that needs the current med list on demand, and it is a good fit for a lab that has sent ORU messages for years. FHIR is a resource model with search, read, and write. It is a poor fit if you only needed to replicate a single ADT feed and neither side will operate a server. Many health systems will run both for a long time: v2 at the engine, FHIR at the door where apps and patients knock. Plan the identifier crosswalk once, so the same person is not two people because one feed uses an MRN and the other uses a FHIR Patient id.

    • Choose v2: An existing ADT, order, or result feed where both ends already speak messages and ACKs.
    • Choose FHIR: An app, a patient access API, or a partner that must query current data rather than receive a stream.
    • Keep both: V2 inside the engine, FHIR at the boundary, with one person-identity crosswalk.
    • Do not rip and replace: A v2 feed that works is not a debt you pay by rewriting it in FHIR without a new consumer.

    When is a document the right standard?

    A document is the right standard when the receiver needs a snapshot of a visit or a transition, signed and filed, more than they need to query each fact later. C-CDA is the usual document for that clinical snapshot in the United States. A FHIR Bundle of type document is the alternative when both sides have already agreed to FHIR.

    A discharge summary or referral packet fails when it is treated as an API, and a med-list reconciliation fails when it is handed only a PDF. A document carries the narrative and the coded entries for that moment. It is not the record the next order should update. If you produce both a C-CDA and a FHIR document, name which snapshot is authoritative.

    Which standards apply to claims and eligibility?

    Claims and eligibility ride the HIPAA transaction standards, not HL7 FHIR, unless a specific rule has named a FHIR implementation guide for that payer exchange. For a provider asking to be paid, the transaction is still the health care claim.

    45 CFR 162.1101 defines the health care claims or equivalent encounter information transaction as a request for payment from a provider to a plan, or encounter information when there is no direct claim. CMS states that HHS adopted version 5010 of the ASC X12N 837 for that transaction, and the NCPDP telecommunication standard version D.0 for pharmacy claims. A clinical FHIR API does not replace the 837. You can map clinical facts into the claim, but the envelope the clearinghouse accepts is the X12 transaction. Eligibility is the same idea in the other direction: a question to the plan and a response, stored with the time you asked.

    • Claim envelope: ASC X12N 837 version 5010 for the HIPAA claim or equivalent encounter, per CMS.
    • Pharmacy: NCPDP D.0 for pharmacy claims today, not the medical 837. The NCPDP F6 version is required from April 14, 2028.
    • Clinical source: The chart can feed the claim. The chart format is not the claim format.
    • Eligibility: Ask before the visit, store the response and the time, and do not treat it as payment.
    • FHIR claims: Use a FHIR claim guide only when the trading partner has adopted that guide.

    Which code set belongs on which fact?

    The code set follows the fact and the transaction, not a house preference. HIPAA names the code sets for standard transactions. Clinical exchange in the United States adds USCDI and the vocabularies HL7 FHIR and US Core bind to those elements. They are not the same list.

    45 CFR 162.1002 adopts medical code sets for HIPAA transactions, including the Code on Dental Procedures and Nomenclature for dental services, and the combination of HCPCS and CPT for physician and other services, alongside the diagnosis and procedure code sets and NDC the section names. ONC (ASTP) defines USCDI as a standardized set of health data classes and constituent data elements for nationwide, interoperable exchange. Inside HL7 FHIR and US Core, conditions, labs, and medications are commonly bound to SNOMED CT, LOINC, and RxNorm. A lab code that is correct in LOINC can still be the wrong code on a claim line, where CPT or HCPCS is what the transaction expects. Keep both identifiers when you must, and label which one is for the chart and which one is for the claim. Do not translate SNOMED to ICD at the interface and throw the SNOMED away if the clinical record still needs it.

    Where does DICOM stop and the chart begin?

    DICOM stops at the imaging object and the workflow around acquiring and storing it. The chart begins at the order, the report, and the link to those objects. A PACS is not an EHR, and an EHR is not an archive of pixels.

    Images and the details the modality records move as DICOM between the device, the archive, and the viewer. The chart needs the order, the report, and a pointer that opens the images, which may be a link, a FHIR ImagingStudy, or a result message. Do not paste the pixels into the note. Decide which system assigns the accession number. Two accession numbers for one study is how images go missing in the chart.

    How do you choose a standard for a new interface?

    Write the receiver's job in one sentence, then pick the standard that receiver can already consume. A new standard is justified when it creates a consumer you do not have, not when it is newer than the feed you already run.

    Ask four questions. Is this a stream of events or a query for current state? Is the payload a clinical fact, a document, a claim, or an image? Which code set does the transaction legally or contractually require? Who operates the server or the engine on Monday night when it stops? If the answers are 'event, result, existing lab, interface engine,' the standard is HL7 v2 even if the roadmap slide says FHIR. If the answers are 'query, patient-mediated access, USCDI elements, a server we will run,' the standard is HL7 FHIR with US Core. Write the non-choice down too, so the next project does not reopen it. Version the agreement: FHIR R4 is not FHIR R5, and a partner who says FHIR without a version has not agreed to anything.

    • Job: Event stream, query, document snapshot, claim, or image. One of these, not all.
    • Consumer: The system that must read it, and the standard that system already supports.
    • Codes: The vocabulary the fact and the transaction require, kept distinct from the envelope.
    • Version: FHIR R4 or a named v2 version, written in the interface agreement.
    • Operations: Who restarts it, who owns the acknowledgement, and what a backlog means clinically.

    What happens if you translate a standard too early?

    Translating too early drops fields you cannot put back: a local code with no map, a v2 segment the FHIR profile does not carry, an image header the chart never stored. Map at the edge, and keep the source payload.

    Keep a landing copy of what arrived, a mapped copy of what you understood, and a queue of what you could not map. If you translate in place and throw away the original, a blank result is indistinguishable from a parse failure. For a claim, the acknowledged X12 file is the authority. For the chart, the EHR's coded fact is the authority. For an image, the DICOM object in the archive is the authority, and the chart holds a pointer.

    How Agnotic can help

    Agnotic Technologies builds the interfaces and the FHIR server the client actually needs, after the job is named: HL7 v2 where the feed is a feed, HL7 FHIR and SMART on FHIR where an app or a partner must query, and the claim or image path left on its own standard. Agnotic keeps the source payload and the unmapped-code queue so a translation can be explained.

    The first deliverable is the assignment table: each interface, its job, its standard and version, its code sets, and its system of authority. Implementation follows that table rather than a single-standard slogan.

    Assign a standard to each feed

    Plan the interface standards with our engineers, or read the interoperability guides.

    Related reading on Agnotic

    A closer look at FHIR as a standard, mapping v2 into FHIR, the FHIR version choice, and the component map.

    Sources

    Frequently Asked Questions

    No. Use HL7 FHIR when the consumer must query or update specific patient data through an API. Keep HL7 v2 for an event feed both sides already run. Use X12 for a HIPAA claim and DICOM for images. One standard for every job creates mappings you did not need.

    Talk to an engineer about your project

    We assign each healthcare interface a standard and version, then build the FHIR, HL7 v2, or claims path that matches the job.

    Go deeper

    Services and solutions on this topic