Saltar a contenido

Pantalla: Historial de Reportes

Identificador: SCR-RPT-006 Modulo: MTS-RPT-001 - Reportes y Exportaciones Version: 1.0.0 Fecha: 2025-12-05 Autor: MobileUxUiDrone (Eight of Eight) Estado: Especificado


1. Informacion General

Atributo Valor
Nombre Historial de Reportes
Proposito Ver reportes generados previamente y volver a descargarlos
Tipo Full Screen
Acceso Centro Reportes > Reportes Generados
Prioridad Media

2. Wireframe ASCII

2.1. Vista Principal

+------------------------------------------+
|  [<]    Reportes Generados               |
+------------------------------------------+
|                                           |
|  [Todos] [Adherencia] [Medico] [Export.]  |
|  ------                                   |
|                                           |
|  DICIEMBRE 2025                           |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Reporte de Adherencia        |   |
|  |       5 Dic 2025, 10:30 AM         |   |
|  |       30 dias - 485 KB             |   |
|  |       [Descargar]  [Compartir] [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Resumen para Medico          |   |
|  |       3 Dic 2025, 9:15 AM          |   |
|  |       30 dias - 612 KB             |   |
|  |       [Descargar]  [Compartir] [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [ZIP] Exportacion Completa         |   |
|  |       1 Dic 2025, 2:00 PM          |   |
|  |       15.3 MB                      |   |
|  |       [Expirado]               [>] |   |
|  +------------------------------------+   |
|                                           |
|  NOVIEMBRE 2025                           |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Reporte de Adherencia        |   |
|  |       28 Nov 2025, 11:00 AM        |   |
|  |       30 dias - 478 KB             |   |
|  |       [Descargar]  [Compartir] [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [CSV] Historial de Medicamentos    |   |
|  |       20 Nov 2025, 3:30 PM         |   |
|  |       156 KB                       |   |
|  |       [Descargar]              [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Resumen Semanal (Auto)       |   |
|  |       17 Nov 2025, 8:00 AM         |   |
|  |       320 KB                       |   |
|  |       [Descargar]  [Compartir] [>] |   |
|  +------------------------------------+   |
|                                           |
|  ... (mas reportes)                       |
|                                           |
+------------------------------------------+

2.2. Filtros

+------------------------------------------+
|                                           |
|  +------------------------------------+   |
|  |      Filtrar Reportes              |   |
|  +------------------------------------+   |
|                                           |
|  TIPO DE REPORTE                          |
|                                           |
|  +------------------------------------+   |
|  | [x] Adherencia                     |   |
|  | [x] Resumen para medico            |   |
|  | [x] Medicamentos                   |   |
|  | [x] Mediciones                     |   |
|  | [x] Exportaciones                  |   |
|  | [x] Automaticos                    |   |
|  +------------------------------------+   |
|                                           |
|  FORMATO                                  |
|                                           |
|  +------------------------------------+   |
|  | [x] PDF                            |   |
|  | [x] CSV                            |   |
|  | [x] JSON/ZIP                       |   |
|  +------------------------------------+   |
|                                           |
|  PERIODO                                  |
|                                           |
|  +------------------------------------+   |
|  | Desde: [01/11/2025]                |   |
|  | Hasta: [05/12/2025]                |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  |  [Limpiar]         [Aplicar]       |   |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

2.3. Detalle de Reporte

+------------------------------------------+
|  [<]    Detalle del Reporte              |
+------------------------------------------+
|                                           |
|  +------------------------------------+   |
|  |         [PDF Icon]                 |   |
|  |                                    |   |
|  |   Reporte de Adherencia            |   |
|  |   al Tratamiento                   |   |
|  +------------------------------------+   |
|                                           |
|  INFORMACION                              |
|                                           |
|  +------------------------------------+   |
|  | Generado: 5 Dic 2025, 10:30 AM     |   |
|  | Periodo: 5 Nov - 5 Dic 2025        |   |
|  | Formato: PDF                       |   |
|  | Tamano: 485 KB                     |   |
|  | Paginas: 3                         |   |
|  +------------------------------------+   |
|                                           |
|  CONTENIDO                                |
|                                           |
|  +------------------------------------+   |
|  | [Check] Resumen de adherencia      |   |
|  | [Check] Adherencia por medicamento |   |
|  | [Check] Graficas de tendencia      |   |
|  | [Check] Calendario de calor        |   |
|  | [X]     Notas/anomalias            |   |
|  +------------------------------------+   |
|                                           |
|  PREVIEW                                  |
|                                           |
|  +------------------------------------+   |
|  |+----------------------------------+|   |
|  ||                                  ||   |
|  ||  [Primera pagina del PDF]        ||   |
|  ||                                  ||   |
|  |+----------------------------------+|   |
|  |        [Tap para ver completo]     |   |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+
|  [Descargar]  [Compartir]  [Eliminar]    |
+------------------------------------------+

2.4. Reporte Expirado

+------------------------------------------+
|  [<]    Detalle del Reporte              |
+------------------------------------------+
|                                           |
|  +------------------------------------+   |
|  |         [ZIP Icon]                 |   |
|  |                                    |   |
|  |   Exportacion Completa             |   |
|  |                                    |   |
|  |   [EXPIRADO]                       |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [!] Este reporte ha expirado       |   |
|  |                                    |   |
|  |     Generado: 1 Dic 2025           |   |
|  |     Expiro: 2 Dic 2025             |   |
|  |                                    |   |
|  |     El enlace de descarga ya       |   |
|  |     no esta disponible.            |   |
|  +------------------------------------+   |
|                                           |
|  CONTENIDO ORIGINAL                       |
|                                           |
|  +------------------------------------+   |
|  | [Check] Perfil y preferencias      |   |
|  | [Check] Medicamentos               |   |
|  | [Check] Historial de tomas         |   |
|  | [Check] Recetas                    |   |
|  | [Check] Mediciones                 |   |
|  | [Check] Citas                      |   |
|  | [Check] Gamificacion               |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  |   [Generar nueva exportacion]      |   |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

2.5. Limite Alcanzado (Free)

+------------------------------------------+
|  [<]    Reportes Generados               |
+------------------------------------------+
|                                           |
|  +------------------------------------+   |
|  | [!] Limite mensual alcanzado       |   |
|  |                                    |   |
|  |     Has generado 3/3 reportes      |   |
|  |     este mes.                      |   |
|  |                                    |   |
|  |     Proximo reporte disponible:    |   |
|  |     1 de Enero 2026                |   |
|  |                                    |   |
|  |     [Actualizar a Pro]             |   |
|  +------------------------------------+   |
|                                           |
|  REPORTES GENERADOS                       |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Reporte de Adherencia        |   |
|  |       5 Dic 2025                   |   |
|  |       [Descargar]              [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Reporte de Adherencia        |   |
|  |       15 Nov 2025                  |   |
|  |       [Descargar]              [>] |   |
|  +------------------------------------+   |
|                                           |
|  +------------------------------------+   |
|  | [PDF] Reporte de Adherencia        |   |
|  |       1 Nov 2025                   |   |
|  |       [Descargar]              [>] |   |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

3. Componentes UI

3.1. Report History Card

Propiedad Valor
Componente CMP-CRD-044 (Report History)
Icon Por formato (PDF, CSV, ZIP)
Title Tipo de reporte
Subtitle Fecha + Tamano
Actions Descargar, Compartir
Badge Expirado (si aplica)

3.2. Filter Tabs

Propiedad Valor
Componente CMP-TAB-004 (Filter Tabs)
Options Todos, Adherencia, Medico, Export
Scroll Horizontal

3.3. Expired Badge

Propiedad Valor
Componente CMP-BDG-002 (Status Badge)
Text "EXPIRADO"
Color Gray
Style Outlined

3.4. Limit Banner

Propiedad Valor
Componente CMP-BNR-009 (Limit Banner)
Icon Warning
Title "Limite alcanzado"
Body Fecha de reset
CTA "Actualizar a Pro"

4. Estados de Reporte

Estado Badge Acciones
Disponible - Descargar, Compartir, Ver
Expirado EXPIRADO Ver info, Regenerar
Auto (Auto) Descargar, Compartir, Ver

5. Restricciones por Tier

Funcionalidad Free Pro/Perfect
Ver historial 30 dias Ilimitado
Descargar de nuevo Si Si
Compartir Si Si
Eliminar Si Si
Reportes/mes 3 10/Ilimitado

6. Comportamientos

6.1. Descarga

  • Si disponible: descarga directa
  • Si expirado: ofrece regenerar

6.2. Retencion

Tier Retencion
Free 30 dias
Pro 1 ano
Perfect Ilimitado

6.3. Eliminacion

  • Confirmacion requerida
  • Eliminacion permanente
  • No afecta limite mensual

7. Datos Requeridos

interface ReportHistoryState {
  filter: ReportHistoryFilter;
  reports: GeneratedReportSummary[];
  monthlyLimit: number;
  reportsThisMonth: number;
  canGenerateMore: boolean;
  nextResetDate?: Date;
}

interface ReportHistoryFilter {
  types: ReportType[];
  formats: ReportFormat[];
  dateFrom?: Date;
  dateTo?: Date;
}

interface GeneratedReportSummary {
  id: string;
  type: ReportType;
  format: ReportFormat;
  name: string;
  generatedAt: Date;
  periodStart: Date;
  periodEnd: Date;
  fileSize: number;
  pageCount?: number;
  isExpired: boolean;
  expiresAt?: Date;
  isAutomatic: boolean;
  downloadUrl?: string;
  contentSummary: string[];
}

8. Accesibilidad

8.1. Labels

Elemento accessibilityLabel
Report card "{tipo}: {fecha}, {tamano}"
Download "Descargar {reporte}"
Expired "Reporte expirado el {fecha}"
Limit banner "Limite de reportes alcanzado, {cuenta}/{max}"

9. Referencias


Documento generado por MobileUxUiDrone (Eight of Eight)