radfusion/resources/views/pacs/studies.blade.php
2024-12-28 18:21:35 +06:00

51 lines
1.9 KiB
PHP

<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
<table class="table">
<tr>
<th>ID</th>
<th>Patient ID</th>
<th>Name</th>
<th>Sex</th>
<th>Study Dt</th>
<th>Uploaded</th>
<th>Institution</th>
</tr>
@foreach($studies as $study)
<tr>
<td>
<a href="{{ route('studies.show', [$study['ID']]) }}">{{ $study['ID'] }}</a>
</td>
<td>
{{ $study['PatientMainDicomTags']['PatientID'] }}
</td>
<td>
{{ $study['PatientMainDicomTags']['PatientName'] }}
</td>
<td>
{{ $study['PatientMainDicomTags']['PatientSex'] }}
</td>
<td>
{{ $study['StudyDateTime'] }}
</td>
<td>
{{ $study['ReceiveDateTime'] }}
</td>
<td>
{{ $study['MainDicomTags']['InstitutionName'] }}
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
</x-app-layout>