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,75 @@
<?php
namespace App\Http\Controllers\ExameLaboratorial;
use App\Http\Controllers\Controller;
use App\Services\ExameLaboratorial\AgendamentoExameRetroativoService;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class AgendamentoExameRetroativoController extends Controller
{
protected $modulo = 'exame-laboratorial';
protected $funcionalidade = 'agendamento-exame-retroativo';
public function show($id)
{
$this->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);
}
}