Definition: Medical coding is the translation of documented diagnoses, procedures and services into standard codes. In US healthcare, where most coders trained in India work, diagnoses use ICD-10-CM, hospital inpatient procedures use ICD-10-PCS, and physician and outpatient services use CPT® and HCPCS Level II. Insurers such as Medicare pay claims based on these codes.
Example: one patient, one surgery, several codes
A 34-year-old is admitted through the emergency department with right lower abdominal pain. CT confirms acute appendicitis without perforation or peritonitis. The surgeon performs a laparoscopic appendectomy. The patient is discharged two days later.
| Who reports it | Code | Code set | Meaning |
|---|---|---|---|
| Hospital and surgeon | K35.80 | ICD-10-CM | Unspecified acute appendicitis (the diagnosis) |
| Surgeon (professional claim) | 44970 | CPT | Laparoscopy, surgical, appendectomy |
| Hospital (inpatient facility claim) | 0DTJ4ZZ | ICD-10-PCS | Resection of appendix, percutaneous endoscopic approach |
The same operation is coded twice, in two different systems, because the surgeon and the hospital bill separately. The surgeon uses CPT; the hospital uses ICD-10-PCS for an inpatient stay. If the appendectomy had been done as an outpatient, the hospital would also report CPT. Knowing which code set applies in which setting is one of the first things a coder learns.
How is an ICD-10-PCS code built?
Every ICD-10-PCS code has seven characters, each with a fixed meaning. Here is 0DTJ4ZZ decoded:
| Position | Character | Meaning |
|---|---|---|
| 1 Section | 0 | Medical and surgical |
| 2 Body system | D | Gastrointestinal system |
| 3 Root operation | T | Resection (cutting out all of a body part) |
| 4 Body part | J | Appendix |
| 5 Approach | 4 | Percutaneous endoscopic (laparoscopic) |
| 6 Device | Z | No device |
| 7 Qualifier | Z | No qualifier |
An open appendectomy would change only the fifth character, to 0 (open), giving 0DTJ0ZZ. This logic is what makes inpatient coding learnable: once you know the root operations and approaches, you can build codes you have never seen.
Example: diagnosis coding with ICD-10-CM
Office visit: "Type 2 diabetes with hyperglycemia. On insulin and metformin."
E11.65Type 2 diabetes mellitus with hyperglycemiaZ79.4Long-term (current) use of insulinZ79.84Long-term (current) use of oral hypoglycemic drugs
The ICD-10-CM guidelines for type 2 diabetes treated with both insulin and oral hypoglycemic drugs instruct coders to report both long-term use codes. Guideline-driven details like this are what employers test in coding assessments.
Where do HCPCS Level II codes fit?
HCPCS Level II covers items CPT does not, such as drugs given by injection, supplies, durable medical equipment and ambulance services. For example, an injectable drug given in a clinic is reported with a J code for the drug, alongside a CPT code for the administration.
Why does accurate coding matter?
- Payment: codes determine what Medicare, Medicaid and private insurers pay. Inpatient codes drive the MS-DRG that sets a hospital's payment for the stay.
- Compliance: codes not supported by documentation can lead to overpayment recovery, and in serious cases liability under the False Claims Act.
- Data: coded data feeds quality ratings, research and public health reporting.
What should I read next?
See how settings differ in inpatient vs outpatient coding, or view the full course syllabus.
Frequently asked questions
What does a medical coder do daily?
Reads patient records in the client's system, assigns diagnosis and procedure codes supported by the documentation, checks them against edits, and meets daily quality and productivity targets.
Is medical coding a technical IT job?
No. It is a healthcare documentation role. It uses computers but involves no programming.
Is ICD-10-PCS used in India?
No. ICD-10-PCS is a US procedure coding system. Indian coders learn it because they code for US hospitals.