This commit is contained in:
Duidev Software House
2025-10-04 16:22:29 +07:00
parent 5dde5579e2
commit 49685c7727

View File

@@ -376,7 +376,7 @@ class AstmMessageService
if (strpos($cekbersih, 's4') === 0) { if (strpos($cekbersih, 's4') === 0) {
$tanggalkeluar = $tanggalkeluar.' '.substr($cekbersih, 2); $tanggalkeluar = $tanggalkeluar.' '.substr($cekbersih, 2);
} }
if ($antibiotic != ''){ if ($antibiotic != '' AND $resistance != '' AND $value != '' AND $interpretation != '') {
$parsedData['antibiotics'][] = [ $parsedData['antibiotics'][] = [
'antibiotic' => $antibiotic, // Antibiotik 'antibiotic' => $antibiotic, // Antibiotik
'resistance' => $resistance, // Hasil Resistansi 'resistance' => $resistance, // Hasil Resistansi