SMAER00900_치료실시완료현황.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. <nuclprcsprescondlist>
  11. <nuclprcsprescond>
  12. <seq/>
  13. <pid/>
  14. <hngnm/>
  15. <age/>
  16. <orderdeptcdnm/>
  17. <prcpnm/>
  18. <orddd/>
  19. <dschcd/>
  20. <execdd/>
  21. <roomcd/>
  22. </nuclprcsprescond>
  23. </nuclprcsprescondlist>
  24. <patinfo>
  25. <patinfolist>
  26. <pid/>
  27. <hngnm/>
  28. </patinfolist>
  29. </patinfo>
  30. </main>
  31. <send>
  32. <fromdd/>
  33. <todd/>
  34. <ioflag/>
  35. <data>
  36. <srchpid/>
  37. </data>
  38. <globalinstance>
  39. <instance1/>
  40. </globalinstance>
  41. </send>
  42. </root>
  43. </instance>
  44. <submission id="TRAER00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nuclprcsprescondlist"/>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. aezfSetSuppDeptcd();
  48. model.removenode("/root/main/nuclprcsprescondlist");
  49. model.setValue("/root/send/fromdd", getCurrentDate());
  50. model.setValue("/root/send/todd", getCurrentDate());
  51. model.setValue("/root/send/ioflag", "A");
  52. model.refresh();
  53. ]]>
  54. </script>
  55. </model>
  56. </xhtml:head>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  60. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  61. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript">
  64. <![CDATA[
  65. function fnChkSubmit()
  66. {
  67. if((model.getValue("/root/send/fromdd") == "" || model.getValue("/root/send/todd") == "") &&
  68. model.getValue("/root/send/data/srchpid") == "")
  69. {
  70. messageBox("조회일자와 등록번호중 하나는 ", "I003");
  71. }
  72. else
  73. {
  74. submit("TRAER00901");
  75. }
  76. }
  77. ]]>
  78. </script>
  79. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">치료 실시 완료 현황</caption>
  81. <line id="line1" class="line_1" style="x1:5px; y1:72px; x2:1194px; y2:72px; "/>
  82. <button id="tab_all" class="btn_sw" group="tab" selected="true" style="left:5px; top:49px; width:70px; height:22px; ">
  83. <caption>전체</caption>
  84. <toggle case="case1" ev:event="onclick"/>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. model.setValue("/root/send/ioflag", "A");
  88. fnChkSubmit();
  89. ]]>
  90. </script>
  91. </button>
  92. <button id="tab_i" class="btn_sw" group="tab" style="left:75px; top:49px; width:70px; height:22px; ">
  93. <caption>입원치료</caption>
  94. <toggle case="case1" ev:event="onclick"/>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. model.setValue("/root/send/ioflag", "I");
  98. fnChkSubmit();
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="tab_o" class="btn_sw" group="tab" style="left:145px; top:49px; width:70px; height:22px; ">
  103. <caption>외래치료</caption>
  104. <toggle case="case1" ev:event="onclick"/>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. model.setValue("/root/send/ioflag", "O");
  108. fnChkSubmit();
  109. ]]>
  110. </script>
  111. </button>
  112. <datagrid id="datagrid1" nodeset="/root/main/nuclprcsprescondlist/nuclprcsprescond" caption="No^등록번호^환자명^나이^진료과^진료의^검사실^검사명^입원^퇴원^투약일^용량^호실^실시자" colsep="^" colwidth="0, 75, 70, 43, 100, 70, 100, 268, 80, 80, 81, 55, 60, 68" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:70px; width:1190px; height:679px; ">
  113. <col ref="seq" visibility="hidden"/>
  114. <col ref="pid"/>
  115. <col ref="hngnm" style="text-align:center; "/>
  116. <col ref="age" style="text-align:right; "/>
  117. <col ref="orddeptnm"/>
  118. <col ref="orddrnm" style="text-align:center; "/>
  119. <col ref="excuroomcd" style="text-align:center; "/>
  120. <col ref="prcpnm"/>
  121. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  122. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  123. <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
  124. <col ref="drugqty" format="#,###" style="text-align:right; "/>
  125. <col ref="roomcd" style="text-align:center; "/>
  126. <col ref="drnm" style="text-align:center; "/>
  127. </datagrid>
  128. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1195px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  129. <button id="button4" class="btn2_letter2" style="left:1150px; top:50px; width:42px; height:19px; ">
  130. <caption>엑셀</caption>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  134. if(file == "") return;
  135. datagrid1.saveExcel(file, "sheet1");
  136. ]]>
  137. </script>
  138. </button>
  139. <caption id="caption2" class="search_name" style="left:20px; top:23px; width:91px; height:17px; ">조회일자 :</caption>
  140. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" inputtype="date" style="left:111px; top:21px; width:90px; height:19px; "/>
  141. <input id="ipt_todd" ref="/root/send/todd" class="input_default" inputtype="date" style="left:203px; top:21px; width:90px; height:19px; "/>
  142. <button id="btn_sea" class="btn1_letter2" style="left:1131px; top:21px; width:56px; height:22px; ">
  143. <caption>조회</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fnChkSubmit();
  147. ]]>
  148. </script>
  149. </button>
  150. <script type="javascript" ev:event="onwindowactivate">
  151. <![CDATA[
  152. model.setValue("/root/send/ioflag", "A");
  153. ]]>
  154. </script>
  155. <caption id="caption1" class="search_name" style="left:315px; top:23px; width:90px; height:17px; ">등록번호 :</caption>
  156. <input id="ipt_pid" ref="/root/send/data/srchpid" class="input_search" maxlength="10" style="left:410px; top:21px; width:80px; height:19px; ">
  157. <script type="javascript" ev:event="onkeydown">
  158. <![CDATA[
  159. if ( event.keyCode == 13 ) {
  160. fnChkSubmit();
  161. }
  162. ]]>
  163. </script>
  164. </input>
  165. <button id="button61" class="icon_search" style="left:492px; top:21px; width:16px; height:16px; ">
  166. <caption/>
  167. <script type="javascript" ev:event="onclick">
  168. <![CDATA[
  169. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data","/root/send");
  170. model.refresh();
  171. ]]>
  172. </script>
  173. </button>
  174. <output id="ipt_patnm" ref="/root/send/data/hngnm" class="output_fix" style="left:509px; top:21px; width:71px; height:19px; "/>
  175. </xhtml:body>
  176. </xhtml:html>