Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes |
go_far_calculator [2017/02/28 23:42] – ariane | go_far_calculator [2017/03/24 00:29] – ariane |
---|
Original paper: Ebell et al <html><a target='_blank' href='http://archinte.jamanetwork.com/article.aspx?articleid=1735894'>http://archinte.jamanetwork.com/article.aspx?articleid=1735894</a></html> | Original paper: Ebell et al <html><a target='_blank' href='http://archinte.jamanetwork.com/article.aspx?articleid=1735894'>http://archinte.jamanetwork.com/article.aspx?articleid=1735894</a></html> |
| |
**DISCLAIMER: All calculations must be confirmed before use. The author make no claims of the accuracy of the information contained herein; and these suggested doses are not a substitute for clinical judgment. Neither Jonathan Rubins nor any other party involved in the preparation or publication of this site shall be liable for any special, consequential, or exemplary damages resulting in whole or part from any user's use of or reliance upon this material.** | **Warning:This calculator should not be used alone, but in the context of shared decision-making between a doctor, a patient and his / her relatives.** |
| |
Check each condition present on admission to the hospital to calculate total score and probability of survival. | Check each condition present on admission to the hospital to calculate total score and probability of survival. |
else if (valeur == 'choix4') {score = score + 6; pronostic(score);} | else if (valeur == 'choix4') {score = score + 6; pronostic(score);} |
else if (valeur == 'choix5') {score = score + 11; pronostic(score);} | else if (valeur == 'choix5') {score = score + 11; pronostic(score);} |
| |
var listeChoix = document.getElementsByName('options[]'); | var listeChoix = document.getElementsByName('options[]'); |
| |
for (var i=0, liste = listeChoix.length; i < liste; i++) { | for (var i=0, liste = listeChoix.length; i < liste; i++) { |
if (listeChoix[i].checked) { | if (listeChoix[i].checked) { |
if (listeChoix[i].value=='1') | if (listeChoix[i].value=='1') {score = score -15; pronostic(score);} |
{score = score -15; | else if (listeChoix[i].value=='2') {score = score + 10; pronostic(score);} |
pronostic(score);} | else if (listeChoix[i].value=='3') {score = score + 8; pronostic(score);} |
else if (listeChoix[i].value=='2') | else if (listeChoix[i].value=='4') {score = score + 7; pronostic(score);} |
{score = score + 10; | else if (listeChoix[i].value=='5') {score = score + 7; pronostic(score);} |
pronostic(score);} | else if (listeChoix[i].value=='6') {score = score + 7; pronostic(score);} |
else if (listeChoix[i].value=='3') | else if (listeChoix[i].value=='7') {score = score + 6; pronostic(score);} |
{score = score + 8; | else if (listeChoix[i].value=='8') {score = score + 6; pronostic(score);} |
pronostic(score);} | else if (listeChoix[i].value=='9') {score = score + 5; pronostic(score);} |
else if (listeChoix[i].value=='4') | else if (listeChoix[i].value=='10') {score = score + 4; pronostic(score);} |
{score = score + 7; | else if (listeChoix[i].value=='11') {score = score + 4; pronostic(score);} |
pronostic(score);} | else if (listeChoix[i].value=='12') {score = score + 1; pronostic(score);} |
else if (listeChoix[i].value=='5') | |
{score = score + 7; | |
pronostic(score);} | |
else if (listeChoix[i].value=='6') | |
{score = score + 7; | |
pronostic(score);} | |
else if (listeChoix[i].value=='7') | |
{score = score + 6; | |
pronostic(score);} | |
else if (listeChoix[i].value=='8') | |
{score = score + 6; | |
pronostic(score);} | |
else if (listeChoix[i].value=='9') | |
{score = score + 5; | |
pronostic(score);} | |
else if (listeChoix[i].value=='10') | |
{score = score + 4; | |
pronostic(score);} | |
else if (listeChoix[i].value=='11') | |
{score = score + 4; | |
pronostic(score);} | |
else if (listeChoix[i].value=='12') | |
{score = score + 1; | |
pronostic(score);} | |
} | } |
} | } |
pronostic(score); | pronostic(score); |
| |
} | } |
| |
function pronostic(score) | function pronostic(score) |
{ | { |
if (score == 0){ | if (score == 0) { |
document.getElementById('messageScore').innerHTML=""; | document.getElementById('messageScore').innerHTML=""; |
document.getElementById('messagePronostic').innerHTML="<a href='/data/media/{{ :prediction0_english.jpg?300 |}}prediction0_english.jpg' target='_blank'><img src='/data/media/prediction0_english.jpg' style='top: -221px!important;' class='graph'></a>";} | document.getElementById('messagePronostic').innerHTML="<a href='/data/media/prediction0_english.jpg' target='_blank'><img src='/data/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='/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>";} | 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) { |
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):Average 9.2% <a href='/data/media/prediction3_english.jpg' target='_blank'><img src='/data/media/prediction3_english.jpg' class='graph' alt='robability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Average 9.2%'></a>";} | |
| |
else if (score >= 14 && score <= 23){ | |
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):Low 9.2% <a href='/data/media/prediction2_english.jpg' target='_blank'><img src='/data/media/prediction2_english.jpg' class='graph' alt='Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Low 9.2%'></a>";} | document.getElementById('messagePronostic').innerHTML="<b>Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Average 9.2% <a href='/data/media/prediction3_english.jpg' target='_blank'><img src='/data/media/prediction3_english.jpg' class='graph' alt='robability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Average 9.2%'></a>"; |
| } |
else if (score >= 23){ | else if (score >= 14 && score <= 23) { |
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): Very low <1% <a href='/data/media/prediction1_english.jpg' target='_blank'><img src='/data/media/prediction1_english.jpg' class='graph' alt='Trobability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1): Very low <1%'></a>";} | document.getElementById('messagePronostic').innerHTML="<b>Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Low 9.2% <a href='/data/media/prediction2_english.jpg' target='_blank'><img src='/data/media/prediction2_english.jpg' class='graph' alt='Probability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1):Low 9.2%'></a>"; |
| } |
| else if (score >= 23) { |
| 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): Very low <1% <a href='/data/media/prediction1_english.jpg' target='_blank'><img src='/data/media/prediction1_english.jpg' class='graph' alt='Trobability of survival to discharge with good neurologic status following CPR for in-hospital arrest (CPC 1): Very low <1%'></a>"; |
| } |
} | } |
</script> | </script> |