A child’s cardiac surgery is coded based on the heart condition being treated, not the fact that surgery took place.

For instance:  ventricular septal defect, Tetralogy of Fallot, and hypoplastic left heart syndrome are assigned different ICD-10-CM codes. Most congenital heart defects are classified under the Q20–Q28 categories.

The diagnosis and the procedure are also reported separately. ICD-10-CM identifies the condition, while ICD-10-PCS may apply to an inpatient hospital procedure and CPT is generally used for physician services.

This distinction can help healthcare providers to review documentation, address coding questions, and understand when the reported diagnosis may not fully support the procedure performed.

Does Pediatric Cardiac Surgery Have an ICD-10 Code?

There is no single ICD-10-CM code for pediatric cardiac surgery, the right code depends on the cardiac condition being treated..  The code should reflect the specific congenital or acquired cardiac condition documented in the medical record. Many congenital heart defects are classified under Q20–Q28, but the exact code depends on the defect.

For instance, Q21.0 may be used for a ventricular septal defect, while Q21.3 identifies Tetralogy of Fallot. These diagnoses remain different even when both children undergo surgical repair.

When reviewing a pediatric cardiac case, the provider’s documentation should clearly identify the underlying defect and any clinically relevant associated conditions.

The current pediatric coding guidelines suggest that using the congenital malformation categories when the documented condition supports them and determining whether related manifestations are already inherent to the defect or need separate coding.

Common ICD-10-CM Codes Used in Pediatric Cardiac Surgery

The following codes represent several congenital cardiac conditions that may be encountered in pediatric surgical care.

Pediatric cardiac condition ICD-10-CM code Coding point
Ventricular septal defect Q21.0 Congenital defect involving the ventricular septum
Atrial septal defect, unspecified Q21.10 Use only when the documentation does not support a more specific ASD type
Secundum atrial septal defect Q21.11 Specific type of ASD
Partial atrioventricular septal defect Q21.21 Requires documentation supporting the partial defect
Transitional atrioventricular septal defect Q21.22 Specific AV septal defect type
Complete atrioventricular septal defect Q21.23 Specific complete AV septal defect
Tetralogy of Fallot Q21.3 Congenital cardiac malformation
Discordant ventriculoarterial connection Q20.3 Includes complete transposition of the great vessels
Pulmonary valve atresia Q22.0 Congenital pulmonary valve condition
Ebstein’s anomaly Q22.5 Congenital tricuspid valve abnormality
Hypoplastic left heart syndrome Q23.4 Congenital malformation involving the left-sided heart structures
Patent ductus arteriosus Q25.0 Congenital great-artery abnormality
Coarctation of aorta Q25.1 Congenital narrowing of the aorta

These codes illustrate why the phrase “pediatric cardiac surgery” is not specific enough for diagnosis coding. The documentation needs to identify the condition being treated.

Septal Defects

Septal defects are common examples of diagnoses that can lead to pediatric cardiac procedures.

A ventricular septal defect is reported with Q21.0. Atrial septal defects require more attention because the Q21.1 category has more specific child codes in the current code set.

For example, Q21.10 represents an unspecified atrial septal defect, while Q21.11 identifies a secundum atrial septal defect. Other current codes distinguish coronary sinus, superior sinus venosus, inferior sinus venosus, and other specified atrial septal defects.

That distinction is important when the anatomical type is identified by the operative or clinical documentation . A record that simply says “ASD” is less informative than one that lists the specific defect. The final code should be based on what is actually documented, not on assuming a sub-type.

Tetralogy of Fallot

Tetralogy of Fallot ICD-10-CM Code Q21. This condition may have to be surgically repaired during childhood, but the diagnosis code is still associated with the congenital condition and not just the fact that an operation occurred.

If the medical record documents Tetralogy of Fallot and the encounter concerns management of that condition, the diagnosis should be coded according to the current documentation and applicable coding guidelines.

Transposition of the Great Arteries

A terminology issue can appear with Q20.3, whose current ICD-10-CM description is discordant ventriculoarterial connection. The code includes complete transposition of the great vessels. This is a useful reminder that the wording used in clinical practice does not always match the wording displayed in the ICD-10-CM code set.

For providers, the practical lesson is simple: document the actual anatomical diagnosis clearly. The coding process should then map that documentation to the appropriate current code.

Hypoplastic Left Heart Syndrome

Q23.4 identifies hypoplastic left heart syndrome.

Children with HLHS may undergo staged surgical management rather than one isolated operation. That makes the distinction between the underlying congenital diagnosis and the individual procedure particularly important.

The diagnosis code should describe the condition documented for the encounter. The procedure coding must separately represent the procedure performed in the applicable setting.

ICD-10-CM vs. ICD-10-PCS vs. CPT for Pediatric Cardiac Surgery

One of the easiest ways to create confusion in a pediatric cardiac claim is to treat diagnosis coding and procedure coding as though they are the same thing.

They are not.

Pediatric Cardiac Coding: Which System Does What?
Coding System Primary Purpose Pediatric Cardiac Example
ICD-10-CM Diagnosis coding Tetralogy of Fallot, VSD, HLHS
ICD-10-PCS Hospital inpatient procedure coding Applicable inpatient cardiac surgical procedure
CPT Professional services and procedures Physician-reported cardiac surgical service, when applicable

CMS identifies ICD-10-CM as the diagnosis code set and ICD-10-PCS as the procedure classification used for hospital inpatient procedures. 

This means a question such as “What is the ICD-10 code for pediatric cardiac surgery?” needs to be separated into two questions:

  1. What cardiac condition is being treated?
  2. What procedure was performed, and in what setting?

The first question points toward diagnosis coding. The second depends on the applicable procedure coding system.

For a hospital inpatient case, the ICD-10-PCS code is not selected simply by looking up the name of the congenital diagnosis. PCS coding requires details about the procedure itself.

A Simple Diagnosis vs. Procedure Example

Consider a child admitted for surgical repair of a ventricular septal defect.

The diagnosis side identifies the condition being treated:

Q21.0 — Ventricular septal defect

The procedure side describes the surgical repair itself and depends on the setting and the details documented in the operative record.

The same principle applies to a child undergoing repair for Tetralogy of Fallot:

Pediatric Cardiac Coding Examples
The diagnosis and the procedure are reported separately.
Clinical Situation Diagnosis Side Procedure Side
VSD repair Q21.0 — Ventricular septal defect Report the applicable procedure separately
Tetralogy of Fallot repair Q21.3 — Tetralogy of Fallot Report the applicable procedure separately
Evaluation of a residual defect after repair Document the current residual condition Report a procedure separately if one is performed
Provider documentation tip: Clearly document the congenital heart condition, the current clinical status, and the procedure performed so each can be reported appropriately.

The diagnosis answers “What condition is being treated?” The procedure answers “What was done?” Keeping those two questions separate helps prevent the surgery itself from being mistaken for the diagnosis.

Does Surgery Change the ICD-10-CM Diagnosis?

Not by itself.

A VSD does not become a different diagnosis simply because it is surgically repaired. The same applies to Tetralogy of Fallot or another congenital heart defect.

What may change is the reason for a later encounter. After repair, the child may be evaluated for a residual defect, postoperative complication, arrhythmia, or another current cardiac problem. The diagnosis should reflect what the provider is treating or evaluating at that encounter.

Why Documentation Matters in Pediatric Cardiac Coding

A pediatric cardiac diagnosis can be clinically complex. The medical record may contain several anatomical abnormalities, previous repairs, residual findings, and current symptoms. That is why documentation should do more than say “congenital heart disease.”

The record should identify the condition that the provider has actually diagnosed and is addressing.

Document the Specific Congenital Defect

Compare these two statements:

Less specific:
“Congenital heart defect; scheduled for repair.”

More informative:
“Secundum atrial septal defect with left-to-right shunting; surgical closure planned.”

The second statement gives the coding process a specific documented diagnosis rather than a broad description.

The provider should not document a more specific condition merely to obtain a more specific code. The documentation must reflect the child’s actual clinical diagnosis.

From “Congenital Heart Disease” to the Actual Diagnosis

“Congenital heart disease” can describe a broad group of conditions, but it may not tell the full clinical story when a specific defect has been established.

The goal is not to make documentation more specific than the clinical evidence supports. It is to clearly name the condition the provider has diagnosed.

Too broad: “Congenital heart disease”
More specific: “Ventricular septal defect”
More specific when supported: “Secundum atrial septal defect”
Complex case: “Tetralogy of Fallot with VSD and right ventricular outflow tract obstruction”

Distinguish Associated Defects

Some children have more than one congenital cardiac abnormality.

For example, a child may have a VSD along with another congenital heart defect. When multiple conditions matter to the encounter, document them clearly instead of grouping everything under “complex congenital heart disease.” 

The AAP’s 2026 guidance notes that congenital malformations may be reported as a principal/first-listed or secondary diagnosis when documented. It also distinguishes manifestations that are inherent components of a documented anomaly from manifestations that may require additional coding.

That distinction should be left to the applicable coding guidelines and documentation rather than assumed from the procedure performed.

Document the Current Clinical Situation

A child who had congenital heart surgery in infancy may return years later for a completely different reason.

The provider should make clear whether the current encounter involves:

  • The congenital defect itself
  • A residual or recurrent cardiac problem
  • A postoperative complication
  • Surveillance or follow-up
  • Another newly diagnosed cardiac condition
  • Symptoms requiring evaluation

“History of cardiac surgery” does not by itself explain the clinical reason for the current encounter.

Pediatric Cardiac Coding: Documentation Examples
What the documentation says should guide the diagnosis coding.

Example 01
VSD Repair
Documentation
“Large ventricular septal defect with clinical findings attributable to the defect. The patient was admitted for surgical repair.”
The congenital VSD is represented by Q21.0. The cardiac repair is addressed separately through the appropriate procedure coding for the setting.
Key point: Do not replace the diagnosis with a generic “cardiac surgery” description.
Example 02
Specific ASD Type
Documentation
“Secundum atrial septal defect identified on echocardiography. The patient was admitted for surgical closure.”
The documentation supports the more specific Q21.11 diagnosis rather than relying on an unspecified ASD description.
Key point: The actual anatomical diagnosis matters when selecting the code.
Example 03
Tetralogy of Fallot
Documentation
“Known Tetralogy of Fallot. Patient admitted for planned repair of the congenital cardiac defect.”
The documented congenital diagnosis corresponds to Q21.3.
Key point: The fact that the patient is undergoing repair does not turn Q21.3 into a procedure code.
Example 04
Postoperative Evaluation
Documentation
“The patient previously underwent congenital heart repair and is now evaluated for a newly identified residual cardiac abnormality.”
This situation requires review of the current condition being evaluated, rather than automatically assigning the original congenital diagnosis or a generic postoperative code.
Key point: Document the current residual condition so the coding reflects the reason for the present encounter.

Common Pediatric Cardiac Coding Mistakes to Avoid

Using “Congenital Heart Disease” for Everything

Congenital heart disease is a broad clinical description. When the provider has established a specific anatomical diagnosis, documenting that diagnosis gives the coding process a much stronger basis.

Choosing a Category Instead of a Specific Code

A code category is not automatically a billable diagnosis.

For example, Q21 is the category for congenital malformations of cardiac septa. The current code set contains more specific codes beneath that category, including Q21.0 and several ASD and atrioventricular septal defect codes.

The final code should be verified in the current tabular list rather than selected from a broad category.

Confusing Clinical and ICD-10 Terminology

The clinical term a cardiologist uses may not exactly match the official ICD-10-CM descriptor.

Q20.3, for example, uses the term “discordant ventriculoarterial connection,” while transposition of the great vessels is included within that coding concept. Providers should document the clinical diagnosis clearly rather than attempting to write documentation around the wording of an ICD-10 code.

Assuming a Previous Diagnosis Automatically Explains the Current Encounter

A congenital heart condition can remain clinically relevant after repair, but the current encounter still needs appropriate documentation.

If the child presents for a residual defect, complication, arrhythmia, valve problem, or another condition, that current clinical issue needs to be documented clearly.

How Better Documentation Can Reduce Coding Questions

Pediatric cardiac cases often contain enough clinical detail to support specific diagnosis coding, but that information can become difficult to code when it is scattered across the record.

A focused documentation review can look for gaps such as:

  • Broad congenital heart terminology without a specific diagnosis
  • Missing anatomical detail
  • Inconsistent terminology between the assessment and operative documentation
  • Unclear distinction between a previous repair and a current condition
  • Procedure documentation that does not clearly identify what was performed
  • Diagnoses carried forward without clarification of their current relevance

For a practice that regularly receives coding queries or sees corrections on pediatric cardiac claims, reviewing these patterns can be more useful than addressing each claim separately.

What Should Be in the Pediatric Cardiac Assessment?
A quick documentation checklist for a clear clinical picture.
Specific congenital heart defect and key anatomy
Associated cardiac abnormalities
Repaired, residual, or active condition
Reason for the current encounter
Postoperative complication or current cardiac problem
Procedure planned or performed, when relevant

Frequently Asked Questions

What is the ICD-10 code for pediatric cardiac surgery?

There is no single ICD-10-CM code for pediatric cardiac surgery. The diagnosis code depends on the cardiac condition being treated. Many congenital cardiac diagnoses fall within Q20–Q28.

What is the ICD-10 code for congenital heart disease in children?

There is no single code for all congenital heart disease. The appropriate code depends on the specific congenital abnormality documented, such as VSD, ASD, Tetralogy of Fallot, transposition of the great arteries, or HLHS.

What is the ICD-10 code for Tetralogy of Fallot?

Q21.3 is the ICD-10-CM code for Tetralogy of Fallot.

What is the ICD-10 code for ventricular septal defect?

Q21.0 is the ICD-10-CM code for ventricular septal defect.

Is ICD-10-PCS used for pediatric cardiac surgery?

ICD-10-PCS is used for procedures performed in the hospital inpatient setting. It is separate from ICD-10-CM diagnosis coding. The specific PCS code depends on the procedure performed and the details documented in the operative record.

Should a provider document the exact congenital heart defect?

Yes. Documentation should accurately identify the clinical diagnosis and relevant anatomical details when known. A broad term such as “congenital heart disease” may not provide the same coding specificity as a documented diagnosis such as VSD, secundum ASD, Tetralogy of Fallot, or HLHS.

Final Takeaway

The phrase “pediatric cardiac surgery” does not point to one ICD-10-CM code.

The diagnosis code should follow the child’s documented cardiac condition. For congenital conditions, many of the relevant diagnoses are found in the Q20–Q28 range, including VSD, ASD, Tetralogy of Fallot, transposition of the great arteries, HLHS, PDA, and coarctation of the aorta.

The procedure is a separate coding consideration. For hospital inpatient procedures, ICD-10-PCS identifies the procedure, while physician services are generally reported using CPT.

For providers, the most useful step is not memorizing a long list of cardiac codes. It is documenting the specific congenital diagnosis, relevant anatomy, current clinical problem, and procedure clearly enough for the coding record to reflect what was actually treated.

If your practice regularly sees pediatric cardiac coding queries, diagnosis corrections, or documentation-related claim issues, a focused coding review can help identify where those problems begin.

PEDIATRIC CARDIAC CODING
Clear Documentation Starts With the Right Clinical Details
Pediatric cardiac cases can involve complex congenital conditions, previous repairs, residual defects, and multiple procedures. A focused documentation review can help identify gaps before they create coding questions or claim issues.
Request a Free Coding Audit

Review documentation • Identify gaps • Improve coding clarity