SMMNI00600.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. 주사실 기타 처치등록 관리(SMMNI00600.xfm - JScript )
  3. - Version :
  4. 1) : Ver.1.00.01
  5. */
  6. /**
  7. * @group :
  8. * @ver : 2007.06.05
  9. * @by : 신혁춘
  10. * @---------------------------------------------------
  11. * @type : function
  12. * @access : public
  13. * @desc : 등록번호에 따른 환자정보 검색
  14. * @param :
  15. * @return :
  16. * @---------------------------------------------------
  17. */
  18. function fpidref(){
  19. model.removeNodeset("/root/send");
  20. var pid = ipt_pid.value;
  21. model.makeValue("/root/send/pid",pid);
  22. if(submit("TRMNI00601")){
  23. var hngnm=model.getValue("/root/main/refgroup/refpidinfo/refpidlist/hngnm");
  24. //데이타가 없을시 이전 출력 내용 삭제.
  25. if(hngnm==""){
  26. opt_hngnm.value="";
  27. opt_gndrage.value="";
  28. cmb_prcp.value="";
  29. opt_diag.value="";
  30. opt_hngnm.refresh();
  31. opt_gndrage.refresh();
  32. cmb_prcp.refresh();
  33. opt_diag.refresh();
  34. return;
  35. }
  36. fPrcpSrch();
  37. }
  38. }
  39. /**
  40. * @group :
  41. * @ver : 2007.06.05
  42. * @by : 신혁춘
  43. * @---------------------------------------------------
  44. * @type : function
  45. * @access : public
  46. * @desc : 환자번호 조회 돋보기 클릭시
  47. * @param :
  48. * @return :
  49. * @---------------------------------------------------
  50. */
  51. function fPatSrch(){
  52. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  53. //환자번호 copy
  54. var popupendflag = model.getValue("/root/main/popupendflag");
  55. if (popupendflag == "ok"){
  56. model.setValue("/root/main/refgroup/refpidinfo/refpidlist/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
  57. model.refresh();
  58. var pid = model.getValue("/root/main/refgroup/refpidinfo/refpidlist/pid");
  59. if (pid != null && pid != "" && pid != " " && pid != "-"){
  60. fpidref("new");
  61. }
  62. }
  63. }
  64. /**
  65. * @group :
  66. * @ver : 2007.06.07
  67. * @by : 신혁춘
  68. * @---------------------------------------------------
  69. * @type : function
  70. * @access : public
  71. * @desc : 환자 조회후 처방정보 및 진단명 정보 조회
  72. * @param :
  73. * @return :
  74. * @---------------------------------------------------
  75. */
  76. function fPrcpSrch(){
  77. model.removeNodeset("/root/send");
  78. var pid = ipt_pid.value;
  79. model.makeValue("/root/send/pid",pid);
  80. model.makeValue("/root/send/rsrvdd",model.getValue("/root/main/refgroup/datainfo/datalist/fromdd"));
  81. model.makeValue("/root/send/orddd",model.getValue("/root/main/refgroup/datainfo/datalist/todd"));
  82. if(submit("TRMNI00602")){
  83. model.setValue("/root/main/refgroup/diaginfo/diaginfolist/diagdata",model.getValue("/root/hidden/prcpitem/prcpitemlist/termengnm"));
  84. opt_diag.refresh();
  85. var prcpvalue = model.getValue("/root/hidden/prcpitem/prcpitemlist/value")
  86. cmb_prcp.value = prcpvalue;
  87. cmb_prcp.refresh();
  88. }
  89. }
  90. /**
  91. * @group :
  92. * @ver : 2007.06.08
  93. * @by : 신혁춘
  94. * @---------------------------------------------------
  95. * @type : function
  96. * @access : public
  97. * @desc : 당일 업무대상자 리스트 조회
  98. * @param :
  99. * @return :
  100. * @---------------------------------------------------
  101. */
  102. function fPatOrdList(){
  103. model.removeNodeset("/root/send");
  104. var pid = ipt_pid.value;
  105. model.makeValue("/root/send/pid",pid);
  106. model.makeValue("/root/send/orddd",model.getValue("/root/main/refgroup/prcpinfo/prcpinfolist/prcpdata"));
  107. if(submit("TRMNI00603")){
  108. }
  109. }