patients.blade.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @extends ('layouts/template')
  2. @section('content')
  3. <div class="p-3">
  4. <div class="card">
  5. <div class="card-header">
  6. <strong>
  7. <i class="fas fa-user-injured"></i>
  8. Patients
  9. </strong>
  10. </div>
  11. <div class="card-body p-0">
  12. <table class="table table-condensed p-0 m-0">
  13. <thead>
  14. <tr>
  15. <th>#</th>
  16. <th>Name</th>
  17. <th>DOB</th>
  18. <th>Sex</th>
  19. <th>Ins.</th>
  20. <th>PCP</th>
  21. <th>Assistant</th>
  22. <th>Last E&M</th>
  23. <th>Next E&M</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. @foreach($patients as $patient)
  28. <tr>
  29. <td>
  30. <a href="{{route('patients.view.dashboard', $patient)}}">
  31. {{$patient->chart_number}}
  32. </a>
  33. </td>
  34. <td>
  35. {{$patient->displayName()}}
  36. </td>
  37. <td>B</td>
  38. <td>C</td>
  39. <td>D</td>
  40. <td>E</td>
  41. <td>F</td>
  42. <td>G</td>
  43. <td>H</td>
  44. </tr>
  45. @endforeach
  46. </tbody>
  47. </table>
  48. </div>
  49. <div class="card-footer">
  50. Pagination Later
  51. </div>
  52. </div>
  53. </div>
  54. @endsection