Revised AIH Score

[php]
if ($_POST) {
$a = $_POST[‘gender’];
$b = $_POST[‘ana’];
$e = $_POST[‘igg’];
$f = $_POST[‘histo’];
$g = $_POST[‘viral’];
$h = $_POST[‘alkphos’];
$i = $_POST[‘ast’];
$j = $_POST[‘ama’];
$k = $_POST[‘drugs’];
$l = $_POST[‘etoh’];
$m = $_POST[‘hla’];
$n = $_POST[‘immune’];
$o = $_POST[‘antibodies’];
$p = $_POST[‘treatment’];

if ($convert == “yes”) {
$i = $i * 58.82;
}

if ((empty($h)) || (empty($i))) {
$result = “Fill in all variables”;
}

if (empty($result)) {
$var1 = $h/$i;

$ratio = “0”;

if ($var1 > 3) {
$ratio = “-2”;
}

if ($var1 < 1.5) { $ratio = “2”; } $var2 = $ratio + $a + $b + $j + $k + $e + $f + $g + $l + $m + $n + $o + $p; $result = $var2; if ($p == 0) { $diagnosis = “Probable Diagnosis”; if ($var2 > 15) {
$diagnosis = “Definite Diagnosis”;
}

if ($var2 < 10) { $diagnosis = “Unlikely AIH”; } } if ($p > 0) {

$diagnosis = “Probable Diagnosis”;

if ($var2 > 17) {
$diagnosis = “Definite Diagnosis”;
}

if ($var2 < 12) {
$diagnosis = “Unlikely AIH”;
}

}

}

echo $result;
echo ” (“;
echo $diagnosis;
echo “)”;
echo “*”;

}

[/php]

Gender :
Alk Phos :
AST :
ANA or AMSA or Anti LKM :
Anti-SLA, Anti-Actin, Anti-LC1, pANCA :
Immunoglobulin G :
AMA :
Histology :
HLA DR3 or DR4 :
Hx of Autoimmune Disease :
Viral Serologies :
Drug History :
Alcohol :
Treatment :
Using ukat/L for AST? :

[pullquote]This is a revised version of the original scoring system for AIH.[/pullquote]
Formula :

Composite score of listed variables. Points given for each variable.

Explanation of Result :

Pretreatment Score:

> 15 is consistent with definite diagnosis. 10-15 is consistent with probable diagnosis.

Post-treatment Score:

> 17 is consistent with definite diagnosis. 12-15 is consistent with probable diagnosis.

* Please verify all calculations prior to clinical use.