HOME


sh-3ll 1.0
DIR:/home/medisavehealth/public_html/application/views/report/report_pages/
Upload File :
Current File : /home/medisavehealth/public_html/application/views/report/report_pages/patientReport.php

 <div class="container-fluid">
    <!-- ============================================================== -->
    <!-- Start Page Content -->
    <!-- ============================================================== -->
    <div class="row">
        <div class="col-md-12">
            <button type="button" class="btn btn-info" onclick="printReport()" style="overflow: hidden">Print</button>
            <div class="card card-body" id="printableArea">
                <h3 class="text-center"><?php echo $report_head?></h3>
                
                <hr class="report_title_hr">
                <div class="row">
                    <div class="col-md-12">
                        <table class="table patient_master_table">
                            <tbody>
                                <tr>
                                    <th width="15%">Patient No</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->patient_tracking_no?></td>
                                </tr>
                                <tr>
                                    <th width="15%">Patient Name</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->name?></td>
                                </tr>
                                <tr>
                                    <th width="15%">Gender</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->gender?></td>
                                </tr>
                                <tr>
                                    <th width="15%">E-mail</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->email?></td>
                                </tr>
                                <tr>
                                    <th width="15%">Contact No</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->contact_no?></td>
                                </tr>
                                <tr>
                                    <th width="15%">Address</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->address?></td>
                                </tr>
                                <tr>
                                    <th width="15%">Total Test</th>
                                    <td width="5%">:</td>
                                    <td><?php echo $master->total_test?></td>
                                </tr>
                                
                            </tbody>
                        </table>
                    </div>
                    <div class="col-md-12">
                        <p class="patient_details_report_head">Test Details</p>
                        <table class="table table-bordered custom_report_table">
                             <thead>
                                <tr class="text-center">
                                    <th width="3%">#</th>
                                    <th width="10%">Test Date</th>
                                    <th width="7%">Test Type</th>
                                    <th width="5%">Result</th>
                                    <th width="5%">Confirmed Case</th>
                                    <th width="5%">Speciment</th>
                                    <th width="5%">Self Isolation Recomanded</th>
                                    <th width="5%">RT-PCR</th>
                                    <th width="5%">Re-Test</th>
                                    <th width="5%">Re-Test Date</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php
                                $i=1;
                                    foreach ($test_details as $data) {
                                        if($data['retest']=='No'){
                                                $retest_date='N/A';
                                            }
                                            else{
                                                $retest_date=$data['retest_date'];
                                            }
                                        ?>
                                            <tr class="text-center">
                                                <td><?php echo $i;?></td>
                                                <td><?php echo $data['test_date'];?></td>
                                                <td><?php echo $data['test_type'];?></td>
                                                <td><?php echo $data['result'];?></td>
                                                <td><?php echo $data['confirmed_case'];?></td>
                                                <td><?php echo $data['specimen'];?></td>
                                                <td><?php echo $data['self_isolation_recomanded'];?></td>
                                                <td><?php echo $data['rt_pcr'];?></td>
                                                <td><?php echo $data['retest'];?></td>
                                                <td><?php echo $retest_date;?></td>
                                            </tr>
                                        <?php
                                        $i++;
                                    }
                                ?>
                            </tbody>
                        </table>
                        

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>