function form_consult_ntp_lab() { // // get ntp data for this consult // 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); } $patient_id = healthcenter::get_patient_id($get_vars["consult_id"]); print "<table width='300' bgcolor='#5CB3FF'>"; print "<form action = '" . $_SERVER["SELF"] . "?page=" . $get_vars["page"] . "&menu_id={$menu_id}&consult_id=" . $get_vars["consult_id"] . "&ptmenu=" . $get_vars["ptmenu"] . "&module=" . $get_vars["module"] . "&ntp=LABS&ntp_id=" . $get_vars["ntp_id"] . "' name='form_vitalsigns' method='post'>"; print "<tr valign='top'><td class='tb_table_header'>"; print "<b>" . FTITLE_NTP_LAB_FORM . "</b>"; print "</td></tr>"; print "<a name='lab_form'></a>"; print "<tr valign='top'><td>"; print "<span class='boxtitle'>" . LBL_NTP_REGISTRY_ID . "</span><br> "; print "REGISTRY ID: <font color='red'>" . module::pad_zero($get_vars["ntp_id"], 7) . "</font><br/>"; print "<br/></td></tr>"; print "<tr valign='top'><td>"; print "<span class='boxtitle'>" . LBL_LAB_EXAM . "</span><br> "; print ntp::show_ntp_labs(); print "</td></tr>"; print "<tr><td><br />"; //if ($_SESSION["priv_add"]) { print "<input type='hidden' name='registry_id' value='" . $get_vars["ntp_id"] . "'/>"; print "<input type='submit' value = 'Send Request' class='textbox' name='submitntp' style='border: 1px solid #000000'> "; //} print "<br /></td></tr>"; print "</form>"; print "</table><br>"; }