optimized relations
This commit is contained in:
parent
982d1f76f1
commit
dff92c8de5
@ -165,12 +165,12 @@ protected function getStudiesQuery(): Builder
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $q->with([
|
return $q->with([
|
||||||
'organization',
|
'organization:id,name',
|
||||||
'department',
|
'department:id,name',
|
||||||
'dicomServer',
|
'dicomServer',
|
||||||
'readingPhysician',
|
'readingPhysician:id,display_name',
|
||||||
'assignedPhysicians',
|
'assignedPhysicians:id,display_name',
|
||||||
'lockingPhysician',
|
'lockingPhysician:id,display_name',
|
||||||
'reports',
|
'reports',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user