<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><?= $titulo?></title>
	<?php
		$this->load->view('main/link');
		echo script_tag('js/modulos/xhc.js?'.$_SESSION['app.gxc_sesion_version']);
	?>
	<script type="text/javascript">
		$(function () {
			fn_xhc_listar();
		});
	</script>
</head>
<body>
	<div class="container">
		<div class="panel panel-primary">
			<?= $cabecera?>
			<?= $menu?>
			<div class="panel-body" style="text-align: center;">
				<h3><b>LISTAR HISTORIAS CLÍNICAS</b></h3>
			</div>
			<div class="panel-body">
				<form class="form-inline" id="form_buscar" method="post" action="javascript:fn_xhc_listar();">
					<div class="form-group">
						<label for="txt_buscar">Buscar: </label>
						<input type="text" name="txt_bxhc" id="txt_bxhc" class="form-control" autocomplete="off">
					</div>
					<button type="submit" class="btn btn-default">
						<span class="glyphicon glyphicon-search"></span>
					</button>
					<a href="<?= base_url('maestras/xhc/nuevo')?>" class="btn btn-primary">
						<span class="glyphicon glyphicon-plus"></span>
					</a>
				</form>
			</div>
			<div class="panel-body">
				<table id="xhc_data" class="display table table-hover table-condensed table-bordered table-stripped responsive nowrap">
					<thead>
						<tr>
							<th>H/C</th>
							<th>Apellidos y Nombres</th>
							<th>DNI</th>
							<th>Celular</th>
							<th>Correo</th>
							<th>Acción</th>
						</tr>
					</thead>
					<tbody></tbody>
				</table>
			</div>
			<?= $pie?>
		</div>
	</div>
</body>
</html>
<div id="div_oculto1" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
	
</div>