auth(__FUNCTION__); return response()->json(AgendamentoExameRetroativoService::show($id), Response::HTTP_OK); } public function getAgendamento($id) { return response()->json(AgendamentoExameRetroativoService::getAgendamento($id), Response::HTTP_OK); } public function getDetalhamento($id) { return response()->json(AgendamentoExameRetroativoService::getDetalhamento($id), Response::HTTP_OK); } public function printEtiqueta($id) { return response()->json(AgendamentoExameRetroativoService::printEtiqueta($id), Response::HTTP_OK); } public function printProtocolo($id) { return response()->json(AgendamentoExameRetroativoService::printProtocolo($id), Response::HTTP_OK); } public function getHistoricoMedicamento($id) { return response()->json(AgendamentoExameRetroativoService::getHistoricoMedicamento($id), Response::HTTP_OK); } public function store(Request $request) { $this->auth(__FUNCTION__); return response()->json(AgendamentoExameRetroativoService::store($request), Response::HTTP_CREATED); } public function getJornadas(Request $request) { $this->auth(__FUNCTION__); return response()->json(AgendamentoExameRetroativoService::getJornadas($request), Response::HTTP_OK); } public function getSupervisor(Request $request) { $this->auth(__FUNCTION__); return response()->json(AgendamentoExameRetroativoService::getSupervisor($request), Response::HTTP_OK); } public function getCotas(Request $request) { $this->auth(__FUNCTION__); return response()->json(AgendamentoExameRetroativoService::getCotas($request), Response::HTTP_OK); } }