function _consult_philhealth() {
        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);
        }
        // always check dependencies
        if ($exitinfo = $this->missing_dependencies('philhealth')) {
            return print($exitinfo);
        }
        $p = new philhealth;
        $p->philhealth_menu($menu_id, $post_vars, $get_vars);
        switch($get_vars["philhealth"]) {
        case "CARD":
            if ($post_vars["submitcard"]) {
                $p->process_card($menu_id, $post_vars, $get_vars);
            }
            $p->form_philhealth($menu_id, $post_vars, $get_vars);
            break;
        case "LABS":
            if ($post_vars["submitlab"]) {
                $p->process_consult_lab($menu_id, $post_vars, $get_vars);
            }
            $p->form_consult_lab($menu_id, $post_vars, $get_vars);
            break;
        case "SVC":
            if ($post_vars["submitservice"]) {
                $p->process_consult_services($menu_id, $post_vars, $get_vars);
            }
            $p->form_consult_service($menu_id, $post_vars, $get_vars);
            break;
        }

    }