
<!-- end app-header -->
<!-- begin app-container -->
<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">

            <? include "application/views/template/topstrip.php"; ?>
            <? include "application/views/template/topstrip2.php"; ?>

            <!-- 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">Upcoming Encounters</h4>
                            </div>
                            <div class="dropdown">
                                <a class="btn btn-round btn-inverse-primary btn-xs" href="/provider/encounters">Encounters</a>
                            </div>
                        </div>
                        <div class="card-body">
                            <? include 'components/encounter_listing.php'; ?>


                        </div>
                    </div>
                </div>
                <div class="col-lg-6 col-xxl-2 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">Active Encounters</h4>
                            </div>
                            <div class="dropdown">
                                <a class="p-2" href="#!" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    <i class="fe fe-more-horizontal"></i>
                                </a>
                                <div class="dropdown-menu custom-dropdown dropdown-menu-right p-4">
                                    <h6 class="mb-1">Action</h6>
                                    <a class="dropdown-item" href="#!"><i class="fa-fw fa fa-file-o pr-2"></i>Manage</a>
                                    <a class="dropdown-item" href="#!"><i class="fa-fw fa fa-edit pr-2"></i>Reports</a>
                                </div>
                            </div>
                        </div>
                        <div class="card-body">
                            <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 danger">
                                    <div class="activity-info">
                                        <h5 class="mb-0">Start new task with mark. </h5>
                                        <span>
                                            Sat, 01 May
                                        </span>
                                    </div>
                                </li>
                                <li class="activity-item warning">
                                    <div class="activity-info">
                                        <h5 class="mb-0">You have created a new task</h5>
                                        <span>9:30</span>
                                    </div>
                                </li>
                                <li class="activity-item info">
                                    <div class="activity-info">
                                        <h5 class="mb-0"> Meeting with client and CEO.</h5>
                                        <span>
                                            Fri, 10 Aug
                                        </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-xxl-6 m-b-30">
                    <? include 'components/patient_listing.php'; ?>
                </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 -->

