Добавил список умерших в статистику #4
This commit is contained in:
@@ -42,6 +42,11 @@ class ReportDutyMigrationPatient extends Model
|
||||
return $this->hasMany(SurgicalOperation::class, 'migration_patient_id', 'original_id');
|
||||
}
|
||||
|
||||
public function department()
|
||||
{
|
||||
return $this->hasOne(Department::class, 'rf_mis_department_id', 'department_id');
|
||||
}
|
||||
|
||||
public function reanimations()
|
||||
{
|
||||
return $this->hasMany(Reanimation::class, 'migration_patient_id', 'original_id')
|
||||
|
||||
Reference in New Issue
Block a user