Medical coding is the process of turning a patient’s diagnoses, procedures, tests and supplies, as written in the medical record, into standard codes. Coders use three code sets: ICD-10-CM for diagnoses (for example E11.9, type 2 diabetes), CPT for procedures and visits (for example 99213), and HCPCS Level II for supplies (for example A4253, glucose test strips). Insurers use these codes to process claims and pay providers.
Key takeaways
- Medical coding turns medical records into standard codes for claims and health data.
- ICD-10-CM codes diagnoses, CPT codes procedures and visits, HCPCS Level II codes supplies and drugs.
- Codes change on a schedule: ICD-10-CM every October, CPT every January, HCPCS every quarter.
- Coding needs medical knowledge and accuracy, not programming.
- In India, most coders work on US healthcare claims for RCM companies, BPOs and hospitals.
On this page ⌄
What is medical coding, in simple words?
Every time a patient sees a doctor, the doctor writes down what was wrong and what was done. A medical coder reads that record and turns each diagnosis, procedure, test and supply into a standard code made of letters and numbers.
Think of it as translation. “Type 2 diabetes, checked at a routine follow-up visit, with an HbA1c blood test” becomes a short list of codes that every insurer and hospital system in US healthcare reads the same way.
Getting paid
Insurers decide what to pay from the codes on a claim. Wrong codes mean denied or underpaid claims.
Health data
Coded records let health systems count diseases, track outcomes and measure quality of care.
Compliance
Codes must match the record exactly. Coding more or less than was documented can trigger audits.
The three medical coding code sets
Medical coders work with three code sets. Each answers a different question about the patient’s visit.
Answers the question
- ICD-10-CM
- What is wrong with the patient?
- CPT
- What did the doctor do?
- HCPCS Level II
- What supplies, equipment or drugs were given?
Format
- ICD-10-CM
- 3–7 characters, starting with a letter
- CPT
- 5 characters, mostly numbers
- HCPCS Level II
- A letter followed by 4 numbers
Real example
- ICD-10-CM
- E11.9 — type 2 diabetes mellitus without complications
- CPT
- 99213 — office visit for an established patient
- HCPCS Level II
- A4253 — blood glucose test strips, per 50 strips
How an ICD-10-CM code is built: the first three characters name the category, and the characters after the dot add detail. In E11.9, “E11” is the category for type 2 diabetes, and “.9” says it has no complications. A patient with diabetic kidney disease would get a different, more specific code in the same E11 category.
CPT codes are owned by the American Medical Association. ICD-10-CM is the US clinical version of the World Health Organization’s ICD-10, maintained by CDC’s National Center for Health Statistics with CMS. HCPCS Level II is maintained by CMS, which runs US Medicare.
Medical coding example: one patient visit, coded
The easiest way to see what medical coding is: one patient visit, coded. Here is a simple, made-up visit to show how the three code sets work together. Real coding always follows the full record and the official guidelines, so treat this as an illustration, not a coding answer.
The visit
A patient who already sees this doctor comes for a diabetes follow-up. The doctor notes type 2 diabetes without complications and high blood pressure, orders an HbA1c blood test, and prescribes home glucose test strips.
Code set
- Type 2 diabetes, no complications
- ICD-10-CM
- Essential (primary) hypertension
- ICD-10-CM
- Office visit, established patient
- CPT
- HbA1c (hemoglobin A1c) blood test
- CPT
- Glucose test strips, box of 50
- HCPCS Level II
Code
- Type 2 diabetes, no complications
- E11.9
- Essential (primary) hypertension
- I10
- Office visit, established patient
- 99213
- HbA1c (hemoglobin A1c) blood test
- 83036
- Glucose test strips, box of 50
- A4253
The diagnosis codes explain why each service was needed. Insurers check that the procedure codes match the diagnosis codes. A test or visit without a supporting diagnosis is a common reason for a claim to be denied.
Other everyday examples: J45.909 for asthma without complications, and 71046 for a chest X-ray.
How medical coding works, step by step
- 1
1. The doctor documents the visit
Symptoms, findings, diagnoses, tests and treatment go into the medical record.
- 2
2. The coder reviews the record
The coder reads the notes, lab and imaging reports, and picks out everything that must be coded.
- 3
3. Codes are assigned
Using the code books or coding software and the official guidelines, the coder assigns ICD-10-CM, CPT and HCPCS codes.
- 4
4. The claim is created
The codes go on a claim, which the billing team sends to the insurer.
- 5
5. The insurer pays — or denies
If the codes are correct and match the record, the claim is paid. Errors lead to denials, rework or audits.
When something is unclear in the record, coders do not guess. They ask the doctor to clarify, a step called a query.
Who maintains medical codes, and when they change
Maintained by
- ICD-10-CM
- CDC’s National Center for Health Statistics and CMS
- CPT
- American Medical Association
- HCPCS Level II
- CMS
Updated
- ICD-10-CM
- Every year on 1 October (the 2027 codes took effect on 1 October 2026)
- CPT
- Every year on 1 January
- HCPCS Level II
- Quarterly
This is why coders use current-year code books and keep learning. Certified coders must also earn continuing education credits to keep their credential.
What about ICD-11? The World Health Organization’s ICD-11 has been in effect since 1 January 2022, but US claims still use ICD-10-CM. Coders working on US healthcare projects learn ICD-10-CM.
Medical coding vs medical billing
The two are closely linked but different jobs. Coders read the record and assign codes. Billers use those codes to create claims, send them to insurers, follow up on payments and handle denials. In many Indian companies both sit inside the revenue cycle management (RCM) team, and some people move from one to the other. See the full comparison, with pay, in medical coding vs medical billing.
What is medical coding work like in India?
Most medical coding jobs in India are with companies that code and bill US healthcare claims: RCM companies, healthcare BPOs and some hospitals. That is why Indian coders learn ICD-10-CM, CPT and HCPCS rather than an Indian code set, and why many aim for the US-based CPC certification.
Coding is a desk job. It needs medical knowledge, attention to detail and good reading skills, but no programming. Graduates in nursing, pharmacy, life sciences, dental, AYUSH and physiotherapy usually find it easiest to start, because they already know anatomy and disease.
For roles, growth and salary, read is medical coding a good career?, and for how your degree maps to coding, see medical coding for life science graduates.
How to learn medical coding
Once you know what medical coding is, the next step is training. Most beginners take a structured course that covers medical terminology and anatomy, then ICD-10-CM, CPT and HCPCS, with practice on real patient cases and timed mock exams. Many then sit the AAPC CPC exam.
Learn with BCRI
BCRI’s medical coding course runs for 3 months (₹25,000) with live classes Monday to Friday, CPC exam preparation and placement assistance. Join the online medical coding course from anywhere in India, or study at our Bangalore classroom.
FAQs
What is medical coding in simple words?
It is turning what a doctor writes in a patient’s record — diagnoses, procedures, tests and supplies — into standard codes. Insurers use the codes to pay claims, and health systems use them as data.
What is an example of medical coding?
A diabetes follow-up visit could be coded E11.9 (type 2 diabetes without complications) and 99213 (office visit, established patient), with 83036 for an HbA1c test and A4253 for glucose test strips. Real coding always depends on the full record.
What are the three types of medical codes?
ICD-10-CM codes diagnoses, CPT codes procedures and visits, and HCPCS Level II codes supplies, equipment and some drugs and services.
What is the difference between ICD-10 and CPT codes?
ICD-10-CM codes say what is wrong with the patient (the diagnosis). CPT codes say what the doctor did (the procedure or service). A claim usually needs both, and they must match.
Is medical coding hard to learn?
It is learnable with steady practice. You need to understand medical terms and anatomy, learn the coding guidelines and practise on real cases. A science or health degree makes it easier.
Does medical coding need programming or computer coding?
No. Despite the name, medical coding has nothing to do with software programming. It is about reading medical records and assigning standard codes.
What qualification do I need for medical coding?
Most coders in India are graduates in nursing, pharmacy, life sciences, dental, AYUSH or physiotherapy. AAPC’s CPC exam does not list a degree requirement but expects strong knowledge of terminology, anatomy and disease.
Is ICD-11 used in medical coding?
The WHO’s ICD-11 has been in effect since January 2022, but US healthcare claims still use ICD-10-CM, so coders on US projects learn ICD-10-CM.