Crohn’s Disease Activity Index (CDAI)

[php]
if ($_POST) {
$a = $_POST[‘gender’];
$b = $_POST[‘joint’];
$c = $_POST[‘eye’];
$d = $_POST[‘skin’];
$e = $_POST[‘anal’];
$f = $_POST[‘fistula’];
$g = $_POST[‘fever’];
$h = $_POST[‘loose’];
$i = $_POST[‘abdpain’];
$j = $_POST[‘gwb’];
$k = $_POST[‘treatment’];
$l = $_POST[‘mass’];
$m = $_POST[‘hct’];
$n = $_POST[‘maleheight’];
$o = $_POST[‘femaleheight’];
$p = $_POST[‘weight’];if ((empty($h)) || (empty($m)) || (empty($p))) {
$result = “Fill in all variables”;
}if ($a == “male”) {
$m = 47-$m;
}
if ($a == “female”) {
$m = 42-$m;
}

if (empty($result)) {
$var1 = $h*2;
$var2 = $i*5;
$var3 = $j*7;
$var4 = $b+$c+$d+$e+$f+$g+$k;
$var5 = $m*6;
$var6 = $var4+$var5;

if ($a == “male”) {
$var7 = $n-$p;
$var8 = $var7 / $n;
$var9 = $var8*100;
}
if ($a == “female”) {
$var7 = $o-$p;
$var8 = $var7 / $o;
$var9 = $var8*100;
}
$var10 = $var6+$var9;
$result = round($var10, 0);
}
echo “Result: “;
echo $result;
echo ” *”;
}
[/php]

Gender :
Male :
Female :
Joint Pain / Arthralgia :
Iritis / Uveitis :
Erythema Nodosum / Apthous Ulcers :
Anal Fissures or Abscesses :
Other Fistula :
Fever in Previous Week :
# Loose BMs in Last Week :
Abdominal Pain :
General Well Being :
Use of Lomotil or Opiates for Diarrhea :
Abdominal Mass :
Hematocrit :
Current Weight (KG) :
Height :

[pullquote]The Crohn’s Disease Activity Index (CDAI) is a research tool to determine the current severity of Crohn’s disease.[/pullquote]
Formula :

Summation of factors and variables that are positive.

Explanation of Result :

CDAI < 150 is used as a marker of remission of Crohn’s

CDAI > 450 is a marker of severe disease

* Please verify all calculations prior to clinical use.