D-COMPASS

About D-COMPASS D-COMPASS is an educational, rule-based framework for abdominal wall reconstruction planning. Its central principle is that technique must not be assigned from defect width alone. The calculator relates defect position, directional overlap, complete mesh dimensions, and the anatomical space available for the implant. Separation is selected only when needed for closure, reduction/loss-of-domain management, or creation of adequate mesh space.

Educational abdominal wall reconstruction algorithm · 0.3 core algorithm

DefectClosureOverlapMesh Plane / PositionAccessSeparationStability

Input data

1. Patient and safety context
2. D — Defect geometry, position, and content
Overlap rule used by the calculator: primary defect ≤4 cm → 3 cm; any incisional/recurrent defect or primary defect >4 cm up to 12 cm → 5 cm; defect width >12 cm → 7 cm. A primary defect between 4 and 5 cm therefore belongs to the 5 cm category.
Transverse position relative to the midline and semilunar lines
Use a signed centre offset: right = positive, left = negative. Distances from defect edges to semilunar lines may be entered directly or calculated from linea alba and rectus widths. Negative values mean the defect crosses the semilunar line.
Sac, deformity, reduction, and loss of domain
3. C — Closure feasibility
4. P — Available space for the complete calculated mesh
Enter the available distance from the reconstruction-field edge to the boundary of each pocket. The calculator compares every direction with the required overlap. Missing values reduce confidence rather than being treated as sufficient.
Preperitoneal pocket — available overlap [cm]
Retrorectus pocket — available overlap [cm]
Left/right values are taken from the semilunar-line measurements above. Enter only the vertical limits here.
5. A — External reconstruction requirements
6. S — Expected implant stability
Clear
Editable thresholds are in $RULES. The main logic is in calculateDCompass(). Plane selection is performed in the required sequence: preperitoneal → retrorectus → unilateral TAR → bilateral TAR.