ICD-10 for Pediatric Cardiac Surgery: Common Codes Explained
September 21, 2026

A child’s cardiac surgery is coded based on the heart condition being treated, not the fact that surgery took place.
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.
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.
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 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 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.
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.
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.
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.
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:
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.
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:
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.
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.
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.
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.
“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”
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.
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:
“History of cardiac surgery” does not by itself explain the clinical reason for the current encounter.
|
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.
|
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.
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.
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.
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.
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:
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.
|
✓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
|
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.
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.