|
@@ -45,32 +45,37 @@ class PatientController extends Controller
|
|
|
|
|
|
public function actionItemsErx(Request $request, Client $patient, $filter = 'open')
|
|
|
{
|
|
|
+ $allPros = Pro::all();
|
|
|
$facilities = Facility::where('is_active', true)->get();
|
|
|
- return view('app.patient.action-items-erx', compact('patient', 'facilities', 'filter'));
|
|
|
+ return view('app.patient.action-items-erx', compact('patient', 'facilities', 'filter', 'allPros'));
|
|
|
}
|
|
|
|
|
|
public function actionItemsLab(Request $request, Client $patient, $filter = 'open')
|
|
|
{
|
|
|
+ $allPros = Pro::all();
|
|
|
$facilities = Facility::where('is_active', true)->get();
|
|
|
- return view('app.patient.action-items-lab', compact('patient', 'facilities', 'filter'));
|
|
|
+ return view('app.patient.action-items-lab', compact('patient', 'facilities', 'filter', 'allPros'));
|
|
|
}
|
|
|
|
|
|
public function actionItemsImaging(Request $request, Client $patient, $filter = 'open')
|
|
|
{
|
|
|
+ $allPros = Pro::all();
|
|
|
$facilities = Facility::where('is_active', true)->get();
|
|
|
- return view('app.patient.action-items-imaging', compact('patient', 'facilities', 'filter'));
|
|
|
+ return view('app.patient.action-items-imaging', compact('patient', 'facilities', 'filter', 'allPros'));
|
|
|
}
|
|
|
|
|
|
public function actionItemsEquipment(Request $request, Client $patient, $filter = 'open')
|
|
|
{
|
|
|
+ $allPros = Pro::all();
|
|
|
$facilities = Facility::where('is_active', true)->get();
|
|
|
- return view('app.patient.action-items-equipment', compact('patient', 'facilities', 'filter'));
|
|
|
+ return view('app.patient.action-items-equipment', compact('patient', 'facilities', 'filter', 'allPros'));
|
|
|
}
|
|
|
|
|
|
public function actionItemsOther(Request $request, Client $patient, $filter = 'open')
|
|
|
{
|
|
|
+ $allPros = Pro::all();
|
|
|
$facilities = Facility::where('is_active', true)->get();
|
|
|
- return view('app.patient.action-items-other', compact('patient', 'facilities', 'filter'));
|
|
|
+ return view('app.patient.action-items-other', compact('patient', 'facilities', 'filter', 'allPros'));
|
|
|
}
|
|
|
|
|
|
public function intake(Request $request, Client $patient )
|