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
echo-labProbe-driven synthetic anatomy, acquisition rendering, learner measurements and source-versioned echo teaching contentlib/echo-lab/engine.ts · lib/echo-lab/render.ts · lib/echo-lab/render-worker.ts · lib/echo-lab/render-client.ts · lib/echo-lab/mmode.ts · lib/echo-lab/history.ts · lib/echo-lab/anatomy-gpu.ts · lib/echo-lab/anatomy-surface.ts · lib/echo-lab/mitral-surface.ts · lib/echo-lab/anatomy-client.ts · lib/echo-lab/anatomy-worker.ts · lib/echo-lab/anatomy-transfer.ts · lib/echo-lab/interaction.ts · lib/echo-lab/frame-policy.ts · lib/echo-lab/quality.ts · lib/echo-lab/measurements.ts · lib/echo-lab/content.ts · lib/echo-lab/quantification-content.ts · lib/echo-lab/session.ts
ep-mappingBrowser-local ILAM research, distinct critical-isthmus and exit/breakthrough assessments, blinded prediction snapshots, target-matched VT registration, preliminary ECG rules and opt-in ECG image reviewlib/ep/types.ts · lib/ep/engine.ts · lib/ep/registration.ts · lib/ep/worker.ts · lib/ep/import.ts · lib/ep/electrogram.ts · lib/ep/view.ts · lib/ep/workflow.ts · lib/ep/demo.ts · lib/ep/ecg.ts · lib/ep/ecg-image.ts · lib/ep/ecg-image-server.ts · lib/ep/vt-hypothesis.ts
ai-chatServer-only AI access, bounded educational requests, evidence context and request quotaslib/ai-access.ts · lib/ai-chat.ts · lib/ai-chat-server.ts · lib/ai-scenario.ts · lib/ai-medication.ts · lib/ai-medication-evidence.ts
pipelineShared intervention ordering and final circulationlib/intervention-simulation.ts
baselinesReference pressures, rate, disease selection and phenotype data, including nonobstructive severe LVH with preserved reference EFlib/physiology-data.ts · lib/condition-selection.ts
mixedDisease composition, explicit pericarditis phase baselines and independent paired valve burdenslib/mixed-state.ts · lib/valve-interactions.ts
atrial-myxomaSelected mobile atrial mass and deterministic beat-dependent inflow obstructionlib/atrial-myxoma.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, contraction kinetics and shared live signal registrylib/hemodynamics.ts · lib/waveform-kinetics.ts · lib/live-waveforms.ts
peripheralPeripheral transmission and catheter/transducer artifactslib/peripheral-arterial.ts · lib/pressure-recording.ts · lib/catheter-artifacts.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/pulmonary-therapy.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/reperfusion.ts · lib/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, splitting and local synthesized PCG audiolib/heart-sounds.ts · lib/cardiophonogram.ts · lib/cardiophonogram-audio.ts · lib/pcg-acoustics.ts
pullbackLV/LVOT/aortic and PA/RV pullback positions, plus 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
learningAuthored cases/figures, scripted tour, circuit and generated quizlib/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/teacher-workflows.ts · lib/teacher-workflow-state.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
classroomRead-only live teaching, capability authorization, shared state and timinglib/classroom.ts · lib/classroom-server.ts · lib/classroom-db.ts
pulmonary-hypertensionPublic pulmonary vascular learning, drug mechanisms, shared-engine demonstrations, trial evidence, qualitative benefit–risk appraisals, PAH risk scores and conditional therapy ruleslib/ph-ctd.ts · lib/ph-ctd-literature.ts · lib/ph-risk.ts · lib/ph-workup.ts · lib/ph-classification.ts · lib/ph-management.ts · lib/ph-content.ts · lib/ph-mechanisms.ts · lib/ph-trials.ts · lib/ph-trials-pah.ts · lib/ph-trials-other.ts · lib/ph-trials-expanded.ts · lib/ph-trial-index.ts · lib/ph-trial-taxonomy.ts · lib/ph-trial-routes.ts · lib/ph-trial-routes-pah.ts · lib/ph-trial-routes-other.ts · lib/ph-trial-routes-hfpef.ts · lib/ph-trial-landscape.ts · lib/ph-evidence-review.ts · lib/ph-trials-watch.ts · lib/ph-trials-watch-pah.ts · lib/ph-trials-watch-20261102-pah.ts · lib/ph-trials-watch-20261109.ts · lib/ph-trials-watch-20261109-pah.ts · lib/ph-trials-watch-20261109-left-lung.ts · lib/ph-trials-watch-20261109-other.ts · lib/ph-trials-watch-20261102-left-lung.ts · lib/ph-trials-watch-20261102-other.ts · lib/ph-trials-watch-lung-left.ts · lib/ph-trials-watch-cteph-other.ts · lib/ph-trials-comprehensive-additions.ts · lib/ph-trial-families.ts · lib/ph-trial-families-types.ts · lib/ph-trial-followups.ts · lib/ph-trial-followups-extensions.ts · lib/ph-trial-followups-substudies.ts · lib/ph-trial-followups-other.ts · lib/ph-literature-types.ts · lib/ph-literature-stream.ts · lib/ph-literature-inventory.ts · lib/ph-literature-coverage.json · lib/ph-literature-screening.json · lib/ph-literature-raw.d.ts · lib/ph-traces.ts · lib/ph-hemodynamic-lab.ts · lib/ph-trial-additional-followups.ts · lib/ph-real-world-evidence.ts · lib/ph-real-world-lung.ts · lib/ph-trials-hfpef-mra.ts · lib/ph-trials-hfpef-finerenone.ts · lib/ph-trials-hfpef-spironolactone.ts · lib/ph-benefit-risk.ts · lib/ph-trials-hfpef-eplerenone.ts · lib/ph-trials-hfpef-other-mra.ts
source-mapReference navigation, indexed content, anonymous site visits, public teaching modules and the learning-access boundary for cases and EP Mappinglib/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/ph-access.ts · lib/ph-access-server.ts · lib/site-visits.ts
structuralSynthetic repairs and mechanics, local DICOM geometry, persistence and worker interfaceslib/structural/types.ts · lib/structural/model.ts · lib/structural/clip-devices.ts · lib/structural/editor-history.ts · lib/structural/editing.ts · lib/structural/solver.ts · lib/structural/playback.ts · lib/structural/ecg.ts · lib/structural/context-menu.ts · lib/structural/echo.ts · lib/structural/anatomical-context.ts · lib/structural/ventricular-context.ts · lib/structural/valve-mechanisms.ts · lib/structural/print-export.ts · lib/structural/repair-assessment.ts · lib/structural/suspected-severity.ts · lib/structural/persistence.ts · lib/structural/worker.ts · lib/structural/dicom.ts · lib/structural/dicom-codecs.ts · lib/structural/dicom-philips.ts · lib/structural/dicom-display.ts · lib/structural/dicom-worker.ts · lib/structural/image-model.ts · lib/structural/image-reslice.ts · lib/structural/image-valve-estimate.ts · lib/structural/image-procedural.ts · lib/structural/mitral-chamber-context.ts · lib/structural/image-worker.ts · lib/structural/nrrd.ts · lib/structural/nrrd-fixture.ts · lib/structural/image-volume.ts · lib/structural/image-anatomy.ts · lib/structural/image-repair.ts · lib/structural/image-project.ts · lib/structural/image-mechanical-mapping.ts · lib/structural/image-quantification.ts · lib/structural/tee-reslice.ts · lib/structural/tee-worker.ts · lib/structural/tee-editor-state.ts · lib/structural/slicerheart-companion.ts · lib/structural/ge-volume-client.ts · lib/structural/ge-conversion-metadata.ts · lib/structural/worker-import.d.ts
validationClinical bibliographic provenancelib/complete-sources.json

Presentation and routes

The Lab at /lab and Tutorial share components/lab-simulator.tsx. The root landing page introduces the platform; legacy root session and case links redirect to /lab. 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 ↑
Site activity
Visits—

Anonymous browser visits since the counter launched. One visit per 30 minutes; not unique people.