SMMNP03700_수술 취소 조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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. <init>
  10. <oproomlist>
  11. <oproomcd/>
  12. <oproomnm/>
  13. </oproomlist>
  14. <DeptLists>
  15. <deptlist>
  16. <depthngnm/>
  17. <deptcd/>
  18. </deptlist>
  19. </DeptLists>
  20. <drlist>
  21. <drnm/>
  22. <drid/>
  23. </drlist>
  24. </init>
  25. <main>
  26. <opPatlist>
  27. <opPatInfo>
  28. <cnfmcnclresncd/>
  29. <cnstopflag/>
  30. <inyn/>
  31. <ccrtstat/>
  32. <ccrtstatnm/>
  33. <opstatcd/>
  34. <opstatcdnm/>
  35. <patposplcecd/>
  36. <opflagcd/>
  37. <opflagcdnm/>
  38. <oproomcd/>
  39. <oproomcdnm/>
  40. <fstrgstdt/>
  41. <opusetm/>
  42. <perfdeptcd/>
  43. <depthngnm/>
  44. <oppatflagcd/>
  45. <oppatflagnm/>
  46. <pid/>
  47. <hngnm/>
  48. <sa/>
  49. <diagcd/>
  50. <diagcdnm/>
  51. <opcd/>
  52. <opcdknm/>
  53. <opcdenm/>
  54. <oppart/>
  55. <opposition/>
  56. <perfdrid1/>
  57. <perfdridnm1/>
  58. <perfdrid2/>
  59. <perfdridnm2/>
  60. <anstmthdcd/>
  61. <anstmthdcdnm/>
  62. <delivefact/>
  63. <delivefactyn/>
  64. <hx/>
  65. <rgstrid/>
  66. <rgstridnm/>
  67. <opopenflag/>
  68. <oprsrvno/>
  69. <ophistno/>
  70. <ophistcd/>
  71. <instcd/>
  72. <iindd/>
  73. <icretno/>
  74. <iseqno/>
  75. <oorddd/>
  76. <ocretno/>
  77. <oacptseqno/>
  78. <oorgorddd/>
  79. <opcnfmdd/>
  80. <cnclresn/>
  81. <callyn/>
  82. <roomcd/>
  83. <calltel/>
  84. <opfromdd/>
  85. <optodd/>
  86. </opPatInfo>
  87. </opPatlist>
  88. <cond>
  89. <opddfr/>
  90. <opddto/>
  91. <oproomcd/>
  92. <opflag1/>
  93. <opflag2/>
  94. <opflag3/>
  95. <opflag4>4</opflag4>
  96. <oppatflag1/>
  97. <oppatflag2/>
  98. <oppatflag3/>
  99. <oppatflag4/>
  100. <anstmthdcd1/>
  101. <anstmthdcd2/>
  102. <anstmthdcd3/>
  103. <orddd/>
  104. <orddept/>
  105. <orddr/>
  106. <wardcd/>
  107. <usernm/>
  108. <refdeptflag>O</refdeptflag>
  109. <opstat>9</opstat>
  110. </cond>
  111. </main>
  112. <send>
  113. <reqdata/>
  114. <savedata/>
  115. </send>
  116. <hidden/>
  117. <temp/>
  118. </root>
  119. </instance>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  123. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP03700.js"/>
  124. <script type="javascript" ev:event="xforms-ready">
  125. <![CDATA[
  126. fInit();
  127. ]]>
  128. </script>
  129. <submission id="TRMNP00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opPatlist/opPatInfo"/>
  130. <submission id="TRMNP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/drlist"/>
  131. <submission id="TRMNP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/DeptLists"/>
  132. <submission id="TRMNP03401" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/oproomlist"/>
  133. </model>
  134. </xhtml:head>
  135. <xhtml:body guideline="1,1195;1,4;1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  136. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  137. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:40px; vertical-align:top; ">
  138. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  139. <caption id="caption4" class="search_name" style="left:340px; top:10px; width:86px; height:17px; ">수술방 :</caption>
  140. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  141. <caption>조회</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. fSearch();
  145. ]]>
  146. </script>
  147. </button>
  148. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  149. <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:417px; top:9px; width:100px; height:19px; ">
  150. <choices>
  151. <itemset nodeset="/root/init/oproomlist">
  152. <label ref="oproomnm"/>
  153. <value ref="oproomcd"/>
  154. </itemset>
  155. </choices>
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. fSearch();
  159. ]]>
  160. </script>
  161. </select1>
  162. <input id="inp_opddto" ref="/root/main/cond/opddto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:209px; top:10px; width:90px; height:19px; ">
  163. <script type="javascript" ev:event="xforms-value-changed">
  164. <![CDATA[
  165. // fSelectPos();
  166. ]]>
  167. </script>
  168. </input>
  169. <input id="inp_opddfr" ref="/root/main/cond/opddfr" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:9px; width:90px; height:19px; ">
  170. <script type="javascript" ev:event="xforms-value-changed">
  171. <![CDATA[
  172. // fSelectPos();
  173. ]]>
  174. </script>
  175. </input>
  176. <caption id="caption20" class="search_name" style="left:10px; top:10px; width:117px; height:17px; ">수술일자 :</caption>
  177. <caption id="caption21" style="left:195px; top:9px; width:30px; height:19px; ">~</caption>
  178. <select1 id="cmb_drlist" ref="/root/main/cond/orddr" appearance="minimal" style="left:780px; top:10px; width:80px; height:19px; ">
  179. <choices>
  180. <itemset nodeset="/root/init/drlist">
  181. <label ref="drnm"/>
  182. <value ref="drid"/>
  183. </itemset>
  184. </choices>
  185. <script type="javascript" ev:event="xforms-value-changed">
  186. <![CDATA[
  187. //fSelectPos();
  188. ]]>
  189. </script>
  190. </select1>
  191. <caption id="caption23" class="search_name" style="left:565px; top:10px; width:135px; height:17px; ">집도과/집도의 :</caption>
  192. <select1 id="cmb_orddept" ref="/root/main/cond/orddept" appearance="minimal" style="left:690px; top:10px; width:80px; height:19px; ">
  193. <choices>
  194. <itemset nodeset="/root/init/DeptLists/deptlist">
  195. <label ref="depthngnm"/>
  196. <value ref="deptcd"/>
  197. </itemset>
  198. </choices>
  199. <script type="javascript" ev:event="xforms-value-changed">
  200. <![CDATA[
  201. if( model.getValue("/root/main/cond/orddept") == "" ) {
  202. model.resetInstanceNode("/root/init/drlist");
  203. model.refresh();
  204. }else {
  205. model.removenode("/root/send");
  206. model.makeNode("/root/send/reqdata");
  207. model.copyNode("/root/send/reqdata", "/root/main/cond");
  208. submit("TRMNP00101", false);
  209. addComboItem("cmb_drlist", "전 체", "", "above" );
  210. }
  211. model.refresh();
  212. ]]>
  213. </script>
  214. </select1>
  215. </group>
  216. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  217. <datagrid id="grd_oppatlist" nodeset="/root/main/opPatlist/opPatInfo" class="datagrid2" caption="변경&#xA;여부^협진&#xA;여부^재원&#xA;상태^진행&#xA;상태^Cart&#xA;상태^환자&#xA;위치^환자&#xA;구분^수술&#xA;구분^수술&#xA;방^집도과^수술일자^소요&#xA;시간^등록번호^환자명^S/A^진단명^수술명(한글)^수술명(영문)^수술부위^수술&#xA;체위^집도의^마취의^마취&#xA;종류^전달&#xA;사항^Hx^예약자^수술&#xA;공개^취소사유" colsep="^" colwidth="35, 35, 35, 35, 35, 38, 38, 38, 36, 45, 100, 38, 67, 65, 38, 110, 110, 110, 55, 50, 50, 48, 36, 35, 35, 45, 40, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1193px; height:664px; ">
  218. <col ref="cnfmcnclresncd" style="text-align:center; "/>
  219. <col ref="cnstopflag" style="text-align:center; "/>
  220. <col ref="inyn" style="text-align:center; "/>
  221. <col ref="opstatcdnm" style="text-align:center; "/>
  222. <col ref="ccrtstatnm" style="text-align:center; "/>
  223. <col ref="patposplcecd" style="text-align:center; "/>
  224. <col ref="oppatflagnm" style="text-align:center; "/>
  225. <col ref="opflagcdnm" style="text-align:center; "/>
  226. <col ref="oproomcdnm" style="text-align:center; "/>
  227. <col ref="depthngnm" style="text-align:center; "/>
  228. <col ref="fstrgstdt" style="text-align:center; "/>
  229. <col ref="opusetm" format="hh:nn" style="text-align:center; "/>
  230. <col ref="pid" style="text-align:center; "/>
  231. <col ref="hngnm" style="text-align:center; "/>
  232. <col ref="sa" style="text-align:center; "/>
  233. <col ref="diagcdnm"/>
  234. <col ref="opcdknm"/>
  235. <col ref="opcdenm"/>
  236. <col ref="oppart" style="text-align:center; "/>
  237. <col ref="opposition" style="text-align:center; "/>
  238. <col ref="perfdridnm1" style="text-align:center; "/>
  239. <col ref="perfdridnm2" style="text-align:center; "/>
  240. <col ref="anstmthdcdnm" style="text-align:center; "/>
  241. <col ref="delivefactyn" style="background-position:center; "/>
  242. <col ref="hx" style="text-align:center; "/>
  243. <col ref="rgstridnm" style="text-align:center; "/>
  244. <col ref="opopenflag" style="text-align:center; "/>
  245. <col ref="cnclresn" style="text-align:center; "/>
  246. <col ref="ccrtstat" visibility="hidden"/>
  247. <col ref="opstatcd" visibility="hidden"/>
  248. <col ref="opflagcd" visibility="hidden"/>
  249. <col ref="oproomcd" visibility="hidden"/>
  250. <col ref="perfdeptcd" visibility="hidden"/>
  251. <col ref="oppatflagcd" visibility="hidden"/>
  252. <col ref="diagcd" visibility="hidden"/>
  253. <col ref="opcd" visibility="hidden"/>
  254. <col ref="perfdrid1" visibility="hidden"/>
  255. <col ref="perfdrid2" visibility="hidden"/>
  256. <col ref="anstmthdcd" visibility="hidden"/>
  257. <col ref="delivefact" visibility="hidden"/>
  258. <col ref="rgstrid" visibility="hidden"/>
  259. <col ref="oprsrvno" visibility="hidden"/>
  260. <col ref="ophistno" visibility="hidden"/>
  261. <col ref="ophistcd" visibility="hidden"/>
  262. <col ref="instcd" visibility="hidden"/>
  263. <col ref="iindd" visibility="hidden"/>
  264. <col ref="icretno" visibility="hidden"/>
  265. <col ref="iseqno" visibility="hidden"/>
  266. <col ref="oorddd" visibility="hidden"/>
  267. <col ref="ocretno" visibility="hidden"/>
  268. <col ref="oacptseqno" visibility="hidden"/>
  269. <col ref="oorgorddd" visibility="hidden"/>
  270. <col ref="opcnfmdd" visibility="hidden"/>
  271. <col ref="callyn" visibility="hidden"/>
  272. <col ref="roomcd" visibility="hidden"/>
  273. <col ref="calltel" visibility="hidden"/>
  274. <col ref="opfromdd" visibility="hidden"/>
  275. <col ref="optodd" visibility="hidden"/>
  276. <script type="javascript" ev:event="ondblclick">
  277. <![CDATA[
  278. var oprsrvno = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/oprsrvno");
  279. var ophistno = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/ophistno");
  280. var opcnfmdd = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/opcnfmdd");
  281. var oppatflagnm = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/oppatflagnm");
  282. var hngnm = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/hngnm");
  283. var pid = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/pid");
  284. var depthngnm = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/depthngnm");
  285. var perfdridnm1 = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/perfdridnm1");
  286. var opcdknm = model.getValue("/root/main/opPatlist/opPatInfo["+ grd_oppatlist.row +"]/opcdknm");
  287. var patinfo = opcnfmdd + " " + oppatflagnm + " " + hngnm + " " + pid + " " + depthngnm + " " + perfdridnm1 + " " + opcdknm;
  288. setParameter("oprsrvno", oprsrvno);
  289. setParameter("ophistno", ophistno);
  290. setParameter("opcnfmdd", opcnfmdd);
  291. setParameter("patinfo", patinfo);
  292. modal("SMMNP03710" ,"", "100", "100", "SMMNP03710", "", "");
  293. ]]>
  294. </script>
  295. <script type="javascript" ev:event="onclick">
  296. <![CDATA[
  297. var sCol = grd_oppatlist.col;
  298. var sRow = grd_oppatlist.row;
  299. // alert(sCol);
  300. if ((sCol == 24 ) && (model.getValue("/root/main/opPatlist/opPatInfo["+sRow+"]/delivefact") != "")){
  301. //var oprsrvno = model.getValue("/root/main/opPatlist/opPatInfo[" + sRow + "]/oprsrvno");
  302. //setParameter("oprsrvno", oprsrvno);
  303. //modal("SMMNP00101" ,"", "100", "100", "SMMNP00101", "", "");
  304. //fSelectPos();
  305. var sDelivefact = model.getValue("/root/main/opPatlist/opPatInfo["+sRow+"]/delivefact") ;
  306. setParameter("delivefact", sDelivefact);
  307. modal("SMMNP00101" ,"", "100", "100", "SMMNP00101", "", "");
  308. }
  309. ]]>
  310. </script>
  311. <script type="javascript" ev:event="onmouseover">
  312. <![CDATA[
  313. grd_oppatlist.tooltipText(grd_oppatlist.mouseRow, grd_oppatlist.mouseCol) = grd_oppatlist.labelMatrix(grd_oppatlist.mouseRow, grd_oppatlist.mouseCol);
  314. ]]>
  315. </script>
  316. <script type="javascript" ev:event="onaftersort">
  317. <![CDATA[
  318. grd_oppatlist.gridToInstance();
  319. ]]>
  320. </script>
  321. </datagrid>
  322. <caption id="caption22" class="tit_2" style="left:5px; top:56px; width:121px; height:14px; ">수술 취소 스케쥴</caption>
  323. </group>
  324. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">수술 취소 스케쥴</caption>
  325. </xhtml:body>
  326. </xhtml:html>