| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| outil [2015/08/13 16:07] – carmen | outil [2017/02/26 20:05] (Version actuelle) – supprimée ariane |
|---|
| ~~NOCACHE~~ | |
| <html> | |
| <head> | |
| <title>Algorithme GO-FAR pour le calcul de la prédiction</title> | |
| <body> | |
| |
| <script type="text/javascript"> | |
| function checkCalcul(me) | |
| { | |
| var score=0; | |
| var scoreSelect = 0; | |
| var select = document.getElementById("age"); | |
| var valeur = select.options[select.selectedIndex].value; | |
| | |
| if (valeur == 'choix1') {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 = -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);} | |
| } | |
| } | |
| } | |
| |
| function pronostic(score) | |
| { | |
| if (score >= -15 && score<= -6){ | |
| document.getElementById('messageScore').innerHTML="<b>GO-FAR, le score pour le pronostic est de: "+ score; | |
| document.getElementById('messagePronostic').innerHTML="<b> Chances de survivre avec un bon pronostic neurologique (CPC 1) au dessus de la moyenne: 27.8% <br><a target='_blank' href='http://bit.ly/1gOm9Op'>Pronostic fonctionnel</a>";} | |
| | |
| else if (score >= -5 && score <= 13){ | |
| document.getElementById('messageScore').innerHTML="<b>GO-FAR, le score pour le pronostic est de: "+ score; | |
| document.getElementById('messagePronostic').innerHTML="<b>Chances de survivre avec un bon pronostic neurologique (CPC 1) dans la moyenne: 9.2% <br><a target='_blank' href='http://bit.ly/1Mkqghm'>Pronostic fonctionnel</a>";} | |
| | |
| else if (score >= 14 && score <= 23){ | |
| document.getElementById('messageScore').innerHTML="<b>GO-FAR, le score pour le pronostic est de: "+ score; | |
| document.getElementById('messagePronostic').innerHTML="<b>Faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 2.0% <br><a target='_blank' href='http://bit.ly/1gOspG1'>Pronostic fonctionnel</a>";} | |
| | |
| else if (score >= 23){ | |
| document.getElementById('messageScore').innerHTML="<b>GO-FAR, le score pour le pronostic est de: "+ score; | |
| document.getElementById('messagePronostic').innerHTML="<b>Très faibles chances de survivre avec un bon pronostic neurologique (CPC 1): 0.8% <br><a target='_blank' href='http://bit.ly/1gOt3mN'>Pronostic fonctionnel</a>";} | |
| } | |
| </script> | |
| |
| Â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> | |
| <input type="checkbox" name="options[]" value="1" onClick="checkCalcul(this)" /> Intact neurologiquement ou faible déficit neurologique à l'admission<br> | |
| |
| <br><b>FACTEURS DE RISQUES</b><br> | |
| <input type="checkbox" name="options[]" value="2" onClick="checkCalcul(this)" /> Traumatisme majeur<br> | |
| <input type="checkbox" name="options[]" value="3" onClick="checkCalcul(this)" /> Accident vasculaire cérébral (AVC) aigu <br> | |
| <input type="checkbox" name="options[]" value="4" onClick="checkCalcul(this)" /> Cancer métastatique ou hématologique<br> | |
| <input type="checkbox" name="options[]" value="5" onClick="checkCalcul(this)" /> Septicémie<br> | |
| <input type="checkbox" name="options[]" value="6" onClick="checkCalcul(this)" /> Admission due à un diagnostic non-cardiaque<br> | |
| <input type="checkbox" name="options[]" value="7" onClick="checkCalcul(this)" /> Insuffisance hépatique<br> | |
| <input type="checkbox" name="options[]" value="8" onClick="checkCalcul(this)" /> Résident d'une institution pour personnes en perte d'autonomie<br> | |
| <input type="checkbox" name="options[]" value="9" onClick="checkCalcul(this)" /> Hypotension ou hypoperfusion<br> | |
| <input type="checkbox" name="options[]" value="10" onClick="checkCalcul(this)" /> Insuffisance rénale <br> | |
| <input type="checkbox" name="options[]" value="11" onClick="checkCalcul(this)" /> Insuffisance respiratoire<br> | |
| <input type="checkbox" name="options[]" value="12" onClick="checkCalcul(this)" /> Pneumonie<br> | |
| |
| <div id="messageScore"></div> | |
| <div id="messagePronostic"></div> | |
| |
| <form action="" method="post"> | |
| <p><input type="submit" name="submit" value="Réinitialiser"></p> | |
| </form> | |
| |
| </body> | |
| </html> | |