Форматирование

This commit is contained in:
brusnitsyn
2026-04-24 16:46:10 +09:00
parent fd0e6ee817
commit 63daa62888
87 changed files with 1380 additions and 791 deletions

View File

@@ -37,6 +37,7 @@ class MedicalHistorySnapshot extends Model
* Типы пациентов
*/
const PATIENT_TYPE_DISCHARGED = 'discharged'; // Выписанные
const PATIENT_TYPE_CURRENT = 'current'; // Текущие
public function report()
@@ -67,7 +68,7 @@ class MedicalHistorySnapshot extends Model
public function scopeByDepartment($query, $departmentId)
{
return $query->whereHas('medicalHistory.migrations.branch', function($q) use ($departmentId) {
return $query->whereHas('medicalHistory.migrations.branch', function ($q) use ($departmentId) {
$q->where('rf_DepartmentID', $departmentId);
});
}