Medical billing codes: the code library
Medical billing codes come from five code sets, each kept by a different body and each written to a different place on the claim or the remittance. This library has a page for each code we cover, grouped the way a biller looks for them.

E/M and visit codes
Surgery, procedure and anesthesia codes
Medicine, cardiology and diagnostic test codes
Radiology, lab and pathology codes
Therapy, behavioral and care management codes
HCPCS Level II drug, DME and service codes
Modifiers
Denial codes (CARC and RARC)
Revenue codes
ICD-10-CM diagnosis codes
What are the medical billing code sets?
Five code sets cover almost everything on a claim and its payment. Each is owned by a different organization, so a code is only current when you check it against its own publisher.
| Code set | What it identifies | Kept by |
|---|---|---|
| CPT (HCPCS Level I) | The service or procedure performed | American Medical Association (AMA) |
| HCPCS Level II | Drugs, supplies, equipment and services outside CPT, such as ambulance and DMEPOS | CMS |
| CARC and RARC | Why a payer paid a claim or line differently than billed, plus a remark that adds detail | X12 |
| Revenue codes | The department or service line of a facility charge, four digits | NUBC, with the UB-04 data specifications manual published by the American Hospital Association |
| ICD-10-CM | The diagnosis | CDC National Center for Health Statistics (NCHS) |
CMS describes HCPCS as two levels. Level I is CPT, a numeric code set maintained by the AMA. Level II is an alphanumeric code set maintained by CMS, built from one letter followed by four digits.
X12 states that CARCs describe why a claim or service line was paid differently than it was billed. RARCs give additional explanation for an adjustment already described by a CARC, or convey information about remittance processing.
The NUBC website says its UB-04 manual, copyrighted by the American Hospital Association, is the only official source of UB data, and CMS points Medicare billers to the same NUBC manual for revenue codes. NCHS is responsible for the clinical modification of ICD-10, which the World Health Organization owns and publishes.
Terms used here are defined in the glossary, for example CARC, RARC and revenue code.
Which claim field does each code go in?
Each code set has a fixed home on the professional claim (CMS-1500), the facility claim (UB-04) or the remittance. A correct code in the wrong field still denies.
| Code | Professional claim (CMS-1500) | Facility claim (UB-04) | Remittance (835) |
|---|---|---|---|
| CPT or HCPCS code with modifiers | Item 24D, up to four modifiers | Form locator (FL) 44 for outpatient services | Not applicable |
| Revenue code | Not used | FL 42, four digits | Not applicable |
| ICD-10-CM diagnosis | Item 21, up to 12 diagnoses, entered without a period | FL 67 for the principal diagnosis, with other diagnoses in FL 67A to 67Q | Not applicable |
| Group code, CARC and RARC | Not applicable | Not applicable | Returned by the payer on each adjustment |
The CMS Claims Processing Manual says item 24D of the CMS-1500 takes the procedure, service or supply as a HCPCS code, and that the form can capture up to four modifiers. For ICD-10-CM it says to enter up to 12 diagnosis codes in item 21 and not to insert a period.
For the UB-04, the manual says outpatient HCPCS codes go in FL 44, and that FL 67 holds the diagnosis chiefly responsible for outpatient services, reported to its highest degree of certainty.
On the remittance, X12 defines four claim adjustment group codes: CO Contractual Obligation, PR Patient Responsibility, OA Other Adjustment and PI Payor Initiated Reduction. The CMS manual says PR is used for an amount that may be billed to the patient, typically deductible and copay adjustments. Many X12 CARC entries point to the 835 Healthcare Policy Identification Segment for the payer's policy reference.
Worked examples are on the code pages, such as modifier 25, CO-4 and revenue code 0450.
How do I use this library?
Find the code in the grouped list below and open its page. Each page gives the plain-words meaning, where it goes on the claim, the denials that follow it and its sources.
Codes change on schedules set by their publishers, so confirm a code against the current file before you bill. Our medical coding service does that check on every claim, and denial management uses the same codes to find the cause of a denial. To talk it through, book a call.
Common questions
Straight answers from the team that does the work.
Ask a billing lead directly. A 20-minute call, Monday to Friday, 9am to 5pm Eastern.
01What are medical billing codes?
Medical billing codes are standard codes that describe what was done, why, and how the payer responded. CPT and HCPCS Level II codes describe services and supplies, ICD-10-CM codes describe the diagnosis, revenue codes describe facility charge lines, and CARC and RARC codes explain payment adjustments on the remittance.
02What is the difference between CPT and HCPCS codes?
CPT is HCPCS Level I, a numeric code set maintained by the AMA. HCPCS Level II is maintained by CMS and uses one letter followed by four digits, covering items outside CPT such as ambulance services and DMEPOS. Both are reported in the same claim field, item 24D on a CMS-1500.
03Where do CPT codes and modifiers go on a CMS-1500?
CPT and HCPCS codes go in item 24D of the CMS-1500, and the form can capture up to four modifiers there. Diagnosis codes go in item 21, up to 12 of them, entered without a period. Place of service goes in item 24B and units in item 24G.
04Where do revenue codes and HCPCS codes go on a UB-04?
On a UB-04, the four-digit revenue code goes in form locator (FL) 42. For outpatient services the HCPCS code goes in FL 44, and units are reported in FL 46. The principal diagnosis goes in FL 67, with other diagnoses in FL 67A to 67Q.
05What is the difference between a CARC and a RARC?
A CARC is a claim adjustment reason code that says why a claim or service line was paid differently than billed. A RARC is a remittance advice remark code that adds explanation to a CARC or conveys remittance information. Both are maintained by X12, and a denial often carries one of each.
06What do CO, PR, OA and PI mean on a remittance?
They are claim adjustment group codes defined by X12. CO is Contractual Obligation, PR is Patient Responsibility, OA is Other Adjustment and PI is Payor Initiated Reduction. They sit in front of the CARC, as in CO-45 or PR-1, and show who carries the adjusted amount.
07Who publishes ICD-10-CM and how is it different from CPT?
The CDC National Center for Health Statistics develops ICD-10-CM, the U.S. clinical modification of the WHO classification. ICD-10-CM gives the diagnosis, which goes in item 21 on a CMS-1500. CPT, maintained by the AMA, reports the service performed, and the two must support each other.
Not sure which code applies?
Book a call and a certified coder will walk through the codes on your claims.