SPPMI01900_전과전실조회.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPPMI01900_전과전실정보.xrw
  4. * 설 명 : 전과전실정보
  5. * 설 계 자 : 홍영표
  6. * 작 성 자 : 홍영표
  7. * 작 성 일 : 2007.06.04
  8. * 수정이력 :
  9. * 기 타 :
  10. * 구현예정 :
  11. -->
  12. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>전과전실조회</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <send>
  20. <pid/>
  21. <hngnm/>
  22. <indd/>
  23. <cretno/>
  24. <mskind/>
  25. <sess_posinstcd>012</sess_posinstcd>
  26. <flag>2</flag>
  27. </send>
  28. <main>
  29. <icdr/>
  30. </main>
  31. <hidden>
  32. <rcv>
  33. <icdr/>
  34. </rcv>
  35. <original>
  36. <icdrlist/>
  37. </original>
  38. <flag>
  39. <rcv_flag>
  40. </rcv_flag>
  41. </flag>
  42. <init>
  43. <disccd>
  44. <cd/>
  45. <nm/>
  46. </disccd>
  47. <insukind>
  48. <cd/>
  49. <nm/>
  50. </insukind>
  51. <suppkind>
  52. <cd/>
  53. <nm/>
  54. <up/>
  55. <io/>
  56. </suppkind>
  57. <orddeptcd>
  58. <cd/>
  59. <nm/>
  60. </orddeptcd>
  61. <orddrid>
  62. <cd/>
  63. <nm/>
  64. <dp/>
  65. <sp/>
  66. </orddrid>
  67. <wardcd>
  68. <cd/>
  69. <nm/>
  70. <of/>
  71. </wardcd>
  72. <roomcd>
  73. <cd/>
  74. <nm/>
  75. <wd/>
  76. <gr/>
  77. <ty/>
  78. </roomcd>
  79. <flag>
  80. <prestdd/>
  81. <mskindflag/>
  82. </flag>
  83. </init>
  84. <target>
  85. <pid/>
  86. <hngnm/>
  87. <indd/>
  88. <cretno/>
  89. <mskind/>
  90. </target>
  91. </hidden>
  92. <init>
  93. <P0006list>
  94. <P0006>
  95. <cdid/>
  96. <cdnm/>
  97. </P0006>
  98. </P0006list>
  99. <P0025list>
  100. <P0025>
  101. <cdid/>
  102. <cdnm/>
  103. </P0025>
  104. </P0025list>
  105. <P0026list>
  106. <P0026>
  107. <cdid/>
  108. <cdnm/>
  109. </P0026>
  110. </P0026list>
  111. <P0360list>
  112. <P0360>
  113. <cdid/>
  114. <cdnm/>
  115. </P0360>
  116. </P0360list>
  117. </init>
  118. </root>
  119. </instance>
  120. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  121. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  122. <submission id="TRPMI01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/rcv"/>
  123. </model>
  124. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  128. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  129. <script type="javascript" ev:event="xforms-ready">
  130. <![CDATA[
  131. zbcfGetCodeList(new Array("P0025","P0026","P0360"), new Array("/root/init/P0025list","/root/init/P0026list","/root/init/P0360list"));
  132. submit("TRPMI00106");
  133. var spid = model.getValue("/root/hidden/target/pid");
  134. if (spid != "") {
  135. model.setValue("/root/send/pid",model.getValue("/root/hidden/target/pid"));
  136. model.setValue("/root/send/hngnm",model.getValue("/root/hidden/target/hngnm"));
  137. model.setValue("/root/send/indd",model.getValue("/root/hidden/target/indd"));
  138. model.setValue("/root/send/cretno",model.getValue("/root/hidden/target/cretno"));
  139. model.setValue("/root/send/mskind",model.getValue("/root/hidden/target/mskind"));
  140. fQuery1();
  141. }
  142. model.refresh();
  143. ]]>
  144. </script>
  145. <script type="javascript">
  146. <![CDATA[
  147. // 조회조건에 따른 조회문장
  148. function fQuery1()
  149. {
  150. model.resetInstanceNode("/root/hidden/original");
  151. model.removeNodeset("/root/hidden/original/icdr");
  152. submit("TRPMI01901");
  153. copyNodeType("/root/hidden/original", "/root/hidden/rcv", "after");
  154. datagrid1.rebuild();
  155. }
  156. ]]>
  157. </script>
  158. </xhtml:head>
  159. <xhtml:body pagewidth="1020" pageheight="400" guideline="1,992;2,396;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  160. <group id="group3" scroll="auto" style="left:0px; top:0px; width:992px; height:355px; ">
  161. <group id="group2" visibility="hidden" style="left:0px; top:0px; width:992px; height:35px; vertical-align:top; ">
  162. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:992px; height:35px; "/>
  163. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">환자번호 :</caption>
  164. <button id="btn_search" class="btn1_letter2" style="left:925px; top:7px; width:56px; height:22px; ">
  165. <caption>조회</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. fQuery1();
  169. ]]>
  170. </script>
  171. </button>
  172. <line id="line13" class="line_4" style="x1:909px; y1:7px; x2:909px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  173. <input id="input3" ref="/root/send/pid" style="left:109px; top:8px; width:100px; height:19px; text-align:right; ">
  174. <script type="javascript" ev:event="onkeypress">
  175. <![CDATA[
  176. if (event.keyCode=='13') {
  177. setInputNodeCurText();
  178. fQuery1();
  179. }
  180. ]]>
  181. </script>
  182. </input>
  183. <output id="output1" ref="/root/send/hngnm" class="output_fix" style="left:210px; top:8px; width:100px; height:19px; text-align:right; "/>
  184. </group>
  185. <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:95px; height:14px; ">전과전실정보</caption>
  186. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:992px; y2:60px; "/>
  187. <datagrid id="datagrid1" nodeset="/root/hidden/original/icdrlist" caption="접수구분^신청구분^적용일자^종료일자^병동1^병실1^등급1^형태1^병동2^병실2^등급2^형태2^진료과^전문의^주치의^선택여부^Oxy여부^Suction여부^비고1^비고2^SNo^S^최종수정담당자^최종수정일시" colsep="^" colwidth="60, 60, 80, 80, 70, 60, 100, 70, 70, 60, 100, 70, 130, 100, 100, 62, 60, 75, 140, 100, 30, 30, 110, 110" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:1px; top:65px; width:991px; height:285px; ">
  188. <col disabled="true" ref="icdr_acptflagcd" type="combo">
  189. <choices>
  190. <item>
  191. <label>신청</label>
  192. <value>1</value>
  193. </item>
  194. <item>
  195. <label>접수</label>
  196. <value>2</value>
  197. </item>
  198. <item>
  199. <label>확인</label>
  200. <value>3</value>
  201. </item>
  202. </choices>
  203. </col>
  204. <col disabled="true" ref="icdr_appflagcd" type="combo">
  205. <choices>
  206. <item>
  207. <label>전실</label>
  208. <value>1</value>
  209. </item>
  210. <item>
  211. <label>전과</label>
  212. <value>2</value>
  213. </item>
  214. <item>
  215. <label>전과+전실</label>
  216. <value>3</value>
  217. </item>
  218. </choices>
  219. </col>
  220. <col ref="icdr_fromdd" format="yyyy-mm-dd"/>
  221. <col ref="icdr_todd" format="yyyy-mm-dd"/>
  222. <col disabled="true" ref="icdr_wardcd" type="combo">
  223. <choices>
  224. <itemset nodeset="/root/hidden/init/wardcd">
  225. <label ref="nm"/>
  226. <value ref="cd"/>
  227. </itemset>
  228. </choices>
  229. </col>
  230. <col ref="icdr_roomcd"/>
  231. <col disabled="true" ref="icdr_roomgrdecd" type="combo">
  232. <choices>
  233. <itemset nodeset="/root/init/P0025list/P0025">
  234. <label ref="cdnm"/>
  235. <value ref="cdid"/>
  236. </itemset>
  237. </choices>
  238. </col>
  239. <col disabled="true" ref="icdr_roomtypecd" type="combo">
  240. <choices>
  241. <itemset nodeset="/root/init/P0026list/P0026">
  242. <label ref="cdnm"/>
  243. <value ref="cdid"/>
  244. </itemset>
  245. </choices>
  246. </col>
  247. <col disabled="true" ref="icdr_wardcd2" type="combo">
  248. <choices>
  249. <itemset nodeset="/root/hidden/init/wardcd">
  250. <label ref="nm"/>
  251. <value ref="cd"/>
  252. </itemset>
  253. </choices>
  254. </col>
  255. <col ref="icdr_roomcd2"/>
  256. <col disabled="true" ref="icdr_roomgrdecd2" type="combo">
  257. <choices>
  258. <itemset nodeset="/root/init/P0025list/P0025">
  259. <label ref="cdnm"/>
  260. <value ref="cdid"/>
  261. </itemset>
  262. </choices>
  263. </col>
  264. <col disabled="true" ref="icdr_roomtypecd2" type="combo">
  265. <choices>
  266. <itemset nodeset="/root/init/P0026list/P0026">
  267. <label ref="cdnm"/>
  268. <value ref="cdid"/>
  269. </itemset>
  270. </choices>
  271. </col>
  272. <col disabled="true" ref="icdr_orddeptcd" type="combo">
  273. <choices>
  274. <itemset nodeset="/root/hidden/init/orddeptcd">
  275. <label ref="nm"/>
  276. <value ref="cd"/>
  277. </itemset>
  278. </choices>
  279. </col>
  280. <col disabled="true" ref="icdr_medispclid" type="combo">
  281. <choices>
  282. <itemset nodeset="/root/hidden/init/orddrid">
  283. <label ref="nm"/>
  284. <value ref="cd"/>
  285. </itemset>
  286. </choices>
  287. </col>
  288. <col disabled="true" ref="icdr_atdoctid" type="combo">
  289. <choices>
  290. <itemset nodeset="/root/hidden/init/orddrid">
  291. <label ref="nm"/>
  292. <value ref="cd"/>
  293. </itemset>
  294. </choices>
  295. </col>
  296. <col ref="icdr_specordyn"/>
  297. <col ref="icdr_oxyyn" style="text-align:center; "/>
  298. <col ref="icdr_suctyn" style="text-align:center; "/>
  299. <col disabled="true" ref="icdr_prestremcd" type="combo">
  300. <choices>
  301. <itemset nodeset="/root/init/P0360list/P0360">
  302. <label ref="cdnm"/>
  303. <value ref="cdid"/>
  304. </itemset>
  305. </choices>
  306. </col>
  307. <col ref="icdr_chngprestrem"/>
  308. <col ref="icdr_seqno"/>
  309. <col ref="icdr_histstat"/>
  310. <col ref="icdr_lastupdtrid"/>
  311. <col ref="icdr_lastupdtdt"/>
  312. </datagrid>
  313. </group>
  314. <group id="group1" scroll="auto" style="left:0px; top:361px; width:992px; height:29px; ">
  315. <button id="btn_confirm" class="btn4_letter2" style="left:871px; top:5px; width:56px; height:22px; ">
  316. <caption>확인</caption>
  317. <script type="javascript" ev:event="DOMActivate">
  318. <![CDATA[
  319. window.close();
  320. ]]>
  321. </script>
  322. </button>
  323. <button id="btn_cancel" class="btn4_letter2" style="left:930px; top:5px; width:56px; height:22px; ">
  324. <caption>취소</caption>
  325. <script type="javascript" ev:event="DOMActivate">
  326. <![CDATA[
  327. window.close();
  328. ]]>
  329. </script>
  330. </button>
  331. </group>
  332. </xhtml:body>
  333. </xhtml:html>