if(!respuesta.error) location.reload(); }, error: function(XMLHttpRequest, textStatus, errorThrown) { jAlert('<img src="images/error.gif" /> <font color="#FF0000" style="font-weight:bold">ERROR</font>. Ocurrió un error al procesar los datos, Intentelo de nuevo. '+ 'o Notifiquelo con el administrador', 'Error al procesar los datos...'); } }); } </script> <?php require_once 'include/clasesLepra.php'; require_once 'include/fecha_hora.php'; $listado = new ListGeneric(); $objHTML = new HTML(); $objSelects = new Select(); echo '<div id="winRecepcionMuestra" title="Recepción de Muestra">'; $objHTML->startForm('formProcesarMuestra', '#', 'POST'); $objHTML->inputHidden('id_estudio'); $objHTML->inputHidden('tipo_estudio'); echo '<label><strong>Folio Solicitud: <u> <span id="folio_solicitud"></span> </u></strong></label><br>'; $objHTML->inputText('Folio Laboratorio: ', 'folio_laboratorio', '', array('placeholder' => 'Clave LESP', 'maxlength' => '10')); echo '<br>'; $objHTML->inputText('Fecha Recepción: ', 'fecha_recepcion'); echo '<br>'; $objHTML->inputCheckbox('Rechazo Muestra', 'rechazo_muestra', 1); echo '<br>'; $objSelects->SelectCatalogo('Criterio Rechazo', 'criterio_rechazo', 'catMotivoRechazo'); echo '<br>';
if(tipo == 'bacilos') { $('#formPrintPDF').attr('action','content/pdf/imprimibles/solicitudBac.php?idEstudioBac='+id); } $('#formPrintPDF').submit(); } </script> <form name="formPrintPDF" id="formPrintPDF" action="#" target="_blank" method="POST"></form> <?php //echo '<pre>'.print_r($_POST,true).'</pre>'; require_once 'include/clasesLepra.php'; require_once 'include/fecha_hora.php'; $objHTML = new HTML(); $objSelects = new Select(); $listado = new ListGeneric(); $help = new Helpers(); $paciente = NULL; $diagnostico = NULL; $sospechoso = new Sospechoso(); $infUni = NULL; $query = ''; // Obtener datos del Pacientes if (!empty($_GET['id'])) { $paciente = new Paciente(); $paciente->obtenerBD($_GET['id']); if (empty($paciente->idPaciente)) { echo msj_error('Paciente no encontrado'); } else { // Paciente Sospechoso(5) o Descartado(6), no tienen un diagnostico asociado if ($paciente->idCatTipoPaciente != 5 && $paciente->idCatTipoPaciente != 6) {
<?php require_once 'include/clasesLepra.php'; require_once 'include/fecha_hora.php'; $listado = new ListGeneric(); $listado->obtenerPendientesBac($_SESSION[EDO_USR_SESSION]); $listado->obtenerPendientesHis($_SESSION[EDO_USR_SESSION]); $objHTML = new HTML(); $help = new Helpers(); $objHTML->startFieldset('Solicitudes Pendientes'); echo '<div class="datagrid"> <table> <thead> <tr align="center"> <th>Clave LESP</th> <th>Clave Del Paciente</th> <th>Nombre</th> <th>Solicitante</th> <th>Fecha Muestreo</th> <th>Fecha Solicitud</th> <th>Tipo</th> <th>Estudio</th> <th>Cedula</th> <th>Ver</th> </tr> </thead> <tbody>'; foreach ($listado->arrEstudiosBac as $pendienteBac) { $idPacienteBac = $pendienteBac->idPaciente; echo '<tr> <td>' . $pendienteBac->folioLaboratorio . '</td>