<div id="claim_response">
<?php
$query_claim="select * from claims_details_query_diagnosis where process_claim_no='$process_claim_no' AND type='diagnosis' order by id desc;";
$rsclaim=mysql_query($query_claim, $courier) or die(mysql_error());
$row_rsclaim = mysql_fetch_assoc($rsclaim);
$totalRows_rsclaim = mysql_num_rows($rsclaim);?>                                              
<ul class="task-list"> 
        <?php if ($totalRows_rsclaim > 0) { ?>                    
            <?php
            $i = 0;
            do {$i = $i + 1; ?>
                <li>
                    <div style="font-size: 12px; width:75%" class="task-title">
                        <span class="task-title-sp"> 
                            <?php echo strtoupper($row_rsclaim['disease_name']); ?>
                            
                            <?php if($row_rsclaim['status'] == 'confirmed'){ ?> 
                            <i id="status_<?php echo $row_rsclaim['id'];?>" style="font-size: 10px;color:blue;" class="icon-check"></i> <?php }
                            else { ?> <i id="status_<?php echo $row_rsclaim['id'];?>" style="font-size: 10px;color:blue;display: none;" class="icon-check"></i> <?php } ?>
                        </span>
                    </div>
                    <div style="margin-top: -20px;" class="pull-right">
                        <b> <?php echo $row_rsclaim['disease_grp']; ?></b>
                        <input onchange="process_confirmation_diagnosis('confirm_query_diagnosis_disease','<?php echo $row_rsclaim['id'];?>')" <?php if($row_rsclaim['status'] == 'confirmed'){ echo 'checked=""';}?> type="checkbox" name="" id="" value="confirmed"> &nbsp;&nbsp;&nbsp;
                        <i id="trash_<?php echo $row_rsclaim['id']; ?>" class="icon-trash" onclick="delInformtion('del_claim_details_query_diagnosis','#claimsno_query_diagnosis','<?php echo $row_rsclaim['id']; ?>', '<?php echo strtoupper($row_rsclaim['disease_name']); ?> ?', 'You are about to Delete <?php echo strtoupper($row_rsclaim['disease_name']); ?> from this Patient.', '<?php echo strtoupper($row_rsclaim['disease_name']); ?> Deleted Successfully !');" style="cursor: pointer; color:red;"></i>
                        <i style="display: none;" id="spin_refresh_<?php echo $row_rsclaim['id']; ?>" class="fa fa-refresh fa-spin fa-fw"></i>
                    </div>
                </li>
            <?php } while ($row_rsclaim = mysql_fetch_assoc($rsclaim)); ?>

        <?php } else { ?>
            <li>
                <div class="task-checkbox"></div>
                <div class="task-title">
                    <span class="task-title-sp"> <b> No Disease Found </b></span>
                </div>
            </li>
        <?php } ?>
    </ul>

                 
</div>