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