Added Reminder Model and dummy call
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gendar</label>
|
||||
<label for="inputPassword4">Gender</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<!-- div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
@@ -74,7 +74,13 @@
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="<?= $password ?>" placeholder="Password">
|
||||
</div>
|
||||
</div -->
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" name ="email" placeholder="Email">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="<?= $street1 ?>" placeholder="1234 Main St">
|
||||
@@ -105,7 +111,7 @@
|
||||
<!-- div class="form-group">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label">
|
||||
<?= $account_message ?>
|
||||
<?= $account_message ?>
|
||||
</label>
|
||||
</div>
|
||||
</!-->
|
||||
@@ -115,7 +121,7 @@
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-primary">Add Patient</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Add Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -148,7 +154,7 @@
|
||||
<div id="link_result">[]</div>
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<button type="submit" id="link_submit" class="btn btn-primary btn-block" onclick="return connectLinkID()">Link Patient</button>
|
||||
<button type="submit" id="link_submit" class="btn btn-primary btn-block btn-sm" onclick="return connectLinkID()">Link Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Charts</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
|
||||
|
||||
<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-6">
|
||||
<label for="inputEmail4">Start Date</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="startdate">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">End Date</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="enddate">
|
||||
</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-6">
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-sm">Set Reminder</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<hr size="1">
|
||||
|
||||
<ul class="activity">
|
||||
|
||||
<?
|
||||
// print_r($patient_reminder_list[0]);
|
||||
foreach ($patient_reminder_list as $prm) {
|
||||
?>
|
||||
|
||||
<li class="activity-item info">
|
||||
<div class="activity-info">
|
||||
<h5 class="mb-0"><?= $prm->description ?></h5>
|
||||
<span><?= $prm->start_date ?> to <?= $prm->end_date ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title">Tracking</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<!-- end app-header -->
|
||||
<!-- begin app-container -->
|
||||
<input type="hidden" name="patient_id" value="<?=$patient_id?>">
|
||||
<input type="hidden" name="patient_id" value="<?= $patient_id ?>">
|
||||
<div class="app-container">
|
||||
<!-- begin app-nabar -->
|
||||
<aside class="app-navbar">
|
||||
@@ -14,145 +14,154 @@
|
||||
<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 -->
|
||||
<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 card-statistics h-100 mb-0">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<div class="card-heading">
|
||||
<h4 class="card-title"><?=$firstname?> <?=$lastname?></h4>
|
||||
<h4 class="card-title"><?= $firstname ?> <?= $lastname ?></h4>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<!-- a class="btn btn-round btn-inverse-primary btn-xs" href="#">View all </a -->
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'REMIDERS');" class="btn btn-primary btn-sm">Reminders</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'TRACKING');" class="btn btn-outline-primary btn-sm">Tracking</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'CHARTS');" class="btn btn-info btn-sm">Charts</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'REMINDERS');" class="btn btn-primary btn-sm">Reminders</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'TRACKING');" class="btn btn-outline-primary btn-sm">Tracking</button>
|
||||
<button type="button" onclick="selectPatienFetures(<?= $patient_id ?>, 'CHARTS');" class="btn btn-info btn-sm">Charts</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="/patient/updatepatient">
|
||||
|
||||
|
||||
|
||||
<form method="POST" action="/patient/updatepatient">
|
||||
|
||||
<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 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-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">DOB</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gendar</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
<option value="M">Male</option>
|
||||
<option value="F">Female</option>
|
||||
<option value="U">Unknown</option>
|
||||
</select>
|
||||
|
||||
</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-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="" placeholder="Password">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">DOB</label>
|
||||
<input type="text" class="form-control date-picker-default" value="" name="dob">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress2">Address 2</label>
|
||||
<input type="text" class="form-control" id="street2" name="street2" value="" placeholder="Apartment, studio, or floor">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputCity">City</label>
|
||||
<input type="text" class="form-control" id="city" name="city" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="inputState">State</label>
|
||||
<select id="inputState" class="form-control" name="state">
|
||||
<option selected>Select State</option>
|
||||
<option value="OGUN">Ogun</option>
|
||||
<option value="OYO">Oyo</option>
|
||||
<option value="OSUN" selected>Osun</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputZip">Zip</label>
|
||||
<input type="text" class="form-control" id="zipcode" name="zipcode" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-9">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Gender</label>
|
||||
|
||||
<select class="form-control" aria-label="Select Gender" name ="gender">
|
||||
<option selected>Select</option>
|
||||
<option value="M">Male</option>
|
||||
<option value="F">Female</option>
|
||||
<option value="U">Unknown</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-danger btn-block">Update</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputEmail4">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputPassword4">Password</label>
|
||||
<input type="password" class="form-control" id="password" value="" placeholder="Password">
|
||||
</div>
|
||||
</div -->
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Email</label>
|
||||
<input type="email" class="form-control" id="inputEmail4" placeholder="Email">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputAddress">Address</label>
|
||||
<input type="text" class="form-control" id="street1" name="street1" value="" placeholder="1234 Main St">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputAddress2">Address 2</label>
|
||||
<input type="text" class="form-control" id="street2" name="street2" value="" placeholder="Apartment, studio, or floor">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="inputCity">City</label>
|
||||
<input type="text" class="form-control" id="city" name="city" value="">
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="inputState">State</label>
|
||||
<select id="inputState" class="form-control" name="state">
|
||||
<option selected>Select State</option>
|
||||
<option value="OGUN">Ogun</option>
|
||||
<option value="OYO">Oyo</option>
|
||||
<option value="OSUN" selected>Osun</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputZip">Zip</label>
|
||||
<input type="text" class="form-control" id="zipcode" name="zipcode" value="">
|
||||
</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-danger btn-block btn-sm">Update</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-6 col-xxl-4 m-b-30">
|
||||
|
||||
<div id="action_detail">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div class="card card-statistics h-100 mb-0">
|
||||
<div id="action_detail">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 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>
|
||||
@@ -229,18 +238,18 @@
|
||||
</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">
|
||||
@@ -284,15 +293,15 @@
|
||||
</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>
|
||||
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/chart/<?= $patient_id ?>">Encounters</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -343,9 +352,9 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -401,16 +410,16 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function selectPatienFetures(patient_id,patient_action) {
|
||||
// alert(pending_practice_id);
|
||||
|
||||
function selectPatienFetures(patient_id, patient_action) {
|
||||
// alert(pending_practice_id);
|
||||
|
||||
$('#action_detail').html('Processing...');
|
||||
// $('#acc' + pending_practice_id).prop('disabled', true);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', true);
|
||||
$.ajax({
|
||||
url: "/practice/selectPatienFetures?proc=PROCESS&patient_id=" + patient_id + "&patient_action=" +patient_action
|
||||
url: "/patient/selectPatienFetures?proc=PROCESS&patient_id=" + patient_id + "&patient_action=" + patient_action
|
||||
}).done(function (data) {
|
||||
$('#action_detail').html(data);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', false);
|
||||
// $('#acc' + pending_practice_id).prop('disabled', false);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user