Update Untuk Test HBSAB Jika High Maka Buat Merah
This commit is contained in:
parent
76d9b1bbd7
commit
31824206fd
@ -860,11 +860,15 @@ class PrintResult extends BaseController {
|
|||||||
// $color = "red_font";
|
// $color = "red_font";
|
||||||
|
|
||||||
// Pengecualian Khusus Untuk Test Berikut
|
// Pengecualian Khusus Untuk Test Berikut
|
||||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs"];
|
||||||
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||||
$color = "";
|
$color = "";
|
||||||
} else { // Normal
|
} else { // Normal
|
||||||
$color = "red_font";
|
$color = "red_font";
|
||||||
|
|
||||||
|
if ($item['SHORTTEXT'] == "HBs-Ab" && $resflag != 'H') {
|
||||||
|
$color = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -903,7 +907,7 @@ class PrintResult extends BaseController {
|
|||||||
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
||||||
|
|
||||||
// Pengecualian Khusus Untuk Test Berikut
|
// Pengecualian Khusus Untuk Test Berikut
|
||||||
$excludedred = ["Anti HIV", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
$excludedred = ["Anti HIV", "Anti HCV", "Anti HBs"];
|
||||||
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||||
$color = "";
|
$color = "";
|
||||||
} else { // Normal
|
} else { // Normal
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user