Update indeirect bilirubin, rasio albumin, globulin dan chol menjadi serum
This commit is contained in:
parent
f6b390f7f0
commit
e31cee76a7
@ -772,7 +772,14 @@ class PrintResult extends BaseController {
|
||||
if ($item["RESULT"] == null) {
|
||||
$serum_type = "";
|
||||
}else {
|
||||
$serum_type = $item["serum_type"];
|
||||
|
||||
// Khusus untuk test indeirect bilirubin, rasio albumin, globulin dan chol
|
||||
$test_serum = ['2107C', '2110C', '2111C', 'CHOL'];
|
||||
if ( in_array($item["TESTCODE"], $test_serum) ) {
|
||||
$serum_type = "Serum";
|
||||
} else {
|
||||
$serum_type = $item["serum_type"];
|
||||
}
|
||||
}
|
||||
|
||||
$resflag = $item["RESFLAG"] == "N" ? '' : $item["RESFLAG"];
|
||||
@ -862,8 +869,6 @@ class PrintResult extends BaseController {
|
||||
$resflag = "";
|
||||
}
|
||||
} elseif ($resflag == 'L' ) {
|
||||
// $resflag .= " ";
|
||||
// $color = "red_font";
|
||||
|
||||
// Pengecualian Khusus Untuk Test Berikut
|
||||
$excludedred = ["HBsAg", "Anti HIV", "VDRL/Anti TP", "Anti HCV", "Anti HBs"];
|
||||
@ -912,19 +917,6 @@ 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";
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
$comment = $item['RESCOMMENT'];
|
||||
// Kondisi Sangat Khusus
|
||||
if ($item['RESCOMMENT'] == "NREAC") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user