public function recordDiagnosisRecordShow($patientId)
 {
     $appointment = appointment::toBeRecordedDiag($patientId, Auth::user()->userId);
     $phys = null;
     $search = 'yes';
     if ($appointment != null) {
         $phys = $appointment->physicalRecord;
     }
     return view('doctor.diagnose')->with('appointment', $appointment)->with('phys', $phys)->with('search', $search);
 }