Files
rkm-conectasus-ci-sandbox/api/app/Http/Controllers/ProntoAtendimento/RelatorioAtendimentoController.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

84 lines
2.5 KiB
PHP

<?php
namespace App\Http\Controllers\ProntoAtendimento;
use App\Http\Controllers\Controller;
use App\Services\ProntoAtendimento\RelatorioAtendimentoService;
use Illuminate\Http\Response;
class RelatorioAtendimentoController extends Controller
{
protected $modulo = 'pronto-atendimento';
protected $funcionalidade = 'relatorio-atendimento';
public function index()
{
return response()->json(RelatorioAtendimentoService::index(), Response::HTTP_OK);
}
public function list()
{
return response()->json(RelatorioAtendimentoService::list(), Response::HTTP_OK);
}
public function autocompletePaciente()
{
return datatables()->of(RelatorioAtendimentoService::autocompletePaciente())->toJson();
}
public function filtragemPorDiaSemana()
{
return response()->json(RelatorioAtendimentoService::filtragemPorDiaSemana(), Response::HTTP_OK);
}
public function filtragemPorUnidade()
{
return response()->json(RelatorioAtendimentoService::filtragemPorUnidade(), Response::HTTP_OK);
}
public function filtragemPorLocalAtendimento()
{
return response()->json(RelatorioAtendimentoService::filtragemPorLocalAtendimento(), Response::HTTP_OK);
}
public function filtragemPorClassificacaoRisco()
{
return response()->json(RelatorioAtendimentoService::filtragemPorClassificacaoRisco(), Response::HTTP_OK);
}
public function filtragemPorDesfecho()
{
return response()->json(RelatorioAtendimentoService::filtragemPorDesfecho(), Response::HTTP_OK);
}
public function filtragemPorOcupacao()
{
return response()->json(RelatorioAtendimentoService::filtragemPorOcupacao(), Response::HTTP_OK);
}
public function filtragemPorProfissional()
{
return response()->json(RelatorioAtendimentoService::filtragemPorProfissional(), Response::HTTP_OK);
}
public function filtragemPorStatus()
{
return response()->json(RelatorioAtendimentoService::filtragemPorStatus(), Response::HTTP_OK);
}
public function filtragemPorCid()
{
return response()->json(RelatorioAtendimentoService::filtragemPorCid(), Response::HTTP_OK);
}
public function filtragemPorSexo()
{
return response()->json(RelatorioAtendimentoService::filtragemPorSexo(), Response::HTTP_OK);
}
public function filtragemPorClassificacaoPaciente()
{
return response()->json(RelatorioAtendimentoService::filtragemPorClassificacaoPaciente(), Response::HTTP_OK);
}
}