CPT code 39540 – Acute diaphragmatic hernia repair
39540 is the CPT code for repair of acute diaphragmatic hernia (including acute traumatic).
Most denials on this code trace back to two preventable errors: selecting 39540 when the hernia is chronic (which requires 39541), or submitting without an operative report that explicitly documents the open approach and the acute onset. Getting those two elements right in the documentation before the claim goes out resolves the majority of payer pushback.
- Section
- 10004-69990 Surgery
- Subsection
- 39000-39599 Mediastinum and diaphragm
- Code also known as
- traumatic diaphragm repair, open diaphragm hernia repair, diaphragm rupture repair
Let Pabau's smart automation suggest the right codes, reduce claim denials, and keep your practice compliant—effortlessly.
- AI-powered code suggestions
- Real-time compliance checks
- Faster claims, fewer denials
Automate repetitive tasks and focus on what matters most—your patients.
Reduce coding errors and ensure compliance with the latest regulations.
Clean claims, fewer denials, and faster reimbursements.
Powerful insights and reporting to help your practice thrive.
HIPAA compliant SOC 2 certified GDPR-compliant Trusted by 4,000+ clinics worldwide
Key Takeaways
CPT code 39540 covers open surgical repair of an acute (typically traumatic) diaphragmatic hernia – not chronic hernias, which use CPT 39541
The operative report must explicitly state the open approach, the acute or traumatic onset, and the specific repair technique used
Acute vs. chronic classification is a clinical determination made from the medical record – coders must abstract what the surgeon documented, not make the call independently
CPT 39540 carries a 90-day global period under Medicare; Pabau’s claims management tools help track global-period billing windows across your surgical caseload
CPT code 39540: Quick-reference summary
CPT code 39540 sits within the 39500-39599 diaphragm repair code range, as published and maintained by the American Medical Association (AMA). The table below gives coders the essential reference data at a glance.
What does CPT code 39540 cover?
CPT code 39540 covers open surgical repair of a diaphragmatic hernia that is acute in nature, typically meaning it resulted from blunt or penetrating trauma, or presented acutely without evidence of a long-standing, chronic defect. The code captures the full surgical work of the repair episode.
Included in the work of CPT 39540:
- Open abdominal or thoracic incision to access the diaphragm
- Identification and reduction of any herniated abdominal viscera back into the peritoneal cavity
- Inspection of herniated contents for ischemia or injury
- Primary repair of the diaphragm defect (suture closure)
- Mesh reinforcement, when used as part of the same operative session (see note below on mesh coding)
- Standard wound closure and drain placement if applicable
On mesh: The AMA CPT guidelines and individual payer policies vary on whether mesh reinforcement is separately reportable. Many payers consider mesh integral to the diaphragm repair work and bundle it into 39540. Verify the specific payer’s policy before billing mesh separately, and ensure the operative report documents the mesh type and placement technique if separate reporting is attempted.
What CPT 39540 does not cover
Knowing the exclusions prevents the most common upcoding and mismatch errors on diaphragm repair claims.
- Laparoscopic approach: CPT 39540 is an open-approach code. Laparoscopic diaphragmatic hernia repair uses a different CPT code (typically reported from the unlisted laparoscopic procedure range or via an emerging technology code depending on the payer; verify with payer policy).
- Chronic diaphragmatic hernia: CPT 39541 covers repair of a chronic (non-acute) diaphragmatic hernia. Using 39540 for a hernia documented as long-standing is a misassignment.
- Eventration of diaphragm: CPT 39545 covers eventration (abnormal elevation of the diaphragm without a true hernia defect); do not substitute 39540.
- Incidental diaphragm repair bundled into a larger thoracic case: When diaphragm repair is incidental to a primary thoracic procedure (e.g. esophagectomy, lung resection), payers and NCCI edits may bundle the diaphragm work into the principal procedure. Verify current National Correct Coding Initiative (NCCI) edit tables before separate-reporting 39540 in these scenarios.
- Neonatal or congenital defects: Congenital diaphragmatic hernia repair uses separate pediatric codes and is not captured by 39540.
CPT 39540 vs. CPT 39541: Acute vs. chronic diaphragmatic hernia
The acute-versus-chronic distinction is the single most common coding error on diaphragm hernia claims. Here is the critical point: “acute” refers to the onset and character of the hernia, not how sick the patient looks on presentation. A patient who arrives in the ICU looking critically ill with a hernia that has been present for years still gets coded with 39541. The operative and clinical documentation drives the selection, and the coder abstracts it; the coder never determines acuity independently.
Pro Tip
Before selecting 39540 or 39541, read the surgeon’s operative note for explicit language: ‘acute traumatic tear,’ ‘recent diaphragm rupture,’ or ‘traumatic hernia’ points to 39540. ‘Chronic herniation,’ ‘long-standing defect,’ or ‘incidentally noted hernia’ points to 39541. When the documentation is ambiguous, query the surgeon rather than making an independent acuity call.
CPT 39540 vs. laparoscopic diaphragm repair: Choosing the right code
CPT 39540 is an open-approach code. The operative report’s documented approach determines code selection; coders must never assume the approach based on the clinical presentation or the surgeon’s typical practice.
Documentation requirements for billing CPT code 39540
Missing documentation is the leading cause of denial on CPT code 39540. A clean claim submission for this code requires the operative report to contain all of the following elements before the claim is submitted.
- Acute or traumatic onset confirmed: The surgeon’s note must state that the hernia is acute, traumatic, or of recent onset. Mechanism of injury (blunt trauma, penetrating wound, sudden-onset defect) should be documented.
- Open surgical approach stated: The operative report must explicitly describe a thoracotomy, laparotomy, or combined thoraco-abdominal incision. Trocar-only cases cannot be billed as 39540.
- Description of herniated contents: Name the organs or structures found in the hernia sac (e.g., stomach, colon, small bowel, omentum) and document their condition on inspection (viable, ischemic, perforated).
- Repair technique described: Primary suture closure technique, suture type, and layer-by-layer repair should be documented. If mesh was used, include the mesh product name, dimensions, and fixation method.
- Attending surgeon attestation: The operative note must be signed by the operating surgeon. Co-surgeon or assistant documentation requires separate modifier notation (Modifier 62 or Modifier 80).
- ICD-10 diagnosis supporting acuity: At least one ICD-10-CM diagnosis code on the claim must reflect an acute or traumatic etiology. A chronic ICD-10 paired with 39540 is a red flag for payer review.
Pabau’s medical billing workflow tools help practices track documentation completeness before claims leave the system, reducing the rework that follows avoidable denials.
ICD-10 codes to pair with CPT 39540
The ICD-10-CM diagnosis code must support the acute or traumatic nature of the hernia. A mismatch between the procedure code (39540 = acute) and the diagnosis code (a chronic-only code) triggers payer edits.
Verify full ICD-10-CM descriptors and seventh-character requirements via the CDC/NCHS ICD-10-CM web tool for the applicable coding year. Pairing a trauma-category S-code with 39540 provides the strongest payer evidence of acute etiology when both are clinically documented.
Modifiers that apply to CPT 39540
Modifier selection on CPT code 39540 affects both reimbursement and claim integrity. The table below covers the modifiers coders encounter most frequently with this surgical code.
Modifier 22 is frequently appended without the supporting written narrative. That alone accounts for a large share of complexity-upward denials on 39540. The narrative does not need to be lengthy, but it must specify the clinical factors that made the case exceed what a typical diaphragm repair would involve.
Medicare reimbursement and RVUs for CPT 39540
Reimbursement for CPT code 39540 is calculated using the Medicare Physician Fee Schedule (MPFS), which the Centers for Medicare and Medicaid Services (CMS) updates annually. The national allowed amount is derived from total RVUs multiplied by the annual conversion factor and adjusted by geographic practice cost indices (GPCIs) for the practice location.
Key RVU and fee schedule data for CPT 39540 (verify current-year figures via the CMS MPFS lookup or FastRVU’s RVU lookup tool before billing):
Pabau integrates with Claim.MD’s electronic claims clearinghouse, giving practices real-time eligibility checks and 835 ERA remittance matching so reimbursement against the MPFS is tracked automatically rather than manually reconciled. Commercial payers typically benchmark their fee schedules as a percentage of MPFS, so the Medicare rate provides a useful floor for contract negotiations.
Track surgical code reimbursement without the spreadsheets
Pabau’s claims management tools connect directly to your clearinghouse, flag global-period conflicts before they become denials, and give billing teams a real-time view of outstanding CPT 39540 claims.
Prior authorization and emergency diaphragm repair
Acute traumatic diaphragmatic hernia repair is almost always an emergency. Standard prior authorization processes are not feasible when the patient is in the OR within hours of a trauma mechanism.
What billing teams should know by payer type:
- Traditional Medicare: Does not require prior authorization for emergency inpatient surgical procedures. CPT 39540 performed as an emergency does not need a pre-authorization number on the claim.
- Medicare Advantage (MA) plans: May require retrospective authorization review even for emergency cases. Many MA contracts require notification within 24-48 hours of an emergency admission. Failure to notify can result in a reduced or denied claim even when the procedure itself was medically necessary.
- Commercial payers: Policies vary significantly. Some commercial plans require a retrospective authorization submission within 72 hours of emergency surgery. Build a process to submit retrospective auth requests and document the emergency circumstances if a standard prior-auth was not obtained.
- Medicaid: State-specific rules apply. Some state Medicaid programs require retro-auth; others have blanket emergency surgery exemptions. Verify by state before assuming coverage is automatic.
When retrospective authorization is required, attach the emergency department triage note, the trauma activation record, and the operative report to the authorization request. These collectively establish medical necessity in terms payer reviewers can act on quickly.
Common claim denial reasons for CPT 39540 and how to prevent them
A structured denial management workflow catches most of these before they become write-offs. The table below maps the most frequent denial triggers to their prevention action.
Verify current NCCI edit pairs via the official CMS NCCI tool; edit tables change quarterly and a pair that was unbundleable last quarter may now be bundled. Pabau’s claims management software surfaces edit conflicts at the point of claim creation so the billing team can resolve them before submission rather than chasing denials after the fact.

Pro Tip
Build a CPT 39540 pre-submission checklist: (1) approach documented as open, (2) hernia onset documented as acute or traumatic, (3) herniated contents named, (4) repair technique described, (5) mesh notation if used, (6) ICD-10 matches acuity, (7) Modifier 22 narrative attached if appended, (8) retro-auth submitted for MA or commercial plans. Run this checklist on every 39540 claim before it leaves the practice.
Conclusion
CPT code 39540 is a high-stakes surgical code where the two most expensive errors, selecting the wrong code for hernia acuity and submitting without adequate operative documentation, are both preventable at the point of claim creation. The acute-versus-chronic distinction lives in the surgeon’s note, not in the coder’s judgment; the approach documentation (open versus laparoscopic) must be read, not assumed.
Pabau’s integrated claims management tools connect to your clearinghouse, track the 90-day global period, and flag NCCI edit conflicts before 39540 claims go out the door. To see how the workflow fits your surgical billing operation, book a demo.
Continue your research
Need to understand how claims reach the payer? Medical claims clearinghouse guide explains the end-to-end electronic claims submission pathway.
Confused about ERA and remittance posting? Electronic remittance advice explained covers how 835 ERAs match payments back to 39540 claims.
Looking for denial code reference? Denial codes in medical billing lists CARC codes you will see on rejected diaphragm repair claims.
Frequently Asked Questions
What is CPT code 39540?
CPT code 39540 is the procedure code for open surgical repair of an acute diaphragmatic hernia, including acute traumatic hernias. The code captures the full operative work of reducing herniated viscera and closing the diaphragm defect through an open thoracic or abdominal incision.
What is the difference between CPT 39540 and CPT 39541?
CPT 39540 covers repair of an acute or traumatic diaphragmatic hernia; CPT 39541 covers repair of a chronic diaphragmatic hernia. Both are open-approach codes. The distinction is the onset and character of the hernia as documented in the operative and clinical record, not the patient’s acuity of illness on presentation.
Is CPT 39540 for open or laparoscopic diaphragmatic hernia repair?
CPT 39540 is an open-approach code only. Laparoscopic diaphragmatic hernia repair uses a different CPT code, determined by payer policy and the specific operative approach documented. Coders must read the operative report to confirm the approach before assigning 39540.
What is the global period for CPT code 39540?
CPT 39540 carries a 90-day global surgery period under Medicare, meaning routine postoperative care is bundled into the surgical fee for 90 days following the procedure. Verify the current-year global period designation via the CMS Physician Fee Schedule lookup tool, as designations can change with annual updates.
Does CPT 39540 include mesh repair?
Mesh reinforcement is generally considered bundled into CPT 39540 by most payers, who treat it as integral to the diaphragm repair work. Separate reporting of mesh may be possible under specific payer policies, but it requires explicit documentation of the mesh product, dimensions, and fixation technique in the operative note. Verify with the individual payer before separate billing.
Why is CPT code 39540 denied by insurance?
The most common denial reasons are: (1) the operative note documents a chronic hernia but 39540 (acute) was billed; (2) the approach was laparoscopic but 39540 (open) was used; (3) an ICD-10 diagnosis code reflecting a chronic etiology was paired with the acute procedure code; (4) Modifier 22 was appended without a written complexity narrative. Each of these is preventable with a pre-submission documentation review.