Skip to content
The Lab

How the model works

Implementation index & documentation coverage

Find the modules responsible for each relationship and display.

Overview

This index connects the public model reference to the library modules that implement it. File names are provided for maintainers inspecting a source backup; they are not links to a public code repository. Documentation describes current behavior, including intentionally simplified or unsupported physiology.

The Lab page assembles these modules into the shared simulation state. Specialized components render pressure, ECG, overlay, Wiggers/PV, measurements, imaging and ventilation. The academic, tutorial, mystery and quiz pages select their teaching context around that engine.

Library ownership

Each library module has an explicit documentation home. The build-time coverage test reports newly added or missing modules; it does not certify the clinical validity of their coefficients.

Model topicResponsibilityLibrary files
pipelineShared intervention ordering and final circulationlib/intervention-simulation.ts
baselinesReference pressures, rate, disease selection and phenotype datalib/physiology-data.ts · lib/condition-selection.ts
mixedDisease composition and independent paired valve burdenslib/mixed-state.ts · lib/valve-interactions.ts
controlsReference flow, filling and vascular-load experimentslib/filling-pressure.ts · lib/output-control.ts · lib/vascular-resistance.ts · lib/preload-state.ts
valvesGrading, regurgitant fractions and dynamic prolapselib/valve-severity.ts · lib/mvp-dynamics.ts
rhythmDeterministic rhythm, atrial/ventricular and pacing scheduleslib/nonsustained-vt.ts · lib/rhythm-extensions.ts · lib/sinus-node.ts · lib/pacing-timing.ts · lib/temporary-pacing.ts
ecgLead voltage, compatible variants and curated findingslib/sinus-atrial.ts · lib/ecg-final-read.ts · lib/ecg-findings.ts · lib/ecg-highlight.ts · lib/ecg-patterns.ts · lib/ecg-sampling.ts · lib/ecg-segment.ts · lib/ecg-variants.ts · lib/vt-patterns.ts
pressure-generationCore pressure/ECG functions and shared live signal registrylib/hemodynamics.ts · lib/live-waveforms.ts
peripheralPeripheral transmission and transducer responselib/peripheral-arterial.ts · lib/pressure-recording.ts
measurementsSignal means, completed-beat readouts, units and pressure discrepancieslib/pressure-summary.ts · lib/beat-pressure.ts · lib/pressure-relationships.ts · lib/display-format.ts
respirationRespiratory timing, pressure transmission and endpoint comparisonslib/pericardial-respiration.ts · lib/cycle-respiration.ts
ventilationSingle-compartment mechanics, breath sequences and ventilator gaseslib/ventilator.ts
peepPositive-pressure loading and external-pressure accountinglib/peep.ts · lib/airway-pressure.ts
gasOxygenation, gas-related pulmonary load and circuit gas limitationslib/oxygenation.ts · lib/respiratory-loading.ts · lib/mechanical-oxygenation.ts
medicationsMedication groups, effect equations and clinical reference contentlib/interventions.ts · lib/intervention-reference.ts · lib/intervention-groups.ts · lib/rate-drugs.ts
sedationInfusion effects, synergy, drive and critical comparisonlib/sedation.ts
electrical-treatmentRhythm-dependent conversion and retained myocardial drug effectslib/rhythm-treatment.ts
maneuversPostural endpoints and phase-specific Valsalva responselib/loading-maneuvers.ts · lib/valsalva-response.ts · lib/valsalva-study.ts
mechanical-supportDevice flow, support reservoirs and ventricular pressurelib/mechanical-support.ts · lib/support-arterial.ts
shuntsSigned shunt branches, flow conservation and saturation mixinglib/shunts.ts
proceduresSelected decompression and successful valve endpointslib/chest-tube.ts · lib/pericardiocentesis.ts · lib/experimental-valves.ts · lib/valve-procedures.ts
pvLV/RV volume balance, pressure sampling and display smoothinglib/pressure-volume.ts · lib/pv-display.ts · lib/pv-inspection.ts
wiggersCycle pressure, gradient phases and diagram alignmentlib/cycle-hemodynamics.ts · lib/wiggers-display.ts · lib/cardiac-cycle-window.ts
soundsSound markers, pressure-dependent delays and splittinglib/heart-sounds.ts
pullbackLV/LVOT/aortic position and isolated provocative studieslib/pullback.ts · lib/pullback-teaching.ts · lib/carabello.ts
valve-areaValve formula estimates and regurgitant volumelib/valve-calculations.ts
output-methodsEffective output, Fick, thermal curves and method statelib/cardiac-output.ts · lib/output-measurements.ts · lib/measurement-timing.ts
imagingPhenotype geometry, shared chamber volume, lung and venous schematicslib/imaging.ts · lib/echo.ts · lib/echo-devices.ts · lib/echo-renderer.ts · lib/echo-volume.ts · lib/chest-xray.ts · lib/venous-imaging.ts
alertsReference ranges, visual emphasis and deterioration comparisonslib/hemodynamic-alerts.ts · lib/intervention-instability.ts
learningPublic foundations, local lesson progress, authored cases/figures, scripted tour, circuit and generated quizlib/foundations.ts · lib/foundation-progress.ts · lib/academic-cases.json · lib/academic-halfday.ts · lib/academic-progress.ts · lib/case-pleth.ts · lib/case-waveform-profiles.ts · lib/case-waveforms.ts · lib/halfday-stages.ts · lib/mystery.ts · lib/teaching-cases.ts · lib/teaching-catalog.ts · lib/teaching-figures.ts · lib/teaching-pearls.ts · lib/waveform-quiz.ts · lib/perfusion-demo.ts · lib/tutorial.ts · lib/tutorial-controls.ts · lib/tutorial-motion.ts · lib/tutorial-trace.ts · lib/tutorial-viewport.ts
renderingView-only sampling, animation, scales, inspection and interface helperslib/animation.ts · lib/graphic-quality.ts · lib/trace-sampling.ts · lib/trace-scale.ts · lib/trace-axis.ts · lib/telemetry-scale.ts · lib/trace-annotations.ts · lib/trace-inspection.ts · lib/overlay-display.ts · lib/circuit-trace-explanation.ts · lib/circuit-trace-gesture.ts · lib/panel-hover.ts · lib/vitals-visibility.ts · lib/menu-labels.ts · lib/pathology-search.ts · lib/utils.ts
source-mapReference navigation, indexed content and learning-access boundarieslib/help-core.ts · lib/help-data.ts · lib/help-disclosure.ts · lib/help-events.ts · lib/help-model.ts · lib/help-model-map.ts · lib/help-navigation.ts · lib/help-search.ts · lib/help-types.ts · lib/learn-access.ts · lib/learn-access-server.ts · lib/site-metadata.ts · lib/structured-data.ts · lib/help-metadata.ts
validationClinical bibliographic provenancelib/complete-sources.json

Presentation and routes

The Lab is assembled in app/page.tsx. The key display components are pressure-table, aortic-tracings, twelve-lead, hemodynamic-overlay, wiggers-diagram, pressure-volume-view, echo-view, chest-xray, venous-ultrasound, ventilator-panel and cardiac-output. Inspection components consume the same signals instead of creating alternate physiology.

Routes under academic-halfday, tutorial, mystery and quiz provide teaching workflows. Help articles are rendered by app/help/[slug]/page.tsx. Shared header/footer/navigation and CSS govern layout; UI primitives do not calculate physiology.

References & further reading

Back to libraryBack to top ↑