🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Health & Personal Services › Medical Billing & Coding › Electronic Health Records for Medical Billing & Coding › Lesson 5
HLT-MEDI67-06 · Lesson 5 · 14 clock hours · lab

Assigning and Entering ICD-10-CM and CPT Codes in the EHR

Objective. Students will select accurate ICD-10-CM and CPT/HCPCS codes from clinical documentation and enter them in the EHR billing module, applying sequencing rules and modifier logic.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by a licensed clinician in the field or by a certification or approval body. It is a study draft and may contain errors. Do not use it to make decisions about any patient or medication. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Accurate Code Entry in the EHR Matters

The electronic health record (EHR) is the central hub where clinical care and billing meet. When a coder assigns ICD-10-CM diagnosis codes and CPT or HCPCS Level II procedure codes and enters them into the EHR's charge-capture module, those entries become the foundation of the claim submitted to the payer. An error at this step — a wrong code, a missing modifier, or a sequencing mistake — can cause a claim denial, a delay in payment, or, in serious cases, a compliance violation. Patient safety is also at stake: incorrect diagnosis codes can follow a patient through their record, influencing future care decisions. Accuracy is not optional; it is a professional obligation.

From Documentation to Code Selection

Before touching the keyboard, read the entire encounter note. Identify the reason for the visit, any conditions documented as confirmed (not just suspected in an outpatient setting), and every service or procedure performed. Outpatient coding follows Official Guidelines for Coding and Reporting, which state that you code only conditions documented as established or confirmed; signs and symptoms are coded when no definitive diagnosis is given.

Once you understand the clinical picture, use the Alphabetic Index of the ICD-10-CM code book to locate candidate codes, then verify each code in the Tabular List. Never code from the index alone — the Tabular List contains instructional notes, includes and excludes notes, and required additional characters that the index may not fully display.

For procedures, locate the correct CPT code by searching the CPT Index and confirming the code in the numbered section. Read the full code descriptor and any parenthetical notes or guidelines at the beginning of the subsection. HCPCS Level II codes are used for supplies, drugs administered in an outpatient setting, durable medical equipment, and certain services not captured by CPT.

Sequencing Rules for Outpatient Encounters

The first-listed diagnosis code must reflect the condition chiefly responsible for the visit — the main reason the patient was seen, after study. This is distinct from inpatient coding, which uses the term "principal diagnosis." Chronic conditions that are actively managed during the visit may be coded as additional diagnoses. Sequence them in the order that best represents the care provided and the resources used.

When a patient has a confirmed diagnosis, do not code the signs and symptoms that are integral to that diagnosis. Code them separately only when they represent conditions beyond what is routinely associated with the confirmed diagnosis.

Entering Codes in the Charge-Capture Screen

The charge-capture module in most training EHR systems mirrors real-world platforms. You will typically:

1. Open the encounter and navigate to the billing or charge section.

2. Enter the first-listed ICD-10-CM code in the primary diagnosis field.

3. Add additional diagnosis codes in the correct sequence.

4. Enter each CPT or HCPCS Level II procedure code and link it to the appropriate diagnosis code — this linkage tells the payer why each service was performed.

5. Attach any required modifiers to the procedure code line.

Modifiers are two-character codes appended to CPT or HCPCS codes to indicate that a service was altered in some way without changing its core definition. Common modifiers you will encounter include those signaling bilateral procedures, multiple procedures, reduced services, and professional versus technical components. Enter modifiers accurately; an incorrect or missing modifier is one of the most common reasons payers issue claim edits.

Understanding EHR Edit Messages

Built-in edit engines check code pairs against established rules before a claim is released. Many of these rules come from the National Correct Coding Initiative (NCCI), a CMS program that identifies pairs of codes that should not be billed together in most circumstances because one code's work is already included in the other. There are two main NCCI edit types:

When the EHR flags an edit, do not simply delete the code and move on. Research the specific edit using the CMS public NCCI tables or your payer policy reference. Determine whether a modifier is appropriate to bypass the edit — and document your reasoning in the coding log. If no modifier legitimately applies, remove the code and adjust the claim. Appending a modifier to unbundle codes that are truly bundled is a compliance violation.

Modifier Logic and Payer Policy

Not every modifier overrides every edit. Payers may restrict which modifiers they accept with which edits. Some modifiers require supporting documentation in the medical record. Before entering a modifier, confirm that the clinical documentation actually supports the circumstance the modifier represents. If the documentation does not support it, the modifier cannot be used — even if it would technically clear the edit.

Safety and Compliance Reminders

Completing the Coding Log and Reconciliation

For every edit the EHR flags, record in your coding log the original code entry, the edit message, the rule or table you consulted, your decision, and your rationale. This mirrors real-world compliance documentation practices. During the one-on-one reconciliation, be prepared to explain not just what code you chose but why — referencing the guideline, the code book instruction, or the NCCI rule that supports your decision.

Key terms10

Charge-capture moduleThe section of an EHR where procedure and diagnosis codes are entered, linked, and submitted to create a billable claim.
First-listed diagnosisThe ICD-10-CM code for the condition chiefly responsible for an outpatient visit, placed in the primary diagnosis field; the outpatient equivalent of the inpatient 'principal diagnosis.'
NCCI (National Correct Coding Initiative)A CMS program that publishes tables of code pairs that cannot ordinarily be billed together on the same claim because one service is considered included in the other.
ModifierA two-character alphanumeric code appended to a CPT or HCPCS Level II code to indicate that the service was altered in a defined way without changing its fundamental definition.
BundlingThe practice, required by coding rules, of including the work of a lesser procedure within the reimbursement of a more comprehensive procedure so that both are not billed separately.
HCPCS Level IIA national coding system maintained by CMS for supplies, equipment, drugs, and services not adequately described by CPT codes, using alphanumeric codes beginning with a letter A–V.
Code linkageThe connection made in the charge-capture module between a specific procedure code and the diagnosis code that justifies the medical necessity of that procedure.
Tabular ListThe numerical section of the ICD-10-CM code book where codes are listed with full descriptors, instructional notes, includes/excludes notes, and required additional characters; must be consulted to confirm every code.
Column 1 / Column 2 editAn NCCI edit type in which the Column 2 code's work is considered already included in the Column 1 code and may not be billed separately unless a permissible modifier applies.
Provider queryA formal written request from a coder or HIM professional to the treating provider asking for clarification or additional documentation to support accurate and complete code assignment.
In class: Students review ten outpatient encounter notes loaded in the training EHR, assign ICD-10-CM and CPT codes using their code books, and enter the codes directly into the charge-capture screen, applying any required modifiers. · The EHR's built-in edit engine flags a subset of the entries with code-pair edits or missing modifiers; students interpret each edit message, research the applicable NCCI or payer policy rule, and document their correction rationale in a coding log. · Students compare their code selections to an answer key prepared by the instructor and meet one-on-one for a five-minute reconciliation discussion to explain any discrepancy.
Materials: Training EHR with charge-capture module, current ICD-10-CM code book, current CPT code book, HCPCS Level II reference, NCCI edit reference (CMS public tables), printed encounter notes as backup
Check: Students achieve 85% or higher code-level accuracy (correct code, correct modifier, correct sequencing) across the ten encounters with all edit corrections documented and justified.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

ICD-10-CM diagnosis coding and outpatient guidelines
1. An outpatient encounter note documents a patient seen for a confirmed urinary tract infection (UTI). The note also documents dysuria. According to outpatient coding guidelines, how should dysuria be coded?
Compliance and NCCI edit logic
2. While entering codes into the charge-capture screen, a student receives an NCCI Column 1/Column 2 edit for two procedure codes. What is the correct first step?
ICD-10-CM outpatient coding guidelines
3. A coder is unsure whether a condition documented as 'probable pneumonia' in an outpatient note should be coded as confirmed pneumonia. What should the coder do?
Charge capture and claims processing
4. A student enters a CPT code for an office visit and links it to the patient's ICD-10-CM diagnosis code. What is the primary purpose of code linkage in the charge-capture module?
HCPCS Level II coding
5. Which reference should a coder consult to identify whether a supply provided during an outpatient visit requires a HCPCS Level II code rather than a CPT code?
Compliance, ethics, and fraud prevention
6. A coder appends a modifier to a CPT code solely to bypass an NCCI edit and collect additional reimbursement, even though the medical record does not support the circumstance the modifier describes. This action is best described as:
ICD-10-CM conventions and code book use
7. When verifying an ICD-10-CM code located in the Alphabetic Index, a student notices an 'Excludes1' note in the Tabular List for that code. What does an Excludes1 note mean?
CPT procedure coding principles
8. During the reconciliation discussion, a student explains that she selected a more comprehensive CPT code rather than two lesser codes because the physician's note documented the complete service. This decision reflects which coding principle?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.