|
@@ -23,11 +23,12 @@
|
|
|
<th class="px-3 border-0">#</th>
|
|
|
<th class="border-0">Name</th>
|
|
|
<th class="border-0">Created At</th>
|
|
|
+ <th class="border-0">Program(s)</th>
|
|
|
<th class="border-0">DOB</th>
|
|
|
<th class="border-0">Sex</th>
|
|
|
<th class="border-0">MCN</th>
|
|
|
<th class="border-0">PCP</th>
|
|
|
- <th class="border-0">RMM</th>
|
|
|
+ {{--<th class="border-0">RMM</th>--}}
|
|
|
<th class="border-0">Upcoming Appointments</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -47,6 +48,23 @@
|
|
|
@endif
|
|
|
</td>
|
|
|
<td>{{friendly_date_time_short_with_tz($patient->created_at, true, 'EASTERN')}}</td>
|
|
|
+ <td>
|
|
|
+ <?php $programNumber = 0; ?>
|
|
|
+ @foreach($patient->clientPrograms as $clientProgram)
|
|
|
+ <?php
|
|
|
+ $program = $clientProgram->program;
|
|
|
+ $programNumber++;
|
|
|
+ ?>
|
|
|
+ <div class="mb-1 text-nowrap">
|
|
|
+ {{ $programNumber }}. {{ $program->title }}
|
|
|
+ @if($clientProgram->has_mcp_done_onboarding_visit !== 'YES')
|
|
|
+ <span title="Onboarding Pending" class="ml-1"><i class="fa fa-exclamation-triangle"></i></span>
|
|
|
+ @else
|
|
|
+ <span title="Onboarding Complete" class="ml-1 text-secondary"><i class="fa fa-check"></i></span>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ </td>
|
|
|
<td>{{ friendly_date_time($patient->dob, false) }}</td>
|
|
|
<td>{{ $patient->sex === 'M' ? 'Male' : ($patient->sex === 'F' ? 'Female' : '-') }}</td>
|
|
|
<td>
|
|
@@ -69,9 +87,9 @@
|
|
|
<td>
|
|
|
{{ $patient->mcp ? $patient->mcp->displayName() : '-' }}
|
|
|
</td>
|
|
|
- <td>
|
|
|
+ {{--<td>
|
|
|
{{ $patient->rmm ? $patient->rmm->displayName() : '-' }}
|
|
|
- </td>
|
|
|
+ </td>--}}
|
|
|
<td>
|
|
|
<table class="table table-sm border-0 my-0">
|
|
|
<tbody>
|