SMPMC01100_중증진료대상자조회.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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. <script type="javascript">
  5. <![CDATA[
  6. function fInitialize()
  7. {
  8. model.removeNodeset("/root/main/list");
  9. model.makeNode("/root/main/list");
  10. // 시스템 현재 일자
  11. model.setValue("/root/hidden/currentDate", getCurrentDate());
  12. // 구분값
  13. model.setValue("/root/send/data1/srchcond","A");
  14. radio_goobun.select(1);
  15. //날자 입력 항목에 오늘 날자 세팅
  16. model.setValue("/root/send/data1/reffromdd",model.getValue("/root/hidden/currentDate"));
  17. model.setValue("/root/send/data1/reftodd",model.getValue("/root/hidden/currentDate"));
  18. model.refresh();
  19. }
  20. //자체기초코드 조회
  21. function fComCDRef()
  22. {
  23. submit("TRPMI00106");
  24. model.refresh();
  25. }
  26. ]]>
  27. </script>
  28. <xhtml:head>
  29. <xhtml:title>중증진료대상자조회</xhtml:title>
  30. <model id="model1">
  31. <instance id="instance1">
  32. <root xmlns="">
  33. <send>
  34. <data1>
  35. <reffromdd/>
  36. <reftodd/>
  37. <srchcond/>
  38. <icd10cd/>
  39. <opyn/>
  40. <goobun/>
  41. </data1>
  42. <data2>
  43. <sess_posinstcd>012</sess_posinstcd>
  44. </data2>
  45. </send>
  46. <main>
  47. <list>
  48. <grdserdiagpatreflist/>
  49. </list>
  50. </main>
  51. <hidden>
  52. <init>
  53. <disccd>
  54. <cd/>
  55. <nm/>
  56. </disccd>
  57. <insukind>
  58. <cd/>
  59. <nm/>
  60. </insukind>
  61. <suppkind>
  62. <cd/>
  63. <nm/>
  64. <up/>
  65. <io/>
  66. </suppkind>
  67. <orddeptcd>
  68. <cd/>
  69. <nm/>
  70. </orddeptcd>
  71. <orddrid>
  72. <cd/>
  73. <nm/>
  74. <dp/>
  75. <sp/>
  76. </orddrid>
  77. <wardcd>
  78. <cd/>
  79. <nm/>
  80. <of/>
  81. </wardcd>
  82. <roomcd>
  83. <cd/>
  84. <nm/>
  85. <wd/>
  86. <gr/>
  87. <ty/>
  88. </roomcd>
  89. <flag>
  90. <prestdd/>
  91. <mskindflag/>
  92. </flag>
  93. </init>
  94. <currentDate/>
  95. </hidden>
  96. </root>
  97. </instance>
  98. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  99. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
  100. <submission id="TRPMC01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
  101. <script type="javascript" ev:event="xforms-ready">
  102. <![CDATA[
  103. fInitialize(); // 기본데이터 초기화
  104. fComCDRef(); // 코드 조회
  105. ]]>
  106. </script>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  112. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  113. </xhtml:head>
  114. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  115. <group id="group4" style="left:0px; top:0px; width:1195px; height:13px; ">
  116. <caption id="caption26" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; font-family:돋움; vertical-align:middle; ">중증진료대상자</caption>
  117. </group>
  118. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  119. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
  120. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  121. <caption id="caption1" class="search_name" style="left:240px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  122. <caption id="caption11" class="search_name" style="left:567px; top:9px; width:65px; height:17px; ">구분 :</caption>
  123. <select1 id="cmb_srchcond" ref="/root/send/data1/srchcond" class="combo_search" appearance="minimal" style="left:635px; top:8px; width:115px; height:19px; ">
  124. <choices>
  125. <item>
  126. <label>전체</label>
  127. <value>A</value>
  128. </item>
  129. <item>
  130. <label>중증</label>
  131. <value>Y</value>
  132. </item>
  133. <item>
  134. <label>암환자</label>
  135. <value>C</value>
  136. </item>
  137. <item>
  138. <label>상해</label>
  139. <value>S</value>
  140. </item>
  141. </choices>
  142. </select1>
  143. <caption id="caption15" class="search_name" style="left:770px; top:9px; width:60px; height:17px; ">상병 :</caption>
  144. <button id="btn_srch" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  145. <caption>조회</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. // 중증진료대상자 조회
  149. if(submit("TRPMC01100")) {
  150. model.removeNodeset("/root/main/list");
  151. model.makeNode("/root/main/list");
  152. var patrefcnt = getNodesetCount("/root/hidden/rcv/list/grdserdiagpatreflist");
  153. if (patrefcnt > 0) {
  154. copyNodeType("/root/main/list","/root/hidden/rcv/list","replace");
  155. }
  156. model.refresh();
  157. }
  158. ]]>
  159. </script>
  160. </button>
  161. <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  162. <caption id="caption2" class="search_n_b" style="left:432px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  163. <input id="ipt_reffromdd" ref="/root/send/data1/reffromdd" class="input_search" inputtype="date" style="left:329px; top:8px; width:100px; height:19px; "/>
  164. <input id="ipt_reftodd" ref="/root/send/data1/reftodd" class="input_search" inputtype="date" style="left:447px; top:8px; width:100px; height:19px; "/>
  165. <input id="ipt_icd10cd" ref="/root/send/data1/icd10cd" class="input_search" style="left:833px; top:8px; width:100px; height:19px; "/>
  166. <caption id="caption4" class="search_name" style="left:953px; top:9px; width:91px; height:17px; ">수술여부 :</caption>
  167. <select id="chk_opyn" ref="/root/send/data1/opyn" class="checkbox_search" overflow="visible" appearance="full" style="left:1047px; top:10px; width:50px; height:20px; border-style:none; ">
  168. <choices>
  169. <item>
  170. <label/>
  171. <value>1</value>
  172. </item>
  173. </choices>
  174. </select>
  175. <caption id="caption5" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">환자구분 :</caption>
  176. <select1 id="radio_goobun" ref="/root/send/data1/goobun" overflow="visible" appearance="full" cols="3" style="left:95px; top:10px; width:140px; height:20px; border-style:none; ">
  177. <choices>
  178. <item>
  179. <label>퇴원</label>
  180. <value>1</value>
  181. </item>
  182. <item>
  183. <label>재원</label>
  184. <value>2</value>
  185. </item>
  186. <item>
  187. <label>입원</label>
  188. <value>3</value>
  189. </item>
  190. </choices>
  191. </select1>
  192. </group>
  193. <button id="button5" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  194. <caption>엑셀저장</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  198. if (fileName != "")
  199. {
  200. grd_grdserdiagpatref.saveExcel(fileName, "SheetName", true, true, "", "", false);
  201. }
  202. ]]>
  203. </script>
  204. </button>
  205. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:100px; height:13px; ">대상자 LIST</caption>
  206. <line id="line17" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  207. <datagrid id="grd_grdserdiagpatref" nodeset="/root/main/list/grdserdiagpatreflist" caption="이름^등록번호^성별^나이^진료과^병동^병실^입원일^퇴원일^심사일^보험유형^보조유형^상병^상병명^중증등록번호^중증신청상태" colsep="^" colwidth="70, 70, 40, 40, 110, 88, 70, 75, 75, 75, 80, 80, 60, 294, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:669px; ">
  208. <col ref="hngnm"/>
  209. <col ref="pid"/>
  210. <col ref="sex" style="text-align:center; "/>
  211. <col ref="age" style="text-align:center; "/>
  212. <col ref="orddeptcd"/>
  213. <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
  214. <choices>
  215. <itemset nodeset="/root/hidden/init/wardcd">
  216. <label ref="nm"/>
  217. <value ref="cd"/>
  218. </itemset>
  219. </choices>
  220. </col>
  221. <col disabled="true" ref="roomcd" type="combo" style="text-align:center; ">
  222. <choices>
  223. <itemset nodeset="/root/hidden/init/roomcd">
  224. <label ref="nm"/>
  225. <value ref="cd"/>
  226. </itemset>
  227. </choices>
  228. </col>
  229. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  230. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  231. <col ref="lastjudgdt" format="yyyy-mm-dd" style="text-align:center; "/>
  232. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  233. <choices>
  234. <itemset nodeset="/root/hidden/init/insukind">
  235. <label ref="nm"/>
  236. <value ref="cd"/>
  237. </itemset>
  238. </choices>
  239. </col>
  240. <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
  241. <choices>
  242. <itemset nodeset="/root/hidden/init/suppkind">
  243. <label ref="nm"/>
  244. <value ref="cd"/>
  245. </itemset>
  246. </choices>
  247. </col>
  248. <col ref="icd10cd"/>
  249. <col ref="termhngnm"/>
  250. <col ref="serdiagno"/>
  251. <col ref="signyn"/>
  252. <script type="javascript" ev:event="onaftersort">
  253. <![CDATA[
  254. //sorting 시 인스턴스 구조를 재구성
  255. grd_grdserdiagpatref.gridToInstance();
  256. ]]>
  257. </script>
  258. </datagrid>
  259. </group>
  260. </xhtml:body>
  261. </xhtml:html>