Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes |
go_far_calculator [2023/12/07 16:06] – labadmin | go_far_calculator [2023/12/07 16:09] – labadmin |
---|
if (score == 0) { | if (score == 0) { |
document.getElementById('messageScore').innerHTML=""; | document.getElementById('messageScore').innerHTML=""; |
document.getElementById('messagePronostic').innerHTML="<a href='/media/prediction0_english.jpg' target='_blank'><img src='/media/prediction0_english.jpg' style='top: -221px!important;' class='graph'></a>"; | document.getElementById('messagePronostic').innerHTML="<a href='_media/prediction0_english.jpg' target='_blank'><img src='_media/prediction0_english.jpg' style='top: -221px!important;' class='graph'></a>"; |
} | } |
else if (score >= -15 && score<= -6) { | else if (score >= -15 && score<= -6) { |
document.getElementById('messageScore').innerHTML="<b>GO-FAR score: "+ score; | document.getElementById('messageScore').innerHTML="<b>GO-FAR score: "+ score; |
document.getElementById('messagePronostic').innerHTML="<b> Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1) above average: 27.8% <a href='{{:prediction0_english.jpg?400|}}' target='_blank'><img src='data/media/prediction4_english.jpg' class='graph' alt='Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1) above average: 27.8%'></a>"; | document.getElementById('messagePronostic').innerHTML="<b> Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1) above average: 27.8% <a href='data/media/prediction4_english.jpg' target='_blank'><img src='data/media/prediction4_english.jpg' class='graph' alt='Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1) above average: 27.8%'></a>"; |
} | } |
else if (score >= -5 && score <= 13) { | else if (score >= -5 && score <= 13) { |