|
@@ -904,6 +904,89 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
+ @if($note->method === 'IN_CLINIC' || $pro->pro_type === 'ADMIN')
|
|
|
|
+ <div class="p-3 border-bottom">
|
|
|
|
+ <div class="ml-auto d-inline-flex align-items-center">
|
|
|
|
+
|
|
|
|
+ <span class="text-secondary font-weight-bold">Pro: </span>
|
|
|
|
+ <b>{{$note->hcpPro ? $note->hcpPro->displayName() : '-'}}</b>
|
|
|
|
+
|
|
|
|
+ <span class="mx-3 text-secondary">|</span>
|
|
|
|
+ <span>
|
|
|
|
+ <span class="text-secondary font-weight-bold">Payer: </span>
|
|
|
|
+ <b>{{$note->hcpCompanyProPayer && $note->hcpCompanyProPayer->payer ? $note->hcpCompanyProPayer->payer->name : '-'}}</b>
|
|
|
|
+ <span moe class="ml-1">
|
|
|
|
+ <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/note/putHcpCompanyProPayer">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <select name="hcpCompanyProPayerUid" class="form-control form-control-sm">
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ @foreach($note->hcpPro->companyProPayers as $companyProPayer)
|
|
|
|
+ <option value="{{$companyProPayer->uid}}">{{$companyProPayer->company->name}} / {{$companyProPayer->payer->name}}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @if($note->hcpCompanyProPayer && $note->hcpCompanyProPayer->payer)
|
|
|
|
+ <span moe class="ml-1">
|
|
|
|
+ <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
|
|
|
|
+ <form url="/api/note/wipeHcpCompanyProPayer">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
|
+ <p>Wipe payer from this note?</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ <span class="mx-3 text-secondary">|</span>
|
|
|
|
+ <span>
|
|
|
|
+ <span class="text-secondary font-weight-bold">Location: </span><b>{{$note->hcpCompanyLocation ? $note->hcpCompanyLocation->line1 . ', ' . $note->hcpCompanyLocation->city : '-'}}</b>
|
|
|
|
+ <span moe class="ml-1">
|
|
|
|
+ <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/note/putHcpCompanyLocation">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <select name="hcpCompanyLocationUid" class="form-control form-control-sm">
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ @foreach($note->hcpCompany->locations as $location)
|
|
|
|
+ <option value="{{$location->uid}}">{{$location->line1 . ', ' . $location->city}}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @if($note->hcpCompanyLocation)
|
|
|
|
+ <span moe class="ml-1">
|
|
|
|
+ <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
|
|
|
|
+ <form url="/api/note/wipeHcpCompanyLocation">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
|
+ <p>Wipe location from this note?</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
|
|
+ </span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
{{-- bills --}}
|
|
{{-- bills --}}
|
|
@if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id))
|
|
@if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id))
|
|
@if($note->bills->count())
|
|
@if($note->bills->count())
|
|
@@ -1374,8 +1457,9 @@
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|
|
<tr>
|
|
<tr>
|
|
<th class="border-bottom-0 pl-2">IID</th>
|
|
<th class="border-bottom-0 pl-2">IID</th>
|
|
- <th class="border-bottom-0 w-50">Details</th>
|
|
|
|
- <th class="border-bottom-0 text-center">Status</th>
|
|
|
|
|
|
+ <th class="border-bottom-0 w-25">Details</th>
|
|
|
|
+ <th class="border-bottom-0">Current Version</th>
|
|
|
|
+ <th class="border-bottom-0">Status</th>
|
|
<th class="border-bottom-0">Submissions</th>
|
|
<th class="border-bottom-0">Submissions</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -1402,12 +1486,12 @@
|
|
@foreach($claim->lines as $line)
|
|
@foreach($claim->lines as $line)
|
|
<tr class="claim-line">
|
|
<tr class="claim-line">
|
|
<td>{{$line->cpt}}</td>
|
|
<td>{{$line->cpt}}</td>
|
|
- <td>{{$line->date_of_service}}</td>
|
|
|
|
|
|
+ <td class="text-nowrap">{{$line->date_of_service}}</td>
|
|
<td>
|
|
<td>
|
|
@if(count($line->claimLineIcds))
|
|
@if(count($line->claimLineIcds))
|
|
@foreach($line->claimLineIcds as $icd)
|
|
@foreach($line->claimLineIcds as $icd)
|
|
<div>
|
|
<div>
|
|
- <b>{{$icd->code}}</b> <span class="text-secondary">({{$icd->description}})</span>
|
|
|
|
|
|
+ <b class="c-pointer border-secondary border-bottom" title="{{$icd->description}}">{{$icd->code}}</b>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endforeach
|
|
@else
|
|
@else
|
|
@@ -1422,22 +1506,37 @@
|
|
<p>No lines for this claim</p>
|
|
<p>No lines for this claim</p>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
- <td class="text-center">
|
|
|
|
- {{$claim->status}} @if($claim->status_memo)[<i>{{$claim->status_memo}}</i>]@endif
|
|
|
|
|
|
+ <td class="border-right">
|
|
|
|
+ {{$claim->currentVersion ? friendlier_date_time($claim->currentVersion->created_at) : '-'}}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="border-right">
|
|
|
|
+ @if($claim->status)
|
|
|
|
+ <div>
|
|
|
|
+ <div>{{$claim->status}}</div>
|
|
|
|
+ @if($claim->status_memo)
|
|
|
|
+ <div class="text-secondary font-italic text-sm">{{$claim->status_memo}}</div>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
<span moe class="d-inline-block text-left" title="Update Status">
|
|
<span moe class="d-inline-block text-left" title="Update Status">
|
|
<a class="" href="" show start>Update Status</a>
|
|
<a class="" href="" show start>Update Status</a>
|
|
<form url="/api/claim/updateStatus">
|
|
<form url="/api/claim/updateStatus">
|
|
<input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
<input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
- <div class="form-group">
|
|
|
|
|
|
+ <div class="mb-2">
|
|
<label for="" class="control-label">Status</label>
|
|
<label for="" class="control-label">Status</label>
|
|
- <input type="status" name="status" class="form-control">
|
|
|
|
|
|
+ <select name="status" class="form-control form-control-sm" required>
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ <option value="NEW" {{$claim->status === 'NEW' ? 'selected' : ''}}>New</option>
|
|
|
|
+ <option value="PROCESSING" {{$claim->status === 'PROCESSING' ? 'selected' : ''}}>Processing</option>
|
|
|
|
+ <option value="SUBMITTED" {{$claim->status === 'SUBMITTED' ? 'selected' : ''}}>Submitted</option>
|
|
|
|
+ </select>
|
|
</div>
|
|
</div>
|
|
- <div class="form-group">
|
|
|
|
|
|
+ <div class="mb-2">
|
|
<label for="" class="control-label">Status Memo</label>
|
|
<label for="" class="control-label">Status Memo</label>
|
|
<textarea name="memo" class="form-control"></textarea>
|
|
<textarea name="memo" class="form-control"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="mb-0">
|
|
<div class="mb-0">
|
|
- <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|