Browse Source

fixed mcn value on patient

Josh 4 years ago
parent
commit
acdf5fcf3d

+ 1 - 1
resources/views/app/patients.blade.php

@@ -58,7 +58,7 @@
                                 @if($patient->mcn)
                                     <div>Invalid MCN</div>
                                 @else
-                                    <div>No MCN Provided</div>
+                                    <div>No Info Provided</div>
                                 @endif
                             @endif
                         </td>

+ 5 - 4
resources/views/layouts/patient.blade.php

@@ -142,9 +142,10 @@
                                         <div>{{friendly_date_time($patient->dob, false)}} ({{$patient->age_in_years}} y.o {{$patient->sex}})</div>
                                         <div>
                                             <label>MCN:</label>
-                                            @if($patient->was_medicare_validation_successful)
+                                            @if($patient->was_medicare_validation_successful && $patient->is_part_b_primary == 'YES')
+                                                Covered <span style="color:green"><i class="fa fa-check-circle"></i> </span>
+                                            @elseif($patient->was_medicare_validation_successful)
                                                 <span>
-                                                    Valid #,
                                                     @if($patient->is_part_b_primary == 'YES')
                                                         Medicare Part B
                                                     @else
@@ -159,9 +160,9 @@
                                                 <div moe>
                                                     <a href="" start show>
                                                         @if($patient->mcn)
-                                                            {{$patient->mcn}} INVALID! <i class="fa fa-times"></i>
+                                                            {{$patient->mcn}} Invalid MCN <i class="fa fa-times"></i>
                                                         @else
-                                                            None provided.
+                                                            No Info Provided
                                                         @endif
                                                     </a>
                                                     <form url="/api/client/putMedicareInfo" class="mcp-theme-1">