SPMMO05800_수술마취확정취소.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  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. <main>
  10. <cond>
  11. <daynm/>
  12. <chrgdrnm/>
  13. </cond>
  14. <reqinfo>
  15. <rsrvappcncl>
  16. <status/>
  17. <oprsrvno/>
  18. <ophistno/>
  19. <aprvreqno/>
  20. <pid/>
  21. <perfdeptcd/>
  22. <perfdrid/>
  23. <oproomcd/>
  24. <opschedd/>
  25. <opusetm/>
  26. <diagcd/>
  27. <diagnm/>
  28. <opcd/>
  29. <opnm/>
  30. <delivefact/>
  31. <opfromtmcd/>
  32. <opendtmcd/>
  33. <reqrsnflag>C</reqrsnflag>
  34. <reqrsnflag2>H</reqrsnflag2>
  35. <reqrsncd/>
  36. <ccrtno/>
  37. <ccrtstat/>
  38. <anstmthdcd/>
  39. <anstdetlmthdcd/>
  40. <opstatcd/>
  41. <opposturecd/>
  42. <opdirecflag/>
  43. <oppatflagcd/>
  44. <opcntmdg/>
  45. <opdelivefact/>
  46. <opflagcd/>
  47. <hopetmflag/>
  48. <cntctel/>
  49. <opcnfmdd/>
  50. <cnstopflag/>
  51. <drgyn/>
  52. <drgno/>
  53. <drgnm/>
  54. </rsrvappcncl>
  55. </reqinfo>
  56. <getinfo/>
  57. <calendar/>
  58. <hopebox>
  59. <hopehour/>
  60. <hopemin/>
  61. <usehour/>
  62. <usemin/>
  63. </hopebox>
  64. <dailychrgdrlist/>
  65. </main>
  66. <send>
  67. <reqdata/>
  68. <savedata/>
  69. </send>
  70. <hidden/>
  71. <init>
  72. <userlist/>
  73. <hosprsncd/>
  74. <patrsncd/>
  75. <opchngcd/>
  76. <oproomlist/>
  77. <M0014/>
  78. <orddept/>
  79. <M0016/>
  80. <M0017/>
  81. <M0243/>
  82. <M0244/>
  83. <M0245/>
  84. <M0016/>
  85. <M0341/>
  86. <M0341/>
  87. <oppatflag/>
  88. <M0013/>
  89. <hardcodeS/>
  90. <hardcodeE/>
  91. <hardcodeJ/>
  92. <M0377/>
  93. </init>
  94. <temp>
  95. <M0356/>
  96. </temp>
  97. <tmp>
  98. <reqinfo/>
  99. <cnstopinfo/>
  100. </tmp>
  101. </root>
  102. </instance>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. fInitialize_SPMMO05800();
  106. ]]>
  107. </script>
  108. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  109. <submission id="TXMMO05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/getinfo"/>
  110. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  111. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  112. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  113. <submission id="TRMMO05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/tmp/reqinfo"/>
  114. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  115. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  116. <submission id="TRMMO00212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/calendar"/>
  117. <submission id="TRMMO00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dailychrgdrlist"/>
  118. <submission id="TRMMO05803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/tmp/cnstopinfo"/>
  119. </model>
  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="../../../com/commonweb/js/stringHelper.js"/>
  124. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  125. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  126. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO05800.js"/>
  127. </xhtml:head>
  128. <xhtml:body pagewidth="532" pageheight="480" guideline="1,523;2,471;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  129. <caption id="caption4" class="tit_2" style="left:0px; top:1px; width:159px; height:14px; ">수술마취 확정취소/변경</caption>
  130. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:516px; y2:15px; "/>
  131. <caption id="caption3" class="cell_1" style="left:0px; top:43px; width:79px; height:23px; text-align:left; vertical-align:middle; ">사 유</caption>
  132. <caption id="caption26" class="cell_1" style="left:0px; top:20px; width:79px; height:22px; text-align:left; vertical-align:middle; ">변경구분</caption>
  133. <select1 id="radio1" ref="/root/main/reqinfo/rsrvappcncl/reqrsnflag" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:82px; top:24px; width:160px; height:15px; border-style:none; ">
  134. <choices>
  135. <item>
  136. <label>수술취소</label>
  137. <value>C</value>
  138. </item>
  139. <item>
  140. <label>수술변경</label>
  141. <value>U</value>
  142. </item>
  143. </choices>
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. fChngCmbOpAnstCnclRsn();
  147. ]]>
  148. </script>
  149. </select1>
  150. <button id="btn_schecnfm" class="btn4_letter2" style="left:342px; top:445px; width:56px; height:22px; ">
  151. <caption>저장</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. fClkBtnSave();
  155. ]]>
  156. </script>
  157. </button>
  158. <button id="btn_schecncl" class="btn4_letter2" style="left:400px; top:445px; width:56px; height:22px; ">
  159. <caption>취소</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. opener.javascript.setParameter("SPMMO05800_rtn_useyn", "N");
  163. window.close();
  164. ]]>
  165. </script>
  166. </button>
  167. <caption id="caption10" class="cell_1" style="left:0px; top:166px; width:96px; height:23px; vertical-align:middle; ">수술시간</caption>
  168. <caption id="caption22" class="cell_1" style="left:225px; top:239px; width:108px; height:23px; vertical-align:middle; ">집도의</caption>
  169. <caption id="caption23" class="cell_1" style="left:0px; top:142px; width:96px; height:23px; vertical-align:middle; ">수술일</caption>
  170. <caption id="caption12" class="tit_2" style="left:2px; top:97px; width:151px; height:13px; vertical-align:middle; ">수술마취 변경내용</caption>
  171. <caption id="caption24" style="left:185px; top:170px; width:15px; height:20px; ">~</caption>
  172. <caption id="caption13" class="cell_1" style="left:0px; top:190px; width:96px; height:23px; vertical-align:middle; ">진단코드/명</caption>
  173. <caption id="caption25" class="cell_1" style="left:225px; top:142px; width:108px; height:23px; vertical-align:middle; ">수술방</caption>
  174. <caption id="caption14" class="cell_1" style="left:0px; top:214px; width:96px; height:23px; vertical-align:middle; ">수술코드/명</caption>
  175. <caption id="caption15" class="cell_1" style="left:0px; top:238px; width:96px; height:23px; vertical-align:middle; ">집도과</caption>
  176. <line id="line6" class="line_1" style="x1:0px; y1:112px; x2:516px; y2:112px; "/>
  177. <line id="line7" class="line_3" style="x1:0px; y1:441px; x2:516px; y2:441px; "/>
  178. <caption id="caption1" class="cell_1" style="left:0px; top:67px; width:79px; height:23px; text-align:left; vertical-align:middle; ">전달사항</caption>
  179. <input id="input7" ref="/root/main/reqinfo/rsrvappcncl/delivefact" style="left:81px; top:69px; width:433px; height:19px; "/>
  180. <input id="ipt_opschedd" ref="/root/main/reqinfo/rsrvappcncl/opschedd" inputtype="date" format="yyyy-mm-dd" style="left:98px; top:144px; width:124px; height:19px; ">
  181. <script type="javascript" ev:event="xforms-value-changed">
  182. <![CDATA[
  183. fReqDailyChrgAnstDr(ipt_opschedd.value);
  184. fGetCalendar(ipt_opschedd.value); // 2008.10.27
  185. fValidOpFlagCD();
  186. // 주석처리 사유: [요청번호: 847] 수술일자 변경 2010.06.25 kskim.
  187. // model.setValue("/root/main/opanstschechng/oproomcd", "");
  188. // model.setValue("/root/main/opanstschechng/opfromtmcd", "");
  189. // model.setValue("/root/main/opanstschechng/opendtmcd", "");
  190. model.refresh();
  191. ]]>
  192. </script>
  193. </input>
  194. <select1 id="ipt_oproomcd" ref="/root/main/reqinfo/rsrvappcncl/oproomcd" disabled="true" appearance="minimal" style="left:335px; top:144px; width:119px; height:19px; ">
  195. <choices>
  196. <itemset nodeset="/root/init/oproomlist/oproomlist">
  197. <label ref="oproomnm"/>
  198. <value ref="oproomcd"/>
  199. </itemset>
  200. </choices>
  201. <script type="javascript" ev:event="xforms-value-changed">
  202. <![CDATA[
  203. ]]>
  204. </script>
  205. </select1>
  206. <select1 id="cmb_opfromtmcd" ref="/root/main/reqinfo/rsrvappcncl/opfromtmcd" disabled="true" appearance="minimal" style="left:98px; top:169px; width:85px; height:19px; ">
  207. <choices>
  208. <itemset nodeset="/root/init/M0014/M0014">
  209. <label ref="cdnm"/>
  210. <value ref="cdid"/>
  211. </itemset>
  212. </choices>
  213. </select1>
  214. <select1 id="cmb_opendtmcd" ref="/root/main/reqinfo/rsrvappcncl/opendtmcd" disabled="true" appearance="minimal" style="left:198px; top:169px; width:85px; height:19px; ">
  215. <choices>
  216. <itemset nodeset="/root/init/M0014/M0014">
  217. <label ref="cdnm"/>
  218. <value ref="cdid"/>
  219. </itemset>
  220. </choices>
  221. </select1>
  222. <input id="ipt_opusetm" ref="/root/main/reqinfo/rsrvappcncl/opusetm" disabled="true" format="nn:ss" style="left:285px; top:169px; width:80px; height:19px; "/>
  223. <input id="ipt_diagcd" ref="/root/main/reqinfo/rsrvappcncl/diagcd" style="left:98px; top:193px; width:89px; height:19px; ">
  224. <script type="javascript" ev:event="onkeypress">
  225. <![CDATA[
  226. inputEnterKey("button2", "DOMActivate");
  227. ]]>
  228. </script>
  229. </input>
  230. <input id="ipt_diagnm" ref="/root/main/reqinfo/rsrvappcncl/diagnm" style="left:190px; top:193px; width:324px; height:19px; ">
  231. <script type="javascript" ev:event="onkeypress">
  232. <![CDATA[
  233. inputEnterKey("button3", "DOMActivate");
  234. ]]>
  235. </script>
  236. </input>
  237. <input id="ipt_opcd" ref="/root/main/reqinfo/rsrvappcncl/opcd" style="left:98px; top:217px; width:89px; height:19px; ">
  238. <script type="javascript" ev:event="onkeypress">
  239. <![CDATA[
  240. inputEnterKey("btn_opcd", "DOMActivate");
  241. ]]>
  242. </script>
  243. </input>
  244. <input id="ipt_opnm" ref="/root/main/reqinfo/rsrvappcncl/opnm" style="left:210px; top:217px; width:304px; height:19px; ">
  245. <script type="javascript" ev:event="onkeypress">
  246. <![CDATA[
  247. inputEnterKey("btn_opcd", "DOMActivate");
  248. ]]>
  249. </script>
  250. </input>
  251. <select1 id="cmb_perfdeptcd" ref="/root/main/reqinfo/rsrvappcncl/perfdeptcd" appearance="minimal" style="left:98px; top:241px; width:123px; height:19px; ">
  252. <choices>
  253. <itemset nodeset="/root/init/orddept/dept">
  254. <label ref="depthngnm"/>
  255. <value ref="deptcd"/>
  256. </itemset>
  257. </choices>
  258. <script type="javascript" ev:event="xforms-value-changed">
  259. <![CDATA[
  260. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_perfdeptcd.value, "0330");
  261. gSTATUS = 0; //global status가 0인 경우, 집도의가 변경이 되도 CaseCart가 뜨지 않음
  262. cmb_perfdrid.select(0); //집도과 변경에 의한 집도의 변경은 CaseCart를 띄우지 않음
  263. model.refresh();
  264. gSTATUS = 1;
  265. ]]>
  266. </script>
  267. </select1>
  268. <select1 id="cmb_perfdrid" ref="/root/main/reqinfo/rsrvappcncl/perfdrid" appearance="minimal" editmode="search" itemcount="15" style="left:335px; top:241px; width:119px; height:19px; ">
  269. <choices>
  270. <itemset nodeset="/root/init/userlist/usercombo">
  271. <label ref="usernm"/>
  272. <value ref="userid"/>
  273. </itemset>
  274. </choices>
  275. <script type="javascript" ev:event="xforms-value-changed">
  276. <![CDATA[
  277. if(gSTATUS == 1){
  278. fOpenCCrtSearchNoCond();
  279. }
  280. ]]>
  281. </script>
  282. </select1>
  283. <select1 id="radio2" ref="/root/main/reqinfo/rsrvappcncl/reqrsnflag2" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:82px; top:48px; width:160px; height:15px; border-style:none; ">
  284. <choices>
  285. <item>
  286. <label>병원사유</label>
  287. <value>H</value>
  288. </item>
  289. <item>
  290. <label>환자사유</label>
  291. <value>P</value>
  292. </item>
  293. </choices>
  294. <script type="javascript" ev:event="xforms-value-changed">
  295. <![CDATA[
  296. fChngCmbOpAnstCnclRsn();
  297. ]]>
  298. </script>
  299. </select1>
  300. <select1 id="cmb_rsncd" ref="/root/main/reqinfo/rsrvappcncl/reqrsncd" appearance="minimal" style="left:249px; top:46px; width:159px; height:19px; ">
  301. <choices>
  302. <itemset>
  303. <label ref="cdnm"/>
  304. <value ref="cdid"/>
  305. </itemset>
  306. </choices>
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. fInitOpAnstChngInfo(); // 수술마취 변경시 한가지 사유만이 반영됨
  310. fChngCmbRsnCD();
  311. ]]>
  312. </script>
  313. </select1>
  314. <button id="btn_openopsche" class="btn2_letter2" style="left:368px; top:169px; width:42px; height:19px; ">
  315. <caption>설정</caption>
  316. <script type="javascript" ev:event="DOMActivate">
  317. <![CDATA[
  318. fOpenOpScheTime();
  319. ]]>
  320. </script>
  321. </button>
  322. <button id="button1" class="btn4_letter2" style="left:458px; top:445px; width:56px; height:22px; ">
  323. <caption>종료</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. opener.javascript.setParameter("SPMMO05800_rtn_useyn", "N");
  327. window.close();
  328. ]]>
  329. </script>
  330. </button>
  331. <button id="button2" visibility="hidden" style="left:5px; top:447px; width:55px; height:20px; ">
  332. <caption>diagcd</caption>
  333. <script type="javascript" ev:event="DOMActivate">
  334. <![CDATA[
  335. fOpenDiagSearch("code");
  336. ]]>
  337. </script>
  338. </button>
  339. <button id="button3" visibility="hidden" style="left:55px; top:447px; width:55px; height:20px; ">
  340. <caption>diagnm</caption>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. fOpenDiagSearch("term");
  344. ]]>
  345. </script>
  346. </button>
  347. <input id="input1" ref="/root/main/reqinfo/rsrvappcncl/opcd" visibility="hidden" style="left:163px; top:448px; width:89px; height:19px; ">
  348. <script type="javascript" ev:event="onkeypress">
  349. <![CDATA[
  350. ]]>
  351. </script>
  352. </input>
  353. <button id="btn_opcd" disabled="true" visibility="hidden" style="left:105px; top:447px; width:100px; height:20px; ">
  354. <caption>btn_opcd</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. fOpenCcrtSearch();
  358. ]]>
  359. </script>
  360. </button>
  361. <caption id="caption2" class="cell_1" style="left:0px; top:262px; width:96px; height:23px; vertical-align:middle; ">마취방법</caption>
  362. <select1 id="cmb_anstmthdcd" ref="/root/main/reqinfo/rsrvappcncl/anstmthdcd" appearance="minimal" style="left:98px; top:265px; width:123px; height:19px; ">
  363. <choices>
  364. <itemset nodeset="/root/init/M0017/M0017">
  365. <label ref="cdnm"/>
  366. <value ref="cdid"/>
  367. </itemset>
  368. </choices>
  369. <script type="javascript" ev:event="xforms-value-changed">
  370. <![CDATA[
  371. fChngAnstMthdCmb(cmb_anstmthdcd , cmb_detlanstmthdcd , "/root/main/reqinfo/rsrvappcncl/anstdetlmthdcd");
  372. ]]>
  373. </script>
  374. </select1>
  375. <select1 id="cmb_detlanstmthdcd" ref="/root/main/reqinfo/rsrvappcncl/anstdetlmthdcd" visibility="visible" appearance="minimal" style="left:225px; top:265px; width:165px; height:19px; ">
  376. <choices>
  377. <itemset>
  378. <label ref="cdnm"/>
  379. <value ref="cdid"/>
  380. </itemset>
  381. </choices>
  382. </select1>
  383. <caption id="caption5" class="cell_1" style="left:0px; top:286px; width:96px; height:23px; vertical-align:middle; ">수술체위</caption>
  384. <caption id="caption6" class="cell_1" style="left:0px; top:334px; width:96px; height:23px; vertical-align:middle; ">수술창상</caption>
  385. <caption id="caption7" class="cell_1" style="left:225px; top:286px; width:108px; height:23px; vertical-align:middle; ">수술위치</caption>
  386. <caption id="caption8" class="cell_1" style="left:0px; top:358px; width:96px; height:23px; vertical-align:middle; ">전달사항</caption>
  387. <select1 id="cmb_opposture" ref="/root/main/reqinfo/rsrvappcncl/opposturecd" class="combo_search" appearance="minimal" style="left:98px; top:288px; width:123px; height:19px; ">
  388. <choices>
  389. <itemset nodeset="/root/init/M0016/M0016">
  390. <label ref="cdnm"/>
  391. <value ref="cdid"/>
  392. </itemset>
  393. </choices>
  394. </select1>
  395. <select1 id="cmb_opdirecflag" ref="/root/main/reqinfo/rsrvappcncl/opdirecflag" class="combo_search" appearance="minimal" style="left:335px; top:288px; width:119px; height:19px; ">
  396. <choices>
  397. <item>
  398. <label>Left</label>
  399. <value>L</value>
  400. </item>
  401. <item>
  402. <label>Right</label>
  403. <value>R</value>
  404. </item>
  405. <item>
  406. <label>Both</label>
  407. <value>B</value>
  408. </item>
  409. <item>
  410. <label>단일장기</label>
  411. <value>A</value>
  412. </item>
  413. <item>
  414. <label>기타(경추,요추,흉추)</label>
  415. <value>C</value>
  416. </item>
  417. </choices>
  418. </select1>
  419. <select1 id="cmb_opcnfmdg" ref="/root/main/reqinfo/rsrvappcncl/opcntmdg" appearance="minimal" style="left:98px; top:336px; width:416px; height:19px; ">
  420. <choices>
  421. <itemset nodeset="/root/init/M0341/M0341">
  422. <label ref="cdnm"/>
  423. <value ref="cdid"/>
  424. </itemset>
  425. </choices>
  426. </select1>
  427. <input id="ipt_delivefact" ref="/root/main/reqinfo/rsrvappcncl/opdelivefact" class="input_search" style="left:98px; top:359px; width:416px; height:19px; "/>
  428. <caption id="caption9" class="cell_1" style="left:0px; top:310px; width:96px; height:23px; vertical-align:middle; ">수술환자구분</caption>
  429. <select1 id="rdo_oppatflag" ref="/root/main/reqinfo/rsrvappcncl/oppatflagcd" navindex="8" appearance="full" cellspacing="6" cols="4" rows="1" overflow="visible" style="left:98px; top:312px; width:162px; height:20px; border-style:none; ">
  430. <choices>
  431. <itemset nodeset="/root/init/oppatflag/hardcd">
  432. <label ref="hardcdnm"/>
  433. <value ref="hardcd"/>
  434. </itemset>
  435. </choices>
  436. </select1>
  437. <button id="btn_ccrtsearch" class="icon_search" disabled="true" style="left:191px; top:218px; width:16px; height:16px; ">
  438. <caption/>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. // [요청번호: 13012 요청제목: 수술/마취 승인 이후 취소변경 의뢰 시 저장 시점에 유효한 정보가 아닌 경우 BLOCKING]
  442. // 유효한 수술명 및 코드가 입력되도록 로직 추가 2010.04.19 by 김광성(kskim)
  443. fOpenCcrtSearch();
  444. ]]>
  445. </script>
  446. </button>
  447. <caption id="caption11" class="cell_1" style="left:0px; top:118px; width:96px; height:23px; vertical-align:middle; ">수술구분</caption>
  448. <select1 id="rdo_opflag" ref="/root/main/reqinfo/rsrvappcncl/opflagcd" appearance="full" cols="3" rows="1" overflow="visible" style="left:99px; top:120px; width:179px; height:20px; border-style:none; ">
  449. <choices>
  450. <itemset nodeset="/root/init/M0013/M0013">
  451. <label ref="cdnm"/>
  452. <value ref="cdid"/>
  453. </itemset>
  454. </choices>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. if (ipt_opschedd.value != ""){
  458. fGetCalendar(ipt_opschedd.value);
  459. fValidOpFlagCD();
  460. }
  461. ]]>
  462. </script>
  463. </select1>
  464. <group id="group2" disabled="false" visibility="hidden" style="left:100px; top:75px; width:255px; height:130px; font-weight:bold; background-color:#ffffff; border-color:#000000; border-style:solid; ">
  465. <caption id="caption40" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">희망시간</caption>
  466. <button id="button4" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:159px; top:98px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  467. <caption>확인</caption>
  468. <script type="javascript" ev:event="DOMActivate">
  469. <![CDATA[
  470. fClkCnfmHopeTm();
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="button5" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:203px; top:98px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  475. <caption>취소</caption>
  476. <script type="javascript" ev:event="DOMActivate">
  477. <![CDATA[
  478. group2.attribute("visibility") = "hidden";
  479. radio1.disabled = false;
  480. cmb_rsncd.disabled = false;
  481. //rdo_opflag.disabled = false;
  482. btn_openopsche.disabled = false;
  483. btn_schecnfm.disabled = false;
  484. ]]>
  485. </script>
  486. </button>
  487. <caption id="caption41" style="left:5px; top:53px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">소요시간</caption>
  488. <select1 id="cmb_hopetmflag" ref="/root/main/reqinfo/rsrvappcncl/hopetmflag" class="combo_search" appearance="minimal" style="left:66px; top:4px; width:178px; height:19px; ">
  489. <choices>
  490. <itemset nodeset="/root/init/M0377/M0377">
  491. <label ref="cdnm"/>
  492. <value ref="cdid"/>
  493. </itemset>
  494. </choices>
  495. <script type="javascript" ev:event="xforms-value-changed">
  496. <![CDATA[
  497. fChngHopeTmFlag();
  498. ]]>
  499. </script>
  500. </select1>
  501. <caption id="caption43" style="left:114px; top:27px; width:20px; height:20px; ">시</caption>
  502. <caption id="caption44" style="left:195px; top:28px; width:20px; height:20px; ">분</caption>
  503. <caption id="caption45" style="left:114px; top:52px; width:20px; height:20px; ">시</caption>
  504. <caption id="caption46" style="left:195px; top:50px; width:20px; height:20px; ">분</caption>
  505. <input id="ipt_hopehour" ref="/root/main/hopebox/hopehour" imemode="disabled" maxlength="2" format="##" style="left:67px; top:27px; width:45px; height:19px; "/>
  506. <input id="ipt_usehour" ref="/root/main/hopebox/usehour" imemode="disabled" maxlength="2" format="##" style="left:67px; top:51px; width:45px; height:19px; "/>
  507. <caption id="caption42" style="left:6px; top:74px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">연락처</caption>
  508. <input id="ipt_cntctel" ref="/root/main/reqinfo/rsrvappcncl/cntctel" style="left:67px; top:75px; width:100px; height:19px; "/>
  509. <select1 id="cmb_hopemin" ref="/root/main/hopebox/hopemin" appearance="minimal" style="left:144px; top:27px; width:50px; height:19px; ">
  510. <choices>
  511. <item>
  512. <label>00</label>
  513. <value>00</value>
  514. </item>
  515. <item>
  516. <label>10</label>
  517. <value>10</value>
  518. </item>
  519. <item>
  520. <label>20</label>
  521. <value>20</value>
  522. </item>
  523. <item>
  524. <label>30</label>
  525. <value>30</value>
  526. </item>
  527. <item>
  528. <label>40</label>
  529. <value>40</value>
  530. </item>
  531. <item>
  532. <label>50</label>
  533. <value>50</value>
  534. </item>
  535. </choices>
  536. </select1>
  537. <select1 id="cmb_usemin" ref="/root/main/hopebox/usemin" appearance="minimal" style="left:144px; top:50px; width:50px; height:19px; ">
  538. <choices>
  539. <item>
  540. <label>00</label>
  541. <value>00</value>
  542. </item>
  543. <item>
  544. <label>10</label>
  545. <value>10</value>
  546. </item>
  547. <item>
  548. <label>20</label>
  549. <value>20</value>
  550. </item>
  551. <item>
  552. <label>30</label>
  553. <value>30</value>
  554. </item>
  555. <item>
  556. <label>40</label>
  557. <value>40</value>
  558. </item>
  559. <item>
  560. <label>50</label>
  561. <value>50</value>
  562. </item>
  563. </choices>
  564. </select1>
  565. </group>
  566. <caption id="caption61" style="left:0px; top:382px; width:96px; height:23px; text-align:center; vertical-align:middle; background-color:#ffcc99; ">DRG 적용</caption>
  567. <caption id="caption62" style="left:0px; top:406px; width:96px; height:23px; text-align:center; vertical-align:middle; background-color:#ffcc99; ">DRG 정보</caption>
  568. <button id="btn_drgmod" class="btn5_letter4" disabled="true" style="left:196px; top:385px; width:64px; height:19px; ">
  569. <caption>DRG수정</caption>
  570. <script type="javascript" ev:event="DOMActivate">
  571. <![CDATA[
  572. var drgyn = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/drgyn");
  573. if (drgyn != null && drgyn != "" && drgyn == "A"){
  574. var deptcd = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/perfdeptcd");
  575. setParameter("deptcd", deptcd);
  576. modal("SPMMO50300");
  577. }
  578. var drgno = model.getValue("/root/temp/drgno");
  579. var drgnm = model.getValue("/root/temp/drgnm");
  580. if (drgno != null && drgno != ""){
  581. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgno", drgno);
  582. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgnm", drgnm);
  583. }
  584. model.refresh();
  585. ]]>
  586. </script>
  587. </button>
  588. <select1 id="rdo_drgyn" ref="/root/main/reqinfo/rsrvappcncl/drgyn" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:100px; top:386px; width:95px; height:17px; border-style:none; ">
  589. <choices>
  590. <item>
  591. <label>예</label>
  592. <value>A</value>
  593. </item>
  594. <item>
  595. <label>아니오</label>
  596. <value>N</value>
  597. </item>
  598. </choices>
  599. <script type="javascript" ev:event="onclick">
  600. <![CDATA[
  601. var drgyn = model.getValue("/root/main/reqinfo/rsrvappcncl/drgyn");
  602. if (drgyn != null && drgyn != "" && drgyn == "A"){
  603. var deptcd = model.getValue("/root/main/reqinfo/rsrvappcncl/perfdeptcd");
  604. setParameter("deptcd", deptcd);
  605. modal("SPMMO50300");
  606. btn_drgmod.disabled = false;
  607. } else {
  608. model.makeValue("/root/main/reqinfo/rsrvappcncl/drgno", "");
  609. model.makeValue("/root/main/reqinfo/rsrvappcncl/drgnm", "");
  610. model.makeValue("/root/temp/drgno", "");
  611. model.makeValue("/root/temp/drgnm", "");
  612. btn_drgmod.disabled = true;
  613. }
  614. var drgno = model.getValue("/root/temp/drgno");
  615. var drgnm = model.getValue("/root/temp/drgnm");
  616. if (drgno != null && drgno != "") {
  617. model.makeValue("/root/main/reqinfo/rsrvappcncl/drgno", drgno);
  618. model.makeValue("/root/main/reqinfo/rsrvappcncl/drgnm", drgnm);
  619. } else {
  620. model.makeValue("/root/main/reqinfo/rsrvappcncl/drgyn", "N");
  621. }
  622. model.refresh();
  623. ]]>
  624. </script>
  625. </select1>
  626. <input id="ipt_drgno" ref="/root/main/reqinfo/rsrvappcncl/drgno" editable="false" style="left:98px; top:408px; width:51px; height:19px; text-align:center; "/>
  627. <input id="ipt_drgnm" ref="/root/main/reqinfo/rsrvappcncl/drgnm" style="left:150px; top:408px; width:364px; height:19px; "/>
  628. </xhtml:body>
  629. </xhtml:html>