<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>
</p>

<p>
	<b><u>ANTECEDENTES FAMILIARES:</u></b> <?php echo e($formulario->antecedentes_familiares); ?><br>
	<b><u>ANTECEDENTES PATOLÓGICOS:</u></b> <?php echo e($formulario->antecedentes_patologicos); ?><br>
	<b><u>ANTECEDENTES QUIRÚRGICOS:</u></b> <?php echo e($formulario->antecedentes_quirurgicos); ?><br>
	<b><u>ANTECEDENTES ALÉRGICOS:</u></b> <?php echo e($formulario->antecedentes_alergicos); ?><br>
	<b><u>ANTECEDENTES TOXICOS:</u></b> <?php echo e($formulario->antecedentes_toxicos); ?><br>
	<b><u>ANTECEDENTES FARMACOLÓGICOS:</u></b> <?php echo e($formulario->antecedentes_farmacologicos); ?><br>
</p>

<p>
	<b><u>AGUDEZA VISUAL</u></b><br>
	<b>Visión lejana ojo derecho:</b> <?php echo e($formulario['vision_lejana_ojo_derecho']); ?><br>
	<b>Visión lejana ojo izquierdo:</b> <?php echo e($formulario['vision_lejana_ojo_izquierdo']); ?><br>
	<b>Visión cercana ojo derecho:</b> <?php echo e($formulario['vision_cercana_ojo_derecho']); ?><br>
	<b>Visión cercana ojo izquierdo:</b> <?php echo e($formulario['vision_cercana_ojo_izquierdo']); ?><br>
	<!--<b>Visión cromatica:</b> <?php echo e($formulario['vision_cromatica']); ?><br> -->
</p>

<p>
	<b><u>EXAMEN OFTALMOLÓGICO</u></b><br>
	<b>Párpados:</b> <?php echo e($formulario['parpados']); ?><br>
	<b>Anexos:</b> <?php echo e($formulario['anexos']); ?><br>
	<b>Órbita:</b> <?php echo e($formulario['orbita']); ?><br>
	<b>Motilidad palpebral:</b> <?php echo e($formulario['motilidad_palpebral']); ?><br>
	<b>Motilidad ocular:</b> <?php echo e($formulario['motilidad_ocular']); ?><br>
	<b>Conjuntivas:</b> <?php echo e($formulario['conjuntivas']); ?><br>
	<b>Córnea:</b> <?php echo e($formulario['cornea']); ?><br>
	<b>Segmento anterior:</b> <?php echo e($formulario['segmento_anterior']); ?><br>
	<b>Reactividad pupilar:</b> <?php echo e($formulario['reactividad_pupilar']); ?><br>
	<b>Acomodación:</b> <?php echo e($formulario['acomodacion']); ?><br>
	<b>Presión ocular:</b> <?php echo e($formulario['presion_ocular']); ?><br>
	<b>Fondo de ojo:</b> <?php echo e($formulario['fondo_de_ojo']); ?><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) && $formulario->diagnostico_p != ""): ?>
					<tr>
						<th>Principal</th>
						<td><?php echo e($formulario->diagnostico_p); ?></td>
					</tr>
				<?php endif; ?>

				<?php if(isset($formulario->diagnostico_r1) && $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) && $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) && $formulario->diagnostico_r3 != ""): ?>
					<tr>
						<th>Relacionado 3</th>
						<td><?php echo e($formulario->diagnostico_r3); ?></td>
					</tr>
				<?php endif; ?>

				<?php if(isset($formulario->complicacion) && $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>RECOMENDACIONES:</u></b> <?php echo e($formulario['recomendaciones']); ?><br>
	<b><u>ANÁLISIS Y CONDUCTA:</u></b> <?php echo e($formulario['analisis_y_conducta']); ?><br>
	<b><u>OTRAS OBSERVACIONES:</u></b> <?php echo e($formulario['auto_carga']); ?><br>
</p>
