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,58 @@
<?php
namespace App\Http\Controllers\ProntoAtendimento;
use App\Http\Controllers\Controller;
use App\Services\ProntoAtendimento\RelatorioPrescricaoInternaService;
use Illuminate\Http\Response;
class RelatorioPrescricaoInternaController extends Controller
{
protected $modulo = 'pronto-atendimento';
protected $funcionalidade = 'relatorio-prescricao-interna';
public function index()
{
return response()->json(RelatorioPrescricaoInternaService::index(), Response::HTTP_OK);
}
public function list()
{
return response()->json(RelatorioPrescricaoInternaService::list(), Response::HTTP_OK);
}
public function autocompletePaciente()
{
return datatables()->of(RelatorioPrescricaoInternaService::autocompletePaciente())->toJson();
}
public function filtragemPorUnidade()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorUnidade(), Response::HTTP_OK);
}
public function filtragemPorLocalAtendimento()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorLocalAtendimento(), Response::HTTP_OK);
}
public function filtragemPorOcupacao()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorOcupacao(), Response::HTTP_OK);
}
public function filtragemPorProfissional()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorProfissional(), Response::HTTP_OK);
}
public function filtragemPorMedicamento()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorMedicamento(), Response::HTTP_OK);
}
public function filtragemPorStatus()
{
return response()->json(RelatorioPrescricaoInternaService::filtragemPorStatus(), Response::HTTP_OK);
}
}