Medical Coding Examples: How Real Codes Translate to Real Claims

Medical Coding Examples: How Real Codes Translate to Real Claims

July 25, 2026

Medical coding translates what happened during a patient visit into standardized alphanumeric codes that insurers use to evaluate medical necessity and determine reimbursement. Three code sets do this work together: ICD-10-CM codes explain why the patient needed care, CPT codes explain what service or procedure the provider performed, and HCPCS Level II codes cover supplies, drugs, and equipment used during that care. Seeing how these three systems work together on an actual claim makes the abstract coding process much easier to follow than reading the code definitions in isolation. Practices that want this level of accuracy across every claim often turn to trusted medical billing services rather than managing it entirely in-house.

This guide walks through several real coding examples across common visit types, then shows exactly how those codes move through the claims process to get a provider paid. It’s also a useful reference for practices deciding whether to build this expertise internally or bring in trusted medical billing services to handle it.

The Three Core Coding Systems

Every medical claim is built from some combination of these three code sets, each answering a different question about the visit.

  • ICD-10-CM (diagnosis codes) answer the question “why did the patient need care?” These codes describe the condition, symptom, or injury being treated.
  • CPT (procedure and service codes) answer the question “what did the provider do?” These codes describe the specific service, exam, test, or procedure performed.
  • HCPCS Level II (supply and drug codes) answer the question “what supplies, drugs, or equipment were used?” These codes cover items like injectable medications, durable medical equipment, and ambulance transport that CPT codes don’t capture on their own.

A payer reviews all three together to determine whether the claim makes clinical sense: does the diagnosis justify the procedure performed, and do any billed supplies or drugs fit logically with that procedure. When any one of the three doesn’t align with the others, the claim is likely to be flagged or denied, a pattern explored in more depth in this guide on how billing notes prevent denials.

Example 1: Knee Injury With In-Office Joint Aspiration

Clinical scenario: A 45-year-old patient visits an outpatient clinic with severe pain in the right knee after a fall while jogging. The physician examines the knee, performs an in-office joint aspiration to relieve fluid pressure, and injects a therapeutic steroid.

Code TypeCodeDescription
ICD-10-CMM25.561Pain in right knee
ICD-10-CMS83.501ASprain of unspecified cruciate ligament of right knee, initial encounter
CPT20610Arthrocentesis (joint aspiration), major joint (e.g., knee), with or without injection
HCPCS Level IIJ3301Injection, triamcinolone acetonide, per 10 mg

Here, the diagnosis codes establish medical necessity for the procedure: the knee pain and sprain justify performing an aspiration and injection. The CPT code (20610) describes the procedure itself, and the HCPCS code (J3301) accounts for the specific steroid medication injected, separate from the procedure that delivered it.

Example 2: Routine Office Visit for a Chronic Condition

Clinical scenario: An established patient comes in for a routine follow-up visit to manage Type 2 diabetes and hypertension, both stable and previously diagnosed.

Code TypeCodeDescription
ICD-10-CME11.9Type 2 diabetes mellitus without complications
ICD-10-CMI10Essential (primary) hypertension
CPT99213Office or outpatient visit, established patient, low-to-moderate complexity

This example shows how a single office visit code (99213) can be billed against multiple diagnosis codes when the visit addresses more than one ongoing condition. The complexity level of the E/M code has to match the actual medical decision-making documented in the note, not just the number of diagnoses listed.

Example 3: Preventive Care and Ancillary Services

Clinical scenario: A patient comes in for an annual flu shot and has routine bloodwork drawn during the same visit.

Code TypeCodeDescription
CPT90658Influenza virus vaccine administration
CPT36415Routine venipuncture (blood draw)

Preventive and ancillary services like these are often billed without an accompanying diagnosis code representing an active illness, since the service itself, vaccination or routine lab collection, is the reason for the visit. Documentation still needs to reflect that these were the actual services performed, since payers may bundle or question ancillary codes billed without clear supporting documentation, and staff who complete a structured EMR training guide are typically better equipped to capture that documentation consistently.

Example 4: Diagnostic Imaging for a Chronic Condition

Clinical scenario: A patient with confirmed osteoarthritis in the right knee returns for a follow-up office visit and an X-ray to monitor joint changes.

Code TypeCodeDescription
ICD-10-CMM17.11Unilateral primary osteoarthritis, right knee
CPT99213Office or outpatient visit, established patient
CPT73560X-ray exam of the knee, 1 or 2 views

This example shows how a single visit can generate multiple CPT codes, one for the office visit itself and one for the imaging performed during that visit, both tied back to the same diagnosis code. The imaging code needs its own supporting documentation showing why the X-ray was medically necessary at this specific visit, not just that the patient has a standing osteoarthritis diagnosis, and questions like is EMR certification worth it often come up for staff responsible for capturing that level of detail.

How a Claim Moves From Coding to Reimbursement

Once the correct codes are selected, the claim still has to move through several stages before payment is issued.

  1. Data entry and scrubbing. Billing software checks the codes for formatting errors and verifies that the procedure code aligns with the diagnosis codes to establish medical necessity before the claim is ever submitted.
  2. Claim submission. The coded claim is submitted electronically, typically on a CMS-1500 form for professional services, to the patient’s insurance payer.
  3. Adjudication. The payer’s system cross-references the patient’s coverage policy to confirm the billed service is a covered benefit and reviews the diagnosis-to-procedure relationship for medical necessity.
  4. Payment. Once approved, the provider is paid according to their contracted fee schedule, and the patient receives an Explanation of Benefits (EOB) detailing what was billed, what the payer covered, and what portion, if any, the patient owes.

Every example above follows this same path. The specific codes change with the clinical scenario, but the claim always moves through the same scrubbing, submission, adjudication, and payment sequence, a process that forms the core of what’s covered in this medical biller career guide.

Common Coding Errors That Turn a Correct Code Into a Denied Claim

  • Diagnosis-procedure mismatch. A procedure code billed without a diagnosis code that clearly supports its medical necessity is one of the most common denial triggers, even when the procedure itself was appropriate.
  • Wrong E/M complexity level. Billing a higher- or lower-complexity office visit code than the documentation actually supports, as in Example 2, risks either underpayment or audit exposure.
  • Missing supply or drug codes. Performing a procedure that involved a billable drug or supply, as in Example 1, without including the corresponding HCPCS code, leaves reimbursable cost unclaimed.
  • Insufficient documentation for repeat or follow-up services. Ordering imaging or additional testing for a chronic, previously diagnosed condition, as in Example 4, still requires documentation specific to why that test was needed at this visit, not just the standing diagnosis.

How YTC Healthcare’s Team Handles This

The gap between a technically valid code and a code that actually gets paid almost always comes down to whether the diagnosis, procedure, and supply codes tell a consistent, well-documented clinical story. YTC Healthcare’s Medical Billing and Coding team checks that every procedure code submitted is backed by a diagnosis code that clearly establishes medical necessity, the same relationship shown in each example above, before the claim goes out. The team also confirms that E/M complexity levels match the documented medical decision-making, rather than defaulting to a habitual code, and that any billable supplies or drugs used during a procedure are captured with the correct HCPCS code, a skill set closely aligned with what’s outlined in this EHR specialist career guide. When a claim is initially flagged during scrubbing, the Compliance and Reporting team resolves the discrepancy before submission rather than letting it reach the payer as a denial. This attention to code-level consistency is part of how YTC Healthcare maintains its internal benchmark of 95% or higher first-pass claim acceptance.

FAQ

What are the three main types of medical codes?

The three core code sets are ICD-10-CM for diagnoses, CPT for procedures and services, and HCPCS Level II for supplies, drugs, and equipment, and most claims combine codes from more than one of these systems.

Why does a claim need both a diagnosis code and a procedure code?

The diagnosis code establishes why the service was medically necessary, and the procedure code describes what was actually done. Payers review both together to confirm the procedure logically matches the diagnosis before approving payment.

What is an example of a complete medical coding claim?

A common example is a knee injury visit coded with ICD-10 codes for knee pain and a ligament sprain, a CPT code for joint aspiration, and an HCPCS code for the steroid medication injected during the procedure.

Why would a correctly coded claim still get denied?

Even a technically valid code can be denied if it isn’t backed by a diagnosis code establishing medical necessity, if the E/M complexity level doesn’t match the documentation, or if supporting documentation is missing for a repeat or follow-up service.

What happens after a claim is submitted to a payer?

The payer’s system checks the patient’s coverage policy to confirm the service is a covered benefit, reviews whether the diagnosis and procedure codes support each other for medical necessity, then issues payment according to the provider’s contracted fee schedule if approved.

Do preventive services like vaccinations need a diagnosis code?

Preventive and ancillary services, such as a flu shot or routine blood draw, are often billed without a diagnosis code representing active illness, since the service itself is the reason for the visit, though documentation still needs to confirm the service was actually performed.

We Are Ready When You Are!

By submitting this form you are agreeing to our Privacy Policy. We guarantee not to disclose your information.