Commit f227a43b by Jansa Jose

medical record

parent 7e56ffa4
......@@ -6082,7 +6082,7 @@ print_r(date('H:i',$ms));exit();*/
print json_encode($res);
}
public function get_completed_consultation_transaction_list(){
public function get_completed_consultation_transaction_list(){
header('Content-type: application/json');
$headers = apache_request_headers();
......
......@@ -2692,7 +2692,7 @@ class Webservice_model extends CI_Model {
$anamnese = array();
$anamse_details = decrypt_data(json_decode($res->diseases));
//echo"<pre>";print_r($anamse_details->anamnese);echo"</pre>";exit();
echo"<pre>";print_r($anamse_details->anamnese);echo"</pre><br>";
foreach ($anamse_details->anamnese as $key => $value) {
$ke = strtolower($key);
$new[$ke] = $value;
......@@ -3016,10 +3016,11 @@ class Webservice_model extends CI_Model {
if($result->doctor_id == $doctor_id){
$anamnese = array();
$new = array();
$new['main_complaint'] = $data['main_problem'];
$new['main_complaint'] = encrypt_data($data['main_problem']);
$new['booking_id'] = $data['booking_id'];
if(isset($data['description'])){
$new['description'] = $data['description'];
$new['description'] = encrypt_data($data['description']);
}
if(isset($data['kidney_problems'])){
foreach ($data['kidney_problems'] as $key => $value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment