SCR-PRN-003: Motivo de Toma
Identificador: SCR-PRN-003
Modulo: MTS-PRN-001 - Medicamentos PRN
Version: 1.0.0
Fecha: 2025-12-05
Autor: MobileUxUiDrone (Eight of Eight)
| Atributo |
Valor |
| Nombre |
Motivo de Toma |
| Tipo |
Pantalla de formulario |
| Prioridad |
Alta |
| Roles |
PI, CR |
2. Proposito
Capturar el motivo de la toma PRN para analisis posterior de patrones de uso.
3. Wireframe ASCII
+------------------------------------------+
| [<] Motivo de Toma [check] |
+------------------------------------------+
| |
| Sumatriptan 50mg |
| 1 tableta - Ahora |
| |
+------------------------------------------+
| MOTIVO |
+------------------------------------------+
| |
| +--------------------------------------+ |
| | (x) Migrana | |
| +--------------------------------------+ |
| | ( ) Dolor de cabeza | |
| +--------------------------------------+ |
| | ( ) Dolor de cabeza tensional | |
| +--------------------------------------+ |
| | ( ) Otro | |
| +--------------------------------------+ |
| |
+------------------------------------------+
| INTENSIDAD |
+------------------------------------------+
| |
| Leve Severo |
| 1 2 3 4 5 6 7 8 9 10 |
| [==========O=========] |
| 7 |
| |
+------------------------------------------+
| UBICACION (Opcional) |
+------------------------------------------+
| |
| +------+ +------+ +------+ +------+ |
| |Frente| |Sien | |Nuca | |Todo | |
| | | | (x) | | | | | |
| +------+ +------+ +------+ +------+ |
| |
+------------------------------------------+
| FACTORES (Opcional) |
+------------------------------------------+
| |
| +--------+ +--------+ +--------+ |
| |Estres | |Sueno | |Comida | |
| | (x) | | | | | |
| +--------+ +--------+ +--------+ |
| +--------+ +--------+ +--------+ |
| |Luz | |Ruido | |Otro | |
| | | | | | | |
| +--------+ +--------+ +--------+ |
| |
+------------------------------------------+
| |
| [REGISTRAR TOMA] |
| |
+------------------------------------------+
4. Elementos de UI
| Elemento |
Componente |
Accion |
| Back button |
IconButton |
Volver |
| Titulo |
TopAppBar |
"Motivo de Toma" |
| Save button |
IconButton |
Guardar |
4.2. Summary
| Elemento |
Componente |
Especificacion |
| Med Name |
Headline6 |
Bold |
| Details |
Body2 |
Dosis + hora |
4.3. Motivo Section
| Elemento |
Componente |
Especificacion |
| Section Header |
SectionHeader |
"MOTIVO" |
| Radio Options |
RadioGroup |
Motivos predefinidos |
| Other Field |
TextField |
Si "Otro" seleccionado |
4.4. Intensidad Section
| Elemento |
Componente |
Especificacion |
| Section Header |
SectionHeader |
"INTENSIDAD" |
| Labels |
Caption |
"Leve" / "Severo" |
| Slider |
Slider |
1-10, step 1 |
| Value |
Headline6 |
Valor actual |
4.5. Ubicacion Section (Opcional)
| Elemento |
Componente |
Especificacion |
| Section Header |
SectionHeader |
"UBICACION (Opcional)" |
| Options |
ChipGroup |
Single select |
| Chips |
FilterChip |
Frente, Sien, Nuca, Todo |
4.6. Factores Section (Opcional)
| Elemento |
Componente |
Especificacion |
| Section Header |
SectionHeader |
"FACTORES (Opcional)" |
| Options |
ChipGroup |
Multi select |
| Chips |
FilterChip |
Estres, Sueno, Comida, etc |
4.7. Action
| Elemento |
Componente |
Especificacion |
| Register |
PrimaryButton |
"REGISTRAR TOMA" |
| Position |
Fixed bottom |
Safe area |
5. Comportamiento
5.1. Motivos por Tipo de Medicamento
| Tipo PRN |
Motivos Predefinidos |
| Antimigranas |
Migrana, Dolor de cabeza, Aura |
| Analgesicos |
Dolor de cabeza, Muscular, Articular |
| Ansiolíticos |
Ansiedad, Panico, Insomnio |
| Antiacidos |
Acidez, Reflujo, Malestar estomacal |
5.2. Campos Opcionales
- Ubicacion: Solo para dolores de cabeza
- Factores: Siempre opcional pero recomendado
- Mejora seguimiento y analisis
5.3. Skip Option
- Usuario puede registrar sin motivo
- Se registra como "Sin especificar"
- Disclaimer de utilidad de datos
6. Estados
6.1. Estado Inicial
- Motivos visibles
- Intensidad en 5 (medio)
- Secciones opcionales colapsadas
6.2. Estado Completado
- Motivo seleccionado
- Boton registrar habilitado
6.3. Estado Skip
+------------------------------------------+
| Registrar sin motivo? |
| |
| Los motivos nos ayudan a analizar |
| patrones y mejorar tu tratamiento. |
| |
| [Agregar motivo] [Registrar sin motivo] |
+------------------------------------------+
7. Accesibilidad
7.1. WCAG 2.1 AA
| Criterio |
Implementacion |
| 1.3.1 |
Secciones con headings |
| 1.4.11 |
Slider con valor visible |
| 4.1.2 |
Radio buttons nativos |
7.2. Screen Reader
| Elemento |
Anuncio |
| Radio |
"[Motivo], radio button, [seleccionado/no]" |
| Slider |
"Intensidad, slider, valor [X] de 10" |
| Chip |
"[Factor], chip, [seleccionado/no]" |
8. Navegacion
8.1. Entradas
| Origen |
Accion |
Parametros |
| SCR-PRN-002 |
Siguiente |
med_id, dose, time |
8.2. Salidas
| Destino |
Accion |
Parametros |
| SCR-PRN-001 |
Registrar |
all_data |
| SCR-PRN-002 |
Back |
- |
9. Analytics
| Evento |
Trigger |
Datos |
prn_reason_selected |
Seleccionar motivo |
reason |
prn_intensity_set |
Cambiar slider |
value |
prn_factors_selected |
Seleccionar factores |
factors[] |
prn_take_completed |
Registrar |
all_data |
prn_take_skipped_reason |
Skip motivo |
- |
Documento generado por MobileUxUiDrone (Eight of Eight)