Saltar a contenido

SCR-PRN-002: Registrar Toma PRN

Identificador: SCR-PRN-002 Modulo: MTS-PRN-001 - Medicamentos PRN Version: 1.0.0 Fecha: 2025-12-05 Autor: MobileUxUiDrone (Eight of Eight)


1. Informacion General

Atributo Valor
Nombre Registrar Toma PRN
Tipo Bottom sheet / Modal
Prioridad Alta
Roles PI, CR

2. Proposito

Permitir el registro rapido de una toma de medicamento PRN con opcion de indicar motivo.


3. Wireframe ASCII

+------------------------------------------+
|=========================================  |
|                                          |
| REGISTRAR TOMA PRN                       |
|                                          |
+------------------------------------------+
| MEDICAMENTO                              |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| | [pill] Sumatriptan 50mg        [>]   | |
| |        1 de 2 dosis disponibles      | |
| +--------------------------------------+ |
|                                          |
+------------------------------------------+
| DOSIS                                    |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| |   [-]        1 tableta        [+]    | |
| +--------------------------------------+ |
|                                          |
| Dosis habitual: 1 tableta               |
|                                          |
+------------------------------------------+
| HORA DE TOMA                             |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| |   [clock] Ahora (3:45 PM)      [>]   | |
| +--------------------------------------+ |
|                                          |
+------------------------------------------+
| NOTAS (opcional)                         |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| | Agregar nota...                      | |
| +--------------------------------------+ |
|                                          |
+------------------------------------------+
|                                          |
| [Cancelar]          [Siguiente: Motivo]  |
|                                          |
+------------------------------------------+

4. Elementos de UI

4.1. Header

Elemento Componente Especificacion
Handle DragHandle Indicador arrastre
Titulo Headline6 "REGISTRAR TOMA PRN"

4.2. Medicamento Selector

Elemento Componente Especificacion
Section Header SectionHeader "MEDICAMENTO"
Selector Card outlined Tap para cambiar
Med Icon Icon medication, 32dp
Med Name Subtitle1 Nombre + concentracion
Availability Caption Dosis disponibles
Chevron Icon chevron_right

4.3. Dosis

Elemento Componente Especificacion
Section Header SectionHeader "DOSIS"
Stepper NumericStepper +/- buttons
Value Headline5 Cantidad + unidad
Default Caption Dosis habitual

4.4. Hora

Elemento Componente Especificacion
Section Header SectionHeader "HORA DE TOMA"
Time Selector Card outlined Default "Ahora"
Icon Icon schedule
Time Text Body1 "Ahora" o hora especifica

4.5. Notas

Elemento Componente Especificacion
Section Header SectionHeader "NOTAS (opcional)"
Input TextField multiline Placeholder

4.6. Actions

Elemento Componente Especificacion
Cancel TextButton "Cancelar"
Next PrimaryButton "Siguiente: Motivo"

5. Comportamiento

5.1. Pre-seleccion

  • Si viene de card especifica, medicamento pre-seleccionado
  • Si viene de FAB, lista de medicamentos disponibles

5.2. Seleccion de Medicamento

  • Modal con lista de PRN disponibles
  • Medicamentos bloqueados deshabilitados
  • Muestra disponibilidad de cada uno

5.3. Hora de Toma

Opcion Uso
Ahora Default, hora actual
Personalizada Time picker
Hace X minutos Presets rapidos

5.4. Validacion

  • Verifica disponibilidad del medicamento
  • Verifica dosis maxima por toma
  • Verifica intervalo desde ultima toma

6. Estados

6.1. Estado Normal

  • Medicamento disponible
  • Sin advertencias

6.2. Estado Warning (Cerca del Limite)

+------------------------------------------+
| [!] ADVERTENCIA                          |
| Esta sera tu ultima dosis permitida hoy. |
+------------------------------------------+

6.3. Estado Intervalo Activo

+------------------------------------------+
| [clock] Intervalo minimo no cumplido     |
|                                          |
| Ultima toma: 2:00 PM (hace 1h 45m)       |
| Intervalo minimo: 4 horas                |
| Disponible: 6:00 PM                      |
|                                          |
| [Esperar] [Registrar de todas formas*]   |
|                                          |
| *Esto se notificara a tu cuidador        |
+------------------------------------------+

6.4. Estado Bloqueado

+------------------------------------------+
| [X] LIMITE ALCANZADO                     |
|                                          |
| Has alcanzado el limite diario de        |
| Sumatriptan (2 de 2 dosis).              |
|                                          |
| Proxima dosis disponible: Manana 12:00AM |
|                                          |
| Si el dolor persiste, contacta a tu      |
| medico.                                  |
|                                          |
| [Entendido]                              |
+------------------------------------------+

7. Accesibilidad

7.1. WCAG 2.1 AA

Criterio Implementacion
1.3.1 Secciones con headings
2.1.1 Todos los controles accesibles
3.3.1 Errores claros

7.2. Screen Reader

Elemento Anuncio
Med selector "[Med], [disponibilidad], boton"
Stepper "Dosis, [valor], stepper"
Warning "Advertencia: [mensaje]"
Blocked "Error: Limite alcanzado"

8. Navegacion

8.1. Entradas

Origen Accion Parametros
SCR-PRN-001 FAB -
SCR-PRN-001 Card action med_id
Quick Action Widget med_id

8.2. Salidas

Destino Accion Parametros
SCR-PRN-003 Siguiente med_id, dose, time
SCR-PRN-001 Cancelar -
Dismiss Tap outside -

9. Analytics

Evento Trigger Datos
prn_register_opened Sheet visible med_id
prn_med_selected Cambiar med med_id
prn_dose_changed Stepper dose
prn_warning_shown Limite cercano med_id
prn_blocked_shown Limite alcanzado med_id

Documento generado por MobileUxUiDrone (Eight of Eight)