SCR-IES-006: Confirmacion Post-Estudio
Identificador: SCR-IES-006
Modulo: MTS-INT-002 - Interacciones Medicamentos-Estudios
Version: 1.0.0
Fecha: 2025-12-05
Autor: MobileUxUiDrone (Eight of Eight)
Prioridad: ALTA
Tipo: Full Screen
1. Proposito
Esta pantalla aparece despues de que ha pasado el tiempo requerido post-procedimiento. Su objetivo es verificar que el paciente puede reiniciar su medicamento de forma segura, haciendo preguntas de confirmacion antes de sugerir el reinicio.
Ejemplo tipico: 48 horas despues de TAC con contraste, verificar que el paciente puede reiniciar Metformina.
2. Wireframe ASCII
+--------------------------------------------------+
| [<] Seguimiento Post-Procedimiento |
+--------------------------------------------------+
| |
| +-----------------------------------------+ |
| | [Check] SEGUIMIENTO REQUERIDO | |
| | Antes de reiniciar su medicamento | |
| +-----------------------------------------+ |
| |
| +-------------------------------------------+ |
| | PROCEDIMIENTO REALIZADO: | |
| | TAC Abdominal con Contraste | |
| | Fecha: 20 de Diciembre | |
| +-------------------------------------------+ |
| |
| +-------------------------------------------+ |
| | MEDICAMENTO SUSPENDIDO: | |
| | [Pill] Metformina 850mg | |
| | | |
| | Suspendido desde: 18 de Diciembre | |
| +-------------------------------------------+ |
| |
| +-------------------------------------------+ |
| | ANTES DE REINICIAR: | |
| | | |
| | El protocolo indica reiniciar metformina | |
| | 48 horas despues del estudio, SOLO si: | |
| | | |
| | - No tuvo reacciones adversas | |
| | - Su funcion renal permanece estable | |
| +-------------------------------------------+ |
| |
| +-------------------------------------------+ |
| | PREGUNTAS DE VERIFICACION: | |
| +-------------------------------------------+ |
| |
| 1. Tuvo alguna reaccion durante o | |
| despues del estudio? | |
| |
| ( ) No, todo estuvo bien | |
| ( ) Si, describa: _______________ | |
| |
| 2. Le indicaron algun problema con | |
| su creatinina o funcion renal? | |
| |
| ( ) No / No me hicieron prueba | |
| ( ) Si, me indicaron: _______________ | |
| |
| +-------------------------------------------+ |
| | RESULTADO: | |
| | | |
| | [Check] Puede reiniciar Metformina | |
| | Primera dosis: Hoy (22 de Diciembre) | |
| +-------------------------------------------+ |
| |
| +---------------------+ +---------------------+ |
| | CONSULTAR MEDICO | | REINICIAR AHORA | |
| | PRIMERO | | | |
| +---------------------+ +---------------------+ |
| |
+--------------------------------------------------+
| IMPORTANTE: En caso de duda, consulte con |
| su medico antes de reiniciar el medicamento. |
+--------------------------------------------------+
3. Especificacion de Componentes
3.1. App Bar
| Propiedad |
Valor |
| Tipo |
Top App Bar |
| Navigation |
Back arrow |
| Title |
"Seguimiento Post-Procedimiento" |
| Propiedad |
Valor |
| Background |
--color-success-container (#E8F5E9) |
| Icono |
Check Circle, 40dp, --color-success |
| Titulo |
"SEGUIMIENTO REQUERIDO" - Title Medium Bold |
| Subtitulo |
"Antes de reiniciar su medicamento" |
| Border radius |
12dp |
3.3. Card Procedimiento
| Propiedad |
Valor |
| Background |
--color-surface-variant |
| Label |
"PROCEDIMIENTO REALIZADO:" |
| Nombre |
Body Large Bold |
| Fecha |
Body Medium |
3.4. Card Medicamento
| Propiedad |
Valor |
| Background |
--color-primary-container |
| Border left |
4dp --color-primary |
| Label |
"MEDICAMENTO SUSPENDIDO:" |
| Icono |
Pill, 32dp |
| Nombre |
Body Large Bold |
| Fecha suspension |
Body Medium, --color-on-surface-variant |
3.5. Card Protocolo
| Propiedad |
Valor |
| Background |
--color-surface |
| Border |
1dp solid --color-outline |
| Titulo |
"ANTES DE REINICIAR:" - Label Large Bold |
| Contenido |
Body Medium |
| Bullets |
Lista con iconos check |
3.6. Seccion Preguntas
| Propiedad |
Valor |
| Titulo |
"PREGUNTAS DE VERIFICACION:" - Label Large Bold |
| Background titulo |
--color-surface-variant |
| Padding |
16dp |
3.6.1. Pregunta Individual
| Elemento |
Especificacion |
| Numero |
Body Large Bold |
| Texto pregunta |
Body Medium |
| Radio buttons |
2 opciones |
| Campo texto |
Solo si "Si" seleccionado |
| Campo placeholder |
"Describa..." |
3.7. Card Resultado
| Estado |
Background |
Border |
Icono |
| OK |
--color-success-container |
success |
Check |
| Requiere consulta |
--color-warning-container |
warning |
Alert |
| Problema |
--color-error-container |
error |
Warning |
| Propiedad |
Valor |
| Border radius |
12dp |
| Border |
2dp solid [color segun estado] |
| Padding |
16dp |
| Titulo |
"RESULTADO:" - Label Large Bold |
| Mensaje |
Body Large |
| Fecha reinicio |
Body Large Bold, --color-primary |
3.8. Botones
3.8.1. Boton Consultar Medico
| Propiedad |
Valor |
| Tipo |
Outlined Button |
| Color |
--color-primary |
| Width |
48% |
| Height |
48dp |
3.8.2. Boton Reiniciar
| Estado |
Deshabilitado |
Habilitado |
| Background |
--color-surface-variant |
--color-success |
| Color texto |
disabled |
Blanco |
| Condicion |
Preguntas incompletas o "Si" |
Ambas "No" |
| Width |
48% |
|
| Height |
48dp |
|
4. Estados
4.1. Inicial
- Ninguna pregunta respondida
- Ambos botones de accion visibles
- Resultado no visible
4.2. Preguntas en Progreso
- Al menos una pregunta respondida
- Resultado se actualiza dinamicamente
4.3. Estado: Todo OK
- Ambas respuestas son "No"
- Resultado verde con check
- Boton "Reiniciar Ahora" habilitado
+-------------------------------------------+
| [Check] PUEDE REINICIAR METFORMINA |
| |
| Primera dosis: Hoy (22 de Diciembre) |
| Horario sugerido: Desayuno |
+-------------------------------------------+
4.4. Estado: Requiere Consulta
- Alguna respuesta es "Si"
- Resultado amarillo/naranja
- Boton "Reiniciar Ahora" deshabilitado
- Enfasis en "Consultar Medico"
+-------------------------------------------+
| [!] CONSULTE CON SU MEDICO |
| |
| Debido a sus respuestas, le recomendamos |
| consultar con su medico antes de |
| reiniciar Metformina. |
+-------------------------------------------+
4.5. Estado: Problema Detectado
- Respuesta indica problema serio
- Resultado rojo
- Solo opcion de "Consultar Medico"
5. Comportamiento
5.1. Logica de Evaluacion
def evaluar_reinicio(respuesta1: str, texto1: str, respuesta2: str, texto2: str):
"""
Evalua si es seguro reiniciar el medicamento.
"""
# Si ambas respuestas son negativas, OK para reiniciar
if respuesta1 == 'no' and respuesta2 == 'no':
return {
'estado': 'OK',
'mensaje': 'Puede reiniciar su medicamento',
'accion': 'reiniciar_habilitado'
}
# Si cualquier respuesta es afirmativa, requiere consulta
if respuesta1 == 'si' or respuesta2 == 'si':
problemas = []
if respuesta1 == 'si':
problemas.append(f'Reaccion reportada: {texto1}')
if respuesta2 == 'si':
problemas.append(f'Problema renal: {texto2}')
return {
'estado': 'CONSULTAR',
'mensaje': 'Consulte con su medico antes de reiniciar',
'problemas': problemas,
'accion': 'reiniciar_deshabilitado'
}
return {
'estado': 'INCOMPLETO',
'mensaje': 'Responda todas las preguntas',
'accion': 'reiniciar_deshabilitado'
}
5.2. Flujo de Reinicio
flowchart TD
A[Usuario responde preguntas] --> B{Todas "No"?}
B -->|Si| C[Mostrar OK verde]
C --> D[Habilitar Reiniciar]
D --> E[Tap Reiniciar]
E --> F[Actualizar medicamento]
F --> G[Reactivar recordatorios]
G --> H[Toast: Medicamento reiniciado]
H --> I[Navegar a lista medicamentos]
B -->|No| J[Mostrar Consultar]
J --> K[Deshabilitar Reiniciar]
K --> L[Tap Consultar Medico]
L --> M[Opciones contacto]
M --> N[Llamar / Mensaje / Cita]
5.3. Acciones Post-Reinicio
sequenceDiagram
participant U as Usuario
participant UI as SCR-IES-006
participant MED as MTS-MED-001
participant NTF as MTS-NTF-001
U->>UI: Confirma reinicio
UI->>MED: Reactivar medicamento
MED->>MED: Estado: ACTIVO
MED->>NTF: Reactivar recordatorios de tomas
NTF-->>MED: Confirmado
MED-->>UI: Medicamento reactivado
UI->>UI: Cerrar pantalla
UI->>UI: Toast confirmacion
6. Accesibilidad
6.1. WCAG AA
| Criterio |
Implementacion |
| 1.4.1 Color |
Verde/Amarillo/Rojo + Iconos + Texto |
| 1.4.3 Contraste |
4.5:1 |
| 2.1.1 Keyboard |
Radio + Campos navegables |
| 3.3.1 Error ID |
Estados claros de resultado |
| 3.3.2 Labels |
Preguntas con labels claros |
6.2. Screen Reader
"Seguimiento post-procedimiento.
Antes de reiniciar su medicamento.
Procedimiento realizado: TAC Abdominal con Contraste,
20 de Diciembre.
Medicamento suspendido: Metformina 850 miligramos,
suspendido desde 18 de Diciembre.
Preguntas de verificacion.
Pregunta 1: Tuvo alguna reaccion durante o despues del estudio?
Radio: No, todo estuvo bien.
Radio: Si, describa. Campo de texto.
Pregunta 2: Le indicaron algun problema con su creatinina?
Radio: No, no me hicieron prueba.
Radio: Si, me indicaron. Campo de texto.
[Resultado segun respuestas]
Boton: Consultar medico primero.
Boton: Reiniciar ahora, [estado segun respuestas]."
6.3. Focus Order
- Back button
- Pregunta 1 - Radio "No"
- Pregunta 1 - Radio "Si"
- Pregunta 1 - Campo texto (si visible)
- Pregunta 2 - Radio "No"
- Pregunta 2 - Radio "Si"
- Pregunta 2 - Campo texto (si visible)
- Boton Consultar
- Boton Reiniciar
7. Responsive
| Breakpoint |
Comportamiento |
| Mobile portrait |
Full width, scroll |
| Mobile landscape |
Scroll, resultado sticky bottom |
| Tablet |
Max 600dp centered, botones inline |
8. Analytics
| Evento |
Parametros |
post_study_check_shown |
med_id, procedure_id, days_after |
post_study_question_answered |
question_num, answer |
post_study_medication_restarted |
med_id, days_suspended |
post_study_doctor_consulted |
med_id, reason |
post_study_problem_reported |
med_id, problem_type |
9. Datos
interface PostStudyCheckData {
procedimiento: {
nombre: string;
fecha: Date;
tipo: string;
};
medicamento: {
id: string;
nombre: string;
dosis: string;
fechaSuspension: Date;
};
protocolo: {
horasEspera: number;
condicionesReinicio: string[];
};
}
9.2. Output
interface PostStudyCheckResult {
pregunta1: {
respuesta: 'no' | 'si';
detalle?: string;
};
pregunta2: {
respuesta: 'no' | 'si';
detalle?: string;
};
resultado: 'OK' | 'CONSULTAR' | 'PROBLEMA';
accion: 'reiniciado' | 'consulta_programada' | 'pendiente';
fechaReinicio?: Date;
}
10. Referencias
Documento generado por MobileUxUiDrone (Eight of Eight)
"El seguimiento es tan importante como la preparacion."