Update AHIV,AHCV,HBSAG,AHBS,HBSAB dan VDRL Agar Tidak Merah Saat Nilai Tidak Normal
This commit is contained in:
parent
83310f88a4
commit
69270d1962
@ -857,8 +857,16 @@ class PrintResult extends BaseController {
|
||||
$color = "";
|
||||
} elseif ($resflag == 'L' || $resflag == 'H') {
|
||||
// $resflag .= " ";
|
||||
// $color = "red_font";
|
||||
|
||||
// Pengecualian Khusus
|
||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
||||
if (in_array(strtolower($item['SHORTTEXT']), $excludedred)) {
|
||||
$color = "";
|
||||
} else { // Normal
|
||||
$color = "red_font";
|
||||
}
|
||||
}
|
||||
|
||||
// Hanya Untuk Yang Kode Nya Adalah CODE/CM
|
||||
$range = $this->checkRange($item['RESULT'], $item['REFFTEXT']);
|
||||
@ -885,12 +893,12 @@ class PrintResult extends BaseController {
|
||||
} else { // Jika Rentang diatas nilai normal
|
||||
|
||||
// Pengecualian Khusus
|
||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
||||
if (in_array(strtolower($item['SHORTTEXT']), $excludedred)) {
|
||||
$color = "";
|
||||
} else { // Normal
|
||||
// $excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
||||
// if (in_array(strtolower($item['SHORTTEXT']), $excludedred)) {
|
||||
// $color = "";
|
||||
// } else { // Normal
|
||||
$color = "red_font";
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user