<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>HA PRESENTADO RECIENTEMENTE:</u></b>
	<b>CEFALÉA:</b> <?php echo e($siNoNosabe($formulario['cefalea'])); ?>,
	<b>ALTERACIONES VISUALES:</b> <?php echo e($siNoNosabe($formulario['alteraciones_visuales'])); ?>,
	<b>PALPITACIONES:</b> <?php echo e($siNoNosabe($formulario['palpitaciones'])); ?>

	<b>DOLOR PRECORDIAL:</b> <?php echo e($siNoNosabe($formulario['dolor_precordial'])); ?> <br />
	
	<br />
	<b><u>ANTECEDENTES FAMILIARES:</u></b> <?php echo e($formulario['antecedentes_familiares']); ?> <br>
	<b>HTA:</b> <?php echo e($formulario['hta']); ?> <br />
	<b>Enfermedad cardiovascular:</b> <?php echo e($formulario['enfermedad_cardiovascular']); ?> <br />

	<br />
	<b><u>ANTECEDENTES PATOLÓGICOS:</u></b> <?php echo e($formulario['antecedentes_patologicos']); ?> <br>
	<b>Duracion:</b> <?php echo e($formulario['duracion']); ?>

	<b>Tratamientos_recibidos:</b> <?php echo e($formulario['tratamientos_recibidos']); ?>

	<b>Adherencia:</b> <?php echo e($formulario['adherencia']); ?> <br />

	<br />
	<b><u>ANTECEDENTES QUIRÚRGICOS:</u></b> <?php echo e($formulario['antecedentes_quirurgicos']); ?> <br>
	
	<br />
	<b><u>ANTECEDENTES TÓXICO / ALÉRGICOS:</u></b> <?php echo e($formulario['antecedentes_toxico_alergicos']); ?> <br>

	<br />
	<b><u>ANTECEDENTES FARMACOLÓGICOS:</u></b> <?php echo e($formulario['antecedentes_farmacologicos']); ?> <br>
</p>

<table>
	<tr>
		<td>
			<b><u>FACTORES DE RIESGO CARDIOVASCULAR</u></b> <br>
			<b>Hombre >= 55 años:</b> <?php echo e($siNoNosabe($formulario['hombre_mayor_o_igual_55_anos'])); ?> <br />
			<b>Mujer >= 65 años:</b> <?php echo e($siNoNosabe($formulario['mujer_mayor_o_igual_65_anos'])); ?> <br />
			<b>Tabaquismo:</b> <?php echo e($siNoNosabe($formulario['tabaquismo'])); ?> <br />
			<b>Hdl &lt; 40 mg dl en hombres:</b> <?php echo e($siNoNosabe($formulario['hdl_menor_40_mg_dl_en_hombres'])); ?> <br />
			<b>Circunferencia abdominal >= 88 en mujeres:</b> <?php echo e($siNoNosabe($formulario['circunferencia_abdominal_mayor_o_igual_88_en_mujeres'])); ?> <br />
			<b>Ta:</b> <?php echo e($siNoNosabe($formulario['ta'])); ?>

		</td>
		<td>
			<br />
			<b>Colesterol total > 255 mg dl:</b> <?php echo e($siNoNosabe($formulario['colesterol_total_mayor_255_mg_dl'])); ?> <br />
			<b>Ldl > 155 mg dl:</b> <?php echo e($siNoNosabe($formulario['ldl_mayor_155_mg_dl'])); ?> <br />
			<b>Hdl &lt; 48 mg dl en mujeres:</b> <?php echo e($siNoNosabe($formulario['hdl_menor_48_mg_dl_en_mujeres'])); ?> <br />
			<b>Circunferencia abdominal >= 102 en hombres:</b> <?php echo e($siNoNosabe($formulario['circunferencia_abdominal_mayor_o_igual_102_en_hombres'])); ?> <br />
			<b>Historia familiar ecv &lt; 55 años en hombres:</b> <?php echo e($siNoNosabe($formulario['historia_familiar_ecv_menor_55_anos_en_hombres'])); ?> <br />
			<b>Historia familiar ecv &lt; 65 años en mujeres:</b> <?php echo e($siNoNosabe($formulario['historia_familiar_ecv_menor_65_anos_en_mujeres'])); ?>

		</td>
	</tr>
</table>

<br />

<table class="informe">
	<thead>
		<tr>
			<th>FACTORES DE RIESGO \ TENSIÓN ARTERIAL</th>
			<th>PAS 140 - 159 | PAD 90 - 99</th>
			<th>PAS 140 - 159 | PAD 90 - 99</th>
			<th>PAS 140 - 159 | PAD 90 - 99</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<th>SIN FACTORES DE RIESGO</th>
			<td>RIESGO BAJO</td>
			<td>RIESGO MODERADO</td>
			<td>RIESGO ALTO</td>
		</tr>
		<tr>
			<th>1 - 2 FACTORES DE RIESGO</th>
			<td>RIESGO MODERADO</td>
			<td>RIESGO MODERADO</td>
			<td>RIESGO MUY ALTO</td>
		</tr>
		<tr>
			<th>3 Ó MÁS FACTORES DE RIESGO, LESIÓN DE ÓRGANO BLANCO O DIABETES</th>
			<td>RIESGO ALTO</td>
			<td>RIESGO ALTO</td>
			<td>RIESGO MUY ALTO</td>
		</tr>
		<tr>
			<th>CONDICIONES CLÍNICAS ASOCIADAS</th>
			<td>RIESGO MUY ALTO</td>
			<td>RIESGO MUY ALTO</td>
			<td>RIESGO MUY ALTO</td>
		</tr>
	</tbody>
</table>

<p>
	<br />
	<b>Factor de riesgo:</b>
	<?php if($formulario['factores_de_riesgo_cardiovascular'] == 1): ?>
		Bajo 15% - 20%
	<?php elseif($formulario['factores_de_riesgo_cardiovascular'] == 2): ?>
		Moderado 20% - 15%
	<?php elseif($formulario['factores_de_riesgo_cardiovascular'] == 3): ?>
		Alto 20% - 30%
	<?php elseif($formulario['factores_de_riesgo_cardiovascular'] == 4): ?>
		Muy alto > 30%
	<?php endif; ?>
	<br />
</p>

<table>
	<tr>
		<td style="width: 190px; padding: 0px; margin: 0px">
			<b><u>EXAMEN FÍSICO</u></b> <br>
			<b>TA SENTADO:</b> <?php echo e($formulario['ta_sentado']); ?> mmHg <br />
			<b>FR</b> <?php echo e($formulario['fr']); ?> Resp/min <br />
			<b>PERIMETRO ABDOMINAL:</b> <?php echo e($formulario['perimetro_abdominal']); ?> cm <br />
		</td>
		<td style="width: 190px; padding: 0px; margin: 0px">
			<br />
			<b>TA DE PIE</b> <?php echo e($formulario['ta_de_pie']); ?> mmHg <br />
			<b>PESO</b> <?php echo e($formulario['peso']); ?> Kg <br />
			<b>CREATININA</b> <?php echo e($formulario['creatinina']); ?> mg/dL <br />
		</td>
		<td style="width: 190px; padding: 0px; margin: 0px">
			<br />
			<b>TA ACOSTADO:</b> <?php echo e($formulario['ta_acostado']); ?> mmHg <br />
			<b>TALLA</b> <?php echo e($formulario['talla']); ?> m <br />
			<b>TFG</b> <?php echo e($formulario['tfg']); ?> mL/min/1.73 <br />
		</td>
		<td style="width: 190px; padding: 0px; margin: 0px">
			<br />
			<b>FC</b> <?php echo e($formulario['fc']); ?> Lat/min <br />
			<b>IMC</b> <?php echo e($formulario['imc']); ?> Kg / m<sup>2</sup> <br />
		</td>
	</tr>
</table>
<br	/>
<p>
	<span><b>Paciente:</b> <?php echo e($formulario['paciente']); ?> <br /></span>
	<span><b>Cabeza y orl:</b> <?php echo e($formulario['cabeza_y_orl']); ?> <br /></span>
	<span><b>Fondo de ojo:</b> <?php echo e($formulario['fondo_de_ojo']); ?> <br /></span>
	<span><b>Cuello:</b> <?php echo e($formulario['cuello']); ?> <br /></span>
	<span><b>Torax y CP:</b> <?php echo e($formulario['torax_y_cp']); ?> <br /></span>
	<span><b>Abdomen:</b> <?php echo e($formulario['abdomen']); ?> <br /></span>
	<span><b>Extremidades:</b> <?php echo e($formulario['extremidades']); ?> <br /></span>
	<span><b>Piel:</b> <?php echo e($formulario['piel']); ?> <br /></span>
	<span><b>Neurologico:</b> <?php echo e($formulario['neurologico']); ?> <br /></span>
</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>
