Article

Hospital Medical Coding: Code Sets, DRGs and Accuracy Tips

Learn about hospital medical coding, including ICD-10-CM, ICD-10-PCS, CPT, HCPCS, MS-DRGs, APCs, and best practices for coding accuracy.

Billing specialist working with a tablet and documents, illustrating Hospital Medical Coding: Code Sets, DRGs and Accuracy Tips

Summary

Hospital medical coding converts clinical documentation into standardized codes for claims and reporting. ICD-10-CM classifies diagnoses across U.S. healthcare settings, while ICD-10-PCS classifies inpatient hospital procedures. CPT, or HCPCS Level I, and HCPCS Level II identify services, procedures, supplies, and equipment in applicable billing workflows.
Under Medicare’s inpatient payment system, coded information helps determine the MS-DRG. Hospital outpatient payment uses APC classifications alongside separate-payment and packaging rules. Accurate coding supports reporting but does not guarantee reimbursement.
A patient is discharged on Tuesday. By Friday, the chart still awaits a physician query, and the account has not reached final billing. Care is complete, but the documentation needed to finish coding is not.
Situations like this show why hospital coding requires more than code selection. Complete records, clear ownership, and timely communication matter just as much.

What hospital medical coding covers

Coders review clinical documentation and assign codes supported by the record and applicable guidance. First, they establish the setting and claim type.
Facility and professional billing represent different components of care. A hospital may report an inpatient procedure using ICD-10-PCS, while the physician reports professional services using CPT/HCPCS. Both services may occur during one hospitalization, but their coding is not interchangeable.
Start with one question: “Am I coding facility services, professional services, or a defined combination?”

Code sets hospitals use

Code set Primary purpose
ICD-10-CM Diagnoses across U.S. healthcare settings
ICD-10-PCS Inpatient hospital procedures
CPT / HCPCS Level I Medical services and procedures
HCPCS Level II Additional services, supplies, and equipment not represented by CPT
These classifications have different purposes. Select the code set appropriate to the service and reporting context.

ICD-10-CM: Diagnoses

Code selection involves more than matching a diagnosis phrase to a description. Follow classification conventions, sequencing instructions, and setting-specific guidance. Review the entire record to identify the reason for the encounter and reportable conditions.

ICD-10-PCS: Inpatient procedures

ICD-10-PCS uses seven-character codes. In the Medical and Surgical section, these represent section, body system, root operation, body part, approach, device, and qualifier. Other sections may use different character meanings.
Documentation must support the details required for code assignment. When information is unclear, seek clarification rather than assuming what occurred.

CPT and HCPCS Level II

The American Medical Association maintains CPT, which constitutes HCPCS Level I. HCPCS Level II identifies additional services, supplies, and equipment. CPT is used in public and private insurance billing; HCPCS Level II is not simply for “non-physician services."

Inpatient vs outpatient coding

This comparison concerns hospital facility reporting. Professional claims require separate consideration.
Consideration Inpatient facility Hospital outpatient
Diagnoses ICD-10-CM ICD-10-CM
Procedures ICD-10-PCS Generally CPT/HCPCS
Medicare payment, where applicable MS-DRGs under IPPS APC-based OPPS payment
Uncertain diagnoses Qualifying discharge diagnoses may be coded as established Report the highest degree of certainty
Not every hospital or service is paid under these Medicare systems, and commercial arrangements may differ.

Uncertain diagnoses

For qualifying inpatient admissions, diagnoses documented at discharge as “probable,” “suspected,” or similar terms may be coded as established. Outpatient encounters follow different instructions: report the highest degree of certainty, such as a confirmed condition, symptom, sign, or abnormal finding.
“Probable pneumonia” at inpatient discharge may therefore support pneumonia coding under applicable guidance. The same outpatient wording does not establish pneumonia by itself. Review the remaining documentation and instructions.

How MS-DRGs affect inpatient payment

Under Medicare’s Inpatient Prospective Payment System, cases receive an MS-DRG based on diagnoses, procedures, and other information, including age, sex, and discharge status. Each group has a relative weight reflecting associated resource use.
Certain secondary diagnoses qualify as complications or comorbidities, called CCs, or major complications or comorbidities, called MCCs. These can affect grouping where the applicable logic distinguishes severity levels. A secondary diagnosis does not automatically increase payment.
The objective remains accurate reporting—not selecting diagnoses because they produce higher payment. Documentation, reporting criteria, and sequencing instructions must support submitted codes.

How outpatient APC payment differs

Under OPPS, covered items and services are grouped into APCs. Payment status indicators help determine separate payment, packaging, or payment under another system. An outpatient visit should not be described as receiving one APC in the same way an inpatient case receives an MS-DRG.

Example: Conflicting sepsis documentation

Consider an illustrative inpatient record: the patient is admitted with pneumonia, a progress note raises possible sepsis, and the discharge summary lists pneumonia only.
The coder should not diagnose sepsis from vital signs or laboratory findings. Evaluate the discrepancy through the hospital’s approved clarification process.
If clarification establishes sepsis, the coder must still evaluate sequencing, present-on-admission reporting, and relevant instructions. A response does not automatically establish the principal diagnosis or a particular DRG.
Resolve the documentation question before treating the coding outcome as settled.

Where hospital charts stall

Separate accounts awaiting final billing by their unresolved task:
  • Documentation clarification awaiting response.
  • Required report not completed.
  • Coding question needing escalation.
  • Quality review pending.
  • Billing issue remaining after coding.
Use discharged-not-final-billed, or DNFB, reporting to record account age, reason, next action, and responsible person.
A total balance shows the size of the backlog, not its cause. A useful worklist shows why accounts remain open and avoids assigning every delay to coding when another team owns the next action.
Review trends alongside individual accounts. If the same missing report repeatedly delays final billing, address the underlying handoff rather than treating every account as a separate exception. Give each corrective action an owner and review date.

Practices that support coding accuracy

Prioritize reviews by risk

Use hospital findings to identify review priorities: complex procedures, recurring sequencing errors, conflicting documentation, or significant post-coding changes.
A DRG change may justify review, but a payment difference alone does not establish which coding decision is correct.

Standardize clarification

Define how questions are raised, who receives them, and when unanswered requests escalate. Focus on accurate documentation rather than a preferred payment result. Provider–coder collaboration supports complete reporting.

Make audits actionable

Define the sample, scoring method, and error categories before reporting accuracy. Distinguish unsupported codes, sequencing errors, missed reportable diagnoses, procedure-code errors, and documentation questions.
Assign corrective actions and a follow-up review. A percentage without a method offers little direction.

Prepare for updates

Maintain a calendar for code-set, guideline, and payment-system changes. Check references, encoder or grouper configuration, interfaces, and training before implementation. Do not assume one annual update covers every release.

Give useful feedback

Review findings while the case remains familiar. Discuss the documentation and reasoning, identify individual or systemic causes, and record the agreed action. Training should address a defined problem.

Accurate coding does not guarantee payment

A valid code can describe a documented condition or service without meeting every coverage requirement. Payers also apply medical-necessity and billing policies. Diagnosis and procedure information may influence coverage review, so coding and coverage are separate but connected.
Before routing a denial, identify whether it concerns:
  • Documentation or coding.
  • Coverage or medical necessity.
  • Authorization.
  • Eligibility.
  • Claim formatting or billing information.
Do not assume every denial can be resolved by changing a code.

What to ask a coding vendor

Use the same checklist when comparing hospital coding services:
  • Which facility and professional settings do you support?
  • What relevant credentials and hospital experience do coders have?
  • How do you evaluate MS-DRG and procedure-coding competency?
  • Who initiates and tracks documentation questions?
  • How is accuracy calculated, and who audits it?
  • How are recurring findings corrected?
  • How are coding and payment updates implemented?
  • What turnaround expectations, exclusions, and escalation arrangements enter the contract?
Look for a process and an owner. “We follow all guidelines” does not explain how work is performed or reviewed.

Frequently asked questions

What is hospital medical coding?

It involves reviewing documentation and assigning standardized diagnosis, procedure, and service codes. The setting and claim determine which instructions apply.

How do ICD-10-CM and ICD-10-PCS differ?

ICD-10-CM classifies diagnoses across U.S. settings. ICD-10-PCS classifies inpatient hospital procedures, not physician professional services.

What is an MS-DRG?

It is a classification used in Medicare inpatient payment. Codes and other case information determine grouping, and each group has a relative weight.

Does each outpatient visit receive one APC?

Not necessarily. OPPS applies grouping, separate-payment, and packaging rules. It is not a simple one-visit equivalent of inpatient DRG payment.

Can suspected diagnoses be coded?

Qualifying inpatient discharge diagnoses may be coded as established. Outpatient reporting instead uses the highest degree of certainty supported by documentation.

What should an accuracy report show?

Request scope, sample size, scoring method, error categories, findings, and corrective actions. Distinguish code-level accuracy, case-level accuracy, and DRG agreement.

Who owns unresolved documentation questions?

Assign an owner and escalation route. Coding, documentation, and medical staff teams should know the next action and how clarification reaches reviewers.

Does correct coding guarantee reimbursement?

No. Coverage and other billing requirements still apply. Investigate the payer’s stated reason before deciding what corrective action is appropriate.

When should resources be updated?

Monitor official releases and apply resources appropriate to the reporting period. Track code changes separately from guideline, grouper, and payer-policy updates.

Conclusion

Hospital coding starts with three questions: Which setting, which claim, and which code set applies? Complete documentation, clear query ownership, and consistent review support the work that follows.

Ready to Strengthen Your Revenue Cycle?

Talk with our U.S. revenue cycle team about cleaner claims, fewer denials and faster payments for your organization.