Saltar a contenido

SCR-PRN-006: Analisis de Uso

Identificador: SCR-PRN-006 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 Analisis de Uso
Tipo Pantalla de estadisticas
Prioridad Media
Roles PI, CR
Tiers Pro, Perfect

2. Proposito

Mostrar estadisticas y patrones de uso de medicamentos PRN para facilitar la comunicacion con el medico.


3. Wireframe ASCII

+------------------------------------------+
| [<] Analisis de Uso               [...]  |
+------------------------------------------+
| +--------------------------------------+ |
| | Sumatriptan      v | Este mes     v  | |
| +--------------------------------------+ |
|                                          |
| RESUMEN DEL PERIODO                      |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| |                                      | |
| |  15 tomas                 8 dias     | |
| |  este mes              con migranas  | |
| |                                      | |
| |  Promedio: 1.9 tomas/dia con dolor   | |
| |                                      | |
| +--------------------------------------+ |
|                                          |
| TENDENCIA DE USO                         |
+------------------------------------------+
|                                          |
|  Tomas                                   |
|   4|          *                          |
|   3|    *           *                    |
|   2|  *   *  *    *    *  *              |
|   1| *              *      *  *          |
|   0|________________________________     |
|     S1   S2   S3   S4                    |
|                                          |
+------------------------------------------+
| MOTIVOS MAS FRECUENTES                   |
+------------------------------------------+
|                                          |
| Migrana                    [=======] 80% |
| Dolor de cabeza            [==]      15% |
| Otro                       [=]        5% |
|                                          |
+------------------------------------------+
| FACTORES ASOCIADOS                       |
+------------------------------------------+
|                                          |
| +--------------------------------------+ |
| | Estres          [========] 60%       | |
| | Falta de sueno  [=====]    40%       | |
| | Comida          [===]      25%       | |
| | Luz             [=]        10%       | |
| +--------------------------------------+ |
|                                          |
+------------------------------------------+
| INTENSIDAD PROMEDIO                      |
+------------------------------------------+
|                                          |
|   6.5 / 10                               |
|   ===============                        |
|                                          |
|   Rango: 4 - 9                           |
|                                          |
+------------------------------------------+
| PATRON HORARIO                           |
+------------------------------------------+
|                                          |
|  Tomas                                   |
|   5|        *                            |
|   4|  *                                  |
|   3|    *      *                         |
|   2|              *  *                   |
|   1|                    *                |
|   0|________________________________     |
|     6  9  12  15  18  21  24             |
|                                          |
|   Hora pico: 2:00 - 4:00 PM              |
|                                          |
+------------------------------------------+
|                                          |
| [Compartir reporte con medico]           |
| [Exportar datos]                         |
|                                          |
+------------------------------------------+

4. Elementos de UI

4.1. Header

Elemento Componente Accion
Back button IconButton Volver
Titulo TopAppBar "Analisis de Uso"
More options IconButton Exportar/Compartir

4.2. Filters

Elemento Componente Especificacion
Med Filter Dropdown Todos / Medicamento
Date Filter Dropdown Semana / Mes / 3 meses / Ano

4.3. Summary Card

Elemento Componente Especificacion
Container Card elevated -
Total Takes Stat Numero grande
Days with Stat Dias con uso
Average Body1 Promedio calculado

4.4. Trend Chart

Elemento Componente Especificacion
Section Header SectionHeader "TENDENCIA DE USO"
Chart BarChart Por semana
Y-axis Label Tomas
X-axis Label Semanas

4.5. Reasons Chart

Elemento Componente Especificacion
Section Header SectionHeader "MOTIVOS MAS FRECUENTES"
Chart HorizontalBars Porcentaje
Labels Body2 Motivo + %

4.6. Factors Section

Elemento Componente Especificacion
Section Header SectionHeader "FACTORES ASOCIADOS"
List ProgressBars Factor + %

4.7. Intensity Section

Elemento Componente Especificacion
Section Header SectionHeader "INTENSIDAD PROMEDIO"
Average Headline4 X.X / 10
Progress LinearProgress Visual
Range Caption Min - Max

4.8. Time Pattern

Elemento Componente Especificacion
Section Header SectionHeader "PATRON HORARIO"
Chart BarChart Por hora
Peak Caption Hora pico identificada

4.9. Actions

Elemento Componente Especificacion
Share OutlinedButton Compartir con medico
Export TextButton Exportar datos

5. Comportamiento

5.1. Calculos

Metrica Calculo
Promedio/dia Tomas / Dias con uso
Tendencia Comparacion con periodo anterior
Factor % Veces mencionado / Total tomas

5.2. Graficos Interactivos

  • Tap en barra muestra detalle
  • Zoom en grafico de tendencia
  • Filter tap en motivo filtra historial

5.3. Insights Automaticos

  • Detecta aumento de uso
  • Identifica patrones horarios
  • Sugiere factores recurrentes

6. Estados

6.1. Estado Sin Datos Suficientes

+------------------------------------------+
|                                          |
|        [ilustracion grafico]             |
|                                          |
|    Necesitas mas datos para ver          |
|    estadisticas utiles.                  |
|                                          |
|    Tomas registradas: 3                  |
|    Minimo recomendado: 10                |
|                                          |
|    Sigue registrando tus tomas PRN       |
|    para ver patrones de uso.             |
|                                          |
+------------------------------------------+

6.2. Estado Tier Free

+------------------------------------------+
| [lock] FUNCION PRO                       |
|                                          |
| El analisis de uso de PRN esta           |
| disponible en MedTime Pro.               |
|                                          |
| Identifica patrones y comparte           |
| reportes con tu medico.                  |
|                                          |
| [Ver planes Pro]                         |
+------------------------------------------+

7. Accesibilidad

7.1. WCAG 2.1 AA

Criterio Implementacion
1.1.1 Alt text para graficos
1.4.1 No solo color
1.4.11 Contraste en barras

7.2. Alternativas Textuales

  • Tabla de datos debajo de cada grafico
  • Resumen textual de tendencias
  • Screen reader anuncia valores

8. Navegacion

8.1. Entradas

Origen Accion Parametros
SCR-PRN-001 Menu stats -
SCR-PRN-005 Ver estadisticas med_id

8.2. Salidas

Destino Accion Parametros
SCR-PRN-005 Ver historial filtered
SCR-ANA-007 Compartir report_data
Export Exportar pdf/csv

9. Analytics

Evento Trigger Datos
prn_stats_viewed Pantalla visible med_id, period
prn_chart_interacted Tap en grafico chart_type
prn_report_shared Compartir med_id
prn_data_exported Exportar format

Documento generado por MobileUxUiDrone (Eight of Eight)