123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- /*
-
- 주사실 기타 처치등록 관리(SMMNI00600.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- /**
- * @group :
- * @ver : 2007.06.05
- * @by : 신혁춘
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호에 따른 환자정보 검색
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fpidref(){
- model.removeNodeset("/root/send");
- var pid = ipt_pid.value;
- model.makeValue("/root/send/pid",pid);
- if(submit("TRMNI00601")){
- var hngnm=model.getValue("/root/main/refgroup/refpidinfo/refpidlist/hngnm");
- //데이타가 없을시 이전 출력 내용 삭제.
- if(hngnm==""){
- opt_hngnm.value="";
- opt_gndrage.value="";
- cmb_prcp.value="";
- opt_diag.value="";
- opt_hngnm.refresh();
- opt_gndrage.refresh();
- cmb_prcp.refresh();
- opt_diag.refresh();
- return;
- }
- fPrcpSrch();
- }
- }
- /**
- * @group :
- * @ver : 2007.06.05
- * @by : 신혁춘
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자번호 조회 돋보기 클릭시
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPatSrch(){
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- //환자번호 copy
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.setValue("/root/main/refgroup/refpidinfo/refpidlist/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- var pid = model.getValue("/root/main/refgroup/refpidinfo/refpidlist/pid");
- if (pid != null && pid != "" && pid != " " && pid != "-"){
- fpidref("new");
- }
- }
- }
-
-
- /**
- * @group :
- * @ver : 2007.06.07
- * @by : 신혁춘
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 조회후 처방정보 및 진단명 정보 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPrcpSrch(){
- model.removeNodeset("/root/send");
- var pid = ipt_pid.value;
- model.makeValue("/root/send/pid",pid);
- model.makeValue("/root/send/rsrvdd",model.getValue("/root/main/refgroup/datainfo/datalist/fromdd"));
- model.makeValue("/root/send/orddd",model.getValue("/root/main/refgroup/datainfo/datalist/todd"));
- if(submit("TRMNI00602")){
- model.setValue("/root/main/refgroup/diaginfo/diaginfolist/diagdata",model.getValue("/root/hidden/prcpitem/prcpitemlist/termengnm"));
- opt_diag.refresh();
- var prcpvalue = model.getValue("/root/hidden/prcpitem/prcpitemlist/value")
- cmb_prcp.value = prcpvalue;
- cmb_prcp.refresh();
- }
- }
-
- /**
- * @group :
- * @ver : 2007.06.08
- * @by : 신혁춘
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 당일 업무대상자 리스트 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPatOrdList(){
- model.removeNodeset("/root/send");
- var pid = ipt_pid.value;
- model.makeValue("/root/send/pid",pid);
- model.makeValue("/root/send/orddd",model.getValue("/root/main/refgroup/prcpinfo/prcpinfolist/prcpdata"));
- if(submit("TRMNI00603")){
- }
-
- }
|