Update Menghilangkan Excluded Red Pada Test : Anti HIV, Anti HCV, Anti HBs
This commit is contained in:
parent
5e5b0047b4
commit
9ec94ad3e1
@ -906,18 +906,19 @@ class PrintResult extends BaseController {
|
||||
|
||||
// Hanya Untuk Kondisi Ada Komentar Dibawah Result
|
||||
if ($item['RESCOMMENT'] != null) {
|
||||
$redWord = ["positive", "reactive", "pos", "reac"];
|
||||
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
||||
|
||||
// Pengecualian Khusus Untuk Test Berikut
|
||||
$excludedred = ["Anti HIV", "Anti HCV", "Anti HBs"];
|
||||
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||
$color = "";
|
||||
} else { // Normal
|
||||
$color = "red_font";
|
||||
}
|
||||
|
||||
}
|
||||
// $redWord = ["positive", "reactive", "pos", "reac"];
|
||||
// if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
||||
|
||||
// // Pengecualian Khusus Untuk Test Berikut
|
||||
// $excludedred = ["Anti HIV", "Anti HCV", "Anti HBs"];
|
||||
// if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||
// $color = "";
|
||||
// } else { // Normal
|
||||
// $color = "red_font";
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
$comment = $item['RESCOMMENT'];
|
||||
// Kondisi Sangat Khusus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user