
{
    "Fecha": "2025-08-20 10:12:00",
    "TypeException": "Base exception",
    "Message": "Error inesperado",
    "Line": 94,
    "Code": -100,
    "Trace": "#0 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#1 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": null,
    "RequestUri": "\/agenda\/pacienteagenda\/ver",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/137.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-20 10:13:07",
    "TypeException": "Business",
    "Message": "Ha ocurrido un problema,  al generar la receta. Debe indicar al menos 1 medicamento.",
    "Line": 67,
    "Code": 300,
    "Trace": "#0 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->RecetaPdf()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#2 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#4 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/recetapdf",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/139.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-20 13:06:25",
    "TypeException": "Exception",
    "Message": "SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error",
    "Line": 401,
    "Code": "07002",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(401): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(129): Intouch\\Framework\\Dao\\GenericDao->DeleteBy()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Ficha\/FichaBO.php(254): Intouch\\Framework\\BLL\\Service\\GenericSvc->DeleteBy()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Ficha\/FichaController.php(69): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->GuardarMedicamentosExamenesImagenes()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->GuardarMedicamentosExamenesImagenes()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/GuardarMedicamentosExamenesImagenes",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-20 13:07:44",
    "TypeException": "Exception",
    "Message": "SQLSTATE[07002]: [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error",
    "Line": 401,
    "Code": "07002",
    "Trace": "#0 \/var\/www\/html\/intouch\/v4\/framework\/src\/Dao\/GenericDao.php(401): PDOStatement->execute()\n#1 \/var\/www\/html\/intouch\/v4\/framework\/src\/BLL\/Service\/GenericSvc.php(129): Intouch\\Framework\\Dao\\GenericDao->DeleteBy()\n#2 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Ficha\/FichaBO.php(254): Intouch\\Framework\\BLL\\Service\\GenericSvc->DeleteBy()\n#3 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Ficha\/FichaController.php(69): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->GuardarMedicamentosExamenesImagenes()\n#4 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->GuardarMedicamentosExamenesImagenes()\n#5 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#6 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#7 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#8 {main}",
    "ServerIP": "10.0.11.215",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/GuardarMedicamentosExamenesImagenes",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}
{
    "Fecha": "2025-08-20 13:37:20",
    "TypeException": "Business",
    "Message": "Ha ocurrido un problema. Paciente no ha sido encontrado",
    "Line": 558,
    "Code": 0,
    "Trace": "#0 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/BLL\/BusinessObjects\/Ficha\/FichaBO.php(675): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->ObtenerFichaSimple()\n#1 \/var\/www\/html\/clinica.resolved.cl\/public_html\/Application\/Controllers\/Api\/Mantenedores\/Ficha\/FichaControllerT.php(457): Application\\BLL\\BusinessObjects\\Ficha\\FichaBO->ObtenerFicha()\n#2 [internal function]: Application\\Controllers\\Api\\Mantenedores\\Ficha\\FichaController->ImprimirIndicacionesPdf()\n#3 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(555): ReflectionMethod->invokeArgs()\n#4 \/var\/www\/html\/intouch\/v4\/framework\/src\/Route\/BaseDispatcher.php(125): Intouch\\Framework\\Route\\BaseDispatcher->InvokeWithArgs()\n#5 \/var\/www\/html\/clinica.resolved.cl\/public_html\/public\/index.php(114): Intouch\\Framework\\Route\\BaseDispatcher->DispatchRequest()\n#6 {main}",
    "ServerIP": "10.0.31.11",
    "FatalType": 1,
    "DebugMessage": "",
    "Usuario": {
        "IdUsuario": 6,
        "LoginName": "CFuentes"
    },
    "RequestUri": "\/api\/mantenedores\/ficha\/ficha\/imprimirindicacionespdf",
    "UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/138.0.0.0 Safari\/537.36"
}