|
@@ -702,34 +702,56 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <?php $currentCareMonth = $patient->currentCareMonth(); ?>
|
|
|
|
- @if($currentCareMonth && $pro->id === $currentCareMonth->mcp_pro_id)
|
|
|
|
- <div class="">
|
|
|
|
- <?php $spoken = $currentCareMonth->has_anyone_interacted_with_client_about_rm_outside_note; ?>
|
|
|
|
- <span class="">Communicated this month:</span>
|
|
|
|
- <b class="{{$spoken ? 'text-success' : ''}}">
|
|
|
|
- {{$spoken ? 'Yes' : 'No'}}
|
|
|
|
- @if(!$spoken)
|
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
- @else
|
|
|
|
- <i class="fa fa-check"></i>
|
|
|
|
|
|
+ <div class="separators">
|
|
|
|
+ <?php $currentCareMonth = $patient->currentCareMonth(); ?>
|
|
|
|
+ @if($currentCareMonth && $pro->id === $currentCareMonth->mcp_pro_id)
|
|
|
|
+ <div class="">
|
|
|
|
+ <?php $spoken = $currentCareMonth->has_anyone_interacted_with_client_about_rm_outside_note; ?>
|
|
|
|
+ <span class="">Communicated this month:</span>
|
|
|
|
+ <b class="{{$spoken ? 'text-success' : ''}}">
|
|
|
|
+ {{$spoken ? 'Yes' : 'No'}}
|
|
|
|
+ @if(!$spoken)
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ @else
|
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
|
+ @endif
|
|
|
|
+ </b>
|
|
|
|
+ @if($currentCareMonth->mcp && $pro->id === $currentCareMonth->mcp->id)
|
|
|
|
+ <div moe relative class="ml-1">
|
|
|
|
+ <a href="#" start show class="text-sm"><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/careMonth/setHasAnyoneInteractedWithClientAboutRmOutsideNoteTo{{$spoken ? 'False' : 'True'}}" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$currentCareMonth->uid}}">
|
|
|
|
+ <p>Set to {{$spoken ? 'No' : 'Yes'}}?</p>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
@endif
|
|
@endif
|
|
- </b>
|
|
|
|
- @if($currentCareMonth->mcp && $pro->id === $currentCareMonth->mcp->id)
|
|
|
|
- <div moe relative class="ml-1">
|
|
|
|
- <a href="#" start show class="text-sm">Toggle</a>
|
|
|
|
- <form url="/api/careMonth/setHasAnyoneInteractedWithClientAboutRmOutsideNoteTo{{$spoken ? 'False' : 'True'}}" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$currentCareMonth->uid}}">
|
|
|
|
- <p>Set to {{$spoken ? 'No' : 'Yes'}}?</p>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ @if($patient->mcp && $patient->mcp->id === $pro->id || $pro->pro_type == 'ADMIN')
|
|
|
|
+ <div>
|
|
|
|
+ <label>Follow-up Freq (days):</label>
|
|
|
|
+ <b>{!! is_null($patient->mcp_usual_follow_up_frequency_in_days) ? '<span class="text-danger">Not Set</span>' : $patient->mcp_usual_follow_up_frequency_in_days !!}</b>
|
|
|
|
+ <div moe relative class="ml-2">
|
|
|
|
+ <a href="#" start show class="text-sm"><i class="fa fa-edit"></i></a>
|
|
|
|
+ <form url="/api/client/putMcpUsualFollowUpFrequencyInDays">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1 text-nowrap">Follow-up Frequency (days)</label>
|
|
|
|
+ <input type="number" required name="mcpUsualFollowUpFrequencyInDays" class="form-control form-control-sm" value="{{@$patient->mcp_usual_follow_up_frequency_in_days}}">
|
|
|
|
+ </div>
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|
|
<button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
<button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
<button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
<button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|