This commit is contained in:
Masroor Ehsan 2025-01-05 21:03:50 +06:00
parent 7513e8ce65
commit 93ea588f87

View File

@ -31,7 +31,7 @@ public function show()
'Patient Name' => $study->patient_name, 'Patient Name' => $study->patient_name,
'Patient Id' => $study->patient_id, 'Patient Id' => $study->patient_id,
'Patient Sex' => $study->patient_sex, 'Patient Sex' => $study->patient_sex,
'Patient Birthdate' => $study->patient_birthdate?->format($fmtD)??'', 'Patient Birthdate' => $study->patient_birthdate?->format($fmtD) ?? '',
'Accession #' => $study->accession_number, 'Accession #' => $study->accession_number,
'Modality' => $study->modality, 'Modality' => $study->modality,
'Study Date' => $study->study_date->format($fmtDT), 'Study Date' => $study->study_date->format($fmtDT),
@ -42,14 +42,14 @@ public function show()
'Institution' => $study->institution_name, 'Institution' => $study->institution_name,
'Images #' => $study->image_count, 'Images #' => $study->image_count,
'Series #' => $study->series_count, 'Series #' => $study->series_count,
'D/L Size' => human_filesize($study->disk_size,1), 'D/L Size' => human_filesize($study->disk_size, 1),
]; ];
$properties = collect($study->details->properties); $properties = collect($study->details->properties);
$data['Manufacturer']=$properties->get('manufacturer'); $data['Manufacturer'] = $properties->get('manufacturer');
$data['Model']=$properties->get('manufacturer_model_name'); $data['Model'] = $properties->get('manufacturer_model_name');
$data['S/W Version']=$properties->get('software_versions'); $data['S/W Version'] = $properties->get('software_versions');
$data['Station']=$properties->get('station_name'); $data['Station'] = $properties->get('station_name');
$data['Operator']=$properties->get('operators_name'); $data['Operator'] = $properties->get('operators_name');
return view('staff.studies.show-details', compact('data')); return view('staff.studies.show-details', compact('data'));
} }