MRH00320.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. * @desc : 화면초기화
  3. *
  4. * @param :
  5. * @return :
  6. * @author : 경북대학교
  7. * @---------------------------------------------------
  8. */
  9. function fInitialize(){
  10. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D"); //부서코드 콤보
  11. addComboInstance("/root/init/orddept", "deptcd^depthngnm", "Z^전체", "dept"); //부서콤보 전체항목 추가
  12. model.setValue("/root/main/left_cond/orddeptcd", "Z");
  13. model.setValue("/root/main/left_cond/edureq", "Z");
  14. model.setValue("/root/main/left_cond/ansstatus", "Z");
  15. model.setValue("/root/main/left_cond/srch_flag", "Z");
  16. model.setValue("/root/main/left_cond/edukind", "Z");
  17. model.setValue("/root/main/left_cond/srch_fromdd", getCurrentDate());
  18. model.setValue("/root/main/left_cond/srch_todd", getCurrentDate());
  19. model.setValue("/root/main/left_cond/recflag", "B");
  20. Iviewer_Initialize();
  21. model.refresh();
  22. }
  23. /**
  24. * @desc : 환자검색
  25. *
  26. * @param :
  27. * @return :
  28. * @author :
  29. * @---------------------------------------------------
  30. */
  31. function fLeftSearch(){
  32. model.copyNode("/root/send/reqdata", "/root/main/left_cond");
  33. submit("TRMRH00220");
  34. }