

<?php $__env->startSection('content'); ?>
<style>
#viewLabTestModal .modal-dialog {
    max-width: 700px; /* Width ko chhota karne ke liye */
}
</style>
<div class="col-lg-12 grid-margin stretch-card">
    <div class="card">
        <div class="card-body">
            <h4 class="card-title">Labs Test Table</h4> 
        
            </p>

            <div class="table-responsive pt-3">
                <table id="labtest" class="table table-bordered"> 
                    <thead>
                        <tr>
                           <th>ID</th>
                           <th>First Name</th>
                           <th>Address</th>
                           <th>Date Of Birth</th>
                           <th>Sex</th>
                           <th>patient_phone_number</th>
                           <th>Action</th>
                        </tr> 
                    </thead>
                    <tbody>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>


<!-- View Lab Test Details Modal -->
<div class="modal fade" id="viewLabTestModal" tabindex="-1" aria-labelledby="viewLabTestModalLabel" aria-hidden="true">
 <div class="modal-dialog modal-lg"> <!-- Increased modal size -->
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="viewLabTestModalLabel">Lab Test Details</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <!-- Logo and Header -->
        <div class="text-center">
          <img src="https://bluhealth.bluai.ai/admin/assets/images/logo/BluHealth_Logo.png" alt="BluHealth Logo" width="150">
          <h3>Clinical Information</h3>
        </div>
        <hr>

        <!-- Patient & Doctor Information -->
        <table class="table">
          <tr>
            <th colspan="2">Patient Information</th>
            <th colspan="2">Doctor Information</th>
          </tr>
          <tr>
            <td><strong>Name:</strong></td>
            <td><span id="patient_name"></span></td>
            <td><strong>Dr.:</strong></td>
            <td><span id="doctor_name"></span></td>
          </tr>
          <tr>
            <td><strong>Email:</strong></td>
            <td><span id="patient_email"></span></td>
            <td><strong>Email:</strong></td>
            <td><span id="doctor_email"></span></td>
          </tr>
          <tr>
            <td colspan="2"></td>
            <td><strong>Address:</strong></td>
            <td><span id="doctor_address"></span></td>
          </tr>
          <tr>
            <td colspan="2"></td>
            <td><strong>Phone:</strong></td>
            <td><span id="doctor_phone"></span></td>
          </tr>
        </table>

        <!-- Reason for Blood Work & Specialty Tests -->
        <table class="table">
          <tr>
            <th>Reason for Blood Work</th>
            <th>Specialty Tests</th>
          </tr>
          <tr>
            <td>
              <ul id="reason_for_blood_work"></ul>
            </td>
            <td>
              <ul id="specialty_tests"></ul>
            </td>
          </tr>
        </table>

        <!-- Basic Panel -->
        <table class="table">
          <tr>
            <th>Basic Panel</th>
          </tr>
          <tr>
            <td>
              <ul id="basic_panel"></ul>
            </td>
          </tr>
        </table>

        <hr>
        <!-- Footer -->
        <div class="text-center">
          &copy; 2025 BluHealth. All rights reserved.
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>


<?php $__env->stopSection(); ?> 
<?php echo $__env->make('labs.layout.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/resources/views/labs/lab_test.blade.php ENDPATH**/ ?>