From e66c10d5e6871a05701cc545aecb21dda98382ac Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Thu, 27 Mar 2025 17:24:47 +0700 Subject: [PATCH] Update AHIV,AHCV,HBSAG,AHBS,HBSAB,VDRL Agar Tidak Merah Saat Nilai Tidak Normal --- app/Controllers/PrintResult.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index 2fa4e14..3f45ab9 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -852,6 +852,7 @@ class PrintResult extends BaseController { // Untuk mewarnai value yang tidak beda dengan nilai normal $color = ""; + // Untuk Hema Tidak Perlu Merah if($item['CHAPID']==1) { $color = ""; } elseif ($resflag == 'L' || $resflag == 'H') { @@ -869,7 +870,7 @@ class PrintResult extends BaseController { } elseif ($range == false) { // Jika nilai bukan merupakan rentang alias hanya code - $excludedred = ["fibers", "fat"]; + $excludedred = ["fibers", "fat", "HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs", "HBs-Ab"]; if ( in_array(strtolower($item['SHORTTEXT']), $excludedred)) { // Khusus Shorttex Ini jika Positive maka tidak perlu merah $color = "";