Example #1
0
 function _details_ccdev()
 {
     //
     // main submodule for ccdev consults
     //
     // always check dependencies
     if ($exitinfo = $this->missing_dependencies('ccdev')) {
         return print $exitinfo;
     }
     if (func_num_args() > 0) {
         $arg_list = func_get_args();
         $menu_id = $arg_list[0];
         $post_vars = $arg_list[1];
         $get_vars = $arg_list[2];
         $validuser = $arg_list[3];
         $isadmin = $arg_list[4];
         //print_r($arg_list);
     }
     if ($post_vars["submitdetail"]) {
         ccdev::process_detail($menu_id, $post_vars, $get_vars);
     }
     print "<b>" . FTITLE_PATIENT_DATA . "</b><br/><br/>";
     ccdev::display_patient_data($menu_id, $post_vars, $get_vars);
     print "<br/>";
     ccdev::display_siblings($menu_id, $post_vars, $get_vars);
     print "<br/>";
     print "<b>" . FTITLE_VACCINE_RECORD . "</b><br/><br/>";
     ccdev::display_vaccine_record($menu_id, $post_vars, $get_vars);
     print "<br/>";
     print "<b>" . FTITLE_SERVICE_RECORD . "</b><br/><br/>";
     ccdev::display_service_record($menu_id, $post_vars, $get_vars);
 }