diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index 02927bc..9108380 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -860,11 +860,15 @@ class PrintResult extends BaseController { // $color = "red_font"; // 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)) { $color = ""; } else { // Normal $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)) { // 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)) { $color = ""; } else { // Normal