init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
<?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);
}
}