Фикс определения нахождения в реанимации
This commit is contained in:
@@ -62,8 +62,8 @@ class PatientStatusClassifier
|
||||
{
|
||||
if ($reanimations === null || $reanimations->isEmpty()) return false;
|
||||
if ($reanimations
|
||||
->where('out_date', '<', $dateRange->endSql())
|
||||
->where('out_date', '>=', $dateRange->startSql())
|
||||
->where('out_date', '<=', $dateRange->endSql())
|
||||
->whereNull('out_date')
|
||||
->isNotEmpty()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user