@extends ('layouts/template') @section('content') @if($pro->id === 1 || $pro->id === 16) @endif 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->id === 1 || $pro->id === 16)
@endif
@if($pro->pro_type === 'ADMIN') @endif @if($showProgramsColumn)@endif {{----}} @foreach($patients as $patient) @if($pro->pro_type === 'ADMIN') @endif @if($showProgramsColumn) @endif {{----}} @endforeach
Chart # Patient OB Signed
Notes
Created At AddressProgram(s)MCN PCPRMMAppointments 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_mcp_done_onboarding_visit !== 'YES') @else @endif numSignedNotes(); ?> {{$numSignedNotes ? $numSignedNotes :'-'}} {{ 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
@if($patient->was_medicare_validation_successful && $patient->is_part_b_primary == 'YES') Covered @elseif($patient->was_medicare_validation_successful)
Valid Medicare Number
Not Medicare Part B
@if($patient->is_medicare_advantage == 'YES')
Medicare Advantage: {{$patient->medicare_advantage_plan}}
@endif @else @if($patient->mcn)
Invalid MCN
@else @if($patient->is_coverage_manually_verified) {{$patient->coverage_manual_verification_memo}} @else
No Info Provided
@endif @endif @endif
{{ $patient->mcp ? $patient->mcp->displayName() : '-' }} {{ $patient->rmm ? $patient->rmm->displayName() : '-' }} @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