|
@@ -81,10 +81,62 @@
|
|
|
<div class="font-weight-bold" style="font-size: 1.4em">
|
|
|
{{$patient->name_last}}, {{$patient->name_first}}
|
|
|
</div>
|
|
|
+ @if(!$patient->was_medicare_validation_successful)
|
|
|
+ <div moe class="ml-2">
|
|
|
+ <a href="" start show>
|
|
|
+ <i class="fas fa-edit"></i>
|
|
|
+ </a>
|
|
|
+ <form url="/api/client/editName">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <div class="form-group">
|
|
|
+ Prefix: <input type="text" name="namePrefix"
|
|
|
+ value="{{$patient->name_prefix}}"><br>
|
|
|
+ First: <input type="text" name="nameFirst"
|
|
|
+ value="{{$patient->name_first}}"><br>
|
|
|
+ Middle: <input type="text" name="nameMiddle"
|
|
|
+ value="{{$patient->name_middle}}"><br>
|
|
|
+ Last: <input type="text" name="nameLast"
|
|
|
+ value="{{$patient->name_last}}"><br>
|
|
|
+ Suffix: <input type="text" name="nameSuffix"
|
|
|
+ value="{{$patient->name_suffix}}"><br>
|
|
|
+ Credential: <input type="text" name="nameCredential"
|
|
|
+ value="{{$patient->name_credential}}"><br>
|
|
|
+ Nickname: <input type="text" name="nameNickname"
|
|
|
+ value="{{$patient->name_nickname}}"><br>
|
|
|
+ Maiden: <input type="text" name="nameMaiden"
|
|
|
+ value="{{$patient->name_maiden}}"><br>
|
|
|
+ Previous: <input type="text" name="namePrevious"
|
|
|
+ value="{{$patient->name_previous}}">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-secondary btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
<span class="pl-2">
|
|
|
{{$patient->dob}}
|
|
|
{{$patient->age_in_years}} y.o. {{$patient->sex}}
|
|
|
</span>
|
|
|
+ @if(!$patient->was_medicare_validation_successful)
|
|
|
+ <div moe class="ml-2">
|
|
|
+ <a href="" start show>
|
|
|
+ <i class="fas fa-edit"></i>
|
|
|
+ </a>
|
|
|
+ <form url="/api/client/editDob">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <div class="form-group">
|
|
|
+ <input type="date" class="" name="dob"
|
|
|
+ value="{{$patient->dob}}">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-secondary btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
<div class="align-items-center d-flex">
|
|
|
<i class="badge badge-info ml-3">
|
|
@@ -96,14 +148,16 @@
|
|
|
@if($patient->mcp)
|
|
|
{{$patient->mcp->name_display}}...
|
|
|
@if($patient->has_mcp_done_onboarding_visit == 'YES')
|
|
|
- <strong>First E&M Visit:</strong> {{$patient->mcp_onboarding_visit_date}}...
|
|
|
- <strong>Last E&M Visit:</strong>{$patient->most_recent_mcp_em_visit_date}...
|
|
|
+ <strong>First E&M
|
|
|
+ Visit:</strong> {{$patient->mcp_onboarding_visit_date}}...
|
|
|
+ <strong>Last E&M Visit:</strong>
|
|
|
+ {$patient->most_recent_mcp_em_visit_date}...
|
|
|
<strong>Next E&M Visit:</strong> {$patient->next_mcp_em_visit_date}
|
|
|
@else
|
|
|
- <div class="alert alert-success text-sm p-1">
|
|
|
+ <span class="alert alert-success text-sm p-1">
|
|
|
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
|
|
Patient has not been seen yet!
|
|
|
- </div>
|
|
|
+ </span>
|
|
|
@endif
|
|
|
@else
|
|
|
<div moe>
|
|
@@ -114,10 +168,11 @@
|
|
|
<form url="/api/client/putMcp">
|
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
<div class="form-group">
|
|
|
- <select name="mcpProUid" class="form-control">
|
|
|
+ <select name="mcpProUid" class="form-control">
|
|
|
<option value="">-- select mcp --</option>
|
|
|
@foreach ($pros as $pro)
|
|
|
- <option value="{{$pro->uid}}">{{$pro->name_display}}</option>
|
|
|
+ <option
|
|
|
+ value="{{$pro->uid}}">{{$pro->name_display}}</option>
|
|
|
@endforeach
|
|
|
</select>
|
|
|
</div>
|
|
@@ -135,24 +190,8 @@
|
|
|
@if($patient->cm)
|
|
|
{{$patient->cm->name_display}}
|
|
|
@else
|
|
|
- <div moe>
|
|
|
+ <div>
|
|
|
none!
|
|
|
- <a href="" start show><i class="fas fa-edit"></i></a>
|
|
|
- <form url="/api/client/putCmPro">
|
|
|
- <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
- <div class="form-group">
|
|
|
- <select name="cmProUid" class="form-control">
|
|
|
- <option value="">-- select cm --</option>
|
|
|
- @foreach ($pros as $pro)
|
|
|
- <option value="{{$pro->uid}}">{{$pro->name_display}}</option>
|
|
|
- @endforeach
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="form-group">
|
|
|
- <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
- <button class="btn btn-secondary btn-sm" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
</div>
|
|
|
@endif
|
|
|
</div>
|
|
@@ -163,24 +202,45 @@
|
|
|
<strong>MCN:</strong>
|
|
|
@if($patient->mcn)
|
|
|
@if($patient->was_medicare_validation_successful)
|
|
|
- Valid #,
|
|
|
- @if($patient->is_part_b_primary == 'YES')
|
|
|
- Medicare Part B <i class="fa fa-check"></i>
|
|
|
- @else
|
|
|
- Not Medicare Part B <i class="fa fa-times"></i>
|
|
|
- @if($patient->is_medicare_advantage == 'YES')
|
|
|
- , Medicare Advantage,
|
|
|
- {{$patient->medicare_advantage_plan}}
|
|
|
+ <span
|
|
|
+ class="badge badge-{{$patient->is_part_b_primary == 'YES' ? 'success' : 'danger'}}">
|
|
|
+ Valid #,
|
|
|
+ @if($patient->is_part_b_primary == 'YES')
|
|
|
+ Medicare Part B <i class="fa fa-check"></i>
|
|
|
+ @else
|
|
|
+ Not Medicare Part B <i class="fa fa-times"></i>
|
|
|
+ @if($patient->is_medicare_advantage == 'YES')
|
|
|
+ , Medicare Advantage,
|
|
|
+ {{$patient->medicare_advantage_plan}}
|
|
|
+ @endif
|
|
|
@endif
|
|
|
- @endif
|
|
|
+ </span>
|
|
|
@else
|
|
|
- {{$patient->mcn}}
|
|
|
- INVALID! <i class="fa fa-times"></i>
|
|
|
- [Update MCN]
|
|
|
+ <span class="badge badge-warning">
|
|
|
+ {{$patient->mcn}}
|
|
|
+ INVALID! <i class="fa fa-times"></i>
|
|
|
+ </span>
|
|
|
@endif
|
|
|
@else
|
|
|
None provided. <i class="fa fa-times"></i>
|
|
|
@endif
|
|
|
+ @if(!$patient->was_medicare_validation_successful)
|
|
|
+ <div moe>
|
|
|
+ <a href="" start show><i class="fas fa-edit"></i></a>
|
|
|
+ <form url="/api/client/putMcn">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <div class="form-group">
|
|
|
+ <input type="text" name="mcn" value="{{$patient->mcn}}">
|
|
|
+ </div>
|
|
|
+ <div class="form-group">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit
|
|
|
+ </button>
|
|
|
+ <button class="btn btn-secondary btn-sm" cancel>Cancel
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="d-flex">
|