Saltar a contenido

Pantalla: Resumen Diario

Identificador: SCR-ALT-014 Modulo: MTS-ALT-001 - Alertas y Notificaciones Version: 1.0.0 Fecha: 2025-12-05 Autor: MobileUxUiDrone (Eight of Eight) Estado: Especificado


1. Informacion General

Atributo Valor
Nombre Resumen Diario
Proposito Notificacion de resumen de actividad del dia
Tipo Notification + Detail Screen
Acceso Notificacion programada (configurable)
Prioridad Baja

2. Wireframe ASCII

2.1. Notificacion de Resumen

+------------------------------------------+
|  MedTime                            21:00 |
|  Tu resumen del dia                       |
+------------------------------------------+
|                                           |
|  Hoy tuviste 85% de adherencia            |
|                                           |
|  4/5 tomas confirmadas                    |
|  1 toma omitida (desayuno)                |
|                                           |
|  [Ver detalle]                            |
|                                           |
+------------------------------------------+

2.2. Pantalla de Detalle del Resumen

+------------------------------------------+
|  [<]    Resumen del Dia            [...]  |
+------------------------------------------+
|                                           |
|  +------------------------------------+   |
|  |       Jueves, 5 de Diciembre       |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  |          +---------------+         |   |
|  |          |               |         |   |
|  |          |     85%       |         |   |  <- Circular progress
|  |          |  Adherencia   |         |   |
|  |          |               |         |   |
|  |          +---------------+         |   |
|  +------------------------------------+   |
|                                           |
|  +------------+ +------------+            |
|  |     4      | |     1      |            |
|  |  Tomadas   | |  Omitidas  |            |  <- Stats cards
|  +------------+ +------------+            |
|                                           |
|  DETALLE DE TOMAS                         |
|  +------------------------------------+   |
|  | [v] 08:00  Medicinas desayuno         ||
|  |     Tomada a las 08:05                ||
|  +------------------------------------+   |
|  | [v] 14:00  Medicinas almuerzo         ||
|  |     Tomada a las 14:10                ||
|  +------------------------------------+   |
|  | [v] 18:00  Medicion glucosa           ||
|  |     115 mg/dL (en rango)              ||
|  +------------------------------------+   |
|  | [X] 20:00  Medicinas noche            ||
|  |     Omitida - Efectos secundarios     ||  <- Highlight omission
|  +------------------------------------+   |
|  | [v] 22:00  Insulina                   ||
|  |     Tomada a las 22:00                ||
|  +------------------------------------+   |
|                                           |
|  TENDENCIA SEMANAL                        |
|  +------------------------------------+   |
|  |  L   M   M   J   V   S   D         |   |
|  | [|] [|] [|] [|] [.] [.] [.]        |   |  <- Mini bar chart
|  | 90% 85% 100% 85%  -   -   -        |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  |    [Compartir resumen semanal]     |   |  <- Pro/Perfect
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

2.3. Vista de Resumen para Cuidador

+------------------------------------------+
|  [<]    Resumen de Mama            [...]  |
+------------------------------------------+
|                                           |
|  [Misma estructura que 2.2...]            |
|                                           |
|  NOTAS DEL DIA                            |
|  +------------------------------------+   |
|  | Mama omitio su dosis de la noche   |   |
|  | debido a efectos secundarios.      |   |
|  | Considerar consultar con el        |   |
|  | medico.                            |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  |  [Descargar PDF para el medico]    |   |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

3. Componentes UI

3.1. Circular Progress

Propiedad Valor
Componente CMP-DAT-009 (Circular Progress)
Size 120x120dp
Stroke 12dp
Color success si >= 80%, warning si >= 60%, error si < 60%
Label center Porcentaje + "Adherencia"

3.2. Stats Cards

Propiedad Valor
Componente CMP-CRD-018 (Stat Card)
Layout Row de 2 cards
Numero Bold, 32sp
Label Secondary, 14sp
Color Verde (Tomadas), Rojo (Omitidas)

3.3. Weekly Trend Chart

Propiedad Valor
Componente CMP-DAT-010 (Mini Bar Chart)
Bars 7 (L-D)
Height Proporcional al %
Color Verde (>= 80%), Amarillo (>= 60%), Rojo (< 60%)
Labels Dia abreviado + %

3.4. Summary List Item

Propiedad Valor
Componente CMP-LST-005 (Summary Item)
Status icon Checkmark verde o X rojo
Hora Bold
Evento Primary text
Resultado Secondary text

4. Configuracion

4.1. Opciones de Resumen Diario

Opcion Valores Default
Activar resumen Si/No Si
Hora de envio Time picker 21:00
Incluir mediciones Si/No Si
Enviar a cuidadores Si/No Si (si tiene)
Canal Push/Email Push

4.2. Disponibilidad por Tier

Feature Free Pro Perfect
Resumen diario Si Si Si
Tendencia semanal No Si Si
Compartir resumen No Si Si
Export PDF No No Si
Resumen a cuidadores N/A Si Si
Email diario No Si Si

5. Datos Requeridos

5.1. Input Data

interface DailySummaryData {
  date: Date;
  adherence_percent: number;
  doses_taken: number;
  doses_omitted: number;
  doses_total: number;
  events: SummaryEvent[];
  weekly_trend?: WeeklyTrend[];
  can_share: boolean;
  can_export: boolean;
}

interface SummaryEvent {
  id: string;
  time: Date;
  type: 'MEDICATION' | 'MEASUREMENT';
  name: string;
  status: 'TAKEN' | 'OMITTED' | 'LATE';
  result?: string; // "08:05" or "115 mg/dL"
  omit_reason?: string;
}

interface WeeklyTrend {
  day: DayOfWeek;
  date: Date;
  adherence_percent?: number; // null if future
}

5.2. Output Events

Evento Payload Destino
onEventTap event_id Detail view
onShare - Share sheet
onExport format Generate PDF
onSettingsTap - Summary settings

6. Accesibilidad

6.1. Labels y Hints

Elemento accessibilityLabel
Circular progress "Adherencia del dia: {percent} por ciento"
Taken stat "{numero} tomas confirmadas"
Omitted stat "{numero} tomas omitidas"
Event item "{hora}: {nombre}, {estado}"
Weekly bar "{dia}: {percent} por ciento de adherencia"

6.2. Screen Reader Announcements

Evento Anuncio
Pantalla abierta "Resumen del {fecha}. {percent}% de adherencia. {tomadas} tomas, {omitidas} omitidas"

7. Metricas

7.1. Analytics Events

Evento Parametros
summary_view date, adherence
summary_share format
summary_export format
summary_event_tap event_id

8. Referencias


Documento generado por MobileUxUiDrone (Eight of Eight)