<p>
	<b><u>MOTIVO DE CONSULTA:</u></b> <?php echo e($formulario->motivo_de_consulta); ?><br>
	<b><u>ENFERMEDAD ACTUAL:</u></b> <?php echo e($formulario->enfermedad_actual); ?><br>
	<b><u>REVISION POR SISTEMAS:</u></b> <?php echo e($formulario->revision_por_sistemas); ?><br>
</p>

<table>
	<tbody>
		<tr>

			<td style="width: 230px">
					<b><u>ANTECEDENTES</u></b><br>
					<b>Familiares:</b> <?php echo e($siNoNosabe($formulario['familiares'])); ?><br>
					<b>Patológicos:</b> <?php echo e($siNoNosabe($formulario['patologicos'])); ?><br>
					<b>Social:</b> <?php echo e($siNoNosabe($formulario['social'])); ?><br>
					<b>Quirúgicos:</b> <?php echo e($siNoNosabe($formulario['quirurgicos'])); ?><br>
					<b>Tóxico/Alérgicos:</b> <?php echo e($siNoNosabe($formulario['toxico-alergicos'])); ?><br>
					<b>Hábitos:</b> <?php echo e($siNoNosabe($formulario['habitos'])); ?><br>
					<b>Farmacológicos:</b> <?php echo e($siNoNosabe($formulario['farmacologicos'])); ?><br>					
			</td>
		</tr>
	</tbody>
</table>
<!--<p>
	<br>
	<b><u>ANTECEDENTES QUIRÚRGICOS:</u></b> <?php echo e($formulario['quirurgicos']); ?><br>
</p>-->
<p>
	<br>
	<b><u>EXAMEN FÍSICO</u></b><br>
	<b>Ta:</b> <?php echo e($formulario['ta']); ?><br>
	<b>Perimetro cefálico:</b> <?php echo e($formulario['perimetro-cefalico']); ?><br>
	<b>Fc:</b> <?php echo e($formulario['fc']); ?><br>
	<b>Fr:</b> <?php echo e($formulario['fr']); ?><br>
	<b>Peso:</b> <?php echo e($formulario['peso']); ?><br>
	<b>Talla:</b> <?php echo e($formulario['talla']); ?><br>
	<b>Imc:</b> <?php echo e($formulario['imc']); ?><br>
	<!--<b>Tanner:</b> <?php echo e($formulario['tanner']); ?><br> -->
</p>
<p>
	<br />
	<?php if(	isset($formulario->diagnostico_p) ||
			isset($formulario->diagnostico_r1) ||
			isset($formulario->diagnostico_r2) ||
			isset($formulario->diagnostico_r3) ||
			isset($formulario->complicacion)): ?>
		<table class="bordered" cellpadding="0" cellspacing="0">
			<thead>
				<tr>
					<th colspan="2">Lista de diagnósticos:</th>
				</tr>
			</thead>
			<tbody>
				<?php if(isset($formulario->diagnostico_p)): ?>
					<tr>
						<th>Principal</th>
						<td><?php echo e($formulario->diagnostico_p); ?></td>
					</tr>
				<?php endif; ?>
				
				<?php if(isset($formulario->diagnostico_r1)): ?>
					<tr>
						<th>Relacionado 1</th>
						<td><?php echo e($formulario->diagnostico_r1); ?></td>
					</tr>
				<?php endif; ?>
				
				<?php if(isset($formulario->diagnostico_r2)): ?>
					<tr>
						<th>Relacionado 2</th>
						<td><?php echo e($formulario->diagnostico_r2); ?></td>
					</tr>
				<?php endif; ?>
				
				<?php if(isset($formulario->diagnostico_r3)): ?>
					<tr>
						<th>Relacionado 3</th>
						<td><?php echo e($formulario->diagnostico_r3); ?></td>
					</tr>
				<?php endif; ?>
				
				<?php if(isset($formulario->complicacion)): ?>
					<tr>
						<th>Complicación</th>
						<td><?php echo e($formulario->complicacion); ?></td>
					</tr>
				<?php endif; ?>
			</tbody>
		</table>
	<?php else: ?>
		<p>No se incluyeron diagnósticos.</p>
	<?php endif; ?>
</p>
<p>
	<b><u>ANÁLISIS:</u></b> <?php echo e($formulario['analisis']); ?> <br />
	<b><u>CONDUCTA:</u></b> <?php echo e($formulario['conducta']); ?> <br />
	<b><u>RECOMENDACIONES:</u></b> <?php echo e($formulario['recomendaciones']); ?> <br/>
	<b><u>OTRAS OBSERVACIONES:</u></b> <?php echo e($formulario['auto_carga']); ?><br>
<p>

