Widget:CrCl

From IDWiki
Revision as of 20:40, 15 August 2019 by Aidan (talk | contribs) (Aidan moved page Widgets:CrCl to Widget:CrCl without leaving a redirect)

<script type="text/javascript"> function calcreat() { var age = document.creat.a.value; var creat = document.creat.c.value; var weight = document.creat.w.value; var sex = document.creat.sex.value;

if (a=="" || w=="" || c=="") return;

var crcl = 1.2 * (140 - age) * weight / creat; if (sex == "Female") crcl = crcl * 0.85; if (crcl < 0) crcl = 0; document.creat.res.value = crcl; } </script> <form name="creat">

Creatinine Clearance (CRCL) Calculator


Age:

<input autocomplete=off class="forminputcontent" onkeyup=creatcheck(1) name=a>

Years

Sex:

<select name=sex style="height:28px"> <option value=0.73 selected>Male</option> <option value=0.66>Female</option> </select>


Body Weight:

<input autocomplete=off class="forminputcontent" onkeyup=creatcheck(2) name=w>

<select name=wsel> <option value=2.2046 >Kilograms</option> <option value=1 selected>Pounds</option> </select>

Serum Creatinine:

<input autocomplete=off class="forminputcontent" onkeyup=creatcheck(3) name=c>

<select name=csel> <option value=1>mg/dL</option> <option value=0.0113636>umol/L</option> </select>

Creatinine Clear Rate:

<input ReadOnly class="forminputcontent" name=res style="color:red;background-color:#cccccc">

mL/min

<input onclick="calcreat()" type="button" name="Calculate" value="Calculate"/> <input onclick="creatclear()" type="button" name="reset" value="Reset All"/>

</form>