Devon’s Adjuvant Enhertu Therapy Decision Tool body { font-family: Arial, sans-serif; margin: 20px; padding: 0; background: #f4f4f4; color: #333; } h1 { color: #0056b3; } .slider { width: 70%; margin: 10px; } label { font-weight: bold; } input[type=range] { width: 100%; } span { font-weight: bold; padding-left: 10px; } window.onload = function() { let sliders = document.querySelectorAll(‘.slider’); let recurrenceWithout = document.getElementById(‘recurrence_without’); let deathWithRecurrence = document.getElementById(‘death_with_recurrence’); let recurrenceWith = document.getElementById(‘recurrence_with’); let deathCausedByEnhertu = document.getElementById(‘death_caused_by_enhertu’); sliders.forEach(function(slider) { slider.oninput = function() { document.getElementById(slider.id + ‘_val’).textContent = slider.value; updateResults(); } }); function updateResults() { let probDeathWithoutTherapy = (recurrenceWithout.value / 100) * (deathWithRecurrence.value / 100) * 100; let probRecurrenceWithTherapy = 100* (recurrenceWith.value / 100) * (deathWithRecurrence.value / 100); let probDeathCausedByEnhertu = parseFloat(deathCausedByEnhertu.value); let probDeathWithTherapy = probRecurrenceWithTherapy + probDeathCausedByEnhertu; probDeathWithTherapy = Math.min(probDeathWithTherapy, 100); // Ensure the total probability does not exceed 100% document.getElementById(‘death_without_therapy’).textContent = probDeathWithoutTherapy.toFixed(2); document.getElementById(‘death_with_therapy’).textContent = probDeathWithTherapy.toFixed(2); } updateResults(); // Calculate initial values }

Devon’s Adjuvant Enhertu Therapy Decision Tool

Probability of recurrence without additional therapy (%): 70%
Probability of death within 10 years given recurrence (%): 90%
Probability of recurrence with Enhertu (%): 53%
Probability of death caused by Enhertu (%): 1%

Probability of death within 10 years without therapy: 45%

Probability of death within 10 years with therapy: 27%

<!– http://script.js –>