Saltar a contenido

Pantalla: Historial del Dependiente

Identificador: SCR-FAM-010 Modulo: MTS-FAM-001 - Perfiles Familiares Version: 1.0.0 Fecha: 2025-12-05 Autor: MobileUxUiDrone (Eight of Eight) Estado: Especificado


1. Informacion General

Atributo Valor
Nombre Historial del Dependiente
Proposito Vista completa del historial medico y de adherencia del dependiente
Tipo Full Screen con Tabs
Acceso Detalle Dependiente > Historial
Prioridad Media
Tier Pro/Perfect

2. Wireframe ASCII

2.1. Vista Principal con Tabs

+------------------------------------------+
|  [<]    Historial de Maria                |
+------------------------------------------+
| [Adherencia] [Medicamentos] [Cambios]     |  <- Tab Bar
+------------------------------------------+
|                                           |
|  ADHERENCIA - TAB ACTIVO                  |
|                                           |
|  Resumen General                          |
|  +------------------------------------+   |
|  |  Desde: 15/06/2025 (6 meses)          |
|  |  Promedio adherencia: 94%              |
|  |  Mejor mes: Octubre (98%)              |
|  |  Racha mas larga: 45 dias              |
|  +------------------------------------+   |
|                                           |
|  Adherencia Mensual                       |
|  +------------------------------------+   |
|  |  [Bar Chart - 6 meses]                |
|  |  |||||||||||||||||||||||||            |
|  |  Jun Jul Ago Sep Oct Nov              |
|  |   92  95  93  96  98  94              |
|  +------------------------------------+   |
|                                           |
|  Por Medicamento                          |
|  +------------------------------------+   |
|  |  Vitamina D                           |
|  |  |||||||||||||||||||||||||| 98%       |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  |  Hierro                               |
|  |  ||||||||||||||||||||||     88%       |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  |  Omeprazol                            |
|  |  ||||||||||||||||||||||||||| 96%      |
|  +------------------------------------+   |
|                                           |
|  [Exportar historial]                     |
|                                           |
+------------------------------------------+

2.2. Tab: Medicamentos

+------------------------------------------+
|  [<]    Historial de Maria                |
+------------------------------------------+
| [Adherencia] [Medicamentos*] [Cambios]    |
+------------------------------------------+
|                                           |
|  HISTORIAL DE MEDICAMENTOS                |
|                                           |
|  ACTIVOS (3)                              |
|  +------------------------------------+   |
|  | [Pill] Vitamina D                     |
|  |        1000 UI - 1 vez al dia         |
|  |        Desde: 15/06/2025              |
|  |        Adherencia: 98%           [>]  |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  | [Pill] Hierro                         |
|  |        325mg - 1 vez al dia           |
|  |        Desde: 01/09/2025              |
|  |        Adherencia: 88%           [>]  |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  | [Pill] Omeprazol                      |
|  |        20mg - 1 vez al dia            |
|  |        Desde: 15/06/2025              |
|  |        Adherencia: 96%           [>]  |
|  +------------------------------------+   |
|                                           |
|  FINALIZADOS (2)                          |
|  +------------------------------------+   |
|  | [Pill] Amoxicilina                    |
|  |        500mg - 3 veces al dia         |
|  |        Jul 2025 (7 dias)              |
|  |        Completado: 100%          [>]  |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  | [Pill] Ibuprofeno                     |
|  |        200mg - Segun necesidad        |
|  |        Ago 2025 (5 dias)              |
|  |        Completado: 95%           [>]  |
|  +------------------------------------+   |
|                                           |
+------------------------------------------+

2.3. Tab: Cambios

+------------------------------------------+
|  [<]    Historial de Maria                |
+------------------------------------------+
| [Adherencia] [Medicamentos] [Cambios*]    |
+------------------------------------------+
|                                           |
|  HISTORIAL DE CAMBIOS                     |
|                                           |
|  DICIEMBRE 2025                           |
|  +------------------------------------+   |
|  | 05/12  Permiso actualizado            |
|  |        Ana Lopez: +Ver historial      |
|  |        Por: Juan Garcia               |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  | 01/12  Horario modificado             |
|  |        Vitamina D: 8:00 -> 8:30       |
|  |        Por: Juan Garcia               |
|  +------------------------------------+   |
|                                           |
|  NOVIEMBRE 2025                           |
|  +------------------------------------+   |
|  | 15/11  Cuidador agregado              |
|  |        Ana Lopez vinculada            |
|  |        Permisos: Ver, Alertas         |
|  +------------------------------------+   |
|  +------------------------------------+   |
|  | 10/11  Medicamento agregado           |
|  |        Melatonina 3mg                 |
|  |        Por: Juan Garcia               |
|  +------------------------------------+   |
|                                           |
|  [Cargar mas]                             |
|                                           |
+------------------------------------------+

3. Componentes UI

3.1. Stats Summary Card

Propiedad Valor
Componente CMP-CRD-020 (Stats Summary)
Metricas 4 KPIs principales
Layout 2x2 grid

3.2. Bar Chart (Monthly)

Propiedad Valor
Componente CMP-CHT-004 (Monthly Bar)
Datos 6-12 meses
Interactivo Tap para detalle
Labels Mes abreviado + porcentaje

3.3. Progress Row

Propiedad Valor
Componente CMP-LST-016 (Progress Row)
Label Nombre medicamento
Progress Barra horizontal
Value Porcentaje al final

3.4. Change Log Item

Propiedad Valor
Componente CMP-LST-017 (Log Item)
Fecha Text sm, secondary
Titulo Text md, primary
Detalle Text sm, secondary
Actor "Por: {nombre}"

4. Comportamientos

4.1. Tabs

Tab Contenido
Adherencia Graficos y estadisticas
Medicamentos Lista activos + finalizados
Cambios Audit log de cambios

4.2. Interacciones

Accion Resultado
Tap medicamento Ver detalle/historial del medicamento
Tap barra grafico Mostrar tooltip con detalle
Tap "Exportar" Generar reporte PDF
Pull down Refresh datos

4.3. Filtros (Disponibles en cada tab)

Filtro Opciones
Periodo 1 mes, 3 meses, 6 meses, 1 ano, Todo
Medicamento Dropdown con activos + finalizados

5. Datos Requeridos

interface DependentHistoryData {
  adherence: {
    startDate: Date;
    averagePercent: number;
    bestMonth: { month: string; percent: number };
    longestStreak: number;
    monthlyData: MonthlyAdherence[];
    byMedication: MedicationAdherence[];
  };
  medications: {
    active: MedicationHistoryItem[];
    completed: MedicationHistoryItem[];
  };
  changelog: ChangeLogEntry[];
}

interface ChangeLogEntry {
  id: string;
  date: Date;
  type: 'PERMISSION' | 'SCHEDULE' | 'MEDICATION' | 'CARER' | 'PROFILE';
  title: string;
  details: string;
  actor: string;
}

6. Permisos de Acceso

Dato Cuidador Responsable Cuidador Solidario
Adherencia general Si Segun permiso
Historial completo Si Segun permiso
Lista medicamentos Si Segun permiso
Changelog Si No

7. Accesibilidad

7.1. Labels

Elemento accessibilityLabel
Tab "{nombre} tab, {estado}"
Chart bar "{mes}, {porcentaje}% adherencia"
Progress row "{medicamento}, {porcentaje}% adherencia"
Log item "{fecha}, {titulo}, por {actor}"

7.2. Navegacion

  • Tabs navegables con swipe horizontal
  • Chart accesible via datos tabulares alternativos
  • Orden logico de lectura vertical

8. Exportacion

8.1. Formatos Disponibles

Formato Contenido
PDF Reporte visual con graficos
CSV Datos tabulares
JSON Datos estructurados (FHIR compatible)

8.2. Opciones de Exportacion

  • Periodo seleccionable
  • Incluir/excluir secciones
  • Enviar por email o guardar

9. Referencias


Documento generado por MobileUxUiDrone (Eight of Eight)