Pantalla: Agregar Cita
Identificador: SCR-CIT-002
Modulo: MTS-CIT-001 - Citas, Estudios y Tratamientos
Version: 1.0.0
Fecha: 2025-12-05
Autor: MobileUxUiDrone (Eight of Eight)
Estado: Especificado
| Atributo |
Valor |
| Nombre |
Agregar Cita |
| Proposito |
Crear nueva cita, estudio o tratamiento |
| Tipo |
Full Screen |
| Acceso |
Lista Citas > FAB (+) |
| Prioridad |
Alta |
2. Wireframe ASCII
2.1. Seleccion de Tipo
+------------------------------------------+
| [X] Nueva Cita |
+------------------------------------------+
| |
| Que tipo de evento deseas agregar? |
| |
| +------------------------------------+ |
| | [Stethoscope] | |
| | Consulta Medica | |
| | Cita con medico o especialista | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [TestTube] | |
| | Estudio de Laboratorio | |
| | Analisis de sangre, orina, etc | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [Scan] | |
| | Estudio de Imagen | |
| | Rayos X, ultrasonido, etc | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [IV] | |
| | Tratamiento | |
| | Quimio, dialisis, infusion | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [Heart] | |
| | Terapia | |
| | Fisica, ocupacional, psicologica | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [Syringe] | |
| | Vacuna | |
| | Vacunacion programada | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [Scalpel] | |
| | Procedimiento | |
| | Cirugia menor, biopsia | |
| +------------------------------------+ |
| |
+------------------------------------------+
+------------------------------------------+
| [<] Nueva Consulta |
+------------------------------------------+
| |
| DATOS DE LA CITA |
| |
| Tipo de consulta * |
| +------------------------------------+ |
| | General [v] | |
| +------------------------------------+ |
| - General |
| - Especialista |
| - Urgencia |
| - Control / Seguimiento |
| |
| Titulo * |
| +------------------------------------+ |
| | Consulta cardiologia | |
| +------------------------------------+ |
| |
| Medico |
| +------------------------------------+ |
| | Dr. Juan Garcia | |
| +------------------------------------+ |
| |
| Especialidad |
| +------------------------------------+ |
| | Cardiologia [v] ||
| +------------------------------------+ |
| |
| CUANDO Y DONDE |
| |
| Fecha y hora * |
| +------------------------------------+ |
| | 10/12/2025 10:00 | |
| +------------------------------------+ |
| |
| Duracion estimada |
| [15m] [30m*] [45m] [1h] [Otra] |
| |
| Institucion |
| +------------------------------------+ |
| | Hospital San Jose | |
| +------------------------------------+ |
| |
| Direccion |
| +------------------------------------+ |
| | Av. Principal 123, Col. Centro | |
| | [Ubicacion GPS] | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Continuar ->] |
+------------------------------------------+
+------------------------------------------+
| [<] Nuevo Estudio de Lab |
+------------------------------------------+
| |
| DATOS DEL ESTUDIO |
| |
| Tipo de estudio * |
| +------------------------------------+ |
| | Analisis de sangre [v] | |
| +------------------------------------+ |
| |
| Titulo * |
| +------------------------------------+ |
| | Perfil Lipidico | |
| +------------------------------------+ |
| |
| Laboratorio |
| +------------------------------------+ |
| | Laboratorio Central | |
| +------------------------------------+ |
| |
| CUANDO Y DONDE |
| |
| Fecha y hora * |
| +------------------------------------+ |
| | 06/12/2025 07:00 | |
| +------------------------------------+ |
| |
| REQUISITOS DE PREPARACION |
| |
| +------------------------------------+ |
| | [x] Requiere ayuno | |
| +------------------------------------+ |
| |
| Horas de ayuno * |
| +------------------------------------+ |
| | 12 horas [v] | |
| +------------------------------------+ |
| - 8 horas |
| - 10 horas |
| - 12 horas |
| - Otra |
| |
| +------------------------------------+ |
| | [x] Puede tomar agua | |
| +------------------------------------+ |
| |
| Preparacion especial |
| +------------------------------------+ |
| | No consumir alcohol 24h antes | |
| +------------------------------------+ |
| |
| MEDICAMENTOS A CONSIDERAR |
| |
| +------------------------------------+ |
| | [i] MedTime analizara si alguno de | |
| | tus medicamentos afecta el | |
| | estudio o requiere suspension | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Continuar ->] |
+------------------------------------------+
+------------------------------------------+
| [<] Nuevo Tratamiento |
+------------------------------------------+
| |
| DATOS DEL TRATAMIENTO |
| |
| Tipo de tratamiento * |
| +------------------------------------+ |
| | Quimioterapia [v] | |
| +------------------------------------+ |
| - Quimioterapia |
| - Dialisis |
| - Transfusion |
| - Infusion |
| - Otro |
| |
| Titulo * |
| +------------------------------------+ |
| | Sesion de Quimioterapia | |
| +------------------------------------+ |
| |
| Institucion |
| +------------------------------------+ |
| | Centro Oncologico | |
| +------------------------------------+ |
| |
| SESIONES |
| |
| +------------------------------------+ |
| | [x] Es parte de un ciclo | |
| +------------------------------------+ |
| |
| Numero de sesion |
| +------+ de +------+ |
| | 3 | | 6 | |
| +------+ +------+ |
| |
| CUANDO |
| |
| Fecha y hora * |
| +------------------------------------+ |
| | 10/12/2025 09:00 | |
| +------------------------------------+ |
| |
| Duracion estimada * |
| [1h] [2h] [3h*] [4h] [Otra] |
| |
| REQUISITOS |
| |
| +------------------------------------+ |
| | [x] Requiere acompanante | |
| +------------------------------------+ |
| |
| Efectos esperados |
| +------------------------------------+ |
| | Nauseas, fatiga | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Continuar ->] |
+------------------------------------------+
2.5. Configuracion de Recordatorios
+------------------------------------------+
| [<] Recordatorios |
+------------------------------------------+
| |
| RECORDATORIOS SUGERIDOS |
| |
| +------------------------------------+ |
| | [i] Basado en el tipo de cita, | |
| | sugerimos estos recordatorios: | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [x] 1 dia antes | |
| | 9 de Diciembre, 10:00 | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [x] 2 horas antes | |
| | 10 de Diciembre, 08:00 | |
| +------------------------------------+ |
| |
| +------------------------------------+ |
| | [ ] 30 minutos antes | |
| | 10 de Diciembre, 09:30 | |
| +------------------------------------+ |
| |
| AGREGAR RECORDATORIO |
| |
| +------------------------------------+ |
| | [+] Agregar otro recordatorio | |
| +------------------------------------+ |
| |
| NOTAS DE PREPARACION |
| |
| +------------------------------------+ |
| | | |
| | Llevar estudios previos | |
| | Lista de medicamentos actuales | |
| | | |
| +------------------------------------+ |
| |
| RECURRENCIA |
| |
| +------------------------------------+ |
| | [ ] Esta cita se repite | |
| +------------------------------------+ |
| |
+------------------------------------------+
| [Guardar Cita] |
+------------------------------------------+
2.6. Alerta de Conflicto
+------------------------------------------+
| |
| +------------------------------------+ |
| | [!] CONFLICTO DETECTADO | |
| +------------------------------------+ |
| | | |
| | Tu estudio de PERFIL LIPIDICO | |
| | (6 Dic 7:00 AM) requiere ayuno | |
| | de 12 horas. | |
| | | |
| | Ultima comida permitida: | |
| | 5 DIC a las 7:00 PM | |
| | | |
| | MEDICAMENTOS AFECTADOS: | |
| | | |
| | +------------------------------+ | |
| | | [!] Metformina 850mg | | |
| | | Toma de las 7:00 AM | | |
| | | Debe tomarse con comida | | |
| | | CONSULTAR CON MEDICO | | |
| | +------------------------------+ | |
| | | |
| | +------------------------------+ | |
| | | [OK] Omeprazol 20mg | | |
| | | Toma de las 7:00 AM | | |
| | | Puede tomarse en ayunas | | |
| | +------------------------------+ | |
| | | |
| | +------------------------------+ | |
| | | [Entendido, guardar] | | |
| | +------------------------------+ | |
| | | |
| | +------------------------------+ | |
| | | [Ajustar horario] | | |
| | +------------------------------+ | |
| | | |
| +------------------------------------+ |
| |
+------------------------------------------+
3. Componentes UI
3.1. Event Type Selector
| Propiedad |
Valor |
| Componente |
CMP-LST-027 (Event Type Card) |
| Icon |
48x48dp |
| Title |
Nombre del tipo |
| Description |
Descripcion breve |
| Full width |
Si |
| Propiedad |
Valor |
| Componente |
CMP-INP-001 (Text Input) |
| Style |
Outlined |
| Required indicator |
Asterisco (*) |
| Error state |
Border rojo + mensaje |
3.3. Duration Selector
| Propiedad |
Valor |
| Componente |
CMP-SEG-004 (Duration Pills) |
| Options |
Variable por tipo |
| Default |
30 min (consulta) |
| Custom option |
"Otra" |
3.4. Checkbox List
| Propiedad |
Valor |
| Componente |
CMP-CHK-001 (Checkbox) |
| Style |
Material checkbox |
| Labels |
Descripcion del requisito |
3.5. Conflict Alert
| Propiedad |
Valor |
| Componente |
CMP-DLG-006 (Conflict Dialog) |
| Icon |
Warning triangle |
| Severity colors |
Red (critico), Orange (warning) |
| Actions |
2 botones |
4. Tipos de Evento y Campos
4.1. Campos Comunes
| Campo |
Todos los tipos |
| Titulo |
Si |
| Fecha/Hora |
Si |
| Institucion |
Si |
| Direccion |
Si |
| Recordatorios |
Si |
| Notas |
Si |
4.2. Campos Especificos
| Tipo |
Campos adicionales |
| CONSULTA |
Medico, Especialidad, Subtipo |
| ESTUDIO_LAB |
Ayuno, Horas ayuno, Agua permitida, Preparacion |
| ESTUDIO_IMAGEN |
Preparacion especial |
| TRATAMIENTO |
Sesion actual, Total sesiones, Acompanante, Efectos |
| TERAPIA |
Tipo terapia |
| VACUNA |
Tipo vacuna, Lote (opcional) |
| PROCEDIMIENTO |
Tipo procedimiento, Anestesia |
5. Validaciones
| Campo |
Regla |
Mensaje |
| Titulo |
Requerido, 3-100 chars |
"Ingresa un titulo" |
| Fecha |
Requerido, >= hoy |
"La fecha no puede ser pasada" |
| Hora |
Requerido |
"Selecciona una hora" |
| Horas ayuno |
Requerido si ayuno |
"Indica horas de ayuno" |
| Sesion |
<= Total |
"Numero de sesion invalido" |
| Recordatorios |
Max 5 |
"Maximo 5 recordatorios" |
6. Comportamientos
6.1. Flujo de Creacion
- Seleccionar tipo de evento
- Completar formulario especifico
- Configurar recordatorios
- Sistema verifica conflictos
- Si conflicto: mostrar alerta
- Guardar evento
6.2. Deteccion de Conflictos
Sistema analiza automaticamente:
- Medicamentos con hora en periodo de ayuno
- Medicamentos que deben tomarse con comida
- Medicamentos que podrian afectar resultados
- Horarios de toma coincidentes
6.3. Recordatorios por Defecto
| Tipo |
Recordatorio 1 |
Recordatorio 2 |
Recordatorio 3 |
| Consulta |
1 dia |
2 horas |
- |
| Estudio Lab |
1 dia |
12 horas |
2 horas |
| Tratamiento |
3 dias |
1 dia |
2 horas |
7. Datos Requeridos
interface NewAppointmentForm {
step: 'type' | 'details' | 'reminders';
type?: EventoMedicoType;
subtype?: string;
// Common fields
title: string;
dateTime: Date;
duration?: number;
institution?: string;
address?: string;
location?: {
latitude: number;
longitude: number;
placeId?: string;
};
notes?: string;
reminders: ReminderConfig[];
// Consulta specific
doctorName?: string;
specialty?: string;
// Lab study specific
requiresFasting?: boolean;
fastingHours?: number;
canDrinkWater?: boolean;
specialPreparation?: string;
// Treatment specific
sessionNumber?: number;
totalSessions?: number;
requiresCompanion?: boolean;
expectedEffects?: string;
// Recurrence
isRecurrent?: boolean;
recurrencePattern?: RecurrencePattern;
}
interface ConflictAnalysis {
hasConflicts: boolean;
conflicts: MedicationConflict[];
fastingEndTime?: Date;
}
8. Accesibilidad
8.1. Labels
| Elemento |
accessibilityLabel |
| Type card |
"Crear {tipo}: {descripcion}" |
| Input |
"{label}, {estado}" |
| Checkbox |
"{label}, {marcado/no marcado}" |
| Conflict |
"Conflicto: {medicamento}, {descripcion}" |
8.2. Navegacion
- Focus automatico en primer campo editable
- Tab order secuencial
- VoiceOver anuncia campos requeridos
9. Referencias
Documento generado por MobileUxUiDrone (Eight of Eight)