
<!-- end app-header -->
<!-- begin app-container -->
<input type="hidden" name="patient_id" value="<?=$patient_id?>">
<div class="app-container">
    <!-- begin app-nabar -->
    <aside class="app-navbar">
        <? include "application/views/template/menu/sidemain.php"; ?>
    </aside>
    <!-- end app-navbar -->
    <!-- begin app-main -->
    <div class="app-main" id="main">
        <!-- begin container-fluid -->
        <div class="container-fluid">

            <div class="row">
    <div class="col-md-12">
        <div class="alert border-0 alert-primary bg-gradient m-b-30 alert-dismissible fade show border-radius-none" role="alert">
           RECORD: <strong><?=$firstname?>  <?=$lastname?> </strong> some other small info like phone number            
        </div>
    </div>
</div>
<!-- end row -->
            <!-- begin row -->

         

            <div class="row">
                <div class="col-lg-6 col-xxl-4 m-b-30">
                    
                    
                         <div class="card card-statistics h-100 mb-0">
                        <div class="card-header d-flex justify-content-between">
                            <div class="card-heading">
                                <h4 class="card-title">Edit Patient</h4>
                            </div>
                            <div class="dropdown">
                                <!-- a class="btn btn-round btn-inverse-primary btn-xs" href="#">View all </a -->
                            </div>
                        </div>
                        <div class="card-body">
                            
                            
                            <div class="card-body">
                                <form method="POST" action="/patient/addnew">
                                      <div class="form-row">
                                        <div class="form-group col-md-6">
                                            <label for="inputEmail4">Firstname</label>
                                            <input type="text" class="form-control" id="firstname" name="firstname" value="<?=$firstname?>" placeholder="Firstname">
                                        </div>
                                        <div class="form-group col-md-6">
                                            <label for="inputPassword4">Lastname</label>
                                            <input type="text" class="form-control" id="lastname" name="lastname" value="<?=$lastname?>" placeholder="Lastname">
                                        </div>
                                    </div>
                                    
                                    <div class="form-row">
                                        <div class="form-group col-md-12">
                                            <label for="inputEmail4">Email</label>
                                            <input type="email" class="form-control" id="inputEmail4" value="<?=$email?>"  placeholder="Email">
                                        </div>
                                        
                                    </div>
                                   
                                    
                                    <div class="form-row">
                                        <div class="form-group col-md-9">
                                         
                                        </div>
                                        <div class="form-group col-md-3">
                                           <button type="submit" class="btn btn-primary">Update</button>
                                        </div>
                                    </div>
                                    
                                   
                                </form>
                            </div>

                            
                            
                            
               
                        </div>
                    </div>
					
                    
                                        
                    
                </div>
                
                
                
                
                <div class="col-lg-6 col-xxl-4 m-b-30">
                   
                    
                    <div class="card card-statistics h-100 mb-0">
                        <div class="card-header d-flex justify-content-between">
                            <div class="card-heading">
                                <h4 class="card-title">Reminders</h4>
                            </div>                 
                        </div>
                        <div class="card-body">
                            
                            <form method="POST" action="/patient/">


                                <div class="form-row">
                                    <div class="form-group col-md-12">                                        
                                        <textarea name="reminder_text" class="form-control" id="remindr_text"   placeholder="Reminder Text"></textarea>
                                    </div>
                                </div>

                              <div class="form-row">
                                    <div class="form-group col-md-12">
                                         <label for="sel1">Select Reminder:</label>
  <select class="form-control" id="sel1"  name="reminder_type">
    <option value='0'>Email</option>
    <option value='1' selected>Email + Notification</option>
    <option value='2'>Email</option>
    <option value='3'>SMS Notification</option>
  </select>
                                    </div>
                                </div>

                                <div class="form-row">
                                    <div class="form-group col-md-9">

                                    </div>
                                    <div class="form-group col-md-3">
                                        <button type="submit" class="btn btn-primary">Set Reminder</button>
                                    </div>
                                </div>


                            </form>

                            
                            
                            <ul class="activity">
                                <li class="activity-item primary">
                                    <div class="activity-info">
                                        <h5 class="mb-0">Meeting with Amanda and team.</h5>
                                        <span>10:30 Jan</span>
                                    </div>
                                </li>
                                <li class="activity-item info">
                                    <div class="activity-info">
                                        <h5 class="mb-0"> Assign task for Smith. </h5>
                                        <span>
                                            Wed, 10 Mar
                                        </span>
                                    </div>
                                </li>
                                <li class="activity-item success">
                                    <div class="activity-info">
                                        <h5 class="mb-0"> Complete milestone 3 and update. </h5>
                                        <span>
                                            Mon, 14 Jun
                                        </span>
                                    </div>
                                </li>
                              
                                <li class="activity-item success">
                                    <div class="activity-info">
                                        <h5 class="mb-0">Meeting with Amanda and team.</h5>
                                        <span>
                                            Fri, 01 Dec
                                        </span>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    
                    
                </div>
	
                

                <div class="col-lg-6 col-xxl-4 m-b-30">
                    
                    
                    
                    
                    <div class="card card-statistics h-30 mb-0">
                        <div class="card-header d-flex justify-content-between">
                            <div class="card-heading">
                                <h4 class="card-title">Attach Record</h4>
                            </div>                 
                        </div>
                        <div class="card-body">

                            <form method="POST" action="/patient/">


                                <div class="form-row">
                                    <div class="form-group col-md-12">                                        
                                        <input type="text" class="form-control" id="patientAPPID" value=""  placeholder="Enter patient ID from the APP">
                                    </div>
                                </div>


                                <div class="form-row">                         
                                    <button type="submit" class="btn btn-primary">Attach Record to Patient App</button>                                   
                                </div>


                            </form>



                            <ul class="activity">

                                <li class="activity-item success">
                                    <div class="activity-info">
                                        <h5 class="mb-0"> Complete milestone 3 and update. </h5>
                                        <span>
                                            Mon, 14 Jun
                                        </span>
                                    </div>
                                </li>


                            </ul>
                        </div>
                    </div>
                    <hr>
                    
                    
                    <div class="card card-statistics h-50 mb-0">
                        <div class="card-header d-flex justify-content-between">
                            <div class="card-heading">
                                <h4 class="card-title">Recent Encounters</h4>
                            </div>
                            <div class="dropdown">
                                <a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/chart/<?=$patient_id?>">Encounters</a>
                            </div>
                        </div>
                        <div class="card-body">
                            <div class="row active-task m-b-20">
                                <div class="col-xs-1">
                                    <div class="bg-type mb-1 mb-xs-0 mt-1">
                                        <span>PP</span>
                                    </div>
                                </div>
                                <div class="col-11">
                                    <small class="d-block mb-1">Car dealer</small>
                                    <h5 class="mb-0"><a href="#">Unread utf-8 in more quick overview</a></h5>
                                    <ul class="list-unstyled list-inline">
                                        <li class="list-inline-item">
                                            <small> Created by Lizzy Halfman</small>
                                        </li>
                                        <li class="list-inline-item">|</li>
                                        <li class="list-inline-item">
                                            <small>Saturday, March 17 2019</small>
                                        </li>
                                    </ul>
                                </div>
                            </div>


                            <div class="row active-task m-b-20">
                                <div class="col-xs-1">
                                    <div class="bg-type bg-info mb-1 mb-xs-0 mt-1">
                                        <span>AP</span>
                                    </div>
                                </div>
                                <div class="col-11">
                                    <small class="d-block mb-1">Mentor admin </small>
                                    <h5 class="mb-0"><a href="#">I need a payment option, for each seller per item</a></h5>
                                    <ul class="list-unstyled list-inline">
                                        <li class="list-inline-item">
                                            <small> Created by Brian Joedon</small>
                                        </li>
                                        <li class="list-inline-item">|</li>
                                        <li class="list-inline-item">
                                            <small>Saturday, March 17 2019</small>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

                
				
                
            </div>





            <!-- end row -->
            <!-- event Modal -->
            <div class="modal fade" id="eventModal" tabindex="-1" role="dialog" aria-labelledby="verticalCenterTitle" aria-hidden="true">
                <div class="modal-dialog modal-dialog-centered" role="document">
                    <div class="modal-content">
                        <div class="modal-header">
                            <h5 class="modal-title" id="verticalCenterTitle">Add New Event</h5>
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                <span aria-hidden="true">&times;</span>
                            </button>
                        </div>
                        <div class="modal-body">
                            <form>
                                <div class="form-group">
                                    <label for="modelemail">Event Name</label>
                                    <input type="email" class="form-control" id="modelemail">
                                </div>
                                <div class="form-group">
                                    <label>Choose Event Color</label>
                                    <select class="form-control">
                                        <option>Primary</option>
                                        <option>Warning</option>
                                        <option>Success</option>
                                        <option>Danger</option>
                                    </select>
                                </div>

                            </form>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
                            <button type="button" class="btn btn-success">Save changes</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- end container-fluid -->
    </div>
    <!-- end app-main -->
</div>
<!-- end app-container -->
<!-- begin footer -->

