<div id="info"></div> <fieldset> <legend><strong>INGRESAR MEDICO</strong></legend> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="POST" id="medicoformulario"> <input type="hidden" name="a" value="ingresar"> <table width="100%" align="left"> <tr> <td align="left">Tipo de Documento:(*)</td> <td align="left"><?php print_selectmenu($tipo, "tipo_identificacion", '', '', 'tipo_identificacion'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Numero:(*)</td> <td align="left"><input type="text" name="numero_documento" id="numero_documento"/><span class="validar"></span></td> </tr> <tr> <td align="left">Primer Nombre:(*)</td> <td align="left"><input type="text" name="nombre1" id="nombre1"/><span class="validar"></span></td> </tr> <tr> <td align="left">Segundo Nombre:</td> <td align="left"><input type="text" name="nombre2" id="nombre2"/><span class="validar"></span></td> </tr> <tr> <td align="left">Primer Apellido:(*)</td>
echo $_REQUEST['id_paciente']; ?> "> <input type="hidden" name="id_admision" value="<?php echo $_REQUEST['id_admision']; ?> "> <input type="hidden" name="id_hospitalizacion" value="<?php echo $_REQUEST['id_hospitalizacion']; ?> " id="evo_id_hospitalizacion"/> <input type="hidden" name="id_nota" id="id_nota"/> <table width="90%" align="center"> <tr><td colspan="2" align="center"><strong>NOTAS ENFERMERIA</strong></td></tr> <tr><td colspan="2">Orden:<?php print_selectmenu($orden, "id_orden", '', '', 'nota_id_orden'); ?> <span class="validar"></span></td></tr> <tr><td colspan="2" align="center"><textarea name="nota" rows="2" cols="110" id="nota"><?php echo $rst['nota']; ?> </textarea><span class="validar"></span></td></tr> <tr><td colspan="2"><input type="submit" value="Guardar" id="guardarnota"></td></tr> </table> </form> <script type = "text/javascript"> $('#hospnota').submit(function(event) { event.preventDefault(); var url = $(this).attr('action'); var datos = $(this).serialize();
echo $rst['id']; ?> "/> <table width="100%" align="left"> <tr> <td align="left">Nombre:(*)</td> <td align="left"><textarea name="nombre" rows="1" cols="110" id="nombre"><?php echo $rst['nombre']; ?> </textarea><span class="validar"></span></td> </tr> <tr> <td align="left">Prioridad:</td> <td align="left"><?php print_selectmenu($this->prioridad, "prioridad", $rst['prioridad'], '', 'prioridad'); ?> <span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form> </fieldset> </div> </div> <script type = "text/javascript"> $('#dosisformulariou').submit(function(event) { event.preventDefault();
function select($ccosto = NULL, $manual = NULL, $pendiente = NULL) { // Variables if ($ccosto == '11') { $tarifa = $this->Medicamento->lista($ccosto); } else { $tarifa = $this->Tarifa->lista($ccosto, $manual); } $subpro = $this->Subprograma->lista(); $html = '<tr><td><input type="text" name="codigo[]" id="codigo_#" size="8"/></td><td>'; ob_start(); print_selectmenu($tarifa, "nombre[]", '', 'style="font-size: 0.7em;width:200px;max-width:200px;"', 'nombre_#'); $html .= ob_get_clean(); $html .= '</td><td><input type="text" name="cantidad[]" id="cantidad_#" size="8"/></td><td><input type="text" name="valor[]" id="valor_#" size="8"/></td><td>'; print_selectmenu($subpro, "subprograma[]", '', 'style="font-size: 0.7em;width:200px;"', 'subprograma_#'); $html .= ob_get_clean(); $html .= '</td><td><a href="#" id="borrar"><img src="tpl/img/remove.png" width="16" height="16" /></a></td></tr>'; ob_end_clean(); echo $html; return; }
<td align="left"><?php print_selectmenu($datos, "procedimientos", $rst['procedimientos'], '', 'procedimientos'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Odontologia:(*)</td> <td align="left"><?php print_selectmenu($datos, "odontologia", $rst['odontologia'], '', 'odontologia'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Servicios:(*)</td> <td align="left"><?php print_selectmenu($datos, "servicios", $rst['servicios'], '', 'servicios'); ?> <span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form> </fieldset> </div> </div> <script type = "text/javascript"> $('#botonformulariou').submit(function(event) { event.preventDefault();
echo $_REQUEST['fecha']; ?> "/> <input type="hidden" name="hora" value="<?php echo $_REQUEST['hora']; ?> "/> <input type="hidden" name="id_medico" value="<?php echo $_REQUEST['id_medico']; ?> "/> <table width="80%" align="center"> <tr> <td align="left">Tipo de Documento:</td> <td align="left"><?php print_selectmenu($tipo, "tipo_identificacion", $tipodoc); echo isset($ms['tipo_identificacion']) ? $ms['tipo_identificacion'] : ''; ?> </td> </tr> <tr> <td align="left">Documento:</td> <td align="left"><input type="text" name="numero_documento" value="<?php echo isset($_REQUEST['numero_documento']) ? $_REQUEST['numero_documento'] : ''; ?> "/><?php echo isset($ms['numero_documento']) ? $ms['numero_documento'] : ''; ?> </td> </tr>
<tr> <td align="left">Municipio:</td> <td align="left"><?php print_selectmenu($municipio, "municipio", $smunicipio, '', 'municipio'); ?> <span class="validar"></span></td> <td align="left">Zona:</td> <td align="left"><?php print_selectmenu($zonas, "zona", $szona, '', 'zona'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Barrio:</td> <td align="left"><?php print_selectmenu($barrio, "barrio", $sbarrio, '', 'barrio'); ?> <span class="validar"></span></td> <td align="left">Telefono:</td> <td align="left"><input type="text" name="telefono" id="telefono" /><span class="validar"></span></td> </tr> <tr> <td align="left">Direccion:</td> <td align="left"><input type="text" name="direccion" id="direccion"class="mayuscula" /><span class="validar"></span></td> <td align="left">Email:</td> <td align="left"><input type="text" name="email" id="email" class="minuscula"/><span class="validar"></span></td> </tr> </table> </form> <script> $(function() {
<td align="left"><?php print_selectmenu($datos, "procedimientos", '', '', 'procedimientos'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Odontologia:(*)</td> <td align="left"><?php print_selectmenu($datos, "odontologia", '', '', 'odontologia'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Servicios:(*)</td> <td align="left"><?php print_selectmenu($datos, "servicios", '', '', 'servicios'); ?> <span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form> </fieldset> <script type = "text/javascript"> $('#guardar').button(); $('#botonformulario').submit(function(event) { event.preventDefault(); var url = $(this).attr('action');
<tr> <td align="left">Segundo Nombre:(*)</td> <td align="left"><input type="text" name="nombre2" id="nombre2"/><span class="validar"></span></td> </tr> <tr> <td align="left">Primer Apellido:</td> <td align="left"><input type="text" name="apellido1" id="apellido1"/><span class="validar"></span></td> </tr> <tr> <td align="left">Segundo Apellido:</td> <td align="left"><input type="text" name="apellido2" id="apellido2"/><span class="validar"></span></td> </tr> <tr> <td align="left">Perfil:</td> <td align="left"><?php print_selectmenu($perfil, "id_rol", '', '', 'id_rol'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Usuario:</td> <td align="left"><input type="text" name="usuario" id="usuario"/><span class="validar"></span></td> </tr> <tr> <td align="left">Clave:</td> <td align="left"><input type="password" name="clave" id="clave"/><span class="validar"></span></td> </tr> <tr> <td align="left">Confirmar Clave:</td> <td align="left"><input type="password" name="cclave" id="cclave"/><span class="validar"></span></td> </tr>
<tr> <td align="left">Fecha ingreso</td> <td align="left">Fecha Egreso</td> <td>Sede</td> </tr> <tr> <td align="left"><input type="text" name="fecha_ingreso" value="<?php echo $fingreso; ?> " id="fecha_ingreso" /><span class="validar"></span></td> <td align="left"><input type="text" name="fecha_egreso" value="<?php echo $fegreso; ?> " id="fecha_egreso"/><span class="validar"></span></td> <td><?php print_selectmenu($centro, "prefijo_centro", $pendiente['prefijo_centro'], '', 'prefijo_centro'); ?> <span class="validar"></span></td> </tr> </table> </fieldset> <fieldset> <legend><strong>Responsable</strong></legend> <table> <tr> <td>Nombre del Responsable y Parentesco</td> <td>Direccion del Responsable</td> <td>Telefono del Responsable</td> <td>Alta voluntaria</td> </tr> <tr>
echo !empty($msj) ? $msj['mensaje'] : ''; ?> </div> <div align="center"><strong>LISTADO ADMISION</strong></div> <br> <input type="image" name="buscar" id="busqueda" value="true" src="tpl/img/navigate-down.png" width="24" height="24" /> <div id="filtro" style="display:none;"> <table width="50%" align="center"> <tr> <td>Buscar:<input type="text" name="palabra" value="<?php echo isset($_REQUEST['palabra']) ? $_REQUEST['palabra'] : ''; ?> " id="palabra"></td> <td>Medico: <?php print_selectmenu($medicos, "id_medico", $idmedico, '', 'id_medico'); ?> </td> </tr> <td>Fecha Inicial:<input type="text" name="fecha_inicial" value="<?php echo isset($_REQUEST['fecha_inicial']) ? $_REQUEST['fecha_inicial'] : ''; ?> " id="fecha_inicial" size="10"/></td> <td>Fecha Final:<input type="text" name="fecha_final" value="<?php echo isset($_REQUEST['fecha_final']) ? $_REQUEST['fecha_final'] : ''; ?> " id="fecha_final" size="10"/> <input type="image" name="buscar" id="buscar" value="true" src="tpl/img/find.png" width="16" height="16" /></td> </tr> </table> </div> <br/>
?> " size="8"/></td> <td><?php print_selectmenu($tarifa, "nombre[]", '', 'style="font-size: 0.7em;width:200px;max-width:200px;"', 'nombre_' . $i); ?> </td> <td><input type="text" name="cantidad[]" id="cantidad_<?php echo $i; ?> " size="8"/></td> <td><input type="text" name="valor[]" id="valor_<?php echo $i; ?> " size="8"/></td> <td><?php print_selectmenu($subpro, "subprograma[]", '', 'style="font-size: 0.7em;width:200px;"', 'subprograma_' . $i); ?> </td> <td><a href="#" id="borrar"><img src="tpl/img/remove.png" width="16" height="16" /></a></td> </tr> </table> </form> <?php $i++; ?> <br/> <div align="left"><a href="#" id="agregar"><img src="tpl/img/add.png" width="24" height="24" /></a></div> <script type = "text/javascript"> var html; var manual = <?php echo $manual;
<td align="left"><input type="text" name="generico" value="<?php echo $rst['generico']; ?> " id="generico"/><span class="validar"></span></td> </tr> <tr> <td align="left">Marca Comercial:(*)</td> <td align="left"><input type="text" name="comercial" value="<?php echo $rst['comercial']; ?> " id="comercial"/><span class="validar"></span></td> </tr> <tr> <td align="left">Forma Farmaceutica:(*)</td> <td align="left"><?php print_selectmenu($forma, "codformfarm", $rst['codformfarm'], '', 'codformfarm'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Concentracion:(*)</td> <td align="left"><input type="text" name="concentracion" value="<?php echo $rst['concentracion']; ?> " id="concentracion"/><span class="validar"></span></td> </tr> <tr> <td align="left">Unidad Medida:(*)</td> <td align="left"><input type="text" name="unidad_medida" value="<?php echo $rst['unidad_medida']; ?>
echo !empty($msj) ? $msj['mensaje'] : ''; ?> </div> <div align="center"><strong>LISTADO DE TARIFAS</strong></div> <br> <input type="image" name="buscar" id="busqueda" value="true" src="tpl/img/navigate-down.png" width="24" height="24" /> <div id="filtro" style="display:none;"> <table width="50%" align="center"> <tr> <td>Buscar:<input type="text" name="palabra" value="<?php echo isset($_REQUEST['palabra']) ? $_REQUEST['palabra'] : ''; ?> " id="palabra"></td> <td>Manual: <?php print_selectmenu($smanual, "manual", $idmanual, '', 'manual'); ?> <input type="image" name="buscar" id="buscar" value="true" src="tpl/img/find.png" width="16" height="16" /></td> </table> </div> <br/> <div id="links"> <?php if (count($data['data'])) { ?> <table width="80%" border="1" align="center"> <tr> <th>ID</th> <th>Nombre</th> <th>Manual</th> <th>Codigo</th>
" size="4" class="mayuscula"/><span class="validar"></span></td></tr> <tr><td align="left">DX2:</td><td><div class="autocomplete"><input type="text" size="82" value="<?php echo $this->Diagnostico->getDiagnostico($rst['dx2']); ?> " tipo="1" campo="dx2" data-source="app/diagnostico/diagnostico.php?a=buscar&p="> <?php print_selectmenu($diagnostico, "tipo_diagnostico2", $rst['tipo_diagnostico2'], '', 'tipo_diagnostico2'); ?> </div><input type="hidden" name="dx2" id="dx2" value="<?php echo $rst['dx2']; ?> " size="4" class="mayuscula"/><span class="validar"></span></td></tr> <tr><td align="left">DX3:</td><td><div class="autocomplete"><input type="text" size="82" value="<?php echo $this->Diagnostico->getDiagnostico($rst['dx3']); ?> " tipo="1" campo="dx3" data-source="app/diagnostico/diagnostico.php?a=buscar&p="> <?php print_selectmenu($diagnostico, "tipo_diagnostico3", $rst['tipo_diagnostico3'], '', 'tipo_diagnostico3'); ?> </div><input type="hidden" name="dx3" id="dx3" value="<?php echo $rst['dx3']; ?> " size="4" class="mayuscula"/><span class="validar"></span></td></tr> <tr><td>Conducta:</td><td><textarea name="conducta" rows="2" cols="110" id="conducta"><?php echo $rst['conducta']; ?> </textarea><span class="validar"></span></td></tr> <tr><td>Observaciones:</td><td><textarea name="observaciones" rows="2" cols="110" id="observaciones"><?php echo $rst['observaciones']; ?> </textarea><span class="validar"></span></td></tr> <?php if ($rst['consulta_cerrada'] != 't') {
print_selectmenu($this->umedida, "unidad_medida", '', '', 'unidad_medida'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Edad Inicial:(*)</td> <td align="left"><input type="text" name="edad_inicial" id="edad_inicial"/><span class="validar"></span></td> </tr> <tr> <td align="left">Edad Final:(*)</td> <td align="left"><input type="text" name="edad_final" id="edad_final"/><span class="validar"></span></td> </tr> <tr> <td align="left">Sexo:(*)</td> <td align="left"><?php print_selectmenu($this->sexo, "sexo", '', '', 'sexo'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Observacion:(*)</td> <td align="left"><input type="text" name="observacion" id="observacion"/><span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form> </fieldset> <script type = "text/javascript"> $('#guardar').button();
<tr> <td align="left">Codigo:(*)</td> <td align="left"><input type="text" name="codigo" id="codigo"/><span class="validar"></span></td> </tr> <tr> <td align="left">Generico:(*)</td> <td align="left"><input type="text" name="generico" id="generico"/><span class="validar"></span></td> </tr> <tr> <td align="left">Marca Comercial:(*)</td> <td align="left"><input type="text" name="comercial" id="comercial"/><span class="validar"></span></td> </tr> <tr> <td align="left">Forma Farmaceutica:(*)</td> <td align="left"><?php print_selectmenu($forma, "codformfarm", '', '', 'codformfarm'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Concentracion:(*)</td> <td align="left"><input type="text" name="concentracion" id="concentracion"/><span class="validar"></span></td> </tr> <tr> <td align="left">Unidad Medida:(*)</td> <td align="left"><input type="text" name="unidad_medida" id="unidad_medida"/><span class="validar"></span></td> </tr> <tr> <td align="left">Fecha Vencimiento:(*)</td> <td align="left"><input type="text" name="fecha_vencimiento" id="fecha_vencimiento"/><span class="validar"></span></td> </tr>
<td align="left"><input type="text" name="apellido1" value="<?php echo $rst['apellido1']; ?> " id="apellido1"/><span class="validar"></span></td> </tr> <tr> <td align="left">Segundo Apellido:</td> <td align="left"><input type="text" name="apellido2" value="<?php echo $rst['apellido2']; ?> " id="apellido2"/><span class="validar"></span></td> </tr> <tr> <td align="left">Perfil:</td> <td align="left"><?php print_selectmenu($perfil, "id_rol", $rst['id_rol'], '', 'id_rol'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left" colspan="2"><label>Medico <input type="checkbox" name="tipo" value="1" <?php echo $rst['tipo'] == '1' ? 'checked' : ''; ?> ></label></td> </tr> <tr> <td align="left">Registro Medico:(*)</td> <td align="left"><input type="text" name="registro_medico" value="<?php echo $rst['registro_medico']; ?> " id="registro_medico"/><span class="validar"></span></td>
</tr> <tr> <td align="left">Soat:(*)</td> <td align="left"><input type="text" name="cups" id="cups"/><span class="validar"></span></td> </tr> <tr> <td align="left">ccosto:(*)</td> <td align="left"><?php print_selectmenu($costo, "ccosto", '', '', 'ccosto'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">ccosto_sub:(*)</td> <td align="left"><?php print_selectmenu($costosub, "ccosto_sub", '', '', 'ccosto_sub'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">concepto:(*)</td> <td align="left"><input type="text" name="concepto" id="concepto"/><span class="validar"></span></td> </tr> <tr> <td align="left">Valor:(*)</td> <td align="left"><input type="text" name="valor" id="valor"/><span class="validar"></span></td> </tr> <tr> <td align="left">Nivel:(*)</td> <td align="left"><input type="text" name="nivel" id="nivel"/><span class="validar"></span></td> </tr>
<form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="POST" id="formulario" > <input type="hidden" name="a" value="administrar" /> <input type="hidden" id="fecha" /> <table width="90%" align="center"> <tr> <td rowspan="2"><?php print_selectmenu($medicos, "id_medico", $idmedico, "size=10", 'id_medico'); $this->mensajeVal('id_medico'); ?> </td> <td>Horario Laboral<br/> <?php print_selectmenu($horarios, "id_horario", '', 'style="max-width: 110px;"', 'id_horario'); ?> </td> <td rowspan="2"><div style="font-size:62.5%;" id="calendario"></div></td> </tr> <tr> <td> <select size="5" id="horario"> <option value = ''>- - - - - - - - - - -</option> </select> <br/><button type="button" id="bhorario" class="css3button">Generar Horario</button><br/> <button type="button" id="ahorario" class="css3button">Actualizar Horario</button></td> </tr> </table> </form> </fieldset>
<input type="hidden" name="id_hospitalizacion" id="id_hospitalizacion" value="<?php echo $id_hospital; ?> " /> <table align="center"> <tr><td colspan="2" align="center"><strong>DATOS EGRESO</strong></td></tr> <tr><td>Fecha Egreso:</td><td><input type="text" name="fecha_egreso" value="<?php echo $rst['fecha_egreso']; ?> "/><span class="validar"></span></td></tr> <tr><td>Hora:</td><td><input type="text" name="hora_egreso" value="<?php echo $rst['hora_egreso']; ?> "/><span class="validar"></span></td></tr> <tr><td>Salida Usuario:</td><td><?php print_selectmenu($this->salida, "estado_salida", $rst['estado_salida'], '', 'estado_salida'); ?> <span class="validar"></span></td></tr> <tr><td>Dias Estancia:</td><td><input type="text" name="dias_estancia" value="<?php echo $rst['dias_estancia']; ?> "/><span class="validar"></span></td></tr> <tr><td align="left">DX Egreso: </td><td><div class="autocomplete"><input type="text" size="109" value="<?php echo $this->Diagnostico->getDiagnostico($rst['dxegreso']); ?> " tipo="1" campo="dxegreso" data-source="app/diagnostico/diagnostico.php?a=buscar&p="></div><input type="hidden" name="dxegreso" id="dxegreso" value="<?php echo $rst['dxegreso']; ?> " size="4" class="mayuscula"/><span class="validar"></span></td></tr> <tr><td align="left">DX Egreso1: </td><td><div class="autocomplete"><input type="text" size="109" value="<?php echo $this->Diagnostico->getDiagnostico($rst['dxegreso1']);
/** Imprime un bloque con tres select menu. D�a, mes y a�o. Recibe como parametros el nombre del listado, la etiqueta, el style sheet y un arreglo de tres posiciones con los valores seleccionados de a�o, mes y dia. */ function print_dateblock($slabel, $sname, $brequired = false, $selected = "1940-01-01") { global $ayears, $amnth, $adays, $html; echo "<tr><td class=\"Tahoma10_bold\">{$slabel}"; if ($brequired == true) { echo "<img src=\"" . $html['imgreq'] . "\" alt=\"Campo Obligatorio\" hspace=3>"; } echo "</td><td>"; print_selectmenu($amnth, $sname . "_mnth", substr($selected, 5, 2), $sextrahtml); echo " - "; print_selectmenu($adays, $sname . "_day", substr($selected, 8, 2), $sextrahtml); echo " - "; print_selectmenu($ayears, $sname . "_year", substr($selected, 0, 4), $sextrahtml); echo "</td></tr>\n"; }
echo !empty($msj) ? $msj['mensaje'] : ''; ?> </div> <div align="center"><strong>LISTADO DE MEDICAMENTOS</strong></div> <br> <input type="image" name="buscar" id="busqueda" value="true" src="tpl/img/navigate-down.png" width="24" height="24" /> <div id="filtro" style="display:none;"> <table width="60%" align="center"> <tr> <td>Buscar:<input type="text" name="palabra" value="<?php echo isset($_REQUEST['palabra']) ? $_REQUEST['palabra'] : ''; ?> " id="palabra"></td> <td>Forma Farmaceutica: <?php print_selectmenu($ltipo, "forma", $idforma, '', 'forma'); ?> <input type="image" name="buscar" id="buscar" value="true" src="tpl/img/find.png" width="16" height="16" /></td> </table> </div> <br/> <div id="links"> <?php if (count($data['data'])) { ?> <table width="60%" border="1" align="center"> <tr> <th>ID</th> <th>Nombre</th> <th>Forma Farmaceutica</th> <th>Concentracion</th>
echo $rst['id']; ?> "/> <table width="100%" align="left"> <tr> <td align="left">Nombre:(*)</td> <td align="left"><input type="text" name="nombre" value="<?php echo $rst['nombre']; ?> " id="nombre"/><span class="validar"></span></td> </tr> <tr> <td align="left">Ccosto:(*)</td> <td align="left"><?php print_selectmenu($costo, "ccosto", $rst['ccosto'], '', 'ccosto'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Contab:(*)</td> <td align="left"><input type="text" name="contab" value="<?php echo $rst['ccosto']; ?> " id="contab"/><span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form>
<td align="left"><input type="text" name="edad_inicial" value="<?php echo $rst['edad_inicial']; ?> " id="edad_inicial"/><span class="validar"></span></td> </tr> <tr> <td align="left">Edad Final:(*)</td> <td align="left"><input type="text" name="edad_final" value="<?php echo $rst['edad_final']; ?> " id="edad_final"/><span class="validar"></span></td> </tr> <tr> <td align="left">Sexo:(*)</td> <td align="left"><?php print_selectmenu($this->sexo, "sexo", $rst['sexo'], '', 'sexo'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Observacion:(*)</td> <td align="left"><input type="text" name="observacion" value="<?php echo $rst['observacion']; ?> " id="observacion"/><span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form>
<legend><strong>INGRESAR COSTO SUB</strong></legend> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="POST" id="costoformulario"> <input type="hidden" name="a" value="ingresar"> <table width="100%" align="left"> <tr> <td align="left">Nombre:(*)</td> <td align="left"><input type="text" name="nombre" id="nombre"/><span class="validar"></span></td> </tr> <tr> <td align="left">Centro de costo:(*)</td> <td align="left"><?php print_selectmenu($costo, "ccosto", '', '', 'ccosto'); ?> <span class="validar"></span></td> </tr> <tr> <td align="left">Contab:(*)</td> <td align="left"><input type="text" name="contab" id="contab"/><span class="validar"></span></td> </tr> <tr> <td colspan="2"><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td> </tr> </table> </form> </fieldset> <script type = "text/javascript"> $('#guardar').button();
<legend><strong>INGRESAR DOSIS</strong></legend> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="POST" id="dosisformulario"> <input type="hidden" name="a" value="ingresar"> <table width="100%" align="left"> <tr> <td align="left">Nombre:(*)</td> <td align="left"><textarea name="nombre" rows="1" cols="110" id="nombre"></textarea><span class="validar"></span></td> </tr> <tr> <td align="left">Prioridad:</td> <td align="left"><?php print_selectmenu($this->prioridad, "prioridad", '5', '', 'prioridad'); ?> <span class="validar"></span></td> </tr> </table> <table border=0 cellpadding=4 cellspacing=4 width="100%" align="left"> <tr><td align="left" width="100%" colspan=2><input type=submit value="Guardar" name="submitbutton" class="formulario" id="guardar"/></td></tr> </table> </form> </fieldset> <script type = "text/javascript"> $('#guardar').button(); $('#dosisformulario').submit(function(event) { event.preventDefault(); var url = $(this).attr('action');
} ?> <?php } ?> <tr> <td colspan="3"> <table width="100%" border="0"> <tr> <td width="15%"><input type="text" name="codigo[]" id="ordenes_codigo_<?php echo $i; ?> " size="16"/></td> <td width="67%"><?php print_selectmenu($tarifa, "nombre[]", '', 'style="font-size: 0.7em;width:200px;max-width:400px;"', 'ordenes_nombre_' . $i); ?> </td> <td width="15%"><input type="text" name="cantidad[]" id="ordenes_cantidad_<?php echo $i; ?> " size="15"/></td> </tr> <tr> <td colspan="3"><div class="autocomplete2"><strong>Dosis:</strong><input type="text" name="dosis[]" size="119" data-source="app/dosis/dosis.php?a=buscar&p="></div></td> </tr> </table> </td> <td align="center"><a href="#" id="ordenes_borrar"><img src="tpl/img/remove.png" width="16" height="16" /></a><input type="hidden" name="id[]" value="<?php echo $i; ?>
<span class="validar"></span></td> <tr> <th align="left">Estrato</th> <th align="left">Medico</th> <th align="left">Fecha ingreso</th> <th align="left">Fecha Egreso</th> </tr> <tr> <td align="left"><?php print_selectmenu($estrato, "codigo_estrato", $admision['codigo_estrato'], '', 'codigo_estrato'); ?> <span class="validar"></span></td> <td align="left"><?php print_selectmenu($medicos, "id_medico", $admision['id_medico'], '', 'id_medico'); ?> <span class="validar"></span></td> <td align="left"><input type="text" name="fecha_ingreso" value="<?php echo toDMY($admision['fecha_ingreso']); ?> " id="fecha_ingreso" /><span class="validar"></span></td> <td align="left"><input type="text" name="fecha_egreso" value="<?php echo toDMY($admision['fecha_egreso']); ?> " id="fecha_egreso"/><span class="validar"></span></td> </tr> </table> </fieldset> <fieldset>