@extends ('layouts/template') @section('content') clientPrograms)) { if($pro->pro_type === 'ADMIN') { $showProgramsColumn = true; break; } else { foreach($patient->clientPrograms as $clientProgram) { if(in_array($pro->id, [$clientProgram->mcp_pro_id, $clientProgram->manager_pro_id])) { $showProgramsColumn = true; break; } } if($showProgramsColumn) break; } } } ?>
Patients
@if($pro->pro_type === 'ADMIN') @endif @if($pro->isDefaultNA() || $pro->pro_type === 'ADMIN') @endif @if($showProgramsColumn) @endif @foreach($patients as $patient) @if($pro->pro_type === 'ADMIN') @endif @if($pro->isDefaultNA() || $pro->pro_type === 'ADMIN') @endif @if($showProgramsColumn) @endif @endforeach
Chart # PatientSourceOB Signed
Notes
CM
Setup
Created At AddressProgram(s)MCN PCP Recent Notes
(overall)
Recent Notes
(me)
Appointments Account Tags
{{$loop->index + 1}} {{$patient->chart_number}} {{$patient->displayName()}}
{{ friendly_date_time($patient->dob, false) }}{{ $patient->sex === 'M' ? ', Male' : ($patient->sex === ', F' ? 'Female' : '') }}
@if($patient->has_system_source) @if($patient->system_source_category === 'PRO_TEAM' && $patient->systemSourceProTeam)
Via team profile
{{$patient->systemSourceProTeam->slug}} @elseif($patient->system_source_category === 'PRO' && $patient->systemSourcePro)
Via pro profile
{{$patient->systemSourcePro->slug}} @endif @endif
@if($patient->has_mcp_done_onboarding_visit !== 'YES') @else @endif numSignedNotes(); ?> {{$numSignedNotes ? $numSignedNotes :'-'}} @if($patient->has_cm_setup_been_performed && $patient->cmSetupNote)
Note @else - @endif
{{ friendly_date_time_short_with_tz($patient->created_at, true, 'EASTERN') }}
@if($pro->pro_type === 'ADMIN') {{ $patient->initiative }} @endif
mailing_address_line1) $addressParts[] = $patient->mailing_address_line1; if (!!$patient->mailing_address_line2) $addressParts[] = $patient->mailing_address_line2; $addressParts = implode(", ", $addressParts) . "
"; $addressPart2 = []; if (!!$patient->mailing_address_city) $addressPart2[] = $patient->mailing_address_city; if (!!$patient->mailing_address_state) $addressPart2[] = $patient->mailing_address_state; $addressParts .= implode(", ", $addressPart2); echo $addressParts; ?>
@foreach($patient->clientPrograms as $clientProgram) pro_type === 'ADMIN' || in_array($pro->id, [$clientProgram->mcp_pro_id, $clientProgram->manager_pro_id]) ) { // $program = $clientProgram->program; $programNumber++; ?>
{{ $programNumber }}. {{ $clientProgram->title }} @if($clientProgram->has_mcp_done_onboarding_visit !== 'YES') @else @endif
@endforeach
getPrimaryCoverageStatus(); ?> @if($coverageStatus === 'YES')
Covered
@elseif($coverageStatus === 'NO')
Not Covered
@else
Unknown
@endif getPrimaryCoverage(); ?> @if($coverage) {{$coverage->toString()}} @endif
{{ $patient->mcp ? $patient->mcp->displayName() : '-' }} recentNotes(); ?> @foreach($allNotes as $note) @endforeach
{{friendlier_date($note->effective_dateest)}}
{{$note->hcpPro->displayName()}}
{{$note->new_or_fu_or_na}}
recentNotes($pro); ?> @foreach($myNotes as $note) @endforeach
{{friendlier_date($note->effective_dateest)}} {{$note->new_or_fu_or_na}}
@foreach($patient->upcomingAppointments as $appointment) @if($appointment->status !== 'CANCELLED' && $appointment->status !== 'ABANDONED') @endif @endforeach @if(!$numAppts) @endif
{{ friendly_date_time($appointment->start_time, false) }}, {{ friendly_time($appointment->raw_start_time) }} ({{ $appointment->timezone }})
{{$appointment->pro->displayName()}} ({{ $appointment->status }})
No upcoming appointments
@if($patient->linkedAccounts && count($patient->linkedAccounts)) @else - @endif @if($patient->tags) tags); $tags = array_filter($tags, function($_x) { return !empty($_x); }); $tags = implode(", ", $tags); ?> {{ $tags }} @endif
{{$patients->links()}}
@endsection