Pantalla: Configurar Reporte
Identificador: SCR-RPT-002
Modulo: MTS-RPT-001 - Reportes y Exportaciones
Version: 1.0.0
Fecha: 2025-12-05
Autor: MobileUxUiDrone (Eight of Eight)
Estado: Especificado
| Atributo |
Valor |
| Nombre |
Configurar Reporte |
| Proposito |
Personalizar opciones antes de generar un reporte |
| Tipo |
Full Screen |
| Acceso |
Centro Reportes > Tipo de reporte |
| Prioridad |
Alta |
2. Wireframe ASCII
2.1. Configurar Reporte de Adherencia
+------------------------------------------+
| [<] Reporte de Adherencia |
+------------------------------------------+
| |
| +------------------------------------+ |
| | [Chart Icon] | |
| | | |
| | Reporte de Adherencia | |
| | al Tratamiento | |
| +------------------------------------+ |
| |
| PERIODO |
| |
| +------------------------------------+ |
| | (*) Ultimos 7 dias | |
| | ( ) Ultimos 30 dias | |
| | ( ) Ultimos 90 dias | |
| | ( ) Ultimo ano | |
| | ( ) Personalizado... | |
| +------------------------------------+ |
| |
| CONTENIDO |
| |
| +------------------------------------+ |
| | [x] Resumen de adherencia | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Adherencia por medicamento | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Graficas de tendencia | |
| | [PRO] | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Calendario de calor | |
| | [PRO] | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Distribucion por momento | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [ ] Incluir notas/anomalias | |
| +------------------------------------+ |
| |
| FORMATO |
| |
| [PDF*] [CSV] |
| |
| OPCIONES ADICIONALES |
| |
| +------------------------------------+ |
| | [x] Incluir marca de agua | |
| +------------------------------------+ |
| +------------------------------------+ |
| | Idioma: Espanol [v]| |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Vista previa] [Generar] |
+------------------------------------------+
2.2. Configurar Resumen para Medico
+------------------------------------------+
| [<] Resumen para Medico |
+------------------------------------------+
| |
| +------------------------------------+ |
| | [Stethoscope Icon] | |
| | | |
| | Resumen para Profesional | |
| | de Salud | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [i] Este reporte esta optimizado | |
| | para compartir con tu medico | |
| | durante una consulta | |
| +------------------------------------+ |
| |
| PERIODO |
| |
| +------------------------------------+ |
| | ( ) Ultimos 7 dias | |
| | (*) Ultimos 30 dias | |
| | ( ) Ultimos 90 dias | |
| | ( ) Desde ultima consulta | |
| +------------------------------------+ |
| |
| SECCIONES A INCLUIR |
| |
| +------------------------------------+ |
| | [x] Datos del paciente | |
| | Nombre, edad, condiciones | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Medicamentos activos | |
| | Lista con dosis y frecuencia | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Adherencia al tratamiento | |
| | Porcentaje y grafica | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Anomalias reportadas | |
| | Efectos y notas | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [ ] Mediciones de salud | |
| | Glucosa, presion, peso | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [ ] Citas recientes | |
| | Ultimas consultas | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [ ] Notas personales | |
| | Notas que quieras agregar | |
| +------------------------------------+ |
| |
| NOTAS PARA EL MEDICO |
| |
| +------------------------------------+ |
| | | |
| | Quisiera consultar sobre los | |
| | mareos que he sentido... | |
| | | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Vista previa] [Generar] |
+------------------------------------------+
2.3. Periodo Personalizado
+------------------------------------------+
| |
| +------------------------------------+ |
| | Periodo Personalizado | |
| +------------------------------------+ |
| |
| Desde |
| +------------------------------------+ |
| | 01/10/2025 [v]| |
| +------------------------------------+ |
| |
| Hasta |
| +------------------------------------+ |
| | 05/12/2025 [v]| |
| +------------------------------------+ |
| |
| 66 dias seleccionados |
| |
| +------------------------------------+ |
| | [Cancelar] [Aplicar] | |
| +------------------------------------+ |
| |
+------------------------------------------+
2.4. Configurar Exportacion Completa
+------------------------------------------+
| [<] Exportar Mis Datos |
+------------------------------------------+
| |
| +------------------------------------+ |
| | [Download Icon] | |
| | | |
| | Exportacion Completa | |
| | de Datos | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [!] Esta exportacion incluye | |
| | TODOS tus datos en MedTime. | |
| | | |
| | El archivo estara cifrado | |
| | y la contrasena se enviara | |
| | por SMS. | |
| +------------------------------------+ |
| |
| QUE INCLUIR |
| |
| +------------------------------------+ |
| | [x] Perfil y preferencias | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Medicamentos (activos + hist.) | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Historial de tomas | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Recetas (datos + imagenes) | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Mediciones de salud | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Citas medicas | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [x] Gamificacion (puntos, logros) | |
| +------------------------------------+ |
| +------------------------------------+ |
| | [ ] Log de auditoria | |
| +------------------------------------+ |
| |
| FORMATO |
| |
| +------------------------------------+ |
| | (*) JSON (estructura completa) | |
| | ( ) CSV (tablas separadas) | |
| +------------------------------------+ |
| |
| METODO DE ENTREGA |
| |
| +------------------------------------+ |
| | (*) Descarga directa | |
| | ( ) Enviar enlace por email | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [!] Se requiere verificacion MFA | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Iniciar Exportacion] |
+------------------------------------------+
3. Componentes UI
| Propiedad |
Valor |
| Componente |
CMP-HDR-003 (Report Header) |
| Icon |
Grande, centrado |
| Title |
Nombre del reporte |
| Subtitle |
Descripcion |
3.2. Period Selector
| Propiedad |
Valor |
| Componente |
CMP-RAD-004 (Period Radio) |
| Options |
7d, 30d, 90d, 1y, Custom |
| Default |
30 dias |
3.3. Section Checkbox
| Propiedad |
Valor |
| Componente |
CMP-CHK-004 (Section Checkbox) |
| Checkbox |
Material |
| Title |
Nombre de seccion |
| Subtitle |
Descripcion |
| Badge |
PRO (si aplica) |
| Propiedad |
Valor |
| Componente |
CMP-SEG-005 (Format Pills) |
| Options |
PDF, CSV, JSON |
| Style |
Filled selected |
| Propiedad |
Valor |
| Componente |
CMP-INP-022 (Report Notes) |
| Type |
Multiline |
| Max chars |
500 |
| Placeholder |
"Notas adicionales..." |
4. Opciones por Tipo de Reporte
4.1. Reporte de Adherencia
| Opcion |
Default |
Tier |
| Resumen |
Si |
Todos |
| Por medicamento |
Si |
Todos |
| Graficas tendencia |
Si |
Pro+ |
| Calendario calor |
Si |
Pro+ |
| Distribucion momento |
Si |
Todos |
| Notas/anomalias |
No |
Todos |
4.2. Resumen para Medico
| Opcion |
Default |
Obligatorio |
| Datos paciente |
Si |
Si |
| Medicamentos |
Si |
Si |
| Adherencia |
Si |
Si |
| Anomalias |
Si |
No |
| Mediciones |
No |
No |
| Citas |
No |
No |
| Notas personales |
No |
No |
4.3. Exportacion Completa
| Opcion |
Default |
Descripcion |
| Perfil |
Si |
Datos personales |
| Medicamentos |
Si |
Activos + historicos |
| Tomas |
Si |
Registros de dosis |
| Recetas |
Si |
Datos + imagenes |
| Mediciones |
Si |
Eventos de salud |
| Citas |
Si |
Agenda |
| Gamificacion |
Si |
Progreso |
| Auditoria |
No |
Logs de acceso |
5. Comportamientos
5.1. Seleccion de Periodo
- Default: 30 dias
- Free: Max 30 dias
- Pro: Max 1 ano
- Perfect: Ilimitado
5.2. Vista Previa
Al tap "Vista previa":
- Genera preview de primera pagina
- Muestra en modal
- Opciones: Cerrar / Generar
5.3. Generar Reporte
- Valida selecciones
- Muestra indicador de progreso
- Al completar: SCR-RPT-003 (Preview)
6. Datos Requeridos
interface ReportConfigState {
reportType: ReportType;
period: PeriodConfig;
sections: SectionSelection[];
format: ReportFormat;
options: ReportOptions;
notes?: string;
}
interface PeriodConfig {
type: 'preset' | 'custom';
preset?: '7d' | '30d' | '90d' | '1y' | 'since_last_visit';
customFrom?: Date;
customTo?: Date;
daysCount: number;
}
interface SectionSelection {
id: string;
name: string;
description: string;
selected: boolean;
requiresPro: boolean;
mandatory: boolean;
}
interface ReportOptions {
includeWatermark: boolean;
language: 'es' | 'en' | 'pt';
deliveryMethod?: 'download' | 'email';
}
type ReportFormat = 'PDF' | 'CSV' | 'JSON';
7. Validaciones
| Campo |
Regla |
Mensaje |
| Periodo |
Requerido |
"Selecciona un periodo" |
| Periodo custom |
From < To |
"Fecha inicial debe ser menor" |
| Al menos 1 seccion |
Requerido |
"Selecciona al menos una seccion" |
| Notas |
Max 500 chars |
"Maximo 500 caracteres" |
8. Accesibilidad
8.1. Labels
| Elemento |
accessibilityLabel |
| Period option |
"Periodo: {valor}" |
| Section checkbox |
"{seccion}, {seleccionado/no seleccionado}" |
| Format pill |
"Formato {formato}, {seleccionado/no seleccionado}" |
| Generate button |
"Generar reporte de {tipo}" |
9. Referencias
Documento generado por MobileUxUiDrone (Eight of Eight)