598 lines
20 KiB
Plaintext
598 lines
20 KiB
Plaintext
<%@ page import="com.tarisan.control.*" %>
|
||
<%@ page import="com.tarisan.data.*" %>
|
||
<%@ page import="com.tarisan.excepcion.*" %>
|
||
<%@ page import="com.tarisan.log.*" %>
|
||
<%@ page import="com.tarisan.util.Utilidades" %>
|
||
<%@ page import="com.tarisan.persistencia.PersistenciaParametros" %>
|
||
<%@ page import="java.sql.*" %>
|
||
<%@ page import="java.util.Vector" %>
|
||
|
||
<%
|
||
//LogTarisan.logger.log(NivelLog.INFO, "Inicio p墔ina de peticiones capturadas (med/peticiones_capturadas.jsp)");
|
||
|
||
response.setHeader("Expires", "0");
|
||
response.setHeader("Pragma", "no-cache");
|
||
response.setHeader("Cache-Control", "no-cache");
|
||
HttpSession sesion = request.getSession(true);
|
||
|
||
if(sesion.isNew() || (sesion.getAttribute("USUARIO") == null))
|
||
{
|
||
LogTarisan.logger.log(NivelLog.INFO, "Sesi鏮 invalidada");
|
||
response.sendRedirect("../../html/login.html");
|
||
}
|
||
else
|
||
{
|
||
LogTarisan.logger.log(NivelLog.INFO, ((Usuario)sesion.getAttribute("USUARIO")).getMedico() + " - Inicio p墔ina de introducir paciente (med/introducir_paciente.jsp)");
|
||
|
||
try
|
||
{
|
||
|
||
// Definicion de variables
|
||
String strParametroMenu="";
|
||
String strCampoFecha="";
|
||
StringBuffer strSql = new StringBuffer();
|
||
int intPagina=0;
|
||
int intBuscarPaciente=0;
|
||
String troquelado = "";
|
||
String mensajeNoEncontrado = "";
|
||
Object aCondiciones[]=null;
|
||
int intTarifa = ((Usuario)sesion.getAttribute("USUARIO")).getTarifa();
|
||
int intEspecialidad = ((Usuario)sesion.getAttribute("USUARIO")).getEspecialidad();
|
||
|
||
//Obtenci鏮 del perfil del usuario conectado
|
||
StringBuffer perfil = new StringBuffer();
|
||
perfil.append("|");
|
||
perfil.append(sesion.getAttribute("PERFIL"));
|
||
perfil.append("|");
|
||
|
||
//Obtenemos los valores de los parametros que se pasan a la pagina
|
||
//En caso de que no se le pasen parametros, quedaram inicializados
|
||
//a sus valores por defecto
|
||
|
||
//parametro x para marcar la opcion del menu en la que se encuentra el usuario
|
||
if (request.getParameter("x")!=null)
|
||
strParametroMenu=(String)request.getParameter("x");
|
||
|
||
//parametro descripcion para las busquedas
|
||
if (request.getParameter("fecha")!=null)
|
||
strCampoFecha = (String)request.getParameter("fecha");
|
||
|
||
//parametro pagina para realizar la paginacion
|
||
if (request.getParameter("pagina")!=null)
|
||
intPagina=Integer.parseInt(request.getParameter("pagina"));
|
||
|
||
//parametro pagina para realizar la paginacion
|
||
if (request.getParameter("buscarPaciente")!=null)
|
||
intBuscarPaciente=Integer.parseInt(request.getParameter("buscarPaciente"));
|
||
|
||
|
||
Tamensaje tamensaje = new Tamensaje();
|
||
PersistenciaTamensaje pertamensaje = new PersistenciaTamensaje();
|
||
|
||
int medico = ((Usuario)sesion.getAttribute("USUARIO")).getMedico();
|
||
String ape = "";
|
||
String nom = "";
|
||
String dir = "";
|
||
String fec = "";
|
||
String tel = "";
|
||
String nif = "";
|
||
String ent = "";
|
||
String tar = "";
|
||
|
||
boolean mostrarNoticia = true;
|
||
PersistenciaTanoticias perTaNo = new PersistenciaTanoticias();
|
||
Vector vSeleccionNot = perTaNo.obtener_noticias_cabecera();
|
||
Vector vNoticias = new Vector();
|
||
String strNoticia = "";
|
||
String noticias ="";
|
||
String separador = " ---//--- ";
|
||
if(vSeleccionNot.size()==0){
|
||
mostrarNoticia = false;
|
||
}else{
|
||
mostrarNoticia = true;
|
||
Tanoticias tanoticia = null;
|
||
for(int i = 0; i < vSeleccionNot.size(); i++)
|
||
{
|
||
tanoticia = (Tanoticias)vSeleccionNot.elementAt(i);
|
||
if (i!=0){
|
||
strNoticia = strNoticia + separador + tanoticia.getNoticia();
|
||
}else{
|
||
strNoticia = tanoticia.getNoticia();
|
||
}
|
||
strNoticia = strNoticia.replaceAll("<br/>", " ");
|
||
}
|
||
}
|
||
%>
|
||
|
||
<html>
|
||
<head>
|
||
<title>Introducir Paciente</title>
|
||
<link rel="shortcut icon" href="../../img/logo.ico" />
|
||
<link rel="STYLESHEET" type="text/css" href="../../css/estilos.css">
|
||
<link rel="STYLESHEET" type="text/css" href="../../css/jquery.modal.css">
|
||
|
||
<script language="JavaScript" src="../../js/jquery-1.11.3.js"></script>
|
||
<script language="JavaScript" src="../../js/funciones.js"></script>
|
||
<script language="JavaScript" src="../../js/inicio_tarisan.js"></script>
|
||
<script language="JavaScript" src="../../js/menu_med.js"></script>
|
||
<script language="JavaScript" src="../../js/bloques_tarisan.js"></script>
|
||
<script language="JavaScript" src="../../js/jquery.modal.min.js"></script>
|
||
<script language="JavaScript">pNG="<%= perfil.toString() %>"</script>
|
||
<script language="JavaScript" type="text/javascript">
|
||
<!--
|
||
function pasarAMayusculas(campo)
|
||
{
|
||
campo.value = campo.value.toUpperCase();
|
||
}
|
||
|
||
function enviar()
|
||
{
|
||
if(document.frm_buscar.apellidos.value.length == 0)
|
||
{
|
||
//alert("Introduce los apellidos del paciente");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce los apellidos del paciente.',});
|
||
document.frm_buscar.apellidos.focus();
|
||
}
|
||
else if(document.frm_buscar.apellidos.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.apellidos.focus();
|
||
}
|
||
else if(document.frm_buscar.nombre.value.length == 0)
|
||
{
|
||
//alert("Introduce el nombre del paciente");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce el nombre del paciente.',});
|
||
document.frm_buscar.nombre.focus();
|
||
}
|
||
else if(document.frm_buscar.nombre.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.nombre.focus();
|
||
}
|
||
else if(document.frm_buscar.direccion.value.length == 0)
|
||
{
|
||
//alert("Introduce la direccion del paciente");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce la direccion del paciente.',});
|
||
document.frm_buscar.direccion.focus();
|
||
}
|
||
else if(document.frm_buscar.direccion.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.direccion.focus();
|
||
}
|
||
else if(document.frm_buscar.fec_nac.value.length == 0)
|
||
{
|
||
//alert("Introduce la fecha de nacimiento");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce la fecha de nacimiento.',});
|
||
document.frm_buscar.fec_nac.focus();
|
||
}
|
||
else if (document.frm_buscar.fec_nac.value!=""){
|
||
if (!valorFecha(document.frm_buscar.fec_nac)){
|
||
document.frm_buscar.fec_nac.focus();
|
||
}else if(document.frm_buscar.telefono.value.length == 0)
|
||
{
|
||
//alert("Introduce un numero de telefono");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce un numero de telefono.',});
|
||
document.frm_buscar.telefono.focus();
|
||
}
|
||
else if(document.frm_buscar.telefono.value.length > 9)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.telefono.focus();
|
||
}
|
||
else if(isNaN(document.frm_buscar.telefono.value))
|
||
{
|
||
//alert("Solo puede introducir n𤦤eros en el campo telefono");
|
||
modal({type:'error',title:',tenci鏮!',text:'Solo puede introducir n𤦤eros en el campo telefono.',});
|
||
document.frm_buscar.telefono.value = "";
|
||
document.frm_buscar.telefono.focus();
|
||
}
|
||
else if(document.frm_buscar.dni.value.length == 0)
|
||
{
|
||
//alert("Introduce un numero de DNI");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce un numero de DNI.',});
|
||
document.frm_buscar.dni.focus();
|
||
}
|
||
else if(document.frm_buscar.dni.value.length > 10)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.dni.focus();
|
||
}
|
||
else if(document.frm_buscar.compania.value.length == 0)
|
||
{
|
||
//alert("Introduce la compa鎴a del asegurado");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce la compa鎴a del asegurado.',});
|
||
document.frm_buscar.compania.focus();
|
||
}
|
||
else if(document.frm_buscar.compania.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.compania.focus();
|
||
}
|
||
else if((document.frm_buscar.identificador.value.length != 0)&&(isNaN(document.frm_buscar.identificador.value)))
|
||
{
|
||
//alert("Solo puede introducir n𤦤eros en el campo identificador");
|
||
modal({type:'error',title:',tenci鏮!',text:'Solo puede introducir n𤦤eros en el campo identificador.',});
|
||
document.frm_buscar.identificador.value = "";
|
||
document.frm_buscar.identificador.focus();
|
||
}
|
||
else if((document.frm_buscar.identificador.value.length != 0)&&(document.frm_buscar.identificador.value.length >= 99))
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.identificador.value = "";
|
||
document.frm_buscar.identificador.focus();
|
||
}
|
||
|
||
else if(document.frm_buscar.medico.value.length == 0)
|
||
{
|
||
//alert("Introduce el nombre del medico");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce el nombre del medico.',});
|
||
document.frm_buscar.medico.focus();
|
||
}
|
||
else if(document.frm_buscar.medico.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.medico.focus();
|
||
}
|
||
else if(document.frm_buscar.espe.value.length == 0)
|
||
{
|
||
//alert("Introduce la especialidad");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce la especialidad.',});
|
||
document.frm_buscar.medico.focus();
|
||
}
|
||
else if(document.frm_buscar.espe.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.medico.focus();
|
||
}
|
||
else if((document.frm_buscar.autorizacion.value.length != 0)&&(isNaN(document.frm_buscar.autorizacion.value)))
|
||
{
|
||
//alert("Solo puede introducir n𤦤eros en el campo autorizacion");
|
||
modal({type:'error',title:',tenci鏮!',text:'Solo puede introducir n𤦤eros en el campo autorizacion.',});
|
||
document.frm_buscar.autorizacion.value = "";
|
||
document.frm_buscar.autorizacion.focus();
|
||
}
|
||
else{
|
||
if(document.frm_buscar.autorizacion.value.length == 0)
|
||
{
|
||
document.frm_buscar.autorizacion.value = -1;
|
||
}
|
||
document.frm_buscar.submit();
|
||
}
|
||
}
|
||
}
|
||
|
||
function buscar(){
|
||
if(document.frm_buscar.identificador.value.length == 0)
|
||
{
|
||
//alert("Introduce el identificador de la tarjeta para realizar la b𢃼queda");
|
||
modal({type:'error',title:',tenci鏮!',text:'Introduce el identificador de la tarjeta para realizar la b𢃼queda.',});
|
||
document.frm_buscar.identificador.focus();
|
||
}
|
||
else if(isNaN(document.frm_buscar.identificador.value))
|
||
{
|
||
//alert("Solo puede introducir n𤦤eros en el campo Tarjeta");
|
||
modal({type:'error',title:',tenci鏮!',text:'Solo puede introducir n𤦤eros en el campo Tarjeta.',});
|
||
document.frm_buscar.identificador.value = "";
|
||
document.frm_buscar.identificador.focus();
|
||
}
|
||
else if(document.frm_buscar.identificador.value.length >= 99)
|
||
{
|
||
//alert("Longitud m嫞ima del campo superada");
|
||
modal({type:'error',title:',tenci鏮!',text:'Longitud m嫞ima del campo superada.',});
|
||
document.frm_buscar.identificador.value = "";
|
||
document.frm_buscar.identificador.focus();
|
||
}
|
||
else
|
||
{
|
||
document.frm_buscarPaciente.troque.value = document.frm_buscar.identificador.value;
|
||
document.frm_buscarPaciente.submit();
|
||
}
|
||
}
|
||
|
||
function paginacion(pagina)
|
||
{
|
||
document.frm_buscar.pagina.value = pagina;
|
||
document.frm_buscar.submit();
|
||
}
|
||
|
||
function enfocar()
|
||
{
|
||
document.frm_buscar.apellidos.focus();
|
||
}
|
||
//-->
|
||
</script>
|
||
|
||
</head>
|
||
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" alink="#43881A" bgcolor="#FFFFFF" onload="javascript:document.frm_buscar.apellidos.focus();">
|
||
<div class="marco">
|
||
<table cellpadding="0" cellspacing="0" border="0" align="center" style="width:95%">
|
||
<tr>
|
||
<td class="tdLogoCabecera"><img src="<%=request.getContextPath()%>/img/logo.png" class="logoCabecera"></td>
|
||
<td>
|
||
<table width="100%">
|
||
<tr><td class="tituloTablaMedico" align="center"><%= sesion.getAttribute("USUARIO") %></td></tr>
|
||
<tr>
|
||
<td>
|
||
<div id="contenedorNoticia">
|
||
<br>
|
||
<div class="tituloNoticia">
|
||
<p class="marquee"><%=strNoticia %></p>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<!-- Cabecera de Navegaci鏮 superior //-->
|
||
<table cellpadding="0" cellspacing="0" border="0" align="center" style="width:95%">
|
||
<tr>
|
||
<td><script language="JavaScript">bloques();</script></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<br>
|
||
|
||
<!-- Cuerpo de la p墔ina //-->
|
||
<table cellpadding="0" cellspacing="0" border="0" align="center" style="width:95%">
|
||
<tr valign="top">
|
||
<!--<td width="180">//-->
|
||
<td width="5%">
|
||
<!-- Men� de navegaci鏮 del m鏚ulo (zona izquierda) //-->
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr valign="top">
|
||
<td colspan="2"><img src="../../img/sp.gif" width="180" height="12" border="0"></td>
|
||
</tr>
|
||
<tr valign="top">
|
||
<td><script language="JavaScript">escribirMenuGst();</script></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<!--<td bgcolor="#CCCCCC"><img src="../../img/sp.gif" width="1" height="12" border="0"></td>//-->
|
||
<td width="565">
|
||
<!-- Tabla con el contenido de la p墔ina (zona central-derecha) //-->
|
||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<!--<td><img src="../../img/sp.gif" width="4" height="261" border="0"></td>//-->
|
||
<td width="1px" bgcolor="#CCCCCC" height="330px"></td>
|
||
<td class="txt" valign="top">
|
||
<img src="../../img/sp.gif" width="1" height="11" border="0"><br>
|
||
<table border="0" align="center" width="100%">
|
||
|
||
<%
|
||
//Se ha pulsado en Buscar Paciente
|
||
/*if (intBuscarPaciente==1){
|
||
troquelado = (String)request.getParameter("troque");
|
||
PersistenciaTapecap per = new PersistenciaTapecap();
|
||
Tapecap tapecap = null;
|
||
Vector vSeleccion = per.buscarPaciente(troquelado, intPagina);
|
||
if (vSeleccion.size()==0) //No se han encontrado datos
|
||
{
|
||
mensajeNoEncontrado = "No se ha encontrado el paciente";
|
||
}
|
||
else
|
||
{
|
||
tapecap = (Tapecap)vSeleccion.firstElement();
|
||
if (tapecap.getApellidos()!=null){
|
||
ape = tapecap.getApellidos();
|
||
}
|
||
if (tapecap.getNombre()!=null){
|
||
nom = tapecap.getNombre().trim();
|
||
}
|
||
if (tapecap.getDireccion()!=null){
|
||
dir = tapecap.getDireccion();
|
||
}
|
||
if (tapecap.getFecha_nac()!=null){
|
||
fec = tapecap.getFecha_nac().toString();
|
||
String[] arrFecha = fec.split("-");
|
||
fec = arrFecha[2] + "-" + arrFecha[1] + "-" + arrFecha[0];
|
||
}
|
||
if (tapecap.getTelefono()!=null){
|
||
tel = tapecap.getTelefono().trim();
|
||
}
|
||
if (tapecap.getNif()!=null){
|
||
nif = tapecap.getNif().trim();
|
||
}
|
||
if (tapecap.getCompa鎴a()!=null){
|
||
ent = tapecap.getCompa鎴a();
|
||
}
|
||
}
|
||
}*/
|
||
|
||
if (intBuscarPaciente==1){
|
||
if (request.getParameter("nom")!=null)
|
||
nom=(String)request.getParameter("nom");
|
||
|
||
if (request.getParameter("ape")!=null)
|
||
ape=(String)request.getParameter("ape");
|
||
|
||
if (request.getParameter("dir")!=null)
|
||
dir=(String)request.getParameter("dir");
|
||
|
||
if (request.getParameter("fec")!=null)
|
||
fec=(String)request.getParameter("fec");
|
||
|
||
if (request.getParameter("tel")!=null)
|
||
tel=(String)request.getParameter("tel");
|
||
|
||
if (request.getParameter("nif")!=null)
|
||
nif=(String)request.getParameter("nif");
|
||
|
||
if (request.getParameter("ent")!=null)
|
||
ent=(String)request.getParameter("ent");
|
||
|
||
if (request.getParameter("tar")!=null)
|
||
tar=(String)request.getParameter("tar");
|
||
}
|
||
|
||
|
||
|
||
%>
|
||
<!-- Presentacion de los resultados -->
|
||
<form name="frm_buscar" action="<%=request.getContextPath()%>/servlet/GestorMedicos?x=<%=strParametroMenu%>" method="post" >
|
||
<input type="hidden" name="pagina" value="1" />
|
||
<input type="hidden" name="OPCION" value="<%=Constantes.OPC_MED_PETICION_CAPTURADA%>">
|
||
<h3>DATOS B糜ICOS DE LA ANAL炆ICA</h3>
|
||
<table border="0" align="center">
|
||
<tr>
|
||
<td colspan="2" align="center">
|
||
<span class="menuOn"><%=mensajeNoEncontrado %></span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" align="right"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Apellidos:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="apellidos" name="apellidos" value="<%=ape%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Nombre:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="nombre" name="nombre" value="<%=nom%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<label class="txtnegrita">Direccion:</label>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="direccion" name="direccion" value="<%=dir%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<label class="txtnegrita">Fecha Nacimiento (dd-mm-aaaa):</label>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="fec_nac" name="fec_nac" value="<%=fec%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Telefono:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="telefono" name="telefono" value="<%=tel%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">DNI:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="dni" name="dni" value="<%=nif%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<label class="txtnegrita">Compa鎴a:</label>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="compania" name="compania" value="<%=ent%>"/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
<td align="right">
|
||
<label class="txtnegrita">Tarjeta:</label>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="identificador" name="identificador" value="<%=tar%>"/>
|
||
<a href="javascript:buscar()" class="enlace">Buscar Paciente</a>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Peticionario:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="medico" name="medico" value=""/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Especialidad:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="espe" name="espe" value=""/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<span class="txtnegrita">Autorizacion:</span>
|
||
</td>
|
||
<td>
|
||
<input size="30" type="text" class="txt" id="autorizacion" name="autorizacion" value=""/>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" align="right"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" align="center">
|
||
<a href="javascript:enviar()" class="enlace">Introducir Paciente</a>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" align="right"> </td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
<form name="frm_buscarPaciente" action="buscar_paciente.jsp?x=16&pagina=1" method="post" >
|
||
<input type="hidden" name="pagina" value="1" />
|
||
<input type="hidden" name="buscarPaciente" value="1" />
|
||
<input type="hidden" name="troque" value="" />
|
||
<input type="hidden" name="OPCION" value="<%=Constantes.OPC_MED_PETICION_CAPTURADA%>">
|
||
</form>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
<script>
|
||
var jsMostrarNoticia = <%=mostrarNoticia %>;
|
||
if (!jsMostrarNoticia){
|
||
document.getElementById('contenedorNoticia').style.display="none";
|
||
}else{
|
||
<% strNoticia = strNoticia.replaceAll("\"", "'"); %>
|
||
var not = "<%=strNoticia %>";
|
||
tamanioNoticia(not);
|
||
marquee($('.tituloNoticia'), $('.marquee'),not);
|
||
}
|
||
</script>
|
||
<%
|
||
}
|
||
catch(Exception ex)
|
||
{
|
||
LogTarisan.logger.log(NivelLog.ERROR, ((Usuario)sesion.getAttribute("USUARIO")).getMedico() + " - Exception: " + ex);
|
||
sesion.setAttribute("ERROR", "Error en la presentaci鏮 de la p墔ina al usuario.");
|
||
response.sendRedirect("../error.jsp");
|
||
}
|
||
LogTarisan.logger.log(NivelLog.INFO, ((Usuario)sesion.getAttribute("USUARIO")).getMedico() + " - Final p墔ina de peticiones capturadas (med/peticiones_capturadas.jsp)");
|
||
}
|
||
%>
|