SMMMO15900_액팅체크로그조회.xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  11. <acting>
  12. <triggerdt/>
  13. <flag/>
  14. <inout/>
  15. <pid/>
  16. <trgtnm/>
  17. <sa/>
  18. <prcpdd/>
  19. <prcpcd/>
  20. <prcpnm/>
  21. <orddept/>
  22. <orddr/>
  23. <execdd/>
  24. <execdept/>
  25. <execid/>
  26. <indd/>
  27. <reqdd/>
  28. <updtdd/>
  29. <updtr/>
  30. </acting>
  31. </list>
  32. </main>
  33. <send>
  34. <fromdd/>
  35. <todd/>
  36. <flag>00</flag>
  37. <reqdata/>
  38. </send>
  39. <hidden/>
  40. </root>
  41. </instance>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  46. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. // model.setValue("/root/send/todd", getCurrentDate());
  50. ipt_fromdd.value = getCurrentDate();
  51. ipt_todd.value = getCurrentDate();
  52. model.refresh();
  53. ]]>
  54. </script>
  55. <submission id="TRMMO15901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  56. </model>
  57. </xhtml:head>
  58. <xhtml:body guideline="1,5;2,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  59. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  60. <line id="line1" class="line_1" style="x1:1px; y1:81px; x2:1195px; y2:81px; "/>
  61. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:50px; vertical-align:top; ">
  62. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <caption id="caption8" class="search_name" style="left:511px; top:15px; width:143px; height:17px; ">로그 생성일자 :</caption>
  64. <caption id="caption7" class="search_no_b" style="left:727px; top:16px; width:12px; height:17px; ">~</caption>
  65. <caption id="caption1" class="search_name" style="left:15px; top:15px; width:80px; height:17px; ">구분 :</caption>
  66. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:640px; top:15px; width:85px; height:19px; "/>
  67. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:740px; top:15px; width:85px; height:19px; "/>
  68. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:10px; width:56px; height:22px; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. submit("TRMMO15901");
  73. ]]>
  74. </script>
  75. </button>
  76. <select1 id="flag" ref="/root/send/flag" class="combo_search" appearance="minimal" style="left:85px; top:15px; width:365px; height:19px; ">
  77. <choices>
  78. <item>
  79. <label>[선택하세요]</label>
  80. <value>00</value>
  81. </item>
  82. <item>
  83. <label>execdd가 현재 system date보다 이전일로 insert</label>
  84. <value>01</value>
  85. </item>
  86. <item>
  87. <label>execdd가 현재 system date보다 이전일로 update</label>
  88. <value>02</value>
  89. </item>
  90. <item>
  91. <label>처방일이 입원일보다 이전인 경우</label>
  92. <value>03</value>
  93. </item>
  94. <item>
  95. <label>청구(clamdd)가 되었는데 변경이 일어난 경우</label>
  96. <value>04</value>
  97. </item>
  98. <item>
  99. <label>마감취소를 한 경우</label>
  100. <value>05</value>
  101. </item>
  102. <item>
  103. <label>execdd는 있으나 부서,실시자,시간없이 insert</label>
  104. <value>06</value>
  105. </item>
  106. <item>
  107. <label>execdd는 있으나 부서,실시자,시간없이 update</label>
  108. <value>07</value>
  109. </item>
  110. <item>
  111. <label>execdd같으나 부서,실시자,시간 변경 update</label>
  112. <value>08</value>
  113. </item>
  114. <item>
  115. <label>마감일자 null로 insert</label>
  116. <value>09</value>
  117. </item>
  118. <item>
  119. <label>마감일자 null로 update</label>
  120. <value>10</value>
  121. </item>
  122. </choices>
  123. </select1>
  124. </group>
  125. <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:60px; width:64px; height:19px; ">
  126. <caption>엑셀저장</caption>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. var fileName = window.fileDialog("save", ",", false, "액팅체크로그목록조회_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  130. if (fileName != "")
  131. {
  132. grd_actinglist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
  133. }
  134. ]]>
  135. </script>
  136. </button>
  137. <datagrid id="grd_actinglist" nodeset="/root/main/list/acting" caption="로그 생성일자^구분^입원/외래^등록번호^성명^S/A^처방일^처방코드^처방명^진료과^진료의^실시일자^실시부서^실시자^입원일^청구일^수정일시^수정자" colsep="^" colwidth="102, 44, 63, 78, 62, 41, 67, 60, 200, 72, 60, 74, 82, 71, 76, 72, 78, 68" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="29" rowsep="|" tooltip="true" style="left:1px; top:83px; width:1194px; height:642px; text-align:center; ">
  138. <col ref="triggerdt" format="yyyy-mm-dd 99:99"/>
  139. <col ref="flag" format="yyyy-mm-dd" style="text-align:center; "/>
  140. <col ref="inout" style="text-align:center; "/>
  141. <col ref="pid"/>
  142. <col ref="trgtnm" style="text-align:center; "/>
  143. <col ref="sa" style="text-align:center; "/>
  144. <col ref="prcpdd" format="yyyy-mm-dd"/>
  145. <col ref="prcpcd" style="text-align:center; "/>
  146. <col ref="prcpnm" style="text-align:center; "/>
  147. <col ref="orddept" style="text-align:center; "/>
  148. <col ref="orddr" style="text-align:center; "/>
  149. <col ref="execdd" format="yyyy-mm-dd"/>
  150. <col ref="execdept" style="text-align:center; "/>
  151. <col ref="execid" style="text-align:center; "/>
  152. <col ref="indd" format="yyyy-mm-dd"/>
  153. <col ref="reqdd" format="yyyy-mm-dd"/>
  154. <col ref="updtdd" format="yyyy-mm-dd"/>
  155. <col ref="updtr"/>
  156. <script type="javascript" ev:event="onmouseover">
  157. <![CDATA[
  158. var iRow = grd_actinglist.mouseRow;
  159. var iCol = grd_actinglist.mouseCol;
  160. var xPath = "/root/main/list/acting";
  161. var sflag = model.getValue(xPath+"["+(iRow)+"]/flag");
  162. var sio = model.getValue(xPath+"["+(iRow)+"]/inout");
  163. if (iRow > 0 && iCol == 2)
  164. {
  165. if (sflag == '01')
  166. grd_actinglist.tooltipText(iRow, iCol) = "execdd가 현재 system date 보다 이전일로 insert";
  167. else if (sflag == '02')
  168. grd_actinglist.tooltipText(iRow, iCol) = "execdd가 현재 system date 보다 이전일로 update";
  169. else if (sflag == '03')
  170. grd_actinglist.tooltipText(iRow, iCol) = "처방일이 입원일보다 이전인 경우";
  171. else if (sflag == '04')
  172. grd_actinglist.tooltipText(iRow, iCol) = "청구(clamdd)가 되었는데 변경이 일어난 경우";
  173. else if (sflag == '05')
  174. grd_actinglist.tooltipText(iRow, iCol) = "마감취소를 한 경우";
  175. else if (sflag == '06')
  176. grd_actinglist.tooltipText(iRow, iCol) = "execdd는 있으나 부서,실시자,시간없이 insert";
  177. else if (sflag == '07')
  178. grd_actinglist.tooltipText(iRow, iCol) = "execdd는 있으나 부서,실시자,시간없이 update";
  179. else if (sflag == '08')
  180. grd_actinglist.tooltipText(iRow, iCol) = "execdd같으나 부서,실시자,시간 변경 update";
  181. else if (sflag == '09')
  182. grd_actinglist.tooltipText(iRow, iCol) = "마감일자 null로 insert";
  183. else if (sflag == '10')
  184. grd_actinglist.tooltipText(iRow, iCol) = "마감일자 null로 update";
  185. }
  186. if (iRow > 0 && iCol == 3)
  187. {
  188. if(sio == 'I') grd_actinglist.tooltipText(iRow, iCol) = "입원";
  189. else if(sio == 'O') grd_actinglist.tooltipText(iRow, iCol) = "외래";
  190. else if(sio == 'E') grd_actinglist.tooltipText(iRow, iCol) = "응급";
  191. }
  192. ]]>
  193. </script>
  194. </datagrid>
  195. </group>
  196. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">액팅체크로그조회</caption>
  197. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  198. </xhtml:body>
  199. </xhtml:html>