patient edit
This commit is contained in:
parent
2365ac1ca7
commit
00a747eb21
@ -262,7 +262,7 @@ private function renderCustomColumns(): array
|
|||||||
switch ($col) {
|
switch ($col) {
|
||||||
case WorklistColumn::PatientName:
|
case WorklistColumn::PatientName:
|
||||||
$columns[$col->value] = static function (Study $study) {
|
$columns[$col->value] = static function (Study $study) {
|
||||||
if (me()->isRadiologist()) {
|
if (me()->isRadiologist() || ! $study->canEditMetadata()) {
|
||||||
return $study->sanitizedPatientName();
|
return $study->sanitizedPatientName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user