Exemplo n.º 1
0
			<td>' . ($pendienteHis->idContacto ? 'Estudio de Contacto' : $help->getClavePaciente($pendienteHis->idDiagnostico ? $help->getIdPacienteFromDiagnostico($pendienteHis->idDiagnostico) : $pendienteHis->idPaciente)) . '</td>	
			<td>' . ($pendienteHis->idContacto ? $help->getNombreContacto($pendienteHis->idContacto) : $help->getNamePaciente($pendienteHis->idDiagnostico ? $help->getIdPacienteFromDiagnostico($pendienteHis->idDiagnostico) : $pendienteHis->idPaciente)) . '</td>
			<td>' . $pendienteHis->idCatSolicitante . ' ' . $help->getNameUnidad($pendienteHis->idCatSolicitante) . '</td>
			<td>' . formatFechaObj($pendienteHis->fechaTomaMuestra) . '</td>
			<td>' . formatFechaObj($pendienteHis->fechaSolicitudEstudio) . '</td>
			<td>' . htmlentities($help->getDescripTipoEstudio($pendienteHis->idCatTipoEstudio)) . '</td>
			<td>Histopatol&oacute;gia</td>
			<td align="center"><a href="javascript:showResultLab(\'histo\',' . $pendienteHis->idEstudioHis . ')"><img src="images/verLab.gif" border="0"/></a></td>
            <td align="center"><a href="javascript:imprimirSolicitudLab(\'histo\',' . $pendienteHis->idEstudioHis . ')"><img src="images/imprimir.jpg" border="0"/></a></td>
		</tr>';
}
echo '</tbdy></table></div>';
$objHTML->endFieldset();
$objHTML->startFieldset('Solicitudes Procesadas');
if (!empty($_GET['id'])) {
    $listado->getProcesadosBacPaciente($_GET['id']);
    $listado->getProcesadosHisPaciente($_GET['id']);
}
echo '<div class="datagrid">
		<table>
		<thead>
		<tr align="center">
			<th>Clave LESP</th>
			<th>Persona</th>
			<th>Nombre</th>
			<th>Fecha Muestreo</th>
			<th>Fecha Recepci&oacute;n</th>
			<th>Fecha Resultado</th>
			<th>Diagn&oacute;stico</th>
			<th>Tipo</th>
			<th>Estudio</th>