Add outside area bed workflow
- Add input for writing bed number in NuevoIngreso and EditIngreso - Auto-complete area when selecting bed from dropdown - Automatically create new bed with 'Fuera de area' when typing number - Modify finalizarInternacion to delete bed only for outside area - Add two-mode selection: select bed or write bed
This commit is contained in:
@@ -194,6 +194,7 @@ function AppContent() {
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
onIniciarInternacion={store.iniciarInternacion}
|
||||
onAgregarCama={store.agregarCama}
|
||||
onVolver={() => store.setVista('internaciones')}
|
||||
getAreaName={(areaId) => store.areas.find(a => a.id === areaId)?.nombre || ''}
|
||||
/>
|
||||
@@ -219,6 +220,7 @@ function AppContent() {
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
onActualizarInternacion={store.actualizarInternacion}
|
||||
onAgregarCama={store.agregarCama}
|
||||
onVolver={() => store.setVista('historiaclinica')}
|
||||
getAreaName={(areaId) => store.areas.find(a => a.id === areaId)?.nombre || ''}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user