diff --git a/htdocs/app/Services/AstmMessageService.php b/htdocs/app/Services/AstmMessageService.php index 1b3c1696..23e91739 100644 --- a/htdocs/app/Services/AstmMessageService.php +++ b/htdocs/app/Services/AstmMessageService.php @@ -376,7 +376,7 @@ class AstmMessageService if (strpos($cekbersih, 's4') === 0) { $tanggalkeluar = $tanggalkeluar.' '.substr($cekbersih, 2); } - if ($antibiotic != ''){ + if ($antibiotic != '' AND $resistance != '' AND $value != '' AND $interpretation != '') { $parsedData['antibiotics'][] = [ 'antibiotic' => $antibiotic, // Antibiotik 'resistance' => $resistance, // Hasil Resistansi