@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; } } } ?>
@endif | Chart # | Patient | @if($pro->isDefaultNA() || $pro->pro_type === 'ADMIN')Source | @endifOB | Signed Notes |
CM Setup |
Created At | Address | @if($showProgramsColumn)Program(s) | @endifMCN | PCP | Recent Notes (overall) |
Recent Notes (me) |
Appointments | Account | Tags | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$loop->index + 1}} | @endif{{$patient->chart_number}} |
{{$patient->displayName()}}
{{ friendly_date_time($patient->dob, false) }}{{ $patient->sex === 'M' ? ', Male' : ($patient->sex === ', F' ? 'Female' : '') }}
|
@if($pro->isDefaultNA() || $pro->pro_type === 'ADMIN')
@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
|
@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; ?> |
@if($showProgramsColumn)
@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
|
@endif
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(); ?>
|
recentNotes($pro); ?>
|
|
@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 |