<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <th> Date </th>
            <th> WT</th>
            <th> HT</th>
            <th> BMI </th>
            <th> BP1</th>
            <th> BP2</th>
            <th> Pulse </th>
            <th> RGB </th>
            <th> Head and neck</th>
            <th> Chest and heart</th>
            <th> Abdomen </th>
            <th> Pelvis </th>
            <th> Extremities </th>
        </tr>
    </thead>
    <tbody>
        {assign var=i value=1}
        {foreach $allexam as $data}

        <tr>
            <td>{$data->examinationdate}</td>
            <td>{$data->weight}</td>
            <td>{$data->height}</td>
            <td>{$data->bmi}</td>
            <td>{$data->bP}</td>
            <td>{$data->bp2}</td>
            <td>{$data->pulse}</td>
            <td>{$data->rgb}</td>
            <td>{$data->headandneck}</td>
            <td>{$data->chestandheart}</td>
            <td>{$data->abdomen}</td>
            <td>{$data->pelvis}</td>
            <td>{$data->extremitis}</td>

        </tr>
        {capture assign=i}{$i+1}{/capture}
        {/foreach}
        <tr>
            <th>  </th>
            <th> KG</th>
            <th> M</th>
            <th> Kg/ m² </th>
            <th> mmHg</th>
            <th> mmHg</th>
            <th> /min  </th>
            <th>mg/dl </th>
            <th> </th>
            <th>  </th>
            <th>  </th>
            <th>  </th>
            <th>  </th>
        </tr>
</table>
