Пример #1
0
				if($_POST["labcare"][$i] != "")
					$result2 = Mysql_Query($sql);

			}
		}
		
		if($_POST["cure"] == "refer"){
			
			$obj->sethn($_POST["hn"]);
			$obj->setan($_POST["an"]);
			$obj->setreferh($_POST["refer_hospital"]);
			$obj->setrefertype("2 Ê觵èÍ");
			$obj->setdateopd($thaidate,$_POST["date_in"]);
			$obj->setpttype($_POST["type_wounded2"],$_POST["type_wounded"]);
			$obj->setdiag($_POST["dx"]);
			$obj->setexrefer($_POST["cause_refer"]);
			$obj->setrefercar($_POST["means_refer"]);
			$obj->setoffice($_SESSION["sOfficer"]);
			$obj->setdoctor($_POST["doctor"]);
			$obj->setward("ER");
			$obj->set_targe($_POST["targe"]);
			$obj->setid($id);
			$obj->inserttb();
		}

		if($result){
			
			echo "<CENTER><B>ºÑ¹·Ö¡¢éÍÁÙÅàÃÕºÃéÍÂáÅéÇ</B><BR><A HREF=\"#\" Onclick=\"window.location.href='trauma.php';\">&lt;&lt; ¡ÅѺ</A></CENTER>";

		}else{
Пример #2
0
			if($_POST["hospital1"] != ""){
				$_POST["hospital"] = $_POST["hospital1"];
			}

			$obj->setreferh("", $_POST["hospital"]);
			$obj->setlist_type_patient($_POST["list_type_patient"]);

			$obj->setorgan($_POST["organ"]);
			$obj->setmaintenance($_POST["maintenance"]);

			$obj->setrefertype("2 �觵��");
			$obj->setdateopd($thidate);
			$obj->setpttype($_POST["pttype"]);
			$obj->setdiag($_POST["diag"]);
			$obj->setexrefer($_POST["exrefer"],$_POST["exrefer2"]);
			$obj->setrefercar($_POST["refercar"]);
			$obj->setoffice($_SESSION["sOfficer"]);
			$obj->setdoctor($_POST["doctor"]);
			$obj->setward("Ward".$cBedcode);
			$obj->settype_woud($_POST["list_ptright"]);
			$obj->settime_refer($_POST["time_refer"]);
			$obj->setproblem_refer($_POST["problem_refer"]);
			$obj->set_doc_refer($_POST["doc_refer"]);
			$obj->set_nurse($_POST["nurse"]);
			$obj->set_assistant_nurse($_POST["assistant_nurse"]);
			$obj->set_estimate($_POST["estimate"]);
			$obj->set_no_estimate($_POST["no_estimate"]);
			$obj->set_cradle ($_POST["cradle"]);
			$obj->set_doc_txt($_POST["doc_txt"]);
			$obj->set_suggestion($_POST["suggestion"]);