|
@@ -28,14 +28,13 @@ class PatientController extends Controller
|
|
|
$matching = ClientBDTDevice::where('device_id', $record->id)->get();
|
|
|
return count($matching) === 0;
|
|
|
});
|
|
|
- $programs = Program::where('is_active', true)->orderBy('title', 'asc')->get();
|
|
|
$dxInfoLines = ClientInfoLine::where('client_id', $patient->id)
|
|
|
->where('category', 'dx')
|
|
|
->where('is_removed', false)
|
|
|
->orderBy('content_text', 'asc')
|
|
|
->get();
|
|
|
return view('app.patient.dashboard',
|
|
|
- compact('patient', 'facilities', 'devices', 'dxInfoLines', 'programs'));
|
|
|
+ compact('patient', 'facilities', 'devices', 'dxInfoLines'));
|
|
|
}
|
|
|
|
|
|
public function actionItems(Request $request, Client $patient )
|