Fetal Situs Inversus & Dextrocardia: From Nodal Cilia Symmetry Breaking to Perinatal Action
A Segmental Approach to Embryonic Lateralization, High-Speed Ciliary Mechanics, Diagnostic Work-Up, and Anticipating the Neonatal Respiratory Crash
1. Nodal Cilia and Situs Inversus: The Clinical Paradox
Clinical Overview
Encountering a fetus with complete mirror-image organ arrangement—situs inversus totalis (SIT) with dextrocardia—frequently triggers premature clinical reassurance. On transverse abdominal and four-chamber views, the stomach lies on the fetal right, the descending aorta courses to the right of the spine, the inferior vena cava (IVC) sits anteriorly on the fetal left, and the cardiac apex points into the right hemithorax with anatomically concordant chambers and great vessels (ISUOG Practice Guidelines, 2023).
Because structural congenital heart disease (CHD) occurs in only 3% to 5% of fetuses with complete, concordant situs inversus totalis, sonologists and clinicians often counsel families that the fetus will have an uncomplicated postnatal transition. Yet this reassurance overlooks a foundational developmental reality:
An inverted heart is not merely a benign anatomical mirror image—it is the earliest prenatal biomarker of ciliary akinesia, Primary Ciliary Dyskinesia (PCD / Kartagener Syndrome), and impending neonatal respiratory distress.
2. Visualizing Ciliary Motility: High-Speed Video Microscopy
Ultrastructure & Video
Why does an anomaly of visceral and cardiac laterality manifest as postnatal respiratory failure? The answer lies in the shared ultrastructural machinery of embryonic nodal cilia (which establish left-right body symmetry during gastrulation) and respiratory mucociliary epithelium (which clears fluid and mucus from the neonatal airways).
Normal Coordinated Ciliary Beating
Ciliary Dysmotility / Akinesia in PCD
Under high-speed video microscopy recorded at 500 frames per second, healthy respiratory cilia exhibit a synchronized forward power stroke and recovery stroke that propels mucus cephalad. In fetuses whose situs inversus stems from a ciliopathy, defective dynein motor or central apparatus complexes render both embryonic nodal monocilia and postnatal respiratory cilia dyskinetic or completely immotile.
3. The Embryonic Node Stage & Left-Right Transcriptional Barrier
Molecular Morphogenesis
Before organogenesis begins, the early bilaminar embryonic disc is externally symmetrical (Figure 3). Breaking bilateral symmetry requires a tightly regulated molecular boundary across Hensen’s node and the primitive midline:
- Right-Sided Repression: On the right side of Hensen’s node, Activin receptor signaling and BMP4 activate Fgf8, which inhibits Sonic hedgehog (Shh) and suppresses Cerberus, preventing left-sided gene transcription on the right while maintaining Snail expression.
- Left-Sided Activation: On the left side of the node, Shh expression remains uninhibited and induces Cerberus (Caronte), which antagonizes repressive BMP signaling and triggers robust expression of the transforming growth factor-beta (TGF-β) morphogen Nodal.
- The Midline Lefty Barrier & Pitx2 Execution: Nodal auto-amplifies on the left side while simultaneously inducing Lefty (LEFTY1 / LEFTY2) along the embryonic midline floor plate. Lefty acts as a molecular diffusion barrier that prevents Nodal from crossing to the right side. Within the left lateral plate mesoderm, Nodal suppresses Snail and activates the master homeodomain transcription factor Pitx2, which directs morphologically left-sided morphogenesis (left atrial appendage identity, leftward cardiac looping, and splenic development).
4. The 4-Step Embryological Mechanism of Normal Symmetry Breaking
Biophysical Mechanics
How does the human embryo initiate this left-sided molecular cascade at days 19 to 21 post-conception? The trigger is biophysical (Figure 4):
- Step 1 — Nodal Cilia Beat: Specialized pit cells lining the ventral floor of the embryonic node possess motile monocilia with a 9+0 axonemal configuration (nine peripheral microtubule doublets lacking a central pair). These monocilia tilt posteriorly toward the caudal axis and rotate clockwise at 600–1,000 RPM.
- Step 2 — Directional Flow: Because of their posterior tilt, the rightward sweep of each cilium passes close to the cell surface (high viscous drag), whereas the leftward sweep arcs high above the epithelium. This hydrodynamic asymmetry generates a brisk, laminar leftward nodal fluid flow.
- Step 3 — Asymmetric Signaling: Leftward fluid shear stress bends immotile mechanosensory cilia (containing PKD1L1 / PKD2 polycystin calcium channels) along the left crown of the node and transports morphogen-laden nodal vesicular parcels leftward. The resulting asymmetric left-sided intracellular Ca2+ surge ignites the NODAL → LEFTY2 → PITX2 transcriptional cascade exclusively in the left lateral plate mesoderm.
- Step 4 — Normal Situs Solitus: Asymmetric PITX2 expression drives rightward looping of the primitive heart tube (D-loop), establishing a left-sided cardiac apex (levocardia), left-sided stomach and spleen, right-dominant liver, and concordant atrioventricular and ventriculoarterial connections.
5. Ciliary Akinesia Halts Directional Flow: The 9+2 Axonemal Defect
Ultrastructural Pathology
Both the 9+0 motile monocilia of the embryonic node and the 9+2 respiratory cilia of the sinopulmonary tract rely on multiprotein outer dynein arms (ODA) and inner dynein arms (IDA) anchored to peripheral microtubule doublets to convert ATP hydrolysis into mechanical bending (Figure 5).
When biallelic autosomal recessive mutations disrupt key axonemal genes—most notably DNAH5 (encoding the outer dynein arm heavy chain, mutated in 15%–28% of PCD cases), DNAI1 (outer dynein arm intermediate chain), DNAH11, or CCDC39 / CCDC40 (inner dynein arm and nexin-dynein regulatory complex assembly)—the dynein motor fails:
- At the Embryonic Node: Monocilia are paralyzed (ciliary akinesia) or exhibit stiff, non-vectored twitching.
- Hydrodynamic Consequence: The leftward fluid current vanishes, eliminating mechanical shear stress and abolishing the deterministic trigger for left-sided NODAL activation.
6. The Randomization of Organ Lateralization: The 50/50 Coin Toss
Stochastic Symmetry
Without a directional leftward current at Hensen’s node, the NODAL–PITX2 cascade is no longer guided to the left side. Instead, Brownian thermal motion and stochastic fluctuations randomly trigger symmetry breaking on either the left or the right side—turning human body plan specification into a 50/50 biological coin toss (Figure 6).
In landmark multicenter PCD cohorts (Kennedy et al., Circulation 2007; Shapiro et al., CHEST 2014), organ laterality distributes across three distinct phenotypes:
- 46.0% Situs Solitus: By pure chance, the cascade fires on the left side, producing normal organ arrangement despite severe underlying ciliary dyskinesia.
- 47.7% Situs Inversus Totalis (Kartagener Triad): The cascade fires cleanly on the right side, producing a complete, coordinated mirror-image reversal of the heart and abdominal viscera.
- 6.3% Situs Ambiguus / Heterotaxy: The signaling cascade fires bilaterally or fails to establish a coherent midline barrier, resulting in right or left isomerism with complex congenital heart disease.
While ~50% of patients with Primary Ciliary Dyskinesia have situs inversus, viewing the statistic from the fetal echocardiography suite is equally critical: 20% to 25% of all fetuses diagnosed with true Situs Inversus Totalis have underlying Primary Ciliary Dyskinesia (Kartagener Syndrome).
7. Cardiac Manifestations of Ciliary Dysfunction: Pure SIT vs. Heterotaxy
Anatomical Comparison
As illustrated in Figure 7, the structural cardiac prognosis of a ciliary laterality defect depends entirely on whether embryonic symmetry breaking was coordinated (complete inversion) or fragmented (heterotaxy):
| Clinical & Anatomical Parameter | Pure Situs Inversus Totalis (SIT) | Heterotaxy / Situs Ambiguus (RAI & LAI) |
|---|---|---|
| Embryonic Mechanism | Clean, coordinated right-sided activation of NODAL–PITX2 cascade | Bilateral symmetrical activation (isomerism) or discordant regional signaling |
| Visceral Arrangement | Complete mirror-image reversal (stomach right, liver left, spleen right) | Discordant / ambiguous (midline symmetric liver, asplenia or polysplenia) |
| Venous Signposts (Abdomen) | Mirror-image concordant: Aorta right of spine; IVC left and anterior (Huhta et al., 1982) | RAI: Aorta–IVC juxtaposition on same side of spine LAI: Interrupted IVC with dilated retro-aortic azygos (“Double Vessel” sign; Berg et al., 2005) |
| Intracardiac Structure | ~95%–97% structurally normal (mirror-image atrioventricular and ventriculoarterial concordance) | >80%–95% complex congenital heart disease |
| Characteristic Cardiac Lesions | Occasional low-complexity VSD, ASD, or right-sided aortic arch (~3%–5% CHD risk) | Complete AVSD, DORV, TGA, total anomalous pulmonary venous connection (TAPVC), single-ventricle physiology, complete heart block (LAI) |
8. The Antenatal Warning Sign for Neonatal Respiratory Failure
Clinical Risk Transition
Because the heart in pure situs inversus totalis is structurally normal in 95% to 97% of cases, prenatal counseling frequently stops once intracardiac defects are ruled out. Figure 8 highlights why this is a critical clinical blind spot: the inverted fetal heart is the earliest warning sign for neonatal respiratory failure. Without proactive antenatal recognition by the fetal cardiologist or maternal-fetal medicine specialist, the delivery room team will be blindsided when a vigorous, full-term neonate with a structurally normal heart deteriorates within hours of birth.
9. Anticipating the Neonatal Respiratory Crash: The In Utero vs. Postnatal Paradox
Perinatal Pathophysiology
Why does a fetus with complete ciliary akinesia thrive throughout gestation only to decompensate shortly after birth (Figure 9)?
- In Utero (The Silent Phase): Throughout fetal life, the placenta performs 100% of respiratory gas exchange. Although fetal lungs secrete fluid into the tracheobronchial tree and amniotic sac, active mucociliary clearance is physiologically unnecessary. The fetus grows normally, shows normal biophysical profiles, and exhibits normal Doppler hemodynamics.
- Postnatal Transition (The 12–48 Hour Crash): At umbilical cord clamping, the lungs must immediately clear fetal lung fluid, cellular debris, and inhaled particulate matter via coordinated mucociliary transport. In neonates with PCD, paralyzed respiratory cilia fail to clear secretions, leading to mucus plugging, airway obstruction, and lobar or segmental atelectasis (classically affecting the middle or lingual lobes).
- The Misdiagnosis Trap: Within 12 to 48 hours of birth, over 80% of neonates with PCD develop unexplained tachypnea, intercostal retractions, grunting, and supplemental oxygen dependence (Mullowney et al., Pediatrics 2014). Unaware of the ciliary link to situs inversus, clinicians routinely misdiagnose these infants with benign transient tachypnea of the newborn (TTN) or subject them to lumbar punctures and prolonged broad-spectrum intravenous antibiotics for “presumed neonatal sepsis.”
10. Fetal Work-Up Step 1: Sonographic Verification, Dextrocardia vs. Dextroposition & Detailed Echo
Ultrasound Protocol
When a right-sided heart or inverted stomach is suspected on fetal ultrasound, Step 1 of the Fetal Work-Up mandates rigorous two-stage verification before any parental counseling takes place:
A. Verify Orientation Twice: Rule Out Technical Artifact
- Check the Console “L/R Invert Key”: The lateral axis on an ultrasound monitor is an electronic display convention that can be flipped instantly if the left/right image inversion button is accidentally toggled or if transducer orientation is reversed.
- Perform a Probe-Tap Check & Geometric Lie Assessment: Physically tap one end of the transducer to verify screen correspondence, confirm fetal presentation (cephalic vs. breech) and spinal clock-face position, and derive true fetal left and right independently of visceral organs (“Abdomen before heart; veins before labels; never let the stomach define left”).
B. Differentiate Primary Dextrocardia from Secondary Mechanical Dextroposition
Before diagnosing dextrocardia, the sonologist must distinguish intrinsic embryonic looping anomalies from extrinsic mechanical displacement (Figure 11):
- Primary Dextrocardia (54% of right-sided fetal hearts): Intrinsic disorder of embryonic cardiac looping in which the heart lies in the right hemithorax with the base-to-apex axis pointing rightward (Walmsley et al., Ultrasound Obstet Gynecol 2004; 46 of 85 right-sided hearts across 5,539 fetal echocardiograms).
- Secondary Dextroposition (46% of right-sided fetal hearts): The heart is mechanically pushed or pulled into the right hemithorax by an extracardiac lesion—such as left congenital diaphragmatic hernia (CDH), congenital pulmonary airway malformation (CPAM), congenital lobar overinflation, or right lung agenesis/hypoplasia—while the cardiac base-to-apex axis typically retains its normal leftward orientation (39 of 85 cases in Walmsley et al., 2004).
Secondary dextroposition does not exclude structural heart disease—31% of fetuses with CDH in the Walmsley series had co-existing congenital heart disease. Detailed segmental fetal echocardiography remains mandatory.
C. Detailed Segmental Echocardiography
Once true mirror-image dextrocardia in situs inversus is confirmed:
- Confirm Normal Mirror-Image Intracardiac Anatomy: Verify concordant atrioventricular and ventriculoarterial connections (left-sided morphologic right atrium receiving the IVC/SVC → left-sided morphologic right ventricle → pulmonary artery; right-sided morphologic left atrium → right-sided morphologic left ventricle → aorta).
- Check Aortic Arch Sidedness: In concordant situs inversus totalis, the aortic arch is classically a right-sided aortic arch coursing to the right of the trachea in the three-vessel and trachea (3VT) view.
- Verify Venous Concordance: Confirm intact left-sided infrahepatic IVC entry into the left-sided morphologic right atrium, exclude an interrupted IVC with azygos continuation, and verify normal pulmonary venous drainage into the right-sided morphologic left atrium.
11. Fetal Work-Up Step 2: Targeted Genetic Strategy
Genomic Strategy
When amniocentesis is offered for prenatal genetic evaluation of isolated situs inversus totalis, test selection determines whether the underlying etiology is found or missed (Figure 12):
- Why Standard Cytogenetics Fail: Traditional G-banded karyotyping and chromosomal microarray (CMA) detect large-scale aneuploidies and copy-number variants (CNVs). Because primary ciliary dyskinesia and monogenic laterality disorders result from single-nucleotide pathogenic variants or small indels, karyotype and CMA have a near-zero diagnostic yield in isolated SIT.
- High-Yield Next-Generation Sequencing: Diagnostic evaluation must advance directly to Trio Whole Exome Sequencing (WES) or a targeted Primary Ciliary Dyskinesia / Laterality Gene Panel covering >50 ciliary genes (led by DNAH5, DNAI1, CCDC39, CCDC40, and DNAH11).
- Clinical & Reproductive Impact: Targeted exome or ciliary panel testing identifies a definitive molecular diagnosis in 25% to 30% of isolated fetal SIT cases, directly alerting the neonatology team before delivery and establishing a 25% autosomal recessive recurrence risk for future pregnancies.
12. Step 3: Delivery Room Protocol — Prepare, Stabilize, Then Confirm
Perinatal Management
A structured Four-Move Perinatal Sequence prevents respiratory decompensation and diagnostic anchoring in newborns with prenatally diagnosed situs inversus:
- Move 1 — Plan Delivery: Schedule delivery at a tertiary perinatal center and pre-notify the Neonatal Intensive Care Unit (NICU) and pediatric pulmonology teams before birth that the fetus is at high risk (20%–25%) for Primary Ciliary Dyskinesia.
- Move 2 — Stabilize the Airway: Institute proactive mechanical airway clearance immediately after birth using gentle airway suctioning, early continuous positive airway pressure (CPAP), chest physiotherapy, and heated humidified oxygen to prevent mucus plugging and lobar collapse.
- Move 3 — Avoid the Wrong Default: Avoid reflexive, prolonged broad-spectrum antibiotic escalation and invasive sepsis workups for “presumed neonatal sepsis” or dismissing persistent oxygen need as routine TTN. Recognize that respiratory distress in a term neonate with situs inversus is primarily mechanical mucociliary clearance failure.
- Move 4 — Confirm Postnatally: Initiate definitive postnatal PCD diagnostics including nasal nitric oxide (nNO) measurement (characteristically < 77 nL/min in PCD), nasal epithelial brush biopsy for high-speed video microscopy (HSVM) and transmission electron microscopy (TEM), and confirmatory ciliary gene sequencing.
13. Discordant Syndromes: Isolated Dextrocardia & Levocardia + Survival Benchmarks
Risk & Survival Benchmarks
Evaluating situs inversus underscores a vital diagnostic distinction:
“Mirror-image concordance protects the heart; viscerocardiac discordance destroys that protection.”
When the cardiac apex does not match abdominal visceral sidedness, the fetus no longer has simple situs inversus totalis—it falls into the high-risk spectrum of discordant laterality and heterotaxy (Bernasconi et al., Heart 2005).
A. Isolated Dextrocardia vs. Isolated Levocardia
- Isolated Dextrocardia (Situs Solitus + Dextrocardia): Normal abdominal situs (stomach left, IVC right) paired with a rightward cardiac apex. After excluding secondary mechanical dextroposition, isolated dextrocardia carries a ~66% incidence of complex CHD in the Bernasconi et al. (2005) fetal series—classically congenitally corrected transposition of the great arteries (ccTGA), tricuspid atresia, or pulmonary atresia with VSD.
- Isolated Levocardia (Situs Inversus + Levocardia): Inverted abdominal viscera (right-sided stomach) paired with a normal leftward cardiac apex. Rather than being reassuring, a left-sided heart in the setting of abdominal situs inversus is a near-pathognomonic heterotaxy spectrum defect, carrying a >90% to >95% incidence of severe complex CHD (AVSD, DORV, TGA, anomalous pulmonary venous return). Clinical Rule: Treat and counsel isolated levocardia as heterotaxy until proven otherwise.
B. Fetal Survival Benchmarks by Situs Category (Bernasconi et al., Heart 2005 — 81 Fetuses)
| Situs & Cardiac Position Category | Abdominal Situs | Cardiac Apex | Structural CHD Rate | Overall Survival (Bernasconi Series, n = 81) | Primary Clinical Drivers of Outcome |
|---|---|---|---|---|---|
| Situs Inversus with Dextrocardia (Concordant SIT) | Situs Inversus (Stomach Right) | Dextrocardia (Right Apex) | Low (3%–5% in pure SIT; higher in referral cohorts) | 15 / 19 (79%) | Favorable cardiac anatomy; morbidity driven by Primary Ciliary Dyskinesia (20%–25%) and neonatal respiratory distress |
| Situs Solitus with Dextrocardia (Isolated Dextrocardia) | Situs Solitus (Stomach Left) | Dextrocardia (Right Apex) | High (~66%) | 24 / 38 (63%) | Complex conotruncal and atrioventricular discordance (ccTGA, pulmonary atresia, single ventricle) |
| Situs Ambiguus / Heterotaxy (RAI & LAI) | Ambiguous / Isomeric | Levocardia, Dextrocardia, or Mesocardia | Extreme (80%–>95%) | 4 / 24 (17%) | Unbalanced AVSD, obstructed TAPVC (RAI), complete heart block (LAI), single-ventricle palliation, biliary atresia |
“Counsel on the lesion, the pulmonary venous drainage, and the rhythm—never on the label alone.”
๐๏ธ Interactive Clinical Tool: Fetal Situs & Perinatal PCD Risk Stratifier
Concordant Mirror-Image Situs Inversus Totalis
Key Clinical References
Bibliography
- ISUOG Practice Guidelines (2023): Carvalho JS, Axt-Fliedner R, Chaoui R, et al. ISUOG Practice Guidelines (updated): fetal cardiac screening. Ultrasound Obstet Gynecol 2023; 61(6): 788โ803.
- Abdominal Venous Geometry: Huhta JC, Smallhorn JF, Macartney FJ. Two-dimensional echocardiographic diagnosis of situs. Br Heart J 1982; 48(2): 97โ108.
- Dextrocardia vs. Dextroposition (85 Cases): Walmsley R, Hishitani T, Sandor GGS, et al. Diagnosis and outcome of dextrocardia diagnosed in the fetus. Ultrasound Obstet Gynecol 2004; 24(1): 10โ14.
- Fetal Dextrocardia & Survival Benchmarks (81 Cases): Bernasconi A, Azancot A, Simpson JM, Jones A, Sharland GK. Fetal dextrocardia: diagnosis and outcome in two tertiary centres. Heart 2005; 91(12): 1590โ1594.
- Ciliary Randomization & Heterotaxy in PCD: Kennedy MP, Omran H, Leigh MW, et al. Congenital heart disease and other heterotaxic defects in a large cohort of patients with primary ciliary dyskinesia. Circulation 2007; 115(22): 2814โ2821.
- Multicenter Laterality Phenotypes: Shapiro AJ, Davis SD, Ferkol T, et al. Laterality defects other than situs inversus totalis in primary ciliary dyskinesia. CHEST 2014; 146(5): 1176โ1186.
- Neonatal Respiratory Presentation of PCD: Mullowney T, Manson D, Kim R, et al. Primary ciliary dyskinesia and neonatal respiratory distress. Pediatrics 2014; 134(6): 1160โ1166.
- High-Speed Video Microscopy of Ciliary Motility: Cilia Scientist. Cilia (500 fps Photron FASTCAM SA3) (YouTube) & Circling cilia from a central microtubule defect in Primary Ciliary Dyskinesia (YouTube).
function openLightbox(src) { const lb = document.getElementById('lightbox'); const img = document.getElementById('lightbox-img'); img.src = src; lb.style.display = 'flex'; } function closeLightbox() { document.getElementById('lightbox').style.display = 'none'; }
function calculateSitusRisk() { const situs = document.getElementById('calc-situs').value; const apex = document.getElementById('calc-apex').value; const extracardiac = document.getElementById('calc-extracardiac').value; const connections = document.getElementById('calc-connections').value;
const resultTitle = document.getElementById('result-title'); const badge = document.getElementById('result-badge'); const chdRisk = document.getElementById('result-chd-risk'); const pcdRisk = document.getElementById('result-pcd-risk'); const survival = document.getElementById('result-survival'); const geneticPlan = document.getElementById('result-genetic-plan'); const deliveryPlan = document.getElementById('result-delivery-plan');
if (extracardiac === 'yes') { badge.style.backgroundColor = '#fef3c7'; badge.style.color = '#92400e'; badge.textContent = 'SECONDARY MECHANICAL DEXTROPOSITION (THE EXTRACARDIAC ILLUSION)'; resultTitle.textContent = 'Secondary Dextroposition (Push / Pull Mechanism)'; chdRisk.innerHTML = 'Structural CHD Risk: Up to 31% co-existing CHD (Walmsley 2004 CDH series); extrinsic shift by mass effect or lung hypoplasia.'; pcdRisk.innerHTML = 'PCD / Ciliary Akinesia Risk: Baseline / Low unless independent situs defect present.'; survival.innerHTML = 'Survival Benchmark: Dictated by pulmonary hypoplasia / diaphragmatic defect severity rather than laterality failure.'; geneticPlan.innerHTML = 'Genetic Testing: Chromosomal Microarray (CMA) / Targeted Exome for CDH or multisystem syndromic anomalies.'; deliveryPlan.innerHTML = 'Perinatal Plan: Immediate neonatal endotracheal intubation (avoid bag-valve-mask in CDH); delivery in pediatric surgical ECMO center.'; return; }
if (situs === 'inversus' && apex === 'right' && connections === 'concordant') { badge.style.backgroundColor = '#dbeafe'; badge.style.color = '#1e40af'; badge.textContent = 'CONCORDANT SITUS INVERSUS TOTALIS (SIT)'; resultTitle.textContent = 'Concordant Mirror-Image Situs Inversus Totalis'; chdRisk.innerHTML = 'Structural CHD Risk: Low (3% to 5%); classic right-sided aortic arch in 3VT.'; pcdRisk.innerHTML = 'PCD / Ciliary Akinesia Risk: 20% to 25% of fetuses have underlying Primary Ciliary Dyskinesia (Kartagener syndrome).'; survival.innerHTML = 'Survival Benchmark: 79% overall survival (Bernasconi 2005 series); cardiac anatomy favourable; mortality/morbidity driven by neonatal respiratory distress.'; geneticPlan.innerHTML = 'Genetic Testing: Avoid karyotype/CMA (near-zero yield). Order Trio WES or Targeted PCD / Ciliary Gene Panel (>50 genes: DNAH5, DNAI1, CCDC39, DNAH11). 25% AR recurrence risk.'; deliveryPlan.innerHTML = 'Delivery Room Protocol: Plan tertiary delivery; pre-notify NICU & pulmonology. Prepare for early CPAP, heated humidified O2, gentle suction. Avoid reflex broad-spectrum sepsis antibiotic lock; confirm postnatally with nasal NO (< 77 nL/min) and ciliary biopsy.'; } else if (situs === 'solitus' && apex === 'right') { badge.style.backgroundColor = '#fee2e2'; badge.style.color = '#991b1b'; badge.textContent = 'HIGH RISK: ISOLATED DEXTROCARDIA (DISCORDANT)'; resultTitle.textContent = 'Isolated Dextrocardia (Situs Solitus + Dextrocardia)'; chdRisk.innerHTML = 'Structural CHD Risk: Extreme (~66%); classic conotruncal/AV discordance: ccTGA, tricuspid atresia, pulmonary atresia with VSD.'; pcdRisk.innerHTML = 'PCD / Ciliary Akinesia Risk: Rare; primarily cardiac D-loop / looping defect.'; survival.innerHTML = 'Survival Benchmark: 63% survival (Bernasconi et al., n=38); determined by complex surgical repair and AV conduction block.'; geneticPlan.innerHTML = 'Genetic Testing: Chromosomal Microarray (CMA) + Cardiac Gene Panel / Exome (ZIC3, NODAL, CFC1).'; deliveryPlan.innerHTML = 'Perinatal Plan: Tertiary pediatric cardiac surgery center delivery; PGE1 infusion on standby; immediate neonatal echocardiogram.'; } else if (situs === 'inversus' && apex === 'left') { badge.style.backgroundColor = '#fee2e2'; badge.style.color = '#991b1b'; badge.textContent = 'CRITICAL RISK: ISOLATED LEVOCARDIA (HETEROTAXY SPECTRUM)'; resultTitle.textContent = 'Isolated Levocardia (Situs Inversus + Levocardia)'; chdRisk.innerHTML = 'Structural CHD Risk: Extreme (>90% to >95%); classic heterotaxy spectrum: unbalanced AVSD, DORV, TAPVC, univentricular heart.'; pcdRisk.innerHTML = 'PCD / Ciliary Akinesia Risk: Moderate as part of general ciliopathy spectrum; complex cardiac disease dominates.'; survival.innerHTML = 'Survival Benchmark: Poor (17% to 30% in complex heterotaxy cohorts; Bernasconi series 4/24 survived in heterotaxy).'; geneticPlan.innerHTML = 'Genetic Testing: Trio Whole Exome Sequencing (WES) + Heterotaxy Panel.'; deliveryPlan.innerHTML = 'Perinatal Plan: Multi-disciplinary delivery at specialized congenital heart center; fetal rhythm monitoring for AV block; surgical pathway counseling.'; } else if (situs === 'ambiguus' || connections === 'interrupted_ivc' || connections === 'discordant') { badge.style.backgroundColor = '#fef2f2'; badge.style.color = '#b91c1c'; badge.textContent = 'EXTREME RISK: HETEROTAXY / SITUS AMBIGUUS'; resultTitle.textContent = 'Heterotaxy Syndrome (Right / Left Atrial Isomerism)'; chdRisk.innerHTML = 'Structural CHD Risk: >85% to 95% complex congenital heart disease (AVSD, single ventricle, TAPVC, complete heart block in LAI).'; pcdRisk.innerHTML = 'Ciliary Defect Link: ~6.3% of PCD cohorts manifest as heterotaxy/situs ambiguus due to complete failure of midline diffusion barrier.'; survival.innerHTML = 'Survival Benchmark: 17% survival in Bernasconi series (4/24 fetuses); high mortality from obstructed pulmonary veins or bradyarrhythmia.'; geneticPlan.innerHTML = 'Genetic Testing: Trio WES / Heterotaxy panel (ZIC3, FOXH1, LEFTY2, NODAL).'; deliveryPlan.innerHTML = 'Perinatal Plan: Pediatric cardiology surgical tertiary center; emergency prostaglandin availability; high-risk delivery protocol.'; } else { badge.style.backgroundColor = '#dcfce7'; badge.style.color = '#166534'; badge.textContent = 'CONCORDANT SITUS SOLITUS'; resultTitle.textContent = 'Normal Concordant Situs Solitus (Levocardia)'; chdRisk.innerHTML = 'Structural CHD Risk: Baseline population risk (~0.8%โ1.0%).'; pcdRisk.innerHTML = 'PCD Risk: Low (~46% of PCD cases can have situs solitus by random coin toss, but isolated finding has baseline risk without family history).'; survival.innerHTML = 'Survival Benchmark: Normal life expectancy.'; geneticPlan.innerHTML = 'Genetic Testing: Standard prenatal screening indications.'; deliveryPlan.innerHTML = 'Perinatal Plan: Standard obstetric and neonatal care.'; } } window.addEventListener('DOMContentLoaded', calculateSitusRisk);



