profile_picture_base64; $initials = !$thumbnail ? substr($patient->name_first, 0, 1).substr($patient->name_last, 0, 1) : ''; $online = $patient->is_online ? 'online' : ''; $patientName = implode(', ', array_filter([$patient->name_last, $patient->name_first])); $confirmedCell = empty($patient->cell_number) ? '-' : $patient->cell_number; $confirmedEmail = empty($patient->email_address) ? '-' : $patient->email_address; $location = implode(', ', array_filter([$patient->home_address_city, $patient->home_address_state])); $location = empty($location) ? '-' : $location; $mcpName = $patient->mcp ? implode(', ', array_filter([$patient->mcp->name_last, $patient->mcp->name_first])) : null; $cmName = $patient->cm ? implode(', ', array_filter([$patient->cm->name_last, $patient->cm->name_first])) : null; $memberSince = date_diff(date_create($patient->created_at), date_create('now'))->days; if ($memberSince > 30) $memberSince = date('F, Y', strtotime($patient->created_at)); else if ($memberSince > 1) $memberSince .= ' days ago'; else if ($memberSince === 1) $memberSince = 'yesterday'; else if ($memberSince === 0) $memberSince = 'today'; ?>
@if($patient->is_duplicate)
This chart is a duplicate of  {{ $patient->duplicateOf->displayName() }}
@endif

{{$patientName}}

[#{{$patient->chart_number}}]
{{friendly_date_time($patient->dob, false)}} ({{$patient->age_in_years}} y.o {{$patient->sex}})
@if($patient->was_medicare_validation_successful) Valid #, @if($patient->is_part_b_primary == 'YES') Medicare Part B @else Not Medicare Part B @if($patient->is_medicare_advantage == 'YES') , Medicare Advantage, {{$patient->medicare_advantage_plan}} @endif @endif @else @endif
  • {{$confirmedCell}}
  • {{$confirmedEmail}}
  • {{$location}}
Joined
{{$mcpName}}
{{$cmName}}
@if($patient->has_mcp_done_onboarding_visit !== 'YES') MCP Onboarding Visit Pending @else MCP Onboarding Visit Completed @endif
{{--
Grass, Pollen, Latex
--}}
{{$patient->next_mcp_appointment ? friendly_date_time($patient->next_mcp_appointment, $patient->is_next_appointment_time_specific) : '-'}}
next_mcp_appointment)[0] : date('Y-m-d') }}" class="form-control form-control-sm">
next_mcp_appointment)[1] : '' }}" {{ $patient->is_next_appointment_time_specific ? '' : 'disabled' }}>
{{ $patient->is_enrolled_in_cm === 'YES' ? 'Yes' : 'No' }} {{ $patient->is_enrolled_in_rm === 'YES' ? 'Yes' : 'No' }}

Send SMS to patient with check-in link?

{{--

@yield('section-title')

--}}
@yield('inner-content')