SMMMO05100_수술마취스케줄현황.xrw 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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. <cond>
  11. <opfromdd/>
  12. <optodd/>
  13. <hngnm/>
  14. <hngnm2/>
  15. <dispnm1/>
  16. <dispnm2/>
  17. <pid/>
  18. <oproomcd/>
  19. <opfromtmcd/>
  20. <perfdeptcd/>
  21. <oppatflagcd>T</oppatflagcd>
  22. <opstatcd>00</opstatcd>
  23. <anstmthdcd>-</anstmthdcd>
  24. <anstdetlmthdcd/>
  25. <diaghngnm/>
  26. <ophngnm/>
  27. <opflagcd>T</opflagcd>
  28. <diagcd/>
  29. <opcd/>
  30. <painlessflag/>
  31. <perfdrid/>
  32. <wardcd/>
  33. <viewtype>O</viewtype>
  34. </cond>
  35. <patinfo>
  36. <patinfolist/>
  37. </patinfo>
  38. <opanstschelist>
  39. <opanstschelist>
  40. <opstatcd/>
  41. <oppatflagcd/>
  42. <opschedt/>
  43. <opusetm/>
  44. <orddeptcd/>
  45. <indd/>
  46. <oproomnm/>
  47. <pid/>
  48. <hngnm/>
  49. <sa/>
  50. <diagnm/>
  51. <opnm/>
  52. <anstdocnm/>
  53. <anstmthdcd/>
  54. <cnclresn/>
  55. <dschdd/>
  56. <fcstendtmcd/>
  57. </opanstschelist>
  58. </opanstschelist>
  59. <oplist>
  60. <oplist/>
  61. </oplist>
  62. <menu>
  63. <popup>
  64. <name>주차증출력</name>
  65. <func>fPrintGroupVisible</func>
  66. </popup>
  67. </menu>
  68. </main>
  69. <send>
  70. <reqdata/>
  71. <listval>
  72. <uuee>
  73. <flag/>
  74. <scrnid/>
  75. <compsnm/>
  76. <compscnts/>
  77. <compsrefcnts/>
  78. <compssizecnts/>
  79. </uuee>
  80. </listval>
  81. </send>
  82. <hidden>
  83. <listval>
  84. <uuee>
  85. <flag/>
  86. <scrnid/>
  87. <compsnm/>
  88. <compscnts/>
  89. <compsrefcnts/>
  90. <compssizecnts/>
  91. </uuee>
  92. </listval>
  93. </hidden>
  94. <init>
  95. <M0013/>
  96. <M0015/>
  97. <M0017/>
  98. <M0020/>
  99. <M0021/>
  100. <M0243/>
  101. <M0244/>
  102. <M0245/>
  103. <orddept/>
  104. <userlist/>
  105. <oproomlist/>
  106. <M0000/>
  107. <M0356/>
  108. <oppatflag/>
  109. <userlist2/>
  110. <wardinfo/>
  111. </init>
  112. <source>
  113. <srchcond/>
  114. <pid/>
  115. <hngnm/>
  116. <rrgstno1/>
  117. <rrgstno2/>
  118. </source>
  119. <temp>
  120. <carno/>
  121. </temp>
  122. </root>
  123. </instance>
  124. <script type="javascript" ev:event="xforms-ready">
  125. <![CDATA[
  126. fInitialize_SMMMO05100();
  127. model.setValue("/root/send/listval/uuee/scrnid","SMMMO05100");
  128. if ( submit("TRPIJ00407") ) {
  129. var grd_name = model.getValue("/root/hidden/listval/uuee/compsnm");
  130. var refdata = model.getValue("/root/hidden/listval/uuee/compscnts");
  131. var sizedata = model.getValue("/root/hidden/listval/uuee/compssizecnts");
  132. if (grd_name != "") {
  133. setOrderInfoOfCol("grd_opanstschelist",refdata,sizedata);
  134. }
  135. }
  136. if( !isNull(model.getValue("/root/main/cond/pid")) ){
  137. btn_req.dispatch("DOMActivate");
  138. }
  139. if (getUserInfo("orddeptflag") == "W") {
  140. model.setValue("/root/main/cond/viewtype", "W");
  141. grd_opanstschelist.visible = false;
  142. grd_ward.visible = true;
  143. } else {
  144. model.setValue("/root/main/cond/viewtype", "O");
  145. grd_opanstschelist.visible = true;
  146. grd_ward.visible = false;
  147. }
  148. model.refresh();
  149. ]]>
  150. </script>
  151. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hngnm"/>
  152. <submission id="TRMMO04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  153. <submission id="TRMMO04104" mediatype="application/x-www-form-urlencoded" method="post"/>
  154. <submission id="TRMMO05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opanstschelist"/>
  155. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  156. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  157. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  158. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  159. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  160. <submission id="TXPIJ00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
  161. <submission id="TRPIJ00407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
  162. <submission id="TRMMO05104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oplist"/>
  163. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  164. </model>
  165. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  166. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  167. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  168. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  169. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  170. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  171. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  172. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  173. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05100.js"/>
  174. </xhtml:head>
  175. <xhtml:body guideline="1,1193;2,785;2,799;" style="margin-left:8; margin-right:8; ">
  176. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:88px; width:1194px; height:38px; background-color:#fffbf2; border-color:#ffd799; "/>
  177. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:1194px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
  178. <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" disabled="true" appearance="input" style="left:294px; top:99px; width:90px; height:19px; "/>
  179. <button id="button1" class="icon_search" navindex="3" style="left:387px; top:100px; width:16px; height:16px; ">
  180. <caption/>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  184. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  185. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  186. model.setValue("/root/main/cond/pid", sPid);
  187. model.setValue("/root/main/cond/hngnm", sHngnm);
  188. model.refresh();
  189. ]]>
  190. </script>
  191. </button>
  192. <caption id="caption1" class="search_name" style="left:209px; top:99px; width:107px; height:17px; ">성 명 :</caption>
  193. <caption id="caption11" class="search_name" style="left:1px; top:32px; width:105px; height:17px; ">수술기간 :</caption>
  194. <button id="btn_req" class="btn1_letter2" navindex="11" style="left:1132px; top:42px; width:56px; height:22px; ">
  195. <caption>조회</caption>
  196. <script type="javascript" ev:event="DOMActivate">
  197. <![CDATA[
  198. model.copyNode("/root/send/reqdata","/root/main/cond");
  199. if(submit("TRMMO05102")){
  200. // setTree(grd_opanstschelist, 1, 0, true);
  201. }
  202. ]]>
  203. </script>
  204. </button>
  205. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">수술/마취 스케줄 조회</caption>
  206. <line id="line3" style="x1:1126px; y1:25px; x2:1126px; y2:74px; border-color:#ffe4bb; border-left-style:solid; "/>
  207. <caption id="caption2" style="left:188px; top:31px; width:15px; height:20px; ">~</caption>
  208. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" navindex="5" style="left:88px; top:98px; width:90px; height:19px; ">
  209. <script type="javascript" ev:event="onkeypress">
  210. <![CDATA[
  211. inputEnterKey("btn_reqpatnm", "DOMActivate");
  212. ]]>
  213. </script>
  214. </input>
  215. <caption id="caption3" class="search_name" style="left:1px; top:56px; width:107px; height:17px; ">수술구분 :</caption>
  216. <caption id="caption4" class="search_name" style="left:301px; top:57px; width:94px; height:17px; ">환자구분 :</caption>
  217. <!--
  218. <select1 id="rdo_oppatflagcd" ref="/root/main/cond/oppatflagcd" navindex="8" appearance="full" cellspacing="1" cols="5" rows="1" overflow="visible" style="left:100px; top:57px; width:195px; height:20px; border-style:none; ">
  219. <choices>
  220. <item>
  221. <label>전체</label>
  222. <value>T</value>
  223. </item>
  224. <item>
  225. <label>병동</label>
  226. <value>I</value>
  227. </item>
  228. <item>
  229. <label>DSC</label>
  230. <value>D</value>
  231. </item>
  232. <item>
  233. <label>응급실</label>
  234. <value>E</value>
  235. </item>
  236. </choices>
  237. </select1>
  238. -->
  239. <select1 id="rdo_oppatflagcd" ref="/root/main/cond/oppatflagcd" navindex="8" appearance="full" cellspacing="3" cols="5" rows="1" overflow="visible" style="left:397px; top:57px; width:233px; height:20px; border-style:none; ">
  240. <choices>
  241. <itemset nodeset="/root/init/oppatflag/hardcd">
  242. <label ref="hardcdnm"/>
  243. <value ref="hardcd"/>
  244. </itemset>
  245. </choices>
  246. </select1>
  247. <caption id="caption5" class="search_name" style="left:634px; top:58px; width:107px; height:17px; ">수술상태 :</caption>
  248. <select1 id="rdo_opstatcd" ref="/root/main/cond/opstatcd" navindex="9" appearance="full" cellspacing="3" cols="9" rows="1" overflow="visible" style="left:720px; top:57px; width:400px; height:19px; border-style:none; ">
  249. <choices>
  250. <item>
  251. <label>전체</label>
  252. <value>00</value>
  253. </item>
  254. <item>
  255. <label>삭제</label>
  256. <value>삭제</value>
  257. </item>
  258. <item>
  259. <label>의뢰</label>
  260. <value>10</value>
  261. </item>
  262. <item>
  263. <label>확정</label>
  264. <value>20</value>
  265. </item>
  266. <item>
  267. <label>대기</label>
  268. <value>30</value>
  269. </item>
  270. <item>
  271. <label>수술중</label>
  272. <value>40</value>
  273. </item>
  274. <item>
  275. <label>회복중</label>
  276. <value>60</value>
  277. </item>
  278. <item>
  279. <label>종료</label>
  280. <value>50</value>
  281. </item>
  282. </choices>
  283. </select1>
  284. <caption id="caption9" class="tit_2" style="left:0px; top:135px; width:215px; height:13px; vertical-align:middle; ">수술/마취 스케줄 조회 리스트</caption>
  285. <line id="line1" class="line_1" style="x1:0px; y1:150px; x2:1194px; y2:150px; "/>
  286. <caption id="caption10" class="search_name" style="left:1px; top:100px; width:107px; height:17px; ">등록번호 :</caption>
  287. <select1 id="cmb_anstmthdcd" ref="/root/main/cond/anstmthdcd" navindex="10" appearance="minimal" style="left:1030px; top:30px; width:90px; height:19px; ">
  288. <choices>
  289. <itemset nodeset="/root/init/M0017/M0017">
  290. <label ref="cdnm"/>
  291. <value ref="cdid"/>
  292. </itemset>
  293. </choices>
  294. <script type="javascript" ev:event="xforms-value-changed">
  295. <![CDATA[
  296. //fChngAnstMthdCmb(cmb_anstmthdcd, cmb_anstdetl, "/root/main/cond/anstdetlmthdcd");
  297. ]]>
  298. </script>
  299. </select1>
  300. <input id="ipt_optodd" ref="/root/main/cond/optodd" class="input_search" navindex="2" inputtype="date" style="left:200px; top:31px; width:100px; height:19px; "/>
  301. <input id="ipt_opfromdd" ref="/root/main/cond/opfromdd" class="input_search" navindex="1" inputtype="date" style="left:87px; top:31px; width:100px; height:19px; "/>
  302. <button id="btn_reqpatnm" disabled="true" navindex="4" style="left:715px; top:33px; width:10px; height:20px; ">
  303. <caption/>
  304. <script type="javascript" ev:event="DOMActivate">
  305. <![CDATA[
  306. reqPatInfo("pid", "ptbs",model.getValue("/root/main/cond/pid"));
  307. model.setValue("/root/main/cond/hngnm", model.getValue("/root/init/patnm/patnm/hngnm"));
  308. model.refresh();
  309. ]]>
  310. </script>
  311. </button>
  312. <caption id="caption12" class="search_name" style="left:302px; top:33px; width:83px; height:17px; ">수술방 :</caption>
  313. <select1 id="combo1" ref="/root/main/cond/oproomcd" navindex="10" appearance="minimal" style="left:374px; top:31px; width:105px; height:19px; ">
  314. <choices>
  315. <itemset nodeset="/root/init/oproomlist/oproomlist">
  316. <label ref="oproomnm"/>
  317. <value ref="oproomcd"/>
  318. </itemset>
  319. </choices>
  320. <script type="javascript" ev:event="xforms-value-changed">
  321. <![CDATA[
  322. ]]>
  323. </script>
  324. </select1>
  325. <caption id="caption13" class="search_name" style="left:481px; top:33px; width:83px; height:17px; ">집도과 :</caption>
  326. <select1 id="combo2" ref="/root/main/cond/perfdeptcd" navindex="10" appearance="minimal" style="left:553px; top:31px; width:105px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/init/orddept/dept">
  329. <label ref="depthngnm"/>
  330. <value ref="deptcd"/>
  331. </itemset>
  332. </choices>
  333. <script type="javascript" ev:event="xforms-value-changed">
  334. <![CDATA[
  335. if( combo2.value !="-") {
  336. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", combo2.value, "0330");
  337. addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo"); //조회용 집도의 전체항목 추가
  338. model.setValue("/root/main/cond/perfdrid","-");
  339. model.refresh();
  340. }
  341. ]]>
  342. </script>
  343. </select1>
  344. <select1 id="radio1" ref="/root/main/cond/opflagcd" navindex="8" appearance="full" cellspacing="10" cols="4" rows="1" overflow="visible" style="left:87px; top:55px; width:213px; height:20px; border-style:none; ">
  345. <choices>
  346. <item>
  347. <label>전체</label>
  348. <value>T</value>
  349. </item>
  350. <item>
  351. <label>정규</label>
  352. <value>1</value>
  353. </item>
  354. <item>
  355. <label>응급</label>
  356. <value>2</value>
  357. </item>
  358. <item>
  359. <label>추가</label>
  360. <value>3</value>
  361. </item>
  362. </choices>
  363. </select1>
  364. <caption id="caption7" class="search_name" style="left:425px; top:98px; width:90px; height:17px; ">진 단 명 :</caption>
  365. <input id="input1" ref="/root/main/cond/diaghngnm" class="input_search" appearance="input" style="left:514px; top:98px; width:250px; height:19px; ">
  366. <script type="javascript" ev:event="onkeypress">
  367. <![CDATA[
  368. inputEnterKey("btn_diag", "DOMActivate");
  369. ]]>
  370. </script>
  371. <script type="javascript" ev:event="onclick">
  372. <![CDATA[
  373. model.setValue("/root/main/cond/diaghngnm", "");
  374. model.setValue("/root/main/cond/diagcd" , "");
  375. model.refresh();
  376. ]]>
  377. </script>
  378. </input>
  379. <caption id="caption14" class="search_name" style="left:776px; top:99px; width:90px; height:17px; ">수 술 명:</caption>
  380. <input id="input2" ref="/root/main/cond/ophngnm" class="input_search" appearance="input" style="left:861px; top:98px; width:254px; height:19px; ">
  381. <script type="javascript" ev:event="onkeypress">
  382. <![CDATA[
  383. inputEnterKey("btn_opnm", "DOMActivate");
  384. ]]>
  385. </script>
  386. <script type="javascript" ev:event="onclick">
  387. <![CDATA[
  388. model.setValue("/root/main/cond/ophngnm", "");
  389. model.setValue("/root/main/cond/opcd" , "");
  390. model.refresh();
  391. ]]>
  392. </script>
  393. </input>
  394. <button id="button2" class="btn2_letter6" style="left:899px; top:130px; width:86px; height:19px; ">
  395. <caption>통합기록조회</caption>
  396. <script type="javascript" ev:event="DOMActivate">
  397. <![CDATA[
  398. fOpenTotRecSrch();
  399. ]]>
  400. </script>
  401. </button>
  402. <button id="button3" class="btn2_letter6" style="left:987px; top:130px; width:86px; height:19px; ">
  403. <caption>통합결과조회</caption>
  404. <script type="javascript" ev:event="DOMActivate">
  405. <![CDATA[
  406. fOpenTotExamRslt();
  407. ]]>
  408. </script>
  409. </button>
  410. <button id="btn_excel" class="btn2_letter3" style="left:1075px; top:130px; width:53px; height:19px; ">
  411. <caption>Excel</caption>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. fSaveGridToExcel();
  415. ]]>
  416. </script>
  417. </button>
  418. <datagrid id="grd_opanstschelist" nodeset="/root/main/opanstschelist/opanstschelist" caption="^levl^상태^환자구분^수술방^수술구분^수술일자^수술예정시작시간^수술시작시간^수술종료시간^소요시간^진료과^주치의^집도과^집도의^협진^입원일^병실^등록번호^성명(표시명)^S/A^진단명^수술명^예상종료시간^마취자^마취^취소사유^퇴원일^심사자^심사여부^수술처방^로봇수술여부^퇴실일시^수술위치^전달사항" colsep="^" colwidth="24, 0, 60, 67, 71, 63, 84, 111, 87, 87, 70, 100, 90, 99, 90, 55, 100, 64, 100, 100, 62, 100, 100, 100, 150, 57, 100, 83, 100, 80, 60, 80, 130, 100, 200" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="12" style="left:0px; top:155px; width:1194px; height:629px; text-align:center; ">
  419. <col/>
  420. <col ref="levl"/>
  421. <col disabled="true" ref="opstatcd" type="combo">
  422. <choices>
  423. <itemset nodeset="/root/init/M0015/M0015">
  424. <label ref="cdnm"/>
  425. <value ref="cdid"/>
  426. </itemset>
  427. </choices>
  428. </col>
  429. <col disabled="true" ref="oppatflagcd" type="combo">
  430. <choices>
  431. <itemset nodeset="/root/init/M0020/M0020">
  432. <label ref="cdnm"/>
  433. <value ref="cdid"/>
  434. </itemset>
  435. </choices>
  436. </col>
  437. <col disabled="true" ref="oproomcd" type="combo">
  438. <choices>
  439. <itemset nodeset="/root/init/oproomlist/oproomlist">
  440. <label ref="oproomnm"/>
  441. <value ref="oproomcd"/>
  442. </itemset>
  443. </choices>
  444. </col>
  445. <col ref="opflagcd"/>
  446. <col ref="opcnfmdd" format="yyyy-mm-dd"/>
  447. <col ref="opschfromtmcd" format="hh:nn"/>
  448. <col ref="opfromtmcd" format="hh:nn"/>
  449. <col ref="opendtmcd" format="hh:nn"/>
  450. <col ref="opusetm" format="hh:nn"/>
  451. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
  452. <choices>
  453. <itemset nodeset="/root/init/orddept/dept">
  454. <label ref="depthngnm"/>
  455. <value ref="deptcd"/>
  456. </itemset>
  457. </choices>
  458. </col>
  459. <col ref="medispclid"/>
  460. <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:left; ">
  461. <choices>
  462. <itemset nodeset="/root/init/orddept/dept">
  463. <label ref="depthngnm"/>
  464. <value ref="deptcd"/>
  465. </itemset>
  466. </choices>
  467. </col>
  468. <col ref="perfdrnm"/>
  469. <col disabled="true" ref="cnstopflag" type="combo">
  470. <choices>
  471. <item>
  472. <label>Y</label>
  473. <value>Y</value>
  474. </item>
  475. <item>
  476. <label>N</label>
  477. <value/>
  478. </item>
  479. </choices>
  480. </col>
  481. <col ref="indd" format="yyyy-mm-dd"/>
  482. <col ref="roomcd"/>
  483. <col ref="pid"/>
  484. <col ref="dispnm2" style="text-align:left; "/>
  485. <col ref="sa"/>
  486. <col ref="diagnm" style="text-align:left; "/>
  487. <col ref="opnm" style="text-align:left; "/>
  488. <col ref="fcstendtmcd" format="hh:nn"/>
  489. <col disabled="true" ref="anstdrnm"/>
  490. <col disabled="true" ref="anstmthdcd" type="combo">
  491. <choices>
  492. <itemset nodeset="/root/init/M0017/M0017">
  493. <label ref="cdnm"/>
  494. <value ref="cdid"/>
  495. </itemset>
  496. </choices>
  497. </col>
  498. <col disabled="true" ref="cnclresncd" type="combo">
  499. <choices>
  500. <itemset nodeset="/root/init/M0356/M0356">
  501. <label ref="cdnm"/>
  502. <value ref="cdid"/>
  503. </itemset>
  504. </choices>
  505. </col>
  506. <col ref="dschdd" format="yyyy-mm-dd"/>
  507. <col ref="judgmdlid"/>
  508. <col ref="judgflag"/>
  509. <col ref="opprcpyn"/>
  510. <col ref="robotopflag"/>
  511. <col ref="patoutroomdt"/>
  512. <col ref="opdirecflag"/>
  513. <col ref="delivefact"/>
  514. <script type="javascript" ev:event="ondblclick">
  515. <![CDATA[
  516. fSetOpPatTopInfo();
  517. ]]>
  518. </script>
  519. <script type="javascript" ev:event="onaftersort">
  520. <![CDATA[
  521. grd_opanstschelist.gridToInstance();
  522. ]]>
  523. </script>
  524. <script type="javascript" ev:event="oncopy">
  525. <![CDATA[
  526. // 그리드 내용 복사
  527. if (grd_opanstschelist.selectedRows == 1) { // 한줄
  528. var row = grd_opanstschelist.row;
  529. var col = grd_opanstschelist.col;
  530. if (col == grd_opanstschelist.colRef("pid") ) {
  531. var clip = grd_opanstschelist.labelMatrix(row, col);
  532. window.clipBoardData = clip;
  533. } else {
  534. grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
  535. }
  536. }
  537. else if (grd_opanstschelist.selectedRows > 1) { // 여러줄
  538. grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
  539. }
  540. ]]>
  541. </script>
  542. <script type="javascript" ev:event="onclick">
  543. <![CDATA[
  544. var col = grd_opanstschelist.col;
  545. var row = grd_opanstschelist.row;
  546. if(col == grd_opanstschelist.colRef("opprcpyn")) { // 수술처방유무
  547. if(model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/opprcpyn") == "Y") {
  548. model.makeValue("/root/send/reqdata/oprsrvno", model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/oprsrvno"));
  549. if(submit("TRMMO05104")) {
  550. grp_oplist.visible = true;
  551. }
  552. }
  553. }
  554. ]]>
  555. </script>
  556. <script type="javascript" ev:event="onmousedown">
  557. <![CDATA[
  558. if (event.button == 3 ){
  559. window.setPopupMenu( true, "/root/main/menu/popup", "name", "func", false);
  560. }
  561. ]]>
  562. </script>
  563. <script type="javascript" ev:event="DOMFocusIn">
  564. <![CDATA[
  565. window.setPopupMenu(true);
  566. ]]>
  567. </script>
  568. <script type="javascript" ev:event="DOMFocusOut">
  569. <![CDATA[
  570. window.setPopupMenu(false);
  571. ]]>
  572. </script>
  573. </datagrid>
  574. <button id="btn_diag" visibility="hidden" style="left:450px; top:115px; width:50px; height:20px; text-align:center; ">
  575. <caption>diagnm</caption>
  576. <script type="javascript" ev:event="DOMActivate">
  577. <![CDATA[
  578. fSrchDiag();
  579. ]]>
  580. </script>
  581. </button>
  582. <button id="btn_opnm" visibility="hidden" style="left:800px; top:115px; width:50px; height:20px; text-align:center; ">
  583. <caption>opnm</caption>
  584. <script type="javascript" ev:event="DOMActivate">
  585. <![CDATA[
  586. fSrchOp();
  587. ]]>
  588. </script>
  589. </button>
  590. <button id="button4" class="btn2_letter4" visibility="visible" style="left:1130px; top:130px; width:64px; height:19px; ">
  591. <caption>환경저장</caption>
  592. <script type="javascript" ev:event="DOMActivate">
  593. <![CDATA[
  594. getOrderInfoOfCol("grd_opanstschelist");
  595. ]]>
  596. </script>
  597. </button>
  598. <group id="grp_oplist" visibility="hidden" style="left:955px; top:215px; width:165px; height:150px; border-style:solid; ">
  599. <datagrid id="datagrid1" nodeset="/root/main/oplist/oplist" caption="수술처방" colsep="^" colwidth="133" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:3px; top:22px; width:151px; height:95px; ">
  600. <col ref="prcpcd"/>
  601. </datagrid>
  602. <button id="btn_cnfm" class="btn2_letter2" style="left:107px; top:122px; width:42px; height:19px; ">
  603. <caption>확인</caption>
  604. <script type="javascript" ev:event="DOMActivate">
  605. <![CDATA[
  606. grp_oplist.visible = false;
  607. ]]>
  608. </script>
  609. </button>
  610. <caption id="caption8" class="tit_2" style="left:5px; top:3px; width:119px; height:13px; vertical-align:middle; ">수술처방 리스트</caption>
  611. <line id="line4" class="line_1" style="x1:3px; y1:17px; x2:155px; y2:17px; "/>
  612. </group>
  613. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/painlessflag" style="left:787px; top:130px; width:20px; height:20px; ">
  614. <script type="javascript" ev:event="xforms-value-changed">
  615. <![CDATA[
  616. model.copyNode("/root/send/reqdata","/root/main/cond");
  617. submit("TRMMO05102");
  618. ]]>
  619. </script>
  620. </bool>
  621. <caption id="caption15" style="left:810px; top:130px; width:80px; height:20px; ">무통마취포함</caption>
  622. <select1 id="combo3" ref="/root/main/cond/perfdrid" class="combo_search" appearance="minimal" style="left:733px; top:31px; width:101px; height:19px; ">
  623. <choices>
  624. <itemset nodeset="/root/init/userlist2/usercombo">
  625. <label ref="usernm"/>
  626. <value ref="userid"/>
  627. </itemset>
  628. </choices>
  629. <script type="javascript" ev:event="xforms-value-changed">
  630. <![CDATA[
  631. ]]>
  632. </script>
  633. </select1>
  634. <caption id="caption19" class="search_name" style="left:661px; top:31px; width:83px; height:17px; vertical-align:middle; ">집도의 :</caption>
  635. <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" style="left:925px; top:30px; width:101px; height:19px; ">
  636. <choices>
  637. <itemset nodeset="/root/init/wardinfo/dept">
  638. <label ref="depthngnm"/>
  639. <value ref="deptcd"/>
  640. </itemset>
  641. </choices>
  642. </select1>
  643. <caption id="caption16" class="search_name" style="left:853px; top:30px; width:83px; height:17px; vertical-align:middle; ">병 동 :</caption>
  644. <datagrid id="grd_ward" nodeset="/root/main/opanstschelist/opanstschelist" visibility="hidden" caption="^levl^병실^등록번호^성명(표시명)^S/A^진단명^수술명^수술위치^수술일자^수술시작시간^수술종료시간^집도과^집도의^예상종료시간^협진^상태^수술방^수술구분^마취^취소사유^환자구분^수술예정시작시간^소요시간^진료과^주치의^입원일^마취자^퇴원일^심사자^심사여부^수술처방^로봇수술여부^퇴실일시^전달사항" colsep="^" colwidth="24, 0, 64, 100, 100, 62, 100, 100, 100, 84, 87, 87, 99, 90, 100, 55, 60, 71, 63, 57, 100, 67, 111, 70, 100, 90, 100, 150, 83, 100, 80, 60, 80, 130, 200" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="12" style="left:0px; top:155px; width:1194px; height:629px; text-align:center; ">
  645. <col/>
  646. <col ref="levl"/>
  647. <col ref="roomcd"/>
  648. <col ref="pid"/>
  649. <col ref="dispnm2" style="text-align:left; "/>
  650. <col ref="sa"/>
  651. <col ref="diagnm" style="text-align:left; "/>
  652. <col ref="opnm" style="text-align:left; "/>
  653. <col ref="opdirecflag"/>
  654. <col ref="opcnfmdd" format="yyyy-mm-dd"/>
  655. <col ref="opfromtmcd" format="hh:nn"/>
  656. <col ref="opendtmcd" format="hh:nn"/>
  657. <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:left; ">
  658. <choices>
  659. <itemset nodeset="/root/init/orddept/dept">
  660. <label ref="depthngnm"/>
  661. <value ref="deptcd"/>
  662. </itemset>
  663. </choices>
  664. </col>
  665. <col ref="perfdrnm"/>
  666. <col ref="fcstendtmcd" format="hh:nn"/>
  667. <col disabled="true" ref="cnstopflag" type="combo">
  668. <choices>
  669. <item>
  670. <label>Y</label>
  671. <value>Y</value>
  672. </item>
  673. <item>
  674. <label>N</label>
  675. <value/>
  676. </item>
  677. </choices>
  678. </col>
  679. <col disabled="true" ref="opstatcd" type="combo">
  680. <choices>
  681. <itemset nodeset="/root/init/M0015/M0015">
  682. <label ref="cdnm"/>
  683. <value ref="cdid"/>
  684. </itemset>
  685. </choices>
  686. </col>
  687. <col disabled="true" ref="oproomcd" type="combo">
  688. <choices>
  689. <itemset nodeset="/root/init/oproomlist/oproomlist">
  690. <label ref="oproomnm"/>
  691. <value ref="oproomcd"/>
  692. </itemset>
  693. </choices>
  694. </col>
  695. <col ref="opflagcd"/>
  696. <col disabled="true" ref="anstmthdcd" type="combo">
  697. <choices>
  698. <itemset nodeset="/root/init/M0017/M0017">
  699. <label ref="cdnm"/>
  700. <value ref="cdid"/>
  701. </itemset>
  702. </choices>
  703. </col>
  704. <col disabled="true" ref="cnclresncd" type="combo">
  705. <choices>
  706. <itemset nodeset="/root/init/M0356/M0356">
  707. <label ref="cdnm"/>
  708. <value ref="cdid"/>
  709. </itemset>
  710. </choices>
  711. </col>
  712. <col disabled="true" ref="oppatflagcd" type="combo" visibility="hidden">
  713. <choices>
  714. <itemset nodeset="/root/init/M0020/M0020">
  715. <label ref="cdnm"/>
  716. <value ref="cdid"/>
  717. </itemset>
  718. </choices>
  719. </col>
  720. <col ref="opschfromtmcd" visibility="hidden" format="hh:nn"/>
  721. <col ref="opusetm" visibility="hidden" format="hh:nn"/>
  722. <col disabled="true" ref="orddeptcd" type="combo" visibility="hidden" style="text-align:left; ">
  723. <choices>
  724. <itemset nodeset="/root/init/orddept/dept">
  725. <label ref="depthngnm"/>
  726. <value ref="deptcd"/>
  727. </itemset>
  728. </choices>
  729. </col>
  730. <col ref="medispclid" visibility="hidden"/>
  731. <col ref="indd" visibility="hidden" format="yyyy-mm-dd"/>
  732. <col disabled="true" ref="anstdrnm" visibility="hidden"/>
  733. <col ref="dschdd" visibility="hidden" format="yyyy-mm-dd"/>
  734. <col ref="judgmdlid" visibility="hidden"/>
  735. <col ref="judgflag" visibility="hidden"/>
  736. <col ref="opprcpyn" visibility="hidden"/>
  737. <col ref="robotopflag" visibility="hidden"/>
  738. <col ref="patoutroomdt" visibility="hidden"/>
  739. <col ref="delivefact" visibility="hidden"/>
  740. <script type="javascript" ev:event="ondblclick">
  741. <![CDATA[
  742. fSetOpPatTopInfo();
  743. ]]>
  744. </script>
  745. <script type="javascript" ev:event="onaftersort">
  746. <![CDATA[
  747. grd_ward.gridToInstance();
  748. ]]>
  749. </script>
  750. <script type="javascript" ev:event="oncopy">
  751. <![CDATA[
  752. // 그리드 내용 복사
  753. if (grd_ward.selectedRows == 1) { // 한줄
  754. var row = grd_ward.row;
  755. var col = grd_ward.col;
  756. if (col == grd_ward.colRef("pid") ) {
  757. var clip = grd_ward.labelMatrix(row, col);
  758. window.clipBoardData = clip;
  759. } else {
  760. grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
  761. }
  762. }
  763. else if (grd_ward.selectedRows > 1) { // 여러줄
  764. grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
  765. }
  766. ]]>
  767. </script>
  768. <script type="javascript" ev:event="onclick">
  769. <![CDATA[
  770. var col = grd_ward.col;
  771. var row = grd_ward.row;
  772. if(col == grd_ward.colRef("opprcpyn")) { // 수술처방유무
  773. if(model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/opprcpyn") == "Y") {
  774. model.makeValue("/root/send/reqdata/oprsrvno", model.getValue("/root/main/opanstschelist/opanstschelist["+ row +"]/oprsrvno"));
  775. if(submit("TRMMO05104")) {
  776. grp_oplist.visible = true;
  777. }
  778. }
  779. }
  780. ]]>
  781. </script>
  782. <script type="javascript" ev:event="onmousedown">
  783. <![CDATA[
  784. if (event.button == 3 ){
  785. window.setPopupMenu( true, "/root/main/menu/popup", "name", "func", false);
  786. }
  787. ]]>
  788. </script>
  789. <script type="javascript" ev:event="DOMFocusIn">
  790. <![CDATA[
  791. window.setPopupMenu(true);
  792. ]]>
  793. </script>
  794. <script type="javascript" ev:event="DOMFocusOut">
  795. <![CDATA[
  796. window.setPopupMenu(false);
  797. ]]>
  798. </script>
  799. </datagrid>
  800. <select1 id="radio2" ref="/root/main/cond/viewtype" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:590px; top:130px; width:185px; height:20px; font-weight:bold; border-style:none; ">
  801. <choices>
  802. <item>
  803. <label>수술/마취 부서용</label>
  804. <value>O</value>
  805. </item>
  806. <item>
  807. <label>병동용</label>
  808. <value>W</value>
  809. </item>
  810. </choices>
  811. <script type="javascript" ev:event="xforms-value-changed">
  812. <![CDATA[
  813. var viewtype = model.getValue("/root/main/cond/viewtype");
  814. if (viewtype == "O") {
  815. grd_opanstschelist.visible = true;
  816. grd_ward.visible = false;
  817. } else {
  818. grd_opanstschelist.visible = false;
  819. grd_ward.visible = true;
  820. }
  821. ]]>
  822. </script>
  823. </select1>
  824. <group id="group5" visibility="hidden" style="left:485px; top:395px; width:225px; height:50px; background-color:#87CEFA; ">
  825. <caption id="caption17" class="tit_2" style="left:0px; top:5px; width:188px; height:15px; ">차량번호를 입력하십시오.</caption>
  826. <input id="ipt_carno" ref="/root/temp/carno" class="input_default" maxlength="20" style="left:17px; top:25px; width:143px; height:19px; text-align:center; ">
  827. <script type="javascript" ev:event="onkeyup">
  828. <![CDATA[
  829. inputEnterKey("btn_prtlabel", "DOMActivate");
  830. ]]>
  831. </script>
  832. </input>
  833. <button id="btn_prtlabel" class="btn5_letter2" style="left:180px; top:5px; width:42px; height:19px; ">
  834. <caption>확인</caption>
  835. <script type="javascript" ev:event="DOMActivate">
  836. <![CDATA[
  837. var carno = model.getValue("/root/temp/carno");
  838. if( carno == "" ){
  839. messageBox("차량번호를","C001");
  840. return;
  841. }
  842. group5.visible = false;
  843. var flag = model.getValue("/root/main/cond/viewtype");
  844. if( flag == "O" ){
  845. var grdID = "grd_opanstschelist";
  846. }else{
  847. var grdID = "grd_ward";
  848. }
  849. var grdObj = document.controls.item(grdID);
  850. model.makeValue("/root/main/opanstschelist/opanstschelist["+ grdObj.row +"]/carno", carno);
  851. fPrint(grdObj);
  852. model.setValue("/root/temp/carno","");
  853. ipt_carno.refresh();
  854. ]]>
  855. </script>
  856. </button>
  857. <button id="button5" class="btn5_letter2" style="left:180px; top:25px; width:42px; height:19px; ">
  858. <caption>취소</caption>
  859. <script type="javascript" ev:event="DOMActivate">
  860. <![CDATA[
  861. model.setValue("/root/temp/carno","");
  862. group5.visible = false;
  863. ]]>
  864. </script>
  865. </button>
  866. </group>
  867. </xhtml:body>
  868. </xhtml:html>