<h4>Diagnósticos</h4>
<table class="table">
<thead>
<tr>
<th>Tipo</th>
<th>Código</th>
<th>Descripción</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for diagnosticos_historia_clinica in diagnosticos_historia_clinicas %}
<tr>
<td>{{ diagnosticos_historia_clinica.tipo }}</td>
<td>{{ diagnosticos_historia_clinica.cie10.codigo }}</td>
<td>{{ diagnosticos_historia_clinica.cie10.nombre }}</td>
<td>
<button type="button" class="btn btn-danger btn-sm" onclick="eliminar('{{diagnosticos_historia_clinica.id}}')">Eliminar</button>
</td>
</tr>
{% else %}
<tr>
<td colspan="9">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>