Update Comment dan AHIV,AHCV,HBSAG,AHBS,HBSAB dan VDRL Agar Tidak Merah Saat Nilai Tidak Normal
This commit is contained in:
parent
64514cfdc8
commit
74a8c24138
@ -859,7 +859,7 @@ class PrintResult extends BaseController {
|
||||
// $resflag .= " ";
|
||||
// $color = "red_font";
|
||||
|
||||
// Pengecualian Khusus
|
||||
// Pengecualian Khusus Untuk Test Berikut
|
||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
||||
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||
$color = "";
|
||||
@ -892,13 +892,8 @@ 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
|
||||
$color = "red_font";
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -906,9 +901,17 @@ class PrintResult extends BaseController {
|
||||
if ($item['RESCOMMENT'] != null) {
|
||||
$redWord = ["positive", "reactive", "pos", "reac"];
|
||||
if (in_array(strtolower($item['RESCOMMENT']), $redWord)) {
|
||||
|
||||
// Pengecualian Khusus Untuk Test Berikut
|
||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"];
|
||||
if (in_array($item['SHORTTEXT'], $excludedred)) {
|
||||
$color = "";
|
||||
} else { // Normal
|
||||
$color = "red_font";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$comment = $item['RESCOMMENT'];
|
||||
// Kondisi Sangat Khusus
|
||||
if ($item['RESCOMMENT'] == "NREAC") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user