SMMNP03800_CaseCart반납관리(CSR).xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  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>CSR(OR) 반납관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <oproomlist>
  11. <oproomcd/>
  12. <oproomnm/>
  13. </oproomlist>
  14. <rosettelist>
  15. <rosettenm/>
  16. <rosettecd/>
  17. </rosettelist>
  18. </init>
  19. <main>
  20. <cond>
  21. <opdd/>
  22. <oproomcd/>
  23. <rtnflag>2</rtnflag>
  24. <refcartgubn>O</refcartgubn>
  25. <pid/>
  26. <rosette/>
  27. <prntinstr>I</prntinstr>
  28. <prntcst>C</prntcst>
  29. <openflag>CSR</openflag>
  30. <prntpad>P</prntpad>
  31. </cond>
  32. <castcartrtnmngtlist>
  33. <prntflag/>
  34. <rtnflag/>
  35. <ccrtstatnm/>
  36. <perfdeptabbr/>
  37. <oproomnm/>
  38. <opdt/>
  39. <pid/>
  40. <patnm/>
  41. <opnm/>
  42. <perfnm/>
  43. <anstdrnm/>
  44. <anstkind/>
  45. <opstat/>
  46. <opflag/>
  47. <oprsrvno/>
  48. <ccrtstat/>
  49. <roomcd/>
  50. <sa/>
  51. <wardnm/>
  52. <opcnfmdd/>
  53. <disp1/>
  54. <disp2/>
  55. <disp3/>
  56. <goodstat/>
  57. <instrstat/>
  58. <cststat/>
  59. <patflagcd/>
  60. <tm/>
  61. <opstatcd/>
  62. <oproomcd/>
  63. </castcartrtnmngtlist>
  64. </main>
  65. <send>
  66. <reqdata/>
  67. <savedata/>
  68. <report>
  69. <oprsrvno/>
  70. <opdd/>
  71. <oproomnm/>
  72. <roomcd/>
  73. <orddept/>
  74. <perfdr/>
  75. <pid/>
  76. <patnm/>
  77. <sa/>
  78. <patflagcd/>
  79. <opnm/>
  80. <instcd/>
  81. <usernm/>
  82. <optype/>
  83. <prntdd/>
  84. <opfromtm/>
  85. <cartgubn/>
  86. </report>
  87. </send>
  88. <hidden/>
  89. <temp>
  90. <refstatus/>
  91. </temp>
  92. </root>
  93. </instance>
  94. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  97. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP03500.js"/>
  98. <script type="javascript" ev:event="xforms-ready">
  99. <![CDATA[
  100. makeReportPreview(0, 50, 1194, 600, "grp_report");
  101. fInit();
  102. ]]>
  103. </script>
  104. <submission id="TRMNP03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/castcartrtnmngtlist"/>
  105. <submission id="TXMNP03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/castcartrtnmngtlist"/>
  106. <script type="javascript" ev:event="xforms-close">
  107. <![CDATA[
  108. model.setValue("/root/temp/refstatus", "C");
  109. ]]>
  110. </script>
  111. <submission id="TRMNP03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/oproomlist"/>
  112. <submission id="TRMNP03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rosettelist"/>
  113. </model>
  114. </xhtml:head>
  115. <xhtml:body guideline="1,1195;1,5;1,1194;2,363;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  116. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  117. <group id="grp_report" visibility="hidden" style="left:445px; top:460px; width:315px; height:105px; "/>
  118. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  119. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  120. <caption id="caption2" class="search_name" style="left:290px; top:10px; width:86px; height:17px; ">수술일자 :</caption>
  121. <caption id="caption4" class="search_name" style="left:500px; top:10px; width:75px; height:17px; ">수술방 :</caption>
  122. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  123. <caption>조회</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. fSearch();
  127. ]]>
  128. </script>
  129. </button>
  130. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  131. <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:637px; top:10px; width:58px; height:19px; ">
  132. <choices>
  133. <itemset nodeset="/root/init/oproomlist">
  134. <label ref="oproomnm"/>
  135. <value ref="oproomcd"/>
  136. </itemset>
  137. </choices>
  138. <script type="javascript" ev:event="xforms-value-changed">
  139. <![CDATA[
  140. fSearch();
  141. ]]>
  142. </script>
  143. </select1>
  144. <input id="input3" ref="/root/main/cond/opdd" class="input_search" inputtype="date" style="left:379px; top:10px; width:100px; height:19px; ">
  145. <script type="javascript" ev:event="xforms-value-changed">
  146. <![CDATA[
  147. fSearch();
  148. ]]>
  149. </script>
  150. </input>
  151. <select1 id="radio1" ref="/root/main/cond/rtnflag" overflow="visible" appearance="full" cols="3" style="left:95px; top:10px; width:170px; height:20px; border-style:none; ">
  152. <choices>
  153. <item>
  154. <label>반납</label>
  155. <value>1</value>
  156. </item>
  157. <item>
  158. <label>미반납</label>
  159. <value>2</value>
  160. </item>
  161. <item>
  162. <label>부분반납</label>
  163. <value>3</value>
  164. </item>
  165. </choices>
  166. </select1>
  167. <caption id="caption5" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">반납여부 :</caption>
  168. <caption id="caption7" class="search_name" style="left:715px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  169. <input id="input1" ref="/root/main/cond/pid" style="left:805px; top:10px; width:100px; height:19px; ">
  170. <script type="javascript" ev:event="onkeyup">
  171. <![CDATA[
  172. inputEnterKey("btn_search", "DOMActivate");
  173. ]]>
  174. </script>
  175. </input>
  176. <select1 id="cmb_rosette" ref="/root/main/cond/rosette" class="combo_search" appearance="minimal" style="left:575px; top:10px; width:58px; height:19px; ">
  177. <choices>
  178. <itemset nodeset="/root/init/rosettelist">
  179. <label ref="rosettenm"/>
  180. <value ref="rosettecd"/>
  181. </itemset>
  182. </choices>
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. model.removenode("/root/send");
  186. model.makeNode("/root/send");
  187. model.makeValue("/root/send/opcnfmdd" ,model.getValue("/root/main/cond/opdd") );
  188. model.makeValue("/root/send/rosette" ,model.getValue("/root/main/cond/rosette"));
  189. if(submit("TRMNP03002")){ // 수술실코드 가져오기
  190. addComboItem("cmb_oproomlist","전체","","above");
  191. }
  192. cmb_oproomlist.refresh();
  193. ]]>
  194. </script>
  195. </select1>
  196. </group>
  197. <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  198. <datagrid id="grd_casecartrtnmngtlist" nodeset="/root/main/castcartrtnmngtlist" class="datagrid2" autoresize="true" caption="출력^반납^Cart&#xA;상태^집도과^불출^수술일시^등록번호^환자명^수술명^집도의^마취의^마취&#xA;종류^진행&#xA;상태^수술&#xA;구분^수술예약번호^수술상태^roomcd^sa^병동명^수술일자^환자구분^수술시작시간^수술진행코드^수술방코드" colsep="^" colwidth="50, 50, 50, 55, 50, 120, 80, 80, 330, 80, 80, 55, 56, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:81px; width:1194px; height:662px; ">
  199. <col ref="prntflag" type="checkbox"/>
  200. <col ref="rtnflag" type="checkbox"/>
  201. <col ref="ccrtstatnm" style="text-align:center; "/>
  202. <col ref="perfdeptabbr" style="text-align:center; "/>
  203. <col ref="oproomnm" style="text-align:center; "/>
  204. <col ref="opdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  205. <col ref="pid" style="text-align:center; "/>
  206. <col ref="patnm" style="text-align:center; "/>
  207. <col ref="opnm" style="text-align:left; "/>
  208. <col ref="perfnm" style="text-align:center; "/>
  209. <col ref="anstdrnm" style="text-align:left; "/>
  210. <col ref="anstkind" style="text-align:center; "/>
  211. <col ref="opstat" style="text-align:center; "/>
  212. <col ref="opflag" style="text-align:center; "/>
  213. <col ref="oprsrvno" style="text-align:center; "/>
  214. <col ref="oprsrvno" style="text-align:center; "/>
  215. <col ref="roomcd" style="text-align:center; "/>
  216. <col ref="sa" style="text-align:center; "/>
  217. <col ref="wardnm" style="text-align:center; "/>
  218. <col ref="opcnfmdd" style="text-align:center; "/>
  219. <col ref="disp1" style="text-align:center; "/>
  220. <col ref="disp2" style="text-align:center; "/>
  221. <col ref="disp3" style="text-align:center; "/>
  222. <col ref="goodstat" style="text-align:center; "/>
  223. <col ref="instrstat" style="text-align:center; "/>
  224. <col ref="cststat" style="text-align:center; "/>
  225. <col ref="patflagcd" style="text-align:center; "/>
  226. <col ref="tm" style="text-align:center; "/>
  227. <col ref="opstatcd" style="text-align:center; "/>
  228. <col ref="oproomcd" style="text-align:center; "/>
  229. <script type="javascript" ev:event="ondblclick">
  230. <![CDATA[
  231. if( isDataCell() ) {
  232. fDblClick();
  233. }
  234. ]]>
  235. </script>
  236. <script type="javascript" ev:event="onaftersort">
  237. <![CDATA[
  238. grd_casecartrtnmngtlist.gridToInstance();
  239. ]]>
  240. </script>
  241. </datagrid>
  242. <button id="btn_listprn" class="btn2_letter4" style="left:1074px; top:55px; width:64px; height:19px; ">
  243. <caption>List출력</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. exeReportPreview("RPMNP03503", "XMLSTR", "", "", "true", "", "", "", "", "true");
  247. ]]>
  248. </script>
  249. </button>
  250. <caption id="caption3" style="left:340px; top:55px; width:426px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; ">※ CSR(OR) 반납내역상세조회는 더블 클릭하시면 조회할 수 있습니다.</caption>
  251. <caption id="caption1" class="tit_2" style="left:0px; top:60px; width:133px; height:14px; ">CSR(OR) 반납관리</caption>
  252. <button id="btn_excel" class="btn2_letter3" style="left:1140px; top:55px; width:53px; height:19px; ">
  253. <caption>Excel</caption>
  254. <script type="javascript" ev:event="DOMActivate">
  255. <![CDATA[
  256. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  257. if (fileName != "")
  258. {
  259. grd_casecartrtnmngtlist.saveExcel(fileName, "SheetName", false, false, "", "", true);
  260. }
  261. ]]>
  262. </script>
  263. </button>
  264. <button id="btn_rtnprn" class="btn5_letter9" style="left:953px; top:55px; width:119px; height:19px; ">
  265. <caption>반납 상세내역 출력</caption>
  266. <script type="javascript" ev:event="DOMActivate">
  267. <![CDATA[
  268. group5.visible = true;
  269. model.refresh();
  270. ]]>
  271. </script>
  272. </button>
  273. <group id="group5" visibility="hidden" style="left:880px; top:85px; width:290px; height:50px; background-color:#87CEFA; ">
  274. <caption id="caption14" class="tit_2" style="left:5px; top:5px; width:188px; height:14px; ">출력할 구분을 체크하십시요.</caption>
  275. <button id="btn_prtlabel" class="btn5_letter2" style="left:195px; top:25px; width:42px; height:19px; ">
  276. <caption>확인</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. fPrntCartRtnHist();
  280. group5.visible = false;
  281. model.refresh();
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="button3" class="btn5_letter2" style="left:240px; top:25px; width:42px; height:19px; ">
  286. <caption>취소</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. group5.visible = false;
  290. model.refresh();
  291. ]]>
  292. </script>
  293. </button>
  294. <select id="checkbox5" ref="/root/main/cond/prntinstr" overflow="visible" appearance="full" style="left:5px; top:25px; width:45px; height:20px; border-style:none; ">
  295. <choices>
  296. <item>
  297. <label>기구</label>
  298. <value>I</value>
  299. </item>
  300. </choices>
  301. </select>
  302. <select id="checkbox6" ref="/root/main/cond/prntcst" overflow="visible" appearance="full" style="left:50px; top:25px; width:55px; height:20px; border-style:none; ">
  303. <choices>
  304. <item>
  305. <label>소모품</label>
  306. <value>C</value>
  307. </item>
  308. </choices>
  309. </select>
  310. <select id="checkbox9" ref="/root/main/cond/prntpad" overflow="visible" appearance="full" style="left:105px; top:25px; width:85px; height:20px; border-style:none; ">
  311. <choices>
  312. <item>
  313. <label>린넨/PAD류</label>
  314. <value>P</value>
  315. </item>
  316. </choices>
  317. </select>
  318. </group>
  319. <caption id="caption8" class="color_6" style="left:145px; top:57px; width:15px; height:15px; background-color:#D22D2D; "/>
  320. <caption id="caption15" style="left:165px; top:58px; width:35px; height:15px; ">취소</caption>
  321. <caption id="caption9" style="left:215px; top:58px; width:35px; height:15px; ">반납</caption>
  322. <caption id="caption18" class="color_6" style="left:195px; top:57px; width:15px; height:15px; background-color:#2D2DD2; "/>
  323. </group>
  324. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">CSR(OR) 반납관리</caption>
  325. </xhtml:body>
  326. </xhtml:html>