Les deux révisions précédentesRévision précédente | Dernière révisionLes deux révisions suivantes |
start [2017/03/23 19:08] – ariane | start [2023/12/06 22:00] – labadmin |
---|
**[[go_far_calculator|GO-FAR calculator in English]]** | **[[go_far_calculator|GO-FAR calculator in English]]** |
| |
Article original: 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> | Article original: Ebell et al [[http://archinte.jamanetwork.com/article.aspx?articleid=1735894]] |
| |
**__AVERTISSEMENT__: Ce calculateur ne doit pas être utilisé seul, mais dans le cadre d'une prise de décision partagée entre un médecin, un patient et ses proches.** | **__AVERTISSEMENT__: Ce calculateur ne doit pas être utilisé seul, mais dans le cadre d'une prise de décision partagée entre un médecin, un patient et ses proches.** |
| |
| English GO-FAR Calculator: [[http://fpdp.archambaultlab.ca/gofar/gofar_en.html]] |
<html> | |
<title>Algorithme GO-FAR pour le calcul de la prédiction</title> | |
| |
<script type="text/javascript"> | |
function checkCalcul(me) | |
{ | |
var score=0; | |
var select = document.getElementById("age"); | |
var valeur = select.options[select.selectedIndex].value; | |
| |
if (valeur == 'choix1') {score = score + 0; pronostic(score);} | |
else if (valeur == 'choix2') {score = score + 2; pronostic(score);} | |
else if (valeur == 'choix3') {score = score + 5; pronostic(score);} | |
else if (valeur == 'choix4') {score = score + 6; pronostic(score);} | |
else if (valeur == 'choix5') {score = score + 11; pronostic(score);} | |
| |
var listeChoix = document.getElementsByName('options[]'); | |
| |
for (var i=0, liste = listeChoix.length; i < liste; i++) { | |
if (listeChoix[i].checked) { | |
if (listeChoix[i].value=='1') {score = score -15; pronostic(score);} | |
else if (listeChoix[i].value=='2') {score = score + 10; pronostic(score);} | |
else if (listeChoix[i].value=='3') {score = score + 8; pronostic(score);} | |
else if (listeChoix[i].value=='4') {score = score + 7; 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); | |
} | |
| |
function pronostic(score) | |
{ | |
if (score == 0) { | |
document.getElementById('messageScore').innerHTML=""; | |
document.getElementById('messagePronostic').innerHTML="<a href='/data/media/prediction0.jpg' target='_blank'><img src='/data/media/prediction0.jpg' style='top: -221px!important;' class='graph'></a>"; | |
} | |
else if (score >= -15 && score<= -6) { | |
document.getElementById('messageScore').innerHTML="<b>Score GO-FAR: "+ score; | |
document.getElementById('messagePronostic').innerHTML="<b> Chances de survivre avec un bon pronostic neurologique (CPC 1) au dessus de la moyenne: 27.8% <a href='/data/media/prediction4.jpg' target='_blank'><img src='/data/media/prediction4.jpg' class='graph' alt='Chances de survivre avec un bon pronostic neurologique (CPC 1) au dessus de la moyenne: 27.8%'></a>"; | |
} | |
else if (score >= -5 && score <= 13){ | |
document.getElementById('messageScore').innerHTML="<b>Score GO-FAR: "+ score; | |
document.getElementById('messagePronostic').innerHTML="<b>Chances de survivre avec un bon pronostic neurologique (CPC 1) dans la moyenne: 9.2% <a href='/data/media/prediction3.jpg' target='_blank'><img src='/data/media/prediction3.jpg' class='graph' alt='Chances de survivre avec un bon pronostic neurologique (CPC 1) dans la moyenne: 9.2%'></a>"; | |
} | |
else if (score >= 14 && score <= 23){ | |
document.getElementById('messageScore').innerHTML="<b>Score GO-FAR,: "+ score; | |
document.getElementById('messagePronostic').innerHTML="<b>Faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 2.0% <a href='/data/media/prediction2.jpg' target='_blank'><img src='/data/media/prediction2.jpg' class='graph' alt='Faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 2.0%'></a>"; | |
} | |
else if (score >= 23){ | |
document.getElementById('messageScore').innerHTML="<b>Score GO-FAR,: "+ score; | |
document.getElementById('messagePronostic').innerHTML="<b>Très faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 0.8% <a href='/data/media/prediction1.jpg' target='_blank'><img src='/data/media/prediction1.jpg' class='graph' alt='Très faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 0.8%'></a>"; | |
} | |
} | |
</script> | |
<style> | |
.graph { | |
float: right; | |
position: relative; | |
height: 188px; | |
margin-bottom: -188px; | |
top: -259px; | |
width: 490px; | |
} | |
| |
@media screen and (max-width: 1020px) { | |
.graph { | |
float: none; | |
position: initial; | |
display: block; | |
margin-bottom: 0; | |
width: auto; | |
height: auto; | |
} | |
} | |
</style> | |
| |
| |
Âge du patient: | |
<select id="age" onClick="checkCalcul(this)"> | |
<OPTION>-- Choisissez la tranche d'âge ---</OPTION> | |
<option value="choix1"> moins de 70 ans </option> | |
<option value="choix2"> de 70 à 74 ans </option> | |
<option value="choix3"> de 75 à 79 ans </option> | |
<option value="choix4"> de 80 à 84 ans </option> | |
<option value="choix5"> de 85 ans et plus </option> | |
</select><br> | |
| |
<br><b>FACTEUR DE PROTECTION</b><br> | |
<label><input type="checkbox" name="options[]" value="1" onClick="checkCalcul(this)" /> Intact neurologiquement ou faible déficit neurologique à l'admission</label><br> | |
| |
<br><b>FACTEURS DE RISQUES</b><br> | |
<label><input type="checkbox" name="options[]" value="2" onClick="checkCalcul(this)" /> Traumatisme majeur</label><br> | |
<label><input type="checkbox" name="options[]" value="3" onClick="checkCalcul(this)" /> Accident vasculaire cérébral (AVC) aigu </label><br> | |
<label><input type="checkbox" name="options[]" value="4" onClick="checkCalcul(this)" /> Cancer métastatique ou hématologique</label><br> | |
<label><input type="checkbox" name="options[]" value="5" onClick="checkCalcul(this)" /> Septicémie</label><br> | |
<label><input type="checkbox" name="options[]" value="6" onClick="checkCalcul(this)" /> Admission due à un diagnostic non-cardiaque</label><br> | |
<label><input type="checkbox" name="options[]" value="7" onClick="checkCalcul(this)" /> Insuffisance hépatique</label><br> | |
<label><input type="checkbox" name="options[]" value="8" onClick="checkCalcul(this)" /> Résident d'une institution pour personnes en perte d'autonomie</label><br> | |
<label><input type="checkbox" name="options[]" value="9" onClick="checkCalcul(this)" /> Hypotension ou hypoperfusion</label><br> | |
<label><input type="checkbox" name="options[]" value="10" onClick="checkCalcul(this)" /> Insuffisance rénale </label><br> | |
<label><input type="checkbox" name="options[]" value="11" onClick="checkCalcul(this)" /> Insuffisance respiratoire</label><br> | |
<label><input type="checkbox" name="options[]" value="12" onClick="checkCalcul(this)" /> Pneumonie</label><br> | |
| |
<div id="messageScore"></div> | |
<div id="messagePronostic"><a href="/data/media/prediction0.jpg" target="_blank"><img src='/data/media/prediction0.jpg' style="top: -221px!important;" class='graph'></a></div> | |
<p style="float: right; position: absolute; right: 35px;">Crédit image: Icon Array</p> | |
<form action="" method="post"> | |
<p><input type="submit" name="submit" value="Réinitialiser"></p> | |
</form> | |
| |
</body> | |
</html> | |
| |
^ Définitions des variables<sup>a</sup> ^^ | ^ Définitions des variables<sup>a</sup> ^^ |