This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\AtencaoBasica;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Services\AtencaoBasica\RelatorioCadastroConsistente\RelatorioCadastroConsistenteService;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class RelatorioCadastroConsistenteController extends Controller
|
||||
{
|
||||
protected $modulo = 'atencao-basica';
|
||||
protected $funcionalidade = 'relatorio-cadastro-consistente';
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->auth(__FUNCTION__);
|
||||
return response()->json([], Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getUnidades()
|
||||
{
|
||||
return response()->json(RelatorioCadastroConsistenteService::getUnidades(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getAreas()
|
||||
{
|
||||
return response()->json(RelatorioCadastroConsistenteService::getAreas(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getMicroAreas()
|
||||
{
|
||||
return response()->json(RelatorioCadastroConsistenteService::getMicroAreas(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function list()
|
||||
{
|
||||
return response()->json(RelatorioCadastroConsistenteService::list(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getPacientes()
|
||||
{
|
||||
return response()->json(RelatorioCadastroConsistenteService::getPacientes(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user