Agregar seccion Pendientes de Sala en Internaciones con filtros por tipo y fecha programada
This commit is contained in:
+17
@@ -13,6 +13,7 @@ import { NuevoIngreso } from '@/sections/NuevoIngreso';
|
||||
import { EditIngreso } from '@/sections/EditIngreso';
|
||||
import { Login } from '@/sections/Login';
|
||||
import { GestionUsuarios } from '@/sections/GestionUsuarios';
|
||||
import { PendientesSala } from '@/sections/PendientesSala';
|
||||
import { Spinner } from '@/components/ui/spinner';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
@@ -91,6 +92,22 @@ function AppContent() {
|
||||
getCamaById={store.getCamaById}
|
||||
onVerHC={(id) => { store.setCurrentInternacion(id); store.setVista('historiaclinica'); }}
|
||||
onNuevoIngreso={() => store.setVista('nuevoingreso')}
|
||||
onVerPendientesDeSala={() => store.setVista('pendientessala')}
|
||||
/>
|
||||
);
|
||||
case 'pendientessala':
|
||||
return (
|
||||
<PendientesSala
|
||||
pendientes={store.pendientes}
|
||||
internaciones={store.internaciones}
|
||||
pacientes={store.pacientes}
|
||||
camas={store.camas}
|
||||
onActualizarPendiente={store.actualizarPendiente}
|
||||
onEliminarPendiente={store.eliminarPendiente}
|
||||
onVerHC={(id) => { store.setCurrentInternacion(id); store.setVista('historiaclinica'); }}
|
||||
onVolver={() => store.setVista('internaciones')}
|
||||
getPacienteById={store.getPacienteById}
|
||||
getCamaById={store.getCamaById}
|
||||
/>
|
||||
);
|
||||
case 'evoluciones':
|
||||
|
||||
Reference in New Issue
Block a user