123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /**
- * @---------------------------------------------------
- * @desc : HWCI 비예측기타 초기화
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize(){
- var screenID = parent.window.javascript.getScreenID();
- //alert(screenID);
- if(screenID == "SMMQR01100"){
- grp_main.attribute("width") = "1192";
- grp_hwci.attribute("width") = "1191";
- line1.attribute("x2") = "1190";
- line2.attribute("x2") = "1190";
- line3.attribute("x2") = "1190";
- line4.attribute("x2") = "1190";
- line8.attribute("x2") = "1190";
- tar_detlcnts.attribute("width") = "780";
- btn_hist.attribute("left") = "1100";
- }
- else if(screenID == "SMMQR02300"){
- btn_patid.disabled = true;
- }
-
- zbcfGetCodeList(new Array("M0450", "M0498", "M0452"),
- new Array("/root/init/anstkindcd", "/root/init/resncd", "/root/init/cpryncd"),
- true);
- model.refresh();
-
-
- }
- /**
- * @---------------------------------------------------
- * @desc : HWCI 비예측사망 - 환자정보조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetPatInfo(pid, indd, cretno, seqno, inptno){
-
- //조회에 필요한 조건들을 send에복사
- model.setValue("/root/send/patinfo/pid", pid);
- model.setValue("/root/send/patinfo/indd", indd);
- model.setValue("/root/send/patinfo/cretno", cretno);
- model.setValue("/root/send/patinfo/seqno", seqno);
- model.setValue("/root/send/patinfo/inptno", inptno);
- model.setValue("/root/send/patinfo/kind", model.getValue("/root/main/cond/kind"));
-
- //기존 데이터를 삭제
- model.removenode("/root/tmp/cond/patinfO");
- model.resetInstanceNode("/root/main/cond");
- model.removeNodeset("/root/main/valuColleague/row");
-
-
- if(inptno != ""){ //입력된 내용을 조회
- submit("TRMQR01201");
- copyNodeType("/root/main/cond", "/root/tmp/cond/patinfo", "replace");
- submit("TRMQR02600");
- }
-
- //다음조회를 위해서 F로 다시 setting
- model.makeValue("/root/main/cond/kind", "F");
- model.refresh();
- SetVisible("tar_hwcietcresnetccnts", "/root/main/cond/hwcietcresncd", "06");
- }
- /**
- * @---------------------------------------------------
- * @desc : HWCI 비예측사망 - 저장을 위해 부모창으로 Node복사
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSetDetlnfo(){
- if(!isRequiredControls("opt_pid")){
- return false;
- }
- copyNodeType("/root/send/recinfo", "/root/main/cond", "replace", parent);
- parent.model.makeValue("/root/send/recinfo/valucolleague", getGridUpdateData(grd_valu));
- return true;
- }
|