SPMMO21400_휴일회진등록.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>주말/공휴일/출장일 회진 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <orddd/>
  12. <orddeptcd/>
  13. <medispclid/>
  14. </cond>
  15. <holirndinfo>
  16. <holirndlist/>
  17. </holirndinfo>
  18. </main>
  19. <send>
  20. <savedata/>
  21. <reqdata/>
  22. </send>
  23. <hidden>
  24. </hidden>
  25. <init>
  26. <orddept/>
  27. <userlist/>
  28. </init>
  29. <temp>
  30. </temp>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. fInitialize_SPMMO21400();
  36. ]]>
  37. </script>
  38. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  39. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  40. <submission id="TRMMO21401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/holirndinfo"/>
  41. <submission id="TXMMO21401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/holirndinfo"/>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  47. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  48. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  49. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  50. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO21400.js"/>
  51. </xhtml:head>
  52. <xhtml:body pagewidth="916" pageheight="716" guideline="1,5;2,9;2,62;1,899;2,716;2,37;1,-3;" style="background-color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  53. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:899px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  54. <line id="line1" class="line_1" style="x1:0px; y1:83px; x2:900px; y2:83px; "/>
  55. <caption id="caption14" class="search_name" style="left:40px; top:31px; width:76px; height:17px; ">회 진 일</caption>
  56. <caption id="caption26" class="search_name" style="left:306px; top:31px; width:76px; height:17px; ">진 료 과</caption>
  57. <caption id="caption29" class="search_name" style="left:587px; top:31px; width:76px; height:17px; ">전 문 의</caption>
  58. <caption id="caption2" class="tit_2" style="left:0px; top:68px; width:170px; height:13px; vertical-align:middle; ">외래 환자별 진료소요시간</caption>
  59. <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input" autonext="false" inputtype="date" style="left:120px; top:31px; width:90px; height:19px; ">
  60. <script type="javascript" ev:event="xforms-value-changed">
  61. <![CDATA[
  62. btn_req.dispatch("DOMActivate");
  63. ]]>
  64. </script>
  65. </input>
  66. <datagrid id="grd_holirndlist" nodeset="/root/main/holirndinfo/holirndlist" caption="등록번호^성명^입원일자^회진일자^진료과^전문의^회진^등록자^등록일시" colsep="^" colwidth="70, 75, 75, 75, 100, 72, 72, 72, 120" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:88px; width:899px; height:628px; text-align:center; margin-left:0; margin-right:0; ">
  67. <col ref="pid" style="text-align:center; "/>
  68. <col ref="hngnm"/>
  69. <col ref="indd" format="yyyy-mm-dd"/>
  70. <col ref="rndddopt" format="yyyy-mm-dd"/>
  71. <col ref="orddept"/>
  72. <col ref="medispclnm" style="text-align:center; "/>
  73. <col checkvalue="Y,N" ref="rgstyn" type="checkbox"/>
  74. <col ref="rgstdrnm" style="text-align:center; "/>
  75. <col ref="rgstdt" format="yyyy-mm-dd hh:nn"/>
  76. <col ref="instcd" visibility="hidden"/>
  77. <col ref="rnddd" visibility="hidden"/>
  78. <col ref="cretno" visibility="hidden"/>
  79. <script type="javascript" ev:event="xforms-value-changed">
  80. <![CDATA[
  81. if (grd_holirndlist.col == grd_holirndlist.colRef("rgstyn"))
  82. {
  83. var ls_today = "";
  84. if (grd_holirndlist.valueMatrix(grd_holirndlist.row, grd_holirndlist.col) == "Y")
  85. {
  86. ls_today = model.getValue("/root/main/cond/orddd");
  87. }
  88. grd_holirndlist.valueMatrix(grd_holirndlist.row, grd_holirndlist.colRef("rndddopt")) = ls_today;
  89. grd_holirndlist.valueMatrix(grd_holirndlist.row, grd_holirndlist.colRef("rnddd")) = model.getValue("/root/main/cond/orddd");
  90. }
  91. ]]>
  92. </script>
  93. </datagrid>
  94. <line id="line3" style="x1:810px; y1:29px; x2:810px; y2:59px; border-color:#ffe4bb; border-left-style:solid; "/>
  95. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_default" appearance="minimal" editmode="search" style="left:385px; top:31px; width:150px; height:19px; ">
  96. <choices>
  97. <itemset nodeset="/root/init/orddept/dept">
  98. <label ref="depthngnm"/>
  99. <value ref="deptcd"/>
  100. </itemset>
  101. </choices>
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. model.removeNodeset("/root/init/userlist");
  105. model.makeNode("/root/init/userlist/usercombo");
  106. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330");
  107. if (instance1.selectSingleNode("/root/init/userlist").childNodes.length > 0)
  108. {
  109. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  110. }
  111. else
  112. {
  113. model.setValue("/root/main/cond/medispclid", "-");
  114. }
  115. cmb_medispclid.select(0);
  116. model.refresh();
  117. ]]>
  118. </script>
  119. </select1>
  120. <button id="btn_req" class="btn1_letter2" style="left:820px; top:30px; width:56px; height:22px; ">
  121. <caption>조회</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. fReqHoliRndList();
  125. ]]>
  126. </script>
  127. </button>
  128. <select1 id="cmb_medispclid" ref="/root/main/cond/medispclid" appearance="minimal" editmode="search" itemcount="30" style="left:666px; top:31px; width:90px; height:19px; ">
  129. <choices>
  130. <itemset nodeset="/root/init/userlist/usercombo">
  131. <label ref="usernm"/>
  132. <value ref="userid"/>
  133. </itemset>
  134. </choices>
  135. </select1>
  136. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">주말/공휴일/출장일 회진 등록</caption>
  137. <button id="btn_save" class="btn2_letter2" style="left:812px; top:62px; width:42px; height:19px; ">
  138. <caption>저장</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. fClkBtnHoliRndSave();
  142. ]]>
  143. </script>
  144. </button>
  145. <button id="button1" class="btn5_letter2" style="left:857px; top:62px; width:42px; height:19px; ">
  146. <caption>닫기</caption>
  147. <close ev:event="DOMActivate"/>
  148. </button>
  149. </xhtml:body>
  150. </xhtml:html>