Flujo de Navegacion - Medicamentos PRN
Identificador: UIF-PRN-001
Modulo: MTS-PRN-001 - Medicamentos PRN (Segun Necesidad)
Version: 1.0.0
Fecha: 2025-12-05
Autor: MobileUxUiDrone (Eight of Eight)
1. Resumen del Flujo
Este documento especifica el flujo de navegacion completo para el modulo de Medicamentos PRN (Pro Re Nata - "segun necesidad"), que permite registrar y analizar el uso de medicamentos tomados bajo demanda.
1.1. Pantallas del Modulo
| ID |
Nombre |
Proposito |
Prioridad |
| SCR-PRN-001 |
Lista de Medicamentos PRN |
Vista principal de medicamentos PRN configurados |
Alta |
| SCR-PRN-002 |
Registrar Toma PRN |
Formulario de registro rapido de toma |
Alta |
| SCR-PRN-003 |
Motivo de Toma |
Seleccion/entrada del motivo |
Alta |
| SCR-PRN-004 |
Limites y Alertas |
Configuracion de dosis maximas |
Alta |
| SCR-PRN-005 |
Historial de Tomas PRN |
Registro cronologico de uso |
Media |
| SCR-PRN-006 |
Analisis de Uso |
Estadisticas y patrones de consumo |
Media |
2. Diagrama de Flujo Principal
flowchart TD
subgraph Entry["Puntos de Entrada"]
MED[Desde MTS-MED-001]
QUICK[Accion Rapida]
NOTIF[Notificacion Limite]
end
subgraph MainFlow["Flujo Principal"]
LIST[SCR-PRN-001<br/>Lista PRN]
REGISTER[SCR-PRN-002<br/>Registrar Toma]
REASON[SCR-PRN-003<br/>Motivo]
LIMITS[SCR-PRN-004<br/>Limites]
end
subgraph AnalysisFlow["Flujo de Analisis"]
HISTORY[SCR-PRN-005<br/>Historial]
STATS[SCR-PRN-006<br/>Analisis]
end
subgraph Actions["Acciones"]
SAVE{Guardar<br/>Toma?}
ALERT[Alerta<br/>Limite]
SUCCESS[Toma<br/>Registrada]
end
%% Entry Points
MED -->|Tab PRN| LIST
QUICK -->|Notificacion| REGISTER
NOTIF --> LIMITS
%% Main Navigation
LIST -->|FAB +| REGISTER
LIST -->|Tap med| DETAIL[Detalle PRN]
LIST -->|Config| LIMITS
%% Register Flow
REGISTER -->|Siguiente| REASON
REASON -->|Guardar| SAVE
SAVE -->|Check limite| ALERT
SAVE -->|OK| SUCCESS
ALERT -->|Continuar| SUCCESS
ALERT -->|Cancelar| REGISTER
SUCCESS --> LIST
%% Analysis Flow
LIST -->|Historial| HISTORY
LIST -->|Estadisticas| STATS
HISTORY -->|Tap item| DETAIL_TOMA[Detalle Toma]
STATS -->|Ver patron| HISTORY
%% Styling
classDef entry fill:#E3F2FD,stroke:#1976D2
classDef main fill:#E8F5E9,stroke:#388E3C
classDef analysis fill:#FFF3E0,stroke:#F57C00
classDef action fill:#FFEBEE,stroke:#D32F2F
class MED,QUICK,NOTIF entry
class LIST,REGISTER,REASON,LIMITS main
class HISTORY,STATS analysis
class SAVE,ALERT,SUCCESS action
3. User Journey: Paciente Independiente - Registrar Toma PRN
Persona: Carmen, 42 anos, tiene migranas y toma Sumatriptan PRN.
journey
title Carmen registra toma de Sumatriptan por migrana
section Inicio del Dolor
Siente inicio de migrana: 2: Carmen
Abre app MedTime: 4: Carmen
section Registro Rapido
Va a medicamentos PRN: 5: Carmen
Tap Registrar Toma: 5: Carmen
Selecciona Sumatriptan: 5: Carmen
section Detalles
Selecciona motivo Migrana: 5: Carmen
Indica intensidad 7/10: 4: Carmen
Confirma registro: 5: Carmen
section Seguimiento
Ve confirmacion con recordatorio: 5: Carmen
Recibe alerta si limite cercano: 3: Carmen
3.1. Pasos Detallados - PI
| Paso |
Pantalla |
Accion |
Siguiente |
Notas UX |
| 1 |
MTS-MED-001 |
Tap tab PRN |
SCR-PRN-001 |
Navegacion integrada |
| 2 |
SCR-PRN-001 |
Tap FAB + |
SCR-PRN-002 |
Accion principal |
| 3 |
SCR-PRN-002 |
Selecciona medicamento |
- |
Lista filtrada |
| 4 |
SCR-PRN-002 |
Tap "Siguiente" |
SCR-PRN-003 |
Validacion |
| 5 |
SCR-PRN-003 |
Selecciona motivo |
- |
Motivos predefinidos |
| 6 |
SCR-PRN-003 |
Ajusta intensidad |
- |
Slider 1-10 |
| 7 |
SCR-PRN-003 |
Tap "Registrar" |
Validacion |
Check de limites |
| 8 |
- |
Sistema verifica limites |
SCR-PRN-001 |
Alerta si necesario |
| 9 |
SCR-PRN-001 |
Ve confirmacion |
- |
Snackbar exito |
4. Tipos de Medicamentos PRN
4.1. Categorias Comunes
| Categoria |
Ejemplos |
Limites Tipicos |
| Analgesicos |
Paracetamol, Ibuprofeno |
4g/dia, 1.2g/dia |
| Antimigranas |
Sumatriptan, Rizatriptan |
2 dosis/dia, 10/semana |
| Ansiolíticos |
Lorazepam, Alprazolam |
Segun prescripcion |
| Antiacidos |
Omeprazol, Ranitidina |
1-2/dia |
| Antialergicos |
Loratadina, Cetirizina |
1/dia |
| Rescate diabetes |
Glucagon, Glucosa |
Segun emergencia |
4.2. Configuracion de Limites
flowchart LR
subgraph Limites["Tipos de Limites"]
DIA[Por Dia]
SEM[Por Semana]
MES[Por Mes]
INT[Intervalo Min]
end
subgraph Alertas["Alertas"]
WARN[Advertencia<br/>80% limite]
BLOCK[Bloqueo<br/>100% limite]
end
DIA --> WARN & BLOCK
SEM --> WARN & BLOCK
MES --> WARN & BLOCK
INT --> BLOCK
5. Estados de Pantalla
5.1. SCR-PRN-001 - Lista PRN
| Estado |
Condicion |
Visualizacion |
| Empty |
Sin PRN configurados |
CTA agregar |
| With Meds |
Con PRN |
Lista de medicamentos |
| Near Limit |
Cercano a limite |
Badge warning |
| At Limit |
Limite alcanzado |
Badge error |
5.2. SCR-PRN-002 - Registrar Toma
| Estado |
Condicion |
Visualizacion |
| Select |
Elegir medicamento |
Lista de PRN |
| Details |
Medicamento elegido |
Formulario |
| Warning |
Cercano a limite |
Banner amarillo |
| Blocked |
Limite alcanzado |
Modal bloqueante |
6. Alertas de Seguridad
6.1. Niveles de Alerta
| Nivel |
Condicion |
Accion |
| Info |
50% del limite |
Indicador sutil |
| Warning |
80% del limite |
Banner + confirm |
| Critical |
100% del limite |
Modal bloqueante |
6.2. Notificaciones al Cuidador
- Configurable por medicamento
- Alerta a cuidador cuando:
- Usuario alcanza 80% del limite
- Usuario intenta exceder limite
- Patron inusual detectado
7. Transiciones
| De |
A |
Tipo |
Duracion |
| LIST |
REGISTER |
Bottom sheet |
300ms |
| REGISTER |
REASON |
Slide left |
250ms |
| REASON |
LIST |
Pop + snackbar |
200ms |
| * |
ALERT |
Modal |
200ms |
8. Deep Links
| Deep Link |
Destino |
Parametros |
medtime://prn |
SCR-PRN-001 |
- |
medtime://prn/add |
SCR-PRN-002 |
- |
medtime://prn/add/{med_id} |
SCR-PRN-002 |
Pre-select |
medtime://prn/history |
SCR-PRN-005 |
- |
medtime://prn/stats |
SCR-PRN-006 |
- |
9. Accesibilidad
9.1. Consideraciones
| Pantalla |
Consideracion |
Implementacion |
| SCR-PRN-001 |
Limites claros |
Color + texto + icono |
| SCR-PRN-002 |
Registro rapido |
Presets, minimo input |
| SCR-PRN-003 |
Intensidad |
Slider con valor numerico |
| SCR-PRN-004 |
Alertas criticas |
role="alert" |
9.2. Screen Reader
| Accion |
Announcement |
| Limite cercano |
"Advertencia: [X] de [Y] dosis permitidas hoy" |
| Limite alcanzado |
"Limite diario alcanzado. Consulta tu medico." |
| Toma registrada |
"Toma de [med] registrada a las [hora]" |
10. Metricas
10.1. KPIs
| Metrica |
Objetivo |
Medicion |
| Tiempo registro toma |
< 30s |
analytics |
| Tasa uso motivos |
> 80% |
analytics |
| Alertas respetadas |
> 95% |
analytics |
10.2. Eventos
| Evento |
Trigger |
Datos |
prn_take_started |
Inicio registro |
med_id |
prn_take_completed |
Guardado |
med_id, reason |
prn_limit_warning |
80% limite |
med_id, usage |
prn_limit_reached |
100% limite |
med_id |
prn_limit_override |
Usuario continua |
med_id |
11. Referencias
12. Historial de Cambios
| Version |
Fecha |
Cambios |
| 1.0.0 |
2025-12-05 |
Version inicial |
Documento generado por MobileUxUiDrone (Eight of Eight)
"Control y seguridad en medicamentos segun necesidad."