SPMMO00200_수술마취의뢰.xrw 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720
  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. <fromdd/>
  12. <todd/>
  13. <opschedd/>
  14. <perfdeptcd/>
  15. <oproomcd/>
  16. <rgstnm/>
  17. <orddeptcd/>
  18. <pid/>
  19. <qflag/>
  20. <daynm/>
  21. <chrgdrnm/>
  22. <perfdrid/>
  23. </cond>
  24. <oprsrvinfo>
  25. <oprsrvinfo>
  26. <status/>
  27. <oprsrvno/>
  28. <ophistno/>
  29. <instcd/>
  30. <ophistcd/>
  31. <anstreqflag/>
  32. <pid/>
  33. <opstatcd/>
  34. <opschedd/>
  35. <opcnfmdd/>
  36. <orddeptcd/>
  37. <perfdeptcd/>
  38. <perfdrid/>
  39. <opflagcd/>
  40. <oppatflagcd/>
  41. <opusetm/>
  42. <opfromtmcd/>
  43. <opendtmcd/>
  44. <oproomcd/>
  45. <reopflag/>
  46. <opposturecd/>
  47. <anstmthdcd/>
  48. <anstdetlmthdcd/>
  49. <oppartcd>00</oppartcd>
  50. <cnstopflag/>
  51. <mainoprsrvno/>
  52. <opopenflag/>
  53. <patposplcecd/>
  54. <cnclresncd/>
  55. <ccrtno/>
  56. <ccrtstat/>
  57. <anstccrtno/>
  58. <anstccrtstat/>
  59. <sumflag/>
  60. <sumdt/>
  61. <rgstdeptcd/>
  62. <rgtdd/>
  63. <rgsttm/>
  64. <rgstrid/>
  65. <updtdeptcd/>
  66. <updtdd/>
  67. <updttm/>
  68. <updtrid/>
  69. <fstrgstrid/>
  70. <fstrgstdt/>
  71. <lastupdtrid/>
  72. <lastupdtdt/>
  73. <diagcd/>
  74. <dispdiagcd/>
  75. <diagnm/>
  76. <opcd/>
  77. <opnm/>
  78. <subopcd/>
  79. <subopnm/>
  80. <cntctel/>
  81. <delivefact/>
  82. <hngnm/>
  83. <sa/>
  84. <roomcd/>
  85. <ageflag/>
  86. <perfdrnm/>
  87. <insukind/>
  88. <suppkind/>
  89. <opdirecflag/>
  90. <opcntmdg/>
  91. <hopetmflag/>
  92. <prcpendflag/>
  93. <recendflag/>
  94. <painlessflag/>
  95. <angioflag/>
  96. <robotopflag/>
  97. <cancerflag/>
  98. <laparoflag/>
  99. <dsclabflag/>
  100. <calmflag/>
  101. <drgyn/>
  102. <drgno/>
  103. <drgnm/>
  104. </oprsrvinfo>
  105. </oprsrvinfo>
  106. <oprsrvlist>
  107. <oprsrvlist>
  108. <oprsrvno/>
  109. <ophistno/>
  110. <instcd/>
  111. <ophistcd/>
  112. <anstreqflag/>
  113. <pid/>
  114. <opstatcd/>
  115. <opschedd/>
  116. <opcnfmdd/>
  117. <orddeptcd/>
  118. <perfdeptcd/>
  119. <perfdrid/>
  120. <opflagcd/>
  121. <oppatflagcd/>
  122. <opusetm/>
  123. <opfromtmcd/>
  124. <opendtmcd/>
  125. <oproomcd/>
  126. <reopflag/>
  127. <opposturecd/>
  128. <anstmthdcd/>
  129. <deltanstmthdcd/>
  130. <oppartcd/>
  131. <cnstopflag/>
  132. <mainoprsrvno/>
  133. <opopenflag/>
  134. <patposplcecd/>
  135. <cnclresncd/>
  136. <ccrtno/>
  137. <ccrtstat/>
  138. <anstccrtno/>
  139. <anstccrtstat/>
  140. <sumflag/>
  141. <sumdt/>
  142. <rgstdeptcd/>
  143. <rgtdd/>
  144. <rgsttm/>
  145. <rgstrid/>
  146. <updtdeptcd/>
  147. <updtdd/>
  148. <updttm/>
  149. <updtrid/>
  150. <fstrgstrid/>
  151. <fstrgstdt/>
  152. <lastupdtrid/>
  153. <lastupdtdt/>
  154. <diagcd/>
  155. <opcd/>
  156. <subopcd/>
  157. <cntctel/>
  158. <delivefact/>
  159. <hngnm/>
  160. <sa/>
  161. <wardcd/>
  162. <insukind/>
  163. <suppkind/>
  164. <opdirecflag/>
  165. <opcntmdg/>
  166. <robotopflag/>
  167. <angioflag/>
  168. <cancerflag/>
  169. <laparoflag/>
  170. </oprsrvlist>
  171. </oprsrvlist>
  172. <opschereclist>
  173. <opschereclist>
  174. <status/>
  175. <opregstno/>
  176. <opregsthistno/>
  177. <opschehistcd/>
  178. <deptinnropflag/>
  179. <oppatflagcd/>
  180. <oproomcd/>
  181. <pid/>
  182. <perfdeptcd/>
  183. <perfdrid/>
  184. <opschedd/>
  185. <opfromtmcd/>
  186. <opendtmcd/>
  187. <anstmthdcd/>
  188. <refseq/>
  189. <opcd/>
  190. <diagcd/>
  191. <opnm/>
  192. <diagnm/>
  193. <oproomnm/>
  194. <opusetm/>
  195. <perfdrid/>
  196. <perfdrnm/>
  197. <hngnm/>
  198. <sex/>
  199. <age/>
  200. <brthdd/>
  201. <mpphontel/>
  202. <opregstremfact/>
  203. <fstrgstdt/>
  204. </opschereclist>
  205. </opschereclist>
  206. <diaglist>
  207. <diaglist>
  208. <status/>
  209. <oprsrvno/>
  210. <dispdiagcd/>
  211. <diagcd/>
  212. <diagengnm/>
  213. <diaghngnm/>
  214. </diaglist>
  215. </diaglist>
  216. <infecpatlist>
  217. <infecpatlist/>
  218. </infecpatlist>
  219. <dailychrgdrlist>
  220. <dailychrgdrlist/>
  221. </dailychrgdrlist>
  222. <hopebox>
  223. <hopehour/>
  224. <hopemin/>
  225. <usehour/>
  226. <usemin/>
  227. </hopebox>
  228. <calendar/>
  229. <topinfo/>
  230. <rgstinfo/>
  231. <cond1>
  232. <fromdd/>
  233. <todd/>
  234. <pid/>
  235. <oproomcd/>
  236. <orddeptcd/>
  237. <perfdrid/>
  238. </cond1>
  239. <patinfo>
  240. <patinfolist>
  241. <pid/>
  242. </patinfolist>
  243. </patinfo>
  244. </main>
  245. <send>
  246. <reqdata/>
  247. <savedata>
  248. <rsrvinfo/>
  249. <diaginfo/>
  250. </savedata>
  251. </send>
  252. <hidden/>
  253. <init>
  254. <M0013/>
  255. <M0016/>
  256. <M0017/>
  257. <M0020/>
  258. <M0022/>
  259. <M0237/>
  260. <M0238/>
  261. <M0239/>
  262. <M0240/>
  263. <M0241/>
  264. <M0242/>
  265. <M0243/>
  266. <M0244/>
  267. <M0245/>
  268. <M0258/>
  269. <M0341/>
  270. <M0377/>
  271. <M0357/>
  272. <orddept/>
  273. <orddept2/>
  274. <orddept3/>
  275. <oproomlist/>
  276. <oproomlist2/>
  277. <userlist/>
  278. <hardcd/>
  279. <M0014/>
  280. <userlist2/>
  281. <oppatflag/>
  282. <chkoffday/>
  283. <chkopcnfmtm/>
  284. <hard/>
  285. <hardcodeS/>
  286. <hardcodeE/>
  287. <hardcodeI/>
  288. <hardcodeJ/>
  289. <userlist5/>
  290. </init>
  291. <temp>
  292. <oprsrvinfo/>
  293. <moprsrvno/>
  294. </temp>
  295. <paminfo>
  296. <list/>
  297. </paminfo>
  298. <patflag>
  299. <list/>
  300. </patflag>
  301. <popupmenu>
  302. <menu>
  303. <item>
  304. <name>삭제</name>
  305. <func>fDelOpPrevDiag</func>
  306. </item>
  307. </menu>
  308. <menu2>
  309. <item>
  310. <name>취소</name>
  311. <func>fDelOpRsrvCncl</func>
  312. </item>
  313. </menu2>
  314. </popupmenu>
  315. <patordinfo>
  316. <patordinfolist/>
  317. </patordinfo>
  318. </root>
  319. </instance>
  320. <script type="javascript" ev:event="xforms-ready">
  321. <![CDATA[
  322. //fInitialize_SPMMO00200();
  323. /* model.setValue("/root/main/cond1/oproomcd" , "-");
  324. model.setValue("/root/main/cond1/orddeptcd" , "-");
  325. model.setValue("/root/main/cond1/pid" , "");
  326. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist5", combo4.value, "0330");
  327. addComboInstance("/root/init/userlist5", "userid^usernm", "-^전체", "usercombo"); //조회용 집도의 전체항목 추가
  328. model.refresh();*/
  329. ]]>
  330. </script>
  331. <script type="javascript" ev:event="xforms-model-construct-done">
  332. <![CDATA[
  333. // alert(getUserInfo("jobkindcd"));
  334. // 사용자 직종에 따른 권한 버튼 처리.
  335. // 의사 : 0330
  336. //의사가 아닌경우 신규, 임시저장, 인증저장, 예약취소, 취소변경 버튼 비활성화 (LWS)
  337. fGethardcdArrayList(new Array(
  338. "drkindcd|69" ,
  339. "oppatflag|84",
  340. "chkopcnfmtm|102",
  341. "chkoffday|103",
  342. "hardcd|18",
  343. "hardcodeS|116",
  344. "hardcodeE|117",
  345. "hardcodeJ|120"
  346. ),
  347. new Array(
  348. "root/init",
  349. "root/init",
  350. "root/init",
  351. "root/init",
  352. "root/init",
  353. "root/init",
  354. "root/init",
  355. "root/init"
  356. )
  357. );
  358. var jobkindcd = model.getValue("/root/init/drkindcd/hardcd[hardcd='" + getUserInfo("jobkindcd") + "']/hardcd");
  359. // if (jobkindcd != "0330" && jobkindcd != "0332" ) // 2008.09.25 직종이 의사 또는 치과의사 //2008.09.27 or 조건을 and 조건으로 변경(JJE)
  360. if (jobkindcd = "" ) { // hardcode table로 뺌 // 2010. 12. 13 // 김영학
  361. btn_new.disabled = "true";
  362. btn_tempsave.disabled = "true";
  363. btn_certsave.disabled = "true";
  364. btn_rsrvcncl.disabled = "true";
  365. button1.disabled = "true";
  366. }
  367. fInitialize_SPMMO00200();
  368. ]]>
  369. </script>
  370. <submission id="TXMMO00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/oprsrvlist"/>
  371. <submission id="TXMMO00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/rsrvcnclinfo" resultref="/root/main/oprsrvlist"/>
  372. <submission id="TRMMO00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oprsrvlist"/>
  373. <submission id="TRMMO05701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opschereclist"/>
  374. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  375. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  376. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  377. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  378. <submission id="TRMMO00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaglist"/>
  379. <submission id="TRMMO00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/patordinfo"/>
  380. <submission id="TRMMO00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
  381. <bind id="bind1" ref="/root/main/diaglist/diaglist/dispdiagcd" readonly="../status != &quot;&quot;"/>
  382. <submission id="TRMMO04108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/infecpatlist"/>
  383. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  384. <submission id="TRMMO00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dailychrgdrlist"/>
  385. <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/schereglist"/>
  386. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  387. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  388. <submission id="TRMMO00212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/calendar"/>
  389. <submission id="TRMMO00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/topinfo"/>
  390. <submission id="TRMMO00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rgstinfo"/>
  391. <submission id="TRMMO00215" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/patordinfo"/>
  392. <submission id="TRMMO04202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/topinfo"/>
  393. <submission id="TRMMO04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/topinfo"/>
  394. <submission id="TRMMB04107" mediatype="application/x-www-form-urlencoded" method="post"/>
  395. <submission id="TRMMO00230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/oprsrvinfo/oprsrvinfo" resultref="/root/temp/moprsrvno"/>
  396. <submission id="TRMMO00218" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/drginfo"/>
  397. </model>
  398. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  399. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  400. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  401. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  402. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  403. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  404. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  405. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  406. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO00200.js"/>
  407. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
  408. </xhtml:head>
  409. <xhtml:body guideline="1,1197;1,445;1,441;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  410. <button id="button5" class="icon_search" style="left:620px; top:663px; width:16px; height:16px; ">
  411. <caption/>
  412. <script type="javascript" ev:event="DOMActivate">
  413. <![CDATA[
  414. fOpenSubCcrtSearch();
  415. ]]>
  416. </script>
  417. </button>
  418. <button id="button61" class="icon_search" style="left:620px; top:639px; width:16px; height:16px; ">
  419. <caption/>
  420. <script type="javascript" ev:event="DOMActivate">
  421. <![CDATA[
  422. fOpenCcrtSearch();
  423. ]]>
  424. </script>
  425. </button>
  426. <line id="line7" class="line_2" style="x1:444px; y1:682px; x2:1194px; y2:682px; "/>
  427. <line id="line6" class="line_2" style="x1:444px; y1:658px; x2:1194px; y2:658px; "/>
  428. <select1 id="cmb_opcnfmdg" ref="/root/main/oprsrvinfo/oprsrvinfo/opcntmdg" appearance="minimal" style="left:526px; top:711px; width:445px; height:19px; ">
  429. <choices>
  430. <itemset nodeset="/root/init/M0341/M0341">
  431. <label ref="cdnm"/>
  432. <value ref="cdid"/>
  433. </itemset>
  434. </choices>
  435. </select1>
  436. <input id="ipt_diagnm" class="input_search" style="left:619px; top:536px; width:510px; height:19px; ">
  437. <script type="javascript" ev:event="onkeypress">
  438. <![CDATA[
  439. inputEnterKey("btn_diagnm", "DOMActivate");
  440. ]]>
  441. </script>
  442. </input>
  443. <input id="ipt_diagcd" class="input_search" style="left:526px; top:536px; width:90px; height:19px; ">
  444. <script type="javascript" ev:event="onkeypress">
  445. <![CDATA[
  446. inputEnterKey("btn_diagcd", "DOMActivate");
  447. ]]>
  448. </script>
  449. </input>
  450. <datagrid id="grd_diaglist" nodeset="/root/main/diaglist/diaglist" caption="^oprsrvno^진단코드^diagcd^영문명^한글명" colsep="^" colwidth="49, 0, 93, 0, 245, 267" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:526px; top:534px; width:669px; height:76px; ">
  451. <col disabled="true" ref="status" type="combo">
  452. <choices>
  453. <item>
  454. <label>-</label>
  455. <value>-</value>
  456. </item>
  457. <item>
  458. <label>신규</label>
  459. <value>i</value>
  460. </item>
  461. <item>
  462. <label>수정</label>
  463. <value>u</value>
  464. </item>
  465. <item>
  466. <label>삭제</label>
  467. <value>d</value>
  468. </item>
  469. </choices>
  470. </col>
  471. <col ref="oprsrvno"/>
  472. <col ref="dispdiagcd" type="input"/>
  473. <col ref="diagcd"/>
  474. <col ref="diagengnm" type="input"/>
  475. <col ref="diaghngnm" type="input"/>
  476. <script type="javascript" ev:event="onendedit">
  477. <![CDATA[
  478. fOpenSearchDiag();
  479. ]]>
  480. </script>
  481. <script type="javascript" ev:event="onmousedown">
  482. <![CDATA[
  483. setPopupMenu("grd_diaglist", false, "/root/popupmenu/menu/item", "name", "func");
  484. ]]>
  485. </script>
  486. <script type="javascript" ev:event="DOMFocusOut">
  487. <![CDATA[
  488. initPopupMenu();
  489. ]]>
  490. </script>
  491. <script type="javascript" ev:event="ondblclick">
  492. <![CDATA[
  493. var currow = grd_diaglist.row;
  494. var status = model.getValue("/root/main/diaglist/diaglist[" + currow + "]/status");
  495. if(status == "-"){
  496. grd_diaglist.endEditCell();
  497. }
  498. ]]>
  499. </script>
  500. </datagrid>
  501. <datagrid id="grd_oprsrvlist" nodeset="/root/main/oprsrvlist/oprsrvlist" caption="상태^구분^수술실^수술일자^aprvreqno^reqrsncd^시간^소요시간^진료과^집도과^집도의^등록번호^성명^S/A^병실^진단명^수술명^hopetmflag^취소사유^status^oprsrvno^ophistno^instcd^ophistcd^anstreqflag^opcnfmdd^perfdrid^opflagcd^opendtmcd^reopflag^opposturecd^anstmthdcd^anstdetlmthdcd^oppartcd^cnstopflag^mainoprsrvno^opopenflag^patposplcecd^ccrtno^ccrtstat^anstccrtno^anstccrtstat^sumflag^sumdt^diagcd^dispdiagcd^opcd^subopcd^subopnm^cntctel^delivefact^ageflag^insukind^suppkind^opdirecflag^opcntmdg" colsep="^" colwidth="50, 65, 69, 72, 0, 0, 80, 64, 78, 78, 63, 81, 80, 50, 70, 163, 160, 0, 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,0,0,0,0,0,0,0,0,0" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:445px; top:73px; width:750px; height:312px; ">
  502. <col disabled="true" ref="opstatcd" type="combo">
  503. <choices>
  504. <item>
  505. <label>임시</label>
  506. <value>00</value>
  507. </item>
  508. <item>
  509. <label>의뢰</label>
  510. <value>10</value>
  511. </item>
  512. <item>
  513. <label>임시취소</label>
  514. <value>19</value>
  515. </item>
  516. <item>
  517. <label>가확정</label>
  518. <value>15</value>
  519. </item>
  520. <item>
  521. <label>확정</label>
  522. <value>20</value>
  523. </item>
  524. <item>
  525. <label>확정취소</label>
  526. <value>29</value>
  527. </item>
  528. <item>
  529. <label>대기</label>
  530. <value>30</value>
  531. </item>
  532. <item>
  533. <label>준비취소</label>
  534. <value>39</value>
  535. </item>
  536. <item>
  537. <label>수술중</label>
  538. <value>40</value>
  539. </item>
  540. <item>
  541. <label>진행취소</label>
  542. <value>49</value>
  543. </item>
  544. <item>
  545. <label>퇴실</label>
  546. <value>50</value>
  547. </item>
  548. <item>
  549. <label>회복중</label>
  550. <value>60</value>
  551. </item>
  552. <item>
  553. <label>회복퇴실</label>
  554. <value>70</value>
  555. </item>
  556. </choices>
  557. </col>
  558. <col disabled="true" ref="oppatflagcd" type="combo" style="text-align:center; ">
  559. <choices>
  560. <itemset nodeset="/root/init/M0020/M0020">
  561. <label ref="cdnm"/>
  562. <value ref="cdid"/>
  563. </itemset>
  564. </choices>
  565. </col>
  566. <col disabled="true" ref="oproomcd" type="combo" style="text-align:center; ">
  567. <choices>
  568. <itemset nodeset="/root/init/oproomlist/oproomlist">
  569. <label ref="oproomnm"/>
  570. <value ref="oproomcd"/>
  571. </itemset>
  572. </choices>
  573. </col>
  574. <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  575. <col ref="aprvreqno"/>
  576. <col ref="reqrsncd"/>
  577. <col disabled="true" ref="opfromtmcd" format="hh:nn" style="text-align:center; "/>
  578. <col ref="opusetm" format="hh:nn" style="text-align:center; "/>
  579. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  580. <choices>
  581. <itemset nodeset="/root/init/orddept/dept">
  582. <label ref="depthngnm"/>
  583. <value ref="deptcd"/>
  584. </itemset>
  585. </choices>
  586. </col>
  587. <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:center; ">
  588. <choices>
  589. <itemset nodeset="/root/init/orddept/dept">
  590. <label ref="depthngnm"/>
  591. <value ref="deptcd"/>
  592. </itemset>
  593. </choices>
  594. </col>
  595. <col disabled="true" ref="perfdrnm" style="text-align:center; "/>
  596. <col ref="pid" style="text-align:center; "/>
  597. <col ref="hngnm" style="text-align:left; "/>
  598. <col disabled="true" ref="sa" style="text-align:center; "/>
  599. <col disabled="true" ref="roomcd" style="text-align:center; "/>
  600. <col ref="diagnm" style="text-align:center; "/>
  601. <col ref="opnm" style="text-align:center; "/>
  602. <col ref="hopetmflag"/>
  603. <col disabled="true" ref="cnclresncd" type="combo" style="text-align:center; ">
  604. <choices>
  605. <itemset nodeset="/root/init/M00022/M0022">
  606. <label ref="cdnm"/>
  607. <value ref="cdid"/>
  608. </itemset>
  609. </choices>
  610. </col>
  611. <col ref="status"/>
  612. <col ref="oprsrvno"/>
  613. <col ref="ophistno"/>
  614. <col ref="instcd"/>
  615. <col ref="ophistcd"/>
  616. <col ref="anstreqflag"/>
  617. <col ref="opcnfmdd"/>
  618. <col ref="perfdrid"/>
  619. <col ref="opflagcd"/>
  620. <col ref="opendtmcd"/>
  621. <col ref="reopflag"/>
  622. <col ref="opposturecd"/>
  623. <col ref="anstmthdcd"/>
  624. <col ref="anstdetlmthdcd"/>
  625. <col ref="oppartcd"/>
  626. <col ref="cnstopflag"/>
  627. <col ref="mainoprsrvno"/>
  628. <col ref="opopenflag"/>
  629. <col ref="patposplcecd"/>
  630. <col ref="ccrtno"/>
  631. <col ref="ccrtstat"/>
  632. <col ref="anstccrtno"/>
  633. <col ref="anstccrtstat"/>
  634. <col ref="sumflag"/>
  635. <col ref="sumdt"/>
  636. <col ref="diagcd"/>
  637. <col ref="dispdiagcd"/>
  638. <col ref="opcd"/>
  639. <col ref="subopcd"/>
  640. <col ref="subopnm"/>
  641. <col ref="cntctel"/>
  642. <col ref="delivefact"/>
  643. <col ref="ageflag"/>
  644. <col ref="insukind"/>
  645. <col ref="suppkind"/>
  646. <col ref="opdirecflag"/>
  647. <col ref="opcntmdg"/>
  648. <script type="javascript" ev:event="onmousedown">
  649. <![CDATA[
  650. var reqrsncd = model.getValue(sOPRSRVLIST_PATH + "[" + grd_oprsrvlist.row + "]/reqrsncd");
  651. if (!isNull(reqrsncd)) {
  652. if( !(reqrsncd == "314" || reqrsncd == "315") ) // [요청번호: 847] 취소변경 사유(수술일자 변경)가 314, 315일 경우 취소제외 by 박영우 2010.07.09
  653. setPopupMenu("grd_oprsrvlist", false, "/root/popupmenu/menu2/item", "name", "func");
  654. }
  655. ]]>
  656. </script>
  657. <script type="javascript" ev:event="DOMFocusOut">
  658. <![CDATA[
  659. initPopupMenu();
  660. ]]>
  661. </script>
  662. <script type="javascript" ev:event="onaftersort">
  663. <![CDATA[
  664. grd_oprsrvlist.gridToInstance();
  665. ]]>
  666. </script>
  667. <script type="javascript" ev:event="ondblclick">
  668. <![CDATA[
  669. if(grd_oprsrvlist.isCell(event.target)==false){
  670. return;
  671. }
  672. if(grd_oprsrvlist.row < 1){
  673. return;
  674. }
  675. var currow = grd_oprsrvlist.row;
  676. fClkGrdOpRsrvList(currow);
  677. ]]>
  678. </script>
  679. </datagrid>
  680. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:441px; height:81px; background-color:#fffbf2; border-color:#ffd799; "/>
  681. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:445px; top:1px; width:749px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  682. <caption id="caption1" class="search_name" style="left:973px; top:14px; width:93px; height:17px; ">수술실 :</caption>
  683. <caption id="caption2" class="search_name" style="left:451px; top:14px; width:99px; height:17px; ">예약일자 :</caption>
  684. <select1 id="combo2" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:1048px; top:13px; width:70px; height:19px; ">
  685. <choices>
  686. <itemset nodeset="/root/init/oproomlist2/oproomlist">
  687. <label ref="oproomnm"/>
  688. <value ref="oproomcd"/>
  689. </itemset>
  690. </choices>
  691. </select1>
  692. <caption id="caption48" class="tit_2" style="left:449px; top:53px; width:126px; height:13px; ">수술예약자 리스트</caption>
  693. <input id="input6" ref="/root/main/cond/opschedd" inputtype="date" style="left:539px; top:13px; width:91px; height:19px; "/>
  694. <caption id="caption4" class="tit_2" style="left:450px; top:394px; width:126px; height:13px; ">수술예약정보</caption>
  695. <line id="line2" class="line_1" style="x1:445px; y1:408px; x2:1195px; y2:408px; "/>
  696. <caption id="caption15" class="cell_1" style="left:625px; top:414px; width:79px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
  697. <caption id="caption26" class="cell_1" style="left:444px; top:414px; width:79px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  698. <caption id="caption27" class="cell_1" style="left:807px; top:414px; width:79px; height:23px; text-align:center; vertical-align:middle; ">Sex/Age</caption>
  699. <caption id="caption28" class="cell_1" style="left:983px; top:415px; width:79px; height:23px; text-align:center; vertical-align:middle; ">병 실</caption>
  700. <caption id="caption18" class="cell_1" style="left:444px; top:462px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술구분</caption>
  701. <caption id="caption3" class="cell_1" style="left:444px; top:438px; width:79px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
  702. <caption id="caption5" class="cell_1" style="left:625px; top:438px; width:79px; height:23px; text-align:center; vertical-align:middle; ">집 도 과</caption>
  703. <caption id="caption6" class="cell_1" style="left:807px; top:438px; width:79px; height:23px; text-align:center; vertical-align:middle; ">집 도 의</caption>
  704. <caption id="caption7" class="cell_1" style="left:807px; top:486px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술환자구분</caption>
  705. <caption id="caption8" class="cell_1" style="left:444px; top:486px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술예정일자</caption>
  706. <caption id="caption9" class="cell_1" style="left:807px; top:510px; width:79px; height:23px; text-align:center; vertical-align:middle; ">소요시간</caption>
  707. <caption id="caption10" class="cell_1" style="left:444px; top:510px; width:79px; height:23px; text-align:center; vertical-align:middle; ">시작시간</caption>
  708. <caption id="caption11" class="cell_1" style="left:625px; top:487px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수 술 방</caption>
  709. <caption id="caption13" class="cell_1" style="left:444px; top:534px; width:79px; height:77px; text-align:center; vertical-align:middle; ">수술전진단</caption>
  710. <caption id="caption14" class="cell_1" style="left:444px; top:636px; width:79px; height:23px; text-align:center; vertical-align:middle; ">예정수술명</caption>
  711. <caption id="caption16" class="cell_1" style="left:444px; top:660px; width:79px; height:23px; text-align:center; vertical-align:middle; ">부수술명</caption>
  712. <caption id="caption17" class="cell_1" style="left:444px; top:684px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술체위</caption>
  713. <caption id="caption19" class="cell_1" style="left:800px; top:684px; width:79px; height:23px; text-align:center; vertical-align:middle; ">마취방법</caption>
  714. <button id="button6" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:920px; top:465px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  715. <caption>과거의뢰내역</caption>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. fClkBtnCnstPastHist();
  719. ]]>
  720. </script>
  721. </button>
  722. <caption id="caption20" class="cell_1" style="left:983px; top:439px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술공개</caption>
  723. <caption id="caption22" class="cell_1" style="left:444px; top:732px; width:79px; height:23px; text-align:center; vertical-align:middle; ">전달사항</caption>
  724. <caption id="caption23" class="cell_1" style="left:975px; top:711px; width:110px; height:44px; text-align:center; vertical-align:middle; ">작 성 자</caption>
  725. <line id="line1" class="line_1" style="x1:445px; y1:68px; x2:1195px; y2:68px; "/>
  726. <caption id="caption24" class="tit_2" style="left:0px; top:93px; width:100px; height:13px; ">수술예약장부</caption>
  727. <line id="line3" class="line_1" style="x1:0px; y1:108px; x2:441px; y2:108px; "/>
  728. <button id="btn_detlvw" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:361px; top:85px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  729. <caption>상세조회</caption>
  730. <script type="javascript" ev:event="DOMActivate">
  731. <![CDATA[
  732. var width = grd_opschelist.attribute("width");
  733. if(width == "441px"){
  734. width = "1194px";
  735. }else{
  736. width = "441px";
  737. }
  738. grd_opschelist.attribute("width") = width;
  739. grd_opschelist.rebuild();
  740. ]]>
  741. </script>
  742. </button>
  743. <output id="opt_sa" ref="/root/main/oprsrvinfo/oprsrvinfo/sa" class="output_fix" style="left:888px; top:416px; width:94px; height:19px; "/>
  744. <input id="ipt_room" ref="/root/main/oprsrvinfo/oprsrvinfo/roomcd" class="input_search" disabled="true" style="left:1064px; top:416px; width:130px; height:19px; "/>
  745. <select1 id="cmb_orddept" ref="/root/main/oprsrvinfo/oprsrvinfo/orddeptcd" class="combo" appearance="minimal" itemcount="8" style="left:525px; top:439px; width:98px; height:19px; ">
  746. <choices>
  747. <itemset nodeset="/root/init/orddept2/dept">
  748. <label ref="depthngnm"/>
  749. <value ref="deptcd"/>
  750. </itemset>
  751. </choices>
  752. </select1>
  753. <select1 id="rdo_opopen" ref="/root/main/oprsrvinfo/oprsrvinfo/opopenflag" appearance="full" cellspacing="15" cols="2" rows="1" overflow="visible" style="left:1064px; top:441px; width:117px; height:20px; border-style:none; ">
  754. <choices>
  755. <item>
  756. <label>공개</label>
  757. <value>Y</value>
  758. </item>
  759. <item>
  760. <label>비공개</label>
  761. <value>N</value>
  762. </item>
  763. </choices>
  764. </select1>
  765. <select1 id="rdo_opflag" ref="/root/main/oprsrvinfo/oprsrvinfo/opflagcd" appearance="full" cellspacing="10" cols="3" rows="1" overflow="visible" style="left:526px; top:464px; width:154px; height:20px; border-style:none; ">
  766. <choices>
  767. <itemset nodeset="/root/init/M0013/M0013">
  768. <label ref="cdnm"/>
  769. <value ref="cdid"/>
  770. </itemset>
  771. </choices>
  772. <script type="javascript" ev:event="xforms-value-changed">
  773. <![CDATA[
  774. if (ipt_opschedd.value != ""){
  775. fGetCalendar(ipt_opschedd.value);
  776. fValidOpFlagCD();
  777. }
  778. // 협진의뢰 시 수술구분정보 체크(협진의 경우 당일에도 추가 가능) 2010.06.17 kskim
  779. fCheckCnstOpFlag();
  780. ]]>
  781. </script>
  782. </select1>
  783. <input id="ipt_usetm" ref="/root/main/oprsrvinfo/oprsrvinfo/opusetm" class="input_search" disabled="true" format="hh:nn" style="left:888px; top:512px; width:55px; height:19px; "/>
  784. <button id="btn_tmsetup" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:741px; top:513px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  785. <caption>시간설정</caption>
  786. <script type="javascript" ev:event="DOMActivate">
  787. <![CDATA[
  788. fClkBtnSetTime();
  789. ]]>
  790. </script>
  791. </button>
  792. <input id="ipt_subopnm" ref="/root/main/oprsrvinfo/oprsrvinfo/subopnm" class="input_search" style="left:637px; top:661px; width:558px; height:19px; ">
  793. <script type="javascript" ev:event="onkeypress">
  794. <![CDATA[
  795. //inputEnterKey("btn_subopcd", "DOMActivate");
  796. ]]>
  797. </script>
  798. </input>
  799. <input id="ipt_writ" ref="/root/main/cond/rgstnm" class="input_s_essential" disabled="true" style="left:1090px; top:711px; width:105px; height:19px; "/>
  800. <input id="ipt_pid" ref="/root/main/oprsrvinfo/oprsrvinfo/pid" class="input_search" style="left:525px; top:416px; width:80px; height:19px; ">
  801. <script type="javascript" ev:event="onkeydown">
  802. <![CDATA[
  803. inputEnterKey("btn_patinfo", "DOMActivate");
  804. ]]>
  805. </script>
  806. </input>
  807. <output id="opt_patnm" ref="/root/main/oprsrvinfo/oprsrvinfo/hngnm" class="output_fix" style="left:706px; top:416px; width:99px; height:19px; text-align:left; "/>
  808. <caption id="caption21" style="left:626px; top:513px; width:15px; height:20px; ">~</caption>
  809. <select1 id="cmb_opfromtmcd" ref="/root/main/oprsrvinfo/oprsrvinfo/opfromtmcd" class="combo_search" disabled="true" appearance="minimal" style="left:526px; top:513px; width:97px; height:19px; ">
  810. <choices>
  811. <itemset nodeset="/root/init/M0014/M0014">
  812. <label ref="cdnm"/>
  813. <value ref="cdid"/>
  814. </itemset>
  815. </choices>
  816. <script type="javascript" ev:event="xforms-value-changed">
  817. <![CDATA[
  818. ]]>
  819. </script>
  820. </select1>
  821. <select1 id="cmb_opendtmcd" ref="/root/main/oprsrvinfo/oprsrvinfo/opendtmcd" class="combo_search" disabled="true" appearance="minimal" style="left:642px; top:513px; width:97px; height:19px; ">
  822. <choices>
  823. <itemset nodeset="/root/init/M0014/M0014">
  824. <label ref="cdnm"/>
  825. <value ref="cdid"/>
  826. </itemset>
  827. </choices>
  828. <script type="javascript" ev:event="xforms-value-changed">
  829. <![CDATA[
  830. ]]>
  831. </script>
  832. </select1>
  833. <group id="group1" disabled="false" visibility="hidden" style="left:720px; top:295px; width:251px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
  834. <caption id="caption31" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">취소사유</caption>
  835. <button id="btn_cnfm" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:152px; top:26px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  836. <caption>확인</caption>
  837. <script type="javascript" ev:event="DOMActivate">
  838. <![CDATA[
  839. var cnclresncd = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/cnclresncd");
  840. if (isNull(cnclresncd) || cnclresncd == "000") {
  841. messageBox("취소 사유는 필수입니다.", "I");
  842. return;
  843. }
  844. group1.attribute("visibility") = "hidden";
  845. btn_new.disabled = false;
  846. btn_rsrvcncl.disabled = false;
  847. btn_rsrvcncl.disabled = false;
  848. btn_tempsave.disabled = false;
  849. model.setValue(sOPRSRVINFO_PATH + "/status", "d");
  850. if (model.getValue("/root/main/oprsrvinfo/oprsrvinfo/opstatcd")=="15"){
  851. fSaveOpRsrvInfo("19","15");
  852. }
  853. else{
  854. fSaveOpRsrvInfo("19","19");
  855. }
  856. ]]>
  857. </script>
  858. </button>
  859. <button id="button13" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:196px; top:26px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  860. <caption>취소</caption>
  861. <script type="javascript" ev:event="DOMActivate">
  862. <![CDATA[
  863. group1.attribute("visibility") = "hidden";
  864. btn_new.disabled = false;
  865. btn_rsrvcncl.disabled = false;
  866. btn_rsrvcncl.disabled = false;
  867. btn_tempsave.disabled = false;
  868. ]]>
  869. </script>
  870. </button>
  871. <select1 id="cmb_inrsrvcnclresn" ref="/root/main/oprsrvinfo/oprsrvinfo/cnclresncd" class="combo_search" appearance="minimal" style="left:66px; top:4px; width:178px; height:19px; ">
  872. <choices>
  873. <itemset nodeset="/root/init/M0022/M0022">
  874. <label ref="cdnm"/>
  875. <value ref="cdid"/>
  876. </itemset>
  877. </choices>
  878. </select1>
  879. </group>
  880. <button id="btn_tempsave" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:865px; top:759px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  881. <caption>임시저장</caption>
  882. <script type="javascript" ev:event="DOMActivate">
  883. <![CDATA[
  884. var opstatcd = model.getValue(sOPRSRVINFO_PATH + "/opstatcd");
  885. if(opstatcd == "10"){
  886. messageBox("이미 인증저장된 수술예약정보 ", "E008");
  887. return;
  888. }
  889. fSaveOpRsrvInfo("00");
  890. ]]>
  891. </script>
  892. </button>
  893. <button id="btn_certsave" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:947px; top:759px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  894. <caption>인증저장</caption>
  895. <script type="javascript" ev:event="DOMActivate">
  896. <![CDATA[
  897. if(bool3.value == "Y"){
  898. var mOprsrvno = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/mainoprsrvno");
  899. model.makeValue("/root/temp/moprsrvno",mOprsrvno);
  900. submit("TRMMO00230");
  901. var mPid = model.getValue("/root/temp/moprsrvno/pid");
  902. var pid = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/pid");
  903. if (mPid != pid ){
  904. messageBox("협진수술 의뢰 오류! 화면 재조회 후 다시 의뢰 하십시요. "+ "\r\n\r\n"+ " 문의전화 : 정보통신실(T.5151)","E");
  905. fClkBtnNew();
  906. return;
  907. }
  908. }
  909. var opdirecflag = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/opdirecflag");
  910. if (opdirecflag == "-" || opdirecflag == "") {
  911. messageBox("수술위치를 입력하세요", "I999");
  912. return;
  913. }
  914. // 2012.07.31 KJS 일일수술환자 수술전검사 항목 미입력시 제어
  915. var dsclabflag = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/dsclabflag");
  916. var oppatflag = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/oppatflagcd");
  917. if (oppatflag == "D" && dsclabflag == "") {
  918. messageBox("일일수술 환자의 경우 수술전검사 여부를 반드시 입력하세요", "I999");
  919. caption60.attribute("class") = "cell_2";
  920. return;
  921. }
  922. // 2012.07.31 KJS 진정 항목 미입력시 알림
  923. var calmflag = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/calmflag");
  924. if (calmflag == "") {
  925. var vbYes = messageBox("환자의 '진정' 항목이 미입력 되었습니다. 입력하시겠습니까?", "Q999");
  926. if( vbYes == 6 ){
  927. caption59.attribute("class") = "cell_2";
  928. return;
  929. }
  930. }
  931. fSaveOpRsrvInfo("10");
  932. ]]>
  933. </script>
  934. </button>
  935. <button id="btn_rsrvcncl" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:1029px; top:759px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  936. <caption>의뢰취소</caption>
  937. <script type="javascript" ev:event="DOMActivate">
  938. <![CDATA[
  939. fClkBtnRsrvCncl();
  940. ]]>
  941. </script>
  942. </button>
  943. <bool id="bool1" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/reopflag" style="left:692px; top:466px; width:20px; height:15px; text-align:left; "/>
  944. <caption id="caption12" style="left:708px; top:465px; width:38px; height:20px; ">재수술</caption>
  945. <bool id="bool2" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/anstreqflag" style="left:749px; top:466px; width:20px; height:15px; text-align:left; ">
  946. <script type="javascript" ev:event="xforms-value-changed">
  947. <![CDATA[
  948. //fClkBoolAnstReqFlag();
  949. ]]>
  950. </script>
  951. </bool>
  952. <caption id="caption32" style="left:765px; top:465px; width:66px; height:20px; ">마취의뢰만</caption>
  953. <bool id="bool3" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/cnstopflag" style="left:829px; top:466px; width:20px; height:15px; text-align:left; ">
  954. <script type="javascript" ev:event="xforms-value-changed">
  955. <![CDATA[
  956. fClkBoolCnstOpFlag();
  957. // 협진의뢰시 수술구분 유효성 체크 2010.06.17 kskim
  958. var cnstopflag = model.getValue( "/root/main/oprsrvinfo/oprsrvinfo/cnstopflag");
  959. if(!isNull( cnstopflag ) && cnstopflag == 'Y' ){
  960. fValidOpFlagCD();
  961. }
  962. ]]>
  963. </script>
  964. </bool>
  965. <caption id="caption33" style="left:845px; top:465px; width:76px; height:20px; ">협진의뢰여부</caption>
  966. <line id="line4" style="x1:1120px; y1:6px; x2:1120px; y2:37px; border-color:#ffe4bb; border-left-style:solid; "/>
  967. <caption id="caption34" class="search_name" style="left:635px; top:14px; width:90px; height:17px; ">집도과 :</caption>
  968. <select1 id="combo1" ref="/root/main/cond/perfdeptcd" appearance="minimal" style="left:709px; top:13px; width:100px; height:19px; ">
  969. <choices>
  970. <itemset nodeset="/root/init/orddept/dept">
  971. <label ref="depthngnm"/>
  972. <value ref="deptcd"/>
  973. </itemset>
  974. </choices>
  975. <script type="javascript" ev:event="xforms-value-changed">
  976. <![CDATA[
  977. var anstdeptcd = model.getValue("/root/init/hardcd/hardcd/hardcd");
  978. if( combo1.value !="-") {
  979. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2", combo1.value, "0330");
  980. addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo"); //조회용 집도의 전체항목 추가
  981. model.refresh();
  982. }
  983. ]]>
  984. </script>
  985. </select1>
  986. <line id="line5" style="x1:370px; y1:5px; x2:370px; y2:81px; border-color:#ffe4bb; border-left-style:solid; "/>
  987. <output id="opt_enddd" ref="/root/main/cond/todd" class="output_fix" format="yyyy-mm-dd" style="left:224px; top:8px; width:77px; height:19px; text-align:center; "/>
  988. <caption id="caption30" style="left:188px; top:14px; width:20px; height:13px; text-align:center; ">~</caption>
  989. <output id="opt_startdd" ref="/root/main/cond/fromdd" class="output_fix" format="yyyy-mm-dd" style="left:130px; top:7px; width:77px; height:19px; text-align:center; "/>
  990. <caption id="caption35" class="search_name" style="left:9px; top:8px; width:99px; height:17px; ">조회기간 :</caption>
  991. <caption id="caption36" style="left:211px; top:8px; width:15px; height:18px; ">~</caption>
  992. <button id="btn_prevmonth" class="icon_pre_year" style="left:95px; top:7px; width:16px; height:16px; ">
  993. <caption/>
  994. <hint>
  995. <![CDATA[이전달]]>
  996. </hint>
  997. <script type="javascript" ev:event="DOMActivate">
  998. <![CDATA[
  999. fCalReqDate(-30);
  1000. ]]>
  1001. </script>
  1002. </button>
  1003. <button id="btn_nextmonth" class="icon_next_year" style="left:320px; top:8px; width:16px; height:16px; ">
  1004. <caption/>
  1005. <hint>
  1006. <![CDATA[다음달]]>
  1007. </hint>
  1008. <script type="javascript" ev:event="DOMActivate">
  1009. <![CDATA[
  1010. fCalReqDate(30);
  1011. ]]>
  1012. </script>
  1013. </button>
  1014. <button id="btn_prevweek" class="icon_pre_month" style="left:112px; top:7px; width:16px; height:16px; ">
  1015. <caption/>
  1016. <hint>
  1017. <![CDATA[이전주]]>
  1018. </hint>
  1019. <script type="javascript" ev:event="DOMActivate">
  1020. <![CDATA[
  1021. fCalReqDate(-7);
  1022. ]]>
  1023. </script>
  1024. </button>
  1025. <button id="btn_nextweek" class="icon_next_month" style="left:303px; top:8px; width:16px; height:16px; ">
  1026. <caption/>
  1027. <hint>
  1028. <![CDATA[다음주]]>
  1029. </hint>
  1030. <script type="javascript" ev:event="DOMActivate">
  1031. <![CDATA[
  1032. fCalReqDate(7);
  1033. ]]>
  1034. </script>
  1035. </button>
  1036. <button id="btn_diagcd" disabled="true" visibility="hidden" style="left:650px; top:760px; width:100px; height:20px; ">
  1037. <caption>btn_diagcd</caption>
  1038. <script type="javascript" ev:event="DOMActivate">
  1039. <![CDATA[
  1040. fOpenDiagSearch("code");
  1041. ]]>
  1042. </script>
  1043. </button>
  1044. <input id="ipt_opcd" ref="/root/main/oprsrvinfo/oprsrvinfo/opcd" class="input_search" imemode="disabled" style="left:526px; top:637px; width:90px; height:19px; ">
  1045. <script type="javascript" ev:event="onkeypress">
  1046. <![CDATA[
  1047. inputEnterKey("btn_opcd", "DOMActivate");
  1048. ]]>
  1049. </script>
  1050. </input>
  1051. <input id="ipt_opnm" ref="/root/main/oprsrvinfo/oprsrvinfo/opnm" class="input_search" style="left:637px; top:637px; width:558px; height:19px; ">
  1052. <script type="javascript" ev:event="onkeypress">
  1053. <![CDATA[
  1054. //inputEnterKey("btn_opcd", "DOMActivate");
  1055. ]]>
  1056. </script>
  1057. </input>
  1058. <button id="button4" disabled="true" visibility="hidden" style="left:650px; top:740px; width:100px; height:20px; ">
  1059. <caption>btn_diagnm</caption>
  1060. <script type="javascript" ev:event="DOMActivate">
  1061. <![CDATA[
  1062. fOpenDiagSearch("term");
  1063. ]]>
  1064. </script>
  1065. </button>
  1066. <button id="btn_opcd" disabled="true" visibility="hidden" style="left:745px; top:761px; width:100px; height:20px; ">
  1067. <caption>btn_opcd</caption>
  1068. <script type="javascript" ev:event="DOMActivate">
  1069. <![CDATA[
  1070. fOpenCcrtSearch();
  1071. ]]>
  1072. </script>
  1073. </button>
  1074. <input id="ipt_subopcd" ref="/root/main/oprsrvinfo/oprsrvinfo/subopcd" class="input_search" imemode="disabled" style="left:526px; top:661px; width:90px; height:19px; ">
  1075. <script type="javascript" ev:event="onkeypress">
  1076. <![CDATA[
  1077. inputEnterKey("btn_subopcd", "DOMActivate");
  1078. ]]>
  1079. </script>
  1080. </input>
  1081. <button id="btn_new" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:807px; top:759px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  1082. <caption>신규</caption>
  1083. <script type="javascript" ev:event="DOMActivate">
  1084. <![CDATA[
  1085. caption60.attribute("class") = "cell_1";
  1086. caption59.attribute("class") = "cell_1";
  1087. fClkBtnNew();
  1088. ]]>
  1089. </script>
  1090. </button>
  1091. <button id="btn_inreq" class="btn3_letter4" style="left:446px; top:759px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
  1092. <caption>입원의뢰</caption>
  1093. <script type="javascript" ev:event="DOMActivate">
  1094. <![CDATA[
  1095. fClkBtnInReqWnd();
  1096. ]]>
  1097. </script>
  1098. </button>
  1099. <button id="btn_opschelist" class="btn3_letter7" style="left:528px; top:759px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn3_letter7.gif; ">
  1100. <caption>수술스케줄 현황</caption>
  1101. <script type="javascript" ev:event="DOMActivate">
  1102. <![CDATA[
  1103. open("SMMMO05100");
  1104. ]]>
  1105. </script>
  1106. </button>
  1107. <select1 id="cmb_perfdeptcd" ref="/root/main/oprsrvinfo/oprsrvinfo/perfdeptcd" class="combo" appearance="minimal" editmode="search" itemcount="8" style="left:706px; top:439px; width:99px; height:19px; text-align:left; ">
  1108. <choices>
  1109. <itemset nodeset="/root/init/orddept3/dept">
  1110. <label ref="depthngnm"/>
  1111. <value ref="deptcd"/>
  1112. </itemset>
  1113. </choices>
  1114. <script type="javascript" ev:event="xforms-value-changed">
  1115. <![CDATA[
  1116. // zsufGetUserInfoCombo(cmb_perfdeptcd.value, "/root/init/userlist", "_D"); //의사 콤보조회
  1117. // model.refresh();
  1118. //집도과 변경시 예정수술코드/예정수술명 초기화 2008.08.07 LWS
  1119. model.setValue("/root/main/oprsrvinfo/oprsrvinfo/opcd", "");
  1120. model.setValue("/root/main/oprsrvinfo/oprsrvinfo/opnm", "");
  1121. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_perfdeptcd.value, "0330");
  1122. cmb_perfdr.select(0);
  1123. ]]>
  1124. </script>
  1125. </select1>
  1126. <button id="btn_subopcd" disabled="true" visibility="hidden" style="left:1095px; top:635px; width:100px; height:20px; ">
  1127. <caption>btn_subopcd</caption>
  1128. <script type="javascript" ev:event="DOMActivate">
  1129. <![CDATA[
  1130. fOpenSubCcrtSearch();
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <button id="btn_patinfo" disabled="true" visibility="hidden" style="left:1095px; top:660px; width:100px; height:20px; ">
  1135. <caption>btn_patinfo</caption>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. fReqPatOrdInfo();
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <select1 id="rdo_oppatflag_old" ref="/root/main/oprsrvinfo/oprsrvinfo/oppatflagcd" visibility="hidden" appearance="full" cellspacing="10" cols="3" rows="1" overflow="visible" style="left:990px; top:511px; width:182px; height:20px; border-style:none; ">
  1143. <choices>
  1144. <itemset nodeset="/root/init/M0020/M0020">
  1145. <label ref="cdnm"/>
  1146. <value ref="cdid"/>
  1147. </itemset>
  1148. </choices>
  1149. </select1>
  1150. <input id="ipt_opschedd" ref="/root/main/oprsrvinfo/oprsrvinfo/opschedd" class="input_s_essential" inputtype="date" style="left:526px; top:488px; width:97px; height:19px; ">
  1151. <script type="javascript" ev:event="xforms-value-changed">
  1152. <![CDATA[
  1153. fReqDailyChrgAnstDr(ipt_opschedd.value);
  1154. fGetCalendar(ipt_opschedd.value); // 2008.10.27
  1155. fValidOpFlagCD();
  1156. ]]>
  1157. </script>
  1158. </input>
  1159. <select1 id="cmb_oproomcd" ref="/root/main/oprsrvinfo/oprsrvinfo/oproomcd" class="combo_search" disabled="true" appearance="minimal" style="left:706px; top:488px; width:99px; height:19px; ">
  1160. <choices>
  1161. <itemset nodeset="/root/init/oproomlist/oproomlist">
  1162. <label ref="oproomnm"/>
  1163. <value ref="oproomcd"/>
  1164. </itemset>
  1165. </choices>
  1166. </select1>
  1167. <select1 id="cmb_opposture" ref="/root/main/oprsrvinfo/oprsrvinfo/opposturecd" class="combo_search" appearance="minimal" style="left:526px; top:686px; width:91px; height:19px; ">
  1168. <choices>
  1169. <itemset nodeset="/root/init/M0016/M0016">
  1170. <label ref="cdnm"/>
  1171. <value ref="cdid"/>
  1172. </itemset>
  1173. </choices>
  1174. </select1>
  1175. <select1 id="cmb_anstmthd" ref="/root/main/oprsrvinfo/oprsrvinfo/anstmthdcd" class="combo_search" appearance="minimal" style="left:881px; top:686px; width:91px; height:19px; ">
  1176. <choices>
  1177. <itemset nodeset="/root/init/M0017/M0017">
  1178. <label ref="cdnm"/>
  1179. <value ref="cdid"/>
  1180. </itemset>
  1181. </choices>
  1182. <script type="javascript" ev:event="xforms-value-changed">
  1183. <![CDATA[
  1184. // fChngAnstMthd();
  1185. ]]>
  1186. </script>
  1187. </select1>
  1188. <input id="ipt_delivefact" ref="/root/main/oprsrvinfo/oprsrvinfo/delivefact" class="input_search" style="left:526px; top:735px; width:445px; height:19px; "/>
  1189. <button id="btn_reqopscherec" class="btn1_letter2" style="left:380px; top:6px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  1190. <caption>조회</caption>
  1191. <script type="javascript" ev:event="DOMActivate">
  1192. <![CDATA[
  1193. fReqOpRsrvRecList();
  1194. ]]>
  1195. </script>
  1196. </button>
  1197. <button id="btn_reqoprsrv" class="btn1_letter2" style="left:1130px; top:11px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  1198. <caption>조회</caption>
  1199. <script type="javascript" ev:event="DOMActivate">
  1200. <![CDATA[
  1201. model.setValue("/root/main/cond/qflag", "1");
  1202. fReqOpRsrvInfoList();
  1203. ]]>
  1204. </script>
  1205. </button>
  1206. <select1 id="cmb_perfdr" ref="/root/main/oprsrvinfo/oprsrvinfo/perfdrid" class="combo" appearance="minimal" itemcount="8" style="left:888px; top:439px; width:94px; height:19px; text-align:left; ">
  1207. <choices>
  1208. <itemset nodeset="/root/init/userlist/usercombo">
  1209. <label ref="usernm"/>
  1210. <value ref="userid"/>
  1211. </itemset>
  1212. </choices>
  1213. <script type="javascript" ev:event="xforms-value-changed">
  1214. <![CDATA[
  1215. //집도의 변경시 예정수술코드/예정수술명 초기화 2008.08.07 LWS
  1216. model.setValue("/root/main/oprsrvinfo/oprsrvinfo/opcd", "");
  1217. model.setValue("/root/main/oprsrvinfo/oprsrvinfo/opnm", "");
  1218. model.refresh();
  1219. ]]>
  1220. </script>
  1221. </select1>
  1222. <caption id="caption25" class="cell_1" style="left:444px; top:708px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술창상</caption>
  1223. <button id="button1" class="btn4_letter4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter4.gif" style="left:1111px; top:759px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  1224. <caption>취소변경</caption>
  1225. <script type="javascript" ev:event="DOMActivate">
  1226. <![CDATA[
  1227. fClkCnfmCncl();
  1228. ]]>
  1229. </script>
  1230. </button>
  1231. <caption id="caption29" class="cell_1" visibility="hidden" style="left:975px; top:684px; width:110px; height:32px; text-align:right; vertical-align:middle; ">스케줄담당</caption>
  1232. <output id="output1" ref="/root/main/cond/daynm" visibility="hidden" style="left:976px; top:691px; width:47px; height:19px; font-weight:bold; text-align:right; "/>
  1233. <caption id="caption37" class="cell_1" style="left:619px; top:684px; width:79px; height:23px; text-align:center; vertical-align:middle; ">수술위치</caption>
  1234. <select1 id="cmb_opdirecflag" ref="/root/main/oprsrvinfo/oprsrvinfo/opdirecflag" class="input_s_essential" appearance="minimal" style="left:700px; top:686px; width:98px; height:19px; ">
  1235. <choices>
  1236. <itemset nodeset="/root/init/M0357/M0357">
  1237. <label ref="cdnm"/>
  1238. <value ref="cdid"/>
  1239. </itemset>
  1240. </choices>
  1241. </select1>
  1242. <shape id="rectangle2" appearance="rectangle" style="left:1042px; top:53px; width:16px; height:13px; background-color:#ff0000; border-color:#ff0000; "/>
  1243. <shape id="rectangle3" appearance="rectangle" style="left:1123px; top:53px; width:16px; height:13px; background-color:#0000ff; border-color:#0000ff; "/>
  1244. <button id="btn_excel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:590px; top:48px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  1245. <caption>Excel</caption>
  1246. <script type="javascript" ev:event="DOMActivate">
  1247. <![CDATA[
  1248. saveGridToExcel(grd_oprsrvlist);
  1249. ]]>
  1250. </script>
  1251. </button>
  1252. <caption id="caption38" style="left:1058px; top:48px; width:54px; height:25px; font-weight:bold; color:#ff0000; ">취소요청</caption>
  1253. <caption id="caption39" style="left:1140px; top:48px; width:55px; height:25px; font-weight:bold; color:#0000ff; ">변경요청</caption>
  1254. <group id="group2" disabled="false" visibility="hidden" style="left:495px; top:160px; width:255px; height:130px; font-weight:bold; background-color:#ffffff; border-color:#000000; border-style:solid; ">
  1255. <caption id="caption40" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">희망시간</caption>
  1256. <button id="button2" 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; ">
  1257. <caption>확인</caption>
  1258. <script type="javascript" ev:event="DOMActivate">
  1259. <![CDATA[
  1260. fClkCnfmHopeTm();
  1261. // 협진 의뢰시 수술방 정보는 주수술의 정보와 동기화 2010.06.17 kskim
  1262. fCheckCnstOpFlag();
  1263. ]]>
  1264. </script>
  1265. </button>
  1266. <button id="button3" 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; ">
  1267. <caption>취소</caption>
  1268. <script type="javascript" ev:event="DOMActivate">
  1269. <![CDATA[
  1270. group2.attribute("visibility") = "hidden";
  1271. btn_new.disabled = false;
  1272. btn_rsrvcncl.disabled = false;
  1273. btn_rsrvcncl.disabled = false;
  1274. btn_tempsave.disabled = false;
  1275. ]]>
  1276. </script>
  1277. </button>
  1278. <caption id="caption41" style="left:5px; top:53px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">소요시간</caption>
  1279. <select1 id="cmb_hopetmflag" ref="/root/main/oprsrvinfo/oprsrvinfo/hopetmflag" class="combo_search" appearance="minimal" style="left:66px; top:4px; width:178px; height:19px; ">
  1280. <choices>
  1281. <itemset nodeset="/root/init/M0377/M0377">
  1282. <label ref="cdnm"/>
  1283. <value ref="cdid"/>
  1284. </itemset>
  1285. </choices>
  1286. <script type="javascript" ev:event="xforms-value-changed">
  1287. <![CDATA[
  1288. fChngHopeTmFlag();
  1289. ]]>
  1290. </script>
  1291. </select1>
  1292. <caption id="caption43" style="left:114px; top:27px; width:20px; height:20px; ">시</caption>
  1293. <caption id="caption44" style="left:195px; top:28px; width:20px; height:20px; ">분</caption>
  1294. <caption id="caption45" style="left:114px; top:52px; width:20px; height:20px; ">시</caption>
  1295. <caption id="caption46" style="left:195px; top:50px; width:20px; height:20px; ">분</caption>
  1296. <input id="ipt_hopehour" ref="/root/main/hopebox/hopehour" imemode="disabled" maxlength="2" format="##" style="left:67px; top:27px; width:45px; height:19px; "/>
  1297. <input id="ipt_usehour" ref="/root/main/hopebox/usehour" imemode="disabled" maxlength="2" format="##" style="left:67px; top:51px; width:45px; height:19px; "/>
  1298. <caption id="caption42" style="left:6px; top:74px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">연락처</caption>
  1299. <input id="input1" ref="/root/main/oprsrvinfo/oprsrvinfo/cntctel" style="left:67px; top:75px; width:100px; height:19px; "/>
  1300. <select1 id="cmb_hopemin" ref="/root/main/hopebox/hopemin" appearance="minimal" style="left:144px; top:27px; width:50px; height:19px; ">
  1301. <choices>
  1302. <item>
  1303. <label>00</label>
  1304. <value>00</value>
  1305. </item>
  1306. <item>
  1307. <label>10</label>
  1308. <value>10</value>
  1309. </item>
  1310. <item>
  1311. <label>20</label>
  1312. <value>20</value>
  1313. </item>
  1314. <item>
  1315. <label>30</label>
  1316. <value>30</value>
  1317. </item>
  1318. <item>
  1319. <label>40</label>
  1320. <value>40</value>
  1321. </item>
  1322. <item>
  1323. <label>50</label>
  1324. <value>50</value>
  1325. </item>
  1326. </choices>
  1327. </select1>
  1328. <select1 id="cmb_usemin" ref="/root/main/hopebox/usemin" appearance="minimal" style="left:144px; top:50px; width:50px; height:19px; ">
  1329. <choices>
  1330. <item>
  1331. <label>00</label>
  1332. <value>00</value>
  1333. </item>
  1334. <item>
  1335. <label>10</label>
  1336. <value>10</value>
  1337. </item>
  1338. <item>
  1339. <label>20</label>
  1340. <value>20</value>
  1341. </item>
  1342. <item>
  1343. <label>30</label>
  1344. <value>30</value>
  1345. </item>
  1346. <item>
  1347. <label>40</label>
  1348. <value>40</value>
  1349. </item>
  1350. <item>
  1351. <label>50</label>
  1352. <value>50</value>
  1353. </item>
  1354. </choices>
  1355. </select1>
  1356. </group>
  1357. <button id="button7" class="icon_search" style="left:607px; top:417px; width:16px; height:16px; ">
  1358. <caption/>
  1359. <script type="javascript" ev:event="DOMActivate">
  1360. <![CDATA[
  1361. fOpenPatInfo();
  1362. ]]>
  1363. </script>
  1364. </button>
  1365. <select1 id="combo3" ref="/root/main/cond/perfdrid" class="combo_search" appearance="minimal" style="left:888px; top:13px; width:80px; height:19px; ">
  1366. <choices>
  1367. <itemset nodeset="/root/init/userlist2/usercombo">
  1368. <label ref="usernm"/>
  1369. <value ref="userid"/>
  1370. </itemset>
  1371. </choices>
  1372. </select1>
  1373. <caption id="caption47" class="search_name" style="left:815px; top:14px; width:83px; height:17px; vertical-align:middle; ">집도의 :</caption>
  1374. <bool id="bool4" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/painlessflag" style="left:1005px; top:466px; width:20px; height:20px; ">
  1375. <script type="javascript" ev:event="xforms-value-changed">
  1376. <![CDATA[
  1377. fClkUnpainFlag("Y");
  1378. ]]>
  1379. </script>
  1380. </bool>
  1381. <caption id="caption49" style="left:1021px; top:466px; width:70px; height:20px; ">무통마취</caption>
  1382. <button id="button8" class="icon_search" style="left:541px; top:538px; width:16px; height:16px; ">
  1383. <caption/>
  1384. <script type="javascript" ev:event="DOMActivate">
  1385. <![CDATA[
  1386. fOpenDiagInfo();
  1387. ]]>
  1388. </script>
  1389. </button>
  1390. <select1 id="rdo_oppatflag" ref="/root/main/oprsrvinfo/oprsrvinfo/oppatflagcd" appearance="full" cellspacing="3" cols="5" overflow="visible" style="left:890px; top:489px; width:185px; height:20px; border-style:none; ">
  1391. <choices>
  1392. <itemset nodeset="/root/init/oppatflag/hardcd">
  1393. <label ref="hardcdnm"/>
  1394. <value ref="hardcd"/>
  1395. </itemset>
  1396. </choices>
  1397. <script type="javascript" ev:event="xforms-value-changed">
  1398. <![CDATA[
  1399. foppatflaginfo();
  1400. ]]>
  1401. </script>
  1402. <!-- 수술환자 구분시 확인 사항 추가 ( DSC, 응급실 환자일때 '병동' 선택되지 않도록 -->
  1403. <!-- 2011.06.23 손성훈 -->
  1404. <script type="javascript" ev:event="onclick">
  1405. <![CDATA[
  1406. if ( model.getValue("/root/main/oprsrvinfo/oprsrvinfo/oppatflagcd") == "I" ){
  1407. var ioFlag = model.getValue("/root/paminfo/list/ioflag");
  1408. if (ioFlag == "E") {
  1409. messageBox("응급병실 환자입니다. 수술환자 구분을 '응급실'로 변경하십시오.","E");
  1410. /*
  1411. if ( 7 == messageBox("응급병실 환자입니다." + "\n"+"수술환자 구분을 '응급실'로 ","Q002")) {
  1412. return;
  1413. }
  1414. */
  1415. }else if (ioFlag =="D"){
  1416. messageBox("DSC 환자입니다. 수술환자 구분을 '일일수술실'로 변경하십시오.","E");
  1417. /*
  1418. if ( 7 == messageBox("DSC 환자입니다." + "\n"+"수술환자 구분을 '일일수술실'로 ","Q002")) {
  1419. return;
  1420. }
  1421. */
  1422. } else {
  1423. return;
  1424. }
  1425. //model.setValue("/root/main/oprsrvinfo/oprsrvinfo/oppatflagcd", ioFlag);
  1426. rdo_oppatflag.refresh();
  1427. return;
  1428. }
  1429. ]]>
  1430. </script>
  1431. <!-- -->
  1432. </select1>
  1433. <caption id="caption50" ref="/root/main/cond/chrgdrnm" visibility="hidden" style="left:1087px; top:683px; width:108px; height:33px; font-weight:bold; vertical-align:top; "/>
  1434. <caption id="caption51" class="search_name" style="left:9px; top:30px; width:90px; height:17px; ">등록번호 :</caption>
  1435. <caption id="caption52" class="search_name" style="left:9px; top:55px; width:75px; height:17px; ">집도과 :</caption>
  1436. <caption id="caption53" class="search_name" style="left:209px; top:55px; width:75px; height:17px; ">집도의 :</caption>
  1437. <caption id="caption54" class="search_name" style="left:209px; top:30px; width:75px; height:17px; ">수술실 :</caption>
  1438. <input id="input2" ref="/root/main/cond1/pid" class="input_search" imemode="disabled" maxlength="10" isemptyformatted="false" style="left:95px; top:30px; width:90px; height:19px; ">
  1439. <script type="javascript" ev:event="onkeypress">
  1440. <![CDATA[
  1441. inputEnterKey("btn_reqopscherec", "DOMActivate");
  1442. ]]>
  1443. </script>
  1444. </input>
  1445. <button id="btn_patsrch" class="icon_search" style="left:190px; top:30px; width:16px; height:16px; ">
  1446. <caption/>
  1447. <script type="javascript" ev:event="DOMActivate">
  1448. <![CDATA[
  1449. modal("SPPMC02500");
  1450. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  1451. model.setValue("/root/main/cond1/pid", sPid);
  1452. model.refresh();
  1453. ]]>
  1454. </script>
  1455. </button>
  1456. <select1 id="combo5" ref="/root/main/cond1/oproomcd" appearance="minimal" style="left:285px; top:30px; width:70px; height:19px; ">
  1457. <choices>
  1458. <itemset nodeset="/root/init/oproomlist2/oproomlist">
  1459. <label ref="oproomnm"/>
  1460. <value ref="oproomcd"/>
  1461. </itemset>
  1462. </choices>
  1463. </select1>
  1464. <select1 id="combo6" ref="/root/main/cond1/perfdrid" class="combo_search" appearance="minimal" style="left:285px; top:55px; width:80px; height:19px; ">
  1465. <choices>
  1466. <itemset nodeset="/root/init/userlist5/usercombo">
  1467. <label ref="usernm"/>
  1468. <value ref="userid"/>
  1469. </itemset>
  1470. </choices>
  1471. </select1>
  1472. <select1 id="combo4" ref="/root/main/cond1/orddeptcd" appearance="minimal" style="left:85px; top:55px; width:100px; height:19px; ">
  1473. <choices>
  1474. <itemset nodeset="/root/init/orddept/dept">
  1475. <label ref="depthngnm"/>
  1476. <value ref="deptcd"/>
  1477. </itemset>
  1478. </choices>
  1479. <script type="javascript" ev:event="xforms-value-changed">
  1480. <![CDATA[
  1481. var anstdeptcd = model.getValue("/root/init/hardcd/hardcd/hardcd");
  1482. if( combo4.value !="-") {
  1483. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist5", combo4.value, "0330");
  1484. addComboInstance("/root/init/userlist5", "userid^usernm", "-^전체", "usercombo"); //조회용 집도의 전체항목 추가
  1485. model.refresh();
  1486. }
  1487. ]]>
  1488. </script>
  1489. </select1>
  1490. <input id="input3" ref="/root/main/oprsrvinfo/oprsrvinfo/cntctel" class="input_s_essential" style="left:1090px; top:735px; width:105px; height:19px; "/>
  1491. <bool id="bool5" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/angioflag" style="left:1074px; top:466px; width:20px; height:20px; ">
  1492. <script type="javascript" ev:event="xforms-value-changed">
  1493. <![CDATA[
  1494. ]]>
  1495. </script>
  1496. </bool>
  1497. <caption id="caption55" style="left:1090px; top:466px; width:34px; height:20px; ">Angio</caption>
  1498. <caption id="caption56" style="left:1144px; top:466px; width:50px; height:20px; ">로봇수술</caption>
  1499. <bool id="bool6" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/robotopflag" style="left:1128px; top:466px; width:20px; height:20px; ">
  1500. <script type="javascript" ev:event="xforms-value-changed">
  1501. <![CDATA[
  1502. ]]>
  1503. </script>
  1504. </bool>
  1505. <caption id="caption57" style="left:1090px; top:489px; width:38px; height:20px; ">암환자</caption>
  1506. <caption id="caption58" style="left:1144px; top:489px; width:50px; height:20px; ">복강경</caption>
  1507. <bool id="bool7" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/cancerflag" style="left:1074px; top:489px; width:20px; height:20px; ">
  1508. <script type="javascript" ev:event="xforms-value-changed">
  1509. <![CDATA[
  1510. ]]>
  1511. </script>
  1512. </bool>
  1513. <bool id="bool8" checkvalue="Y,N" ref="/root/main/oprsrvinfo/oprsrvinfo/laparoflag" style="left:1128px; top:489px; width:20px; height:20px; ">
  1514. <script type="javascript" ev:event="xforms-value-changed">
  1515. <![CDATA[
  1516. ]]>
  1517. </script>
  1518. </bool>
  1519. <caption id="caption60" class="cell_1" style="left:945px; top:510px; width:117px; height:23px; text-align:center; ">수술 전 검사(DSC)</caption>
  1520. <select1 id="rdo_dsclabflag" ref="/root/main/oprsrvinfo/oprsrvinfo/dsclabflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:1064px; top:511px; width:131px; height:20px; border-style:none; ">
  1521. <choices>
  1522. <item>
  1523. <label>유</label>
  1524. <value>Y</value>
  1525. </item>
  1526. <item>
  1527. <label>무</label>
  1528. <value>N</value>
  1529. </item>
  1530. <item>
  1531. <label>해당없음</label>
  1532. <value>X</value>
  1533. </item>
  1534. </choices>
  1535. </select1>
  1536. <select1 id="rdo_calmflag" ref="/root/main/oprsrvinfo/oprsrvinfo/calmflag" appearance="full" cols="3" rows="1" overflow="visible" style="left:1064px; top:688px; width:131px; height:20px; border-style:none; ">
  1537. <choices>
  1538. <item>
  1539. <label>유</label>
  1540. <value>Y</value>
  1541. </item>
  1542. <item>
  1543. <label>무</label>
  1544. <value>N</value>
  1545. </item>
  1546. <item>
  1547. <label>해당없음</label>
  1548. <value>X</value>
  1549. </item>
  1550. </choices>
  1551. </select1>
  1552. <caption id="caption59" class="cell_1" style="left:975px; top:684px; width:85px; height:23px; text-align:center; ">진정</caption>
  1553. <caption id="caption61" style="left:444px; top:612px; width:79px; height:23px; text-align:center; vertical-align:middle; background-color:#ffcc99; ">DRG 적용</caption>
  1554. <button id="btn_drgmod" class="btn5_letter4" disabled="true" style="left:621px; top:614px; width:64px; height:19px; ">
  1555. <caption>DRG수정</caption>
  1556. <script type="javascript" ev:event="DOMActivate">
  1557. <![CDATA[
  1558. var drgyn = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/drgyn");
  1559. if (drgyn != null && drgyn != "" && drgyn == "A"){
  1560. var deptcd = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/perfdeptcd");
  1561. setParameter("deptcd", deptcd);
  1562. modal("SPMMO50300");
  1563. }
  1564. var drgno = model.getValue("/root/temp/drgno");
  1565. var drgnm = model.getValue("/root/temp/drgnm");
  1566. if (drgno != null && drgno != ""){
  1567. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgno", drgno);
  1568. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgnm", drgnm);
  1569. }
  1570. model.refresh();
  1571. ]]>
  1572. </script>
  1573. </button>
  1574. <caption id="caption62" style="left:691px; top:612px; width:79px; height:23px; text-align:center; vertical-align:middle; background-color:#ffcc99; ">DRG 정보</caption>
  1575. <input id="input4" ref="/root/main/oprsrvinfo/oprsrvinfo/drgnm" style="left:825px; top:614px; width:370px; height:19px; "/>
  1576. <input id="input5" ref="/root/main/oprsrvinfo/oprsrvinfo/drgno" editable="false" style="left:772px; top:614px; width:51px; height:19px; text-align:center; "/>
  1577. <datagrid id="grd_opschelist" nodeset="/root/main/opschereclist/opschereclist" caption="opregstno^opregshitno^opschehistcd^deptinnropflag^sex^age^status^등록번호^성명^수술방^수술일^수술시간^perfdrid^순서^구분^집도과^집도의^수술명^진단명^생년월일^전화번호^비고^저장시간^dispdiagcd^insukind^suppkind^opcd^diagcd^dispopcd^dispdiagcd^opfromtmcd^opendtmcd^anstmthdcd^perfdeptcd^oproomcd^opregsthistno" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 77, 69, 69, 82, 58, 0, 36, 65, 100, 85, 185, 189, 78, 89, 124, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:113px; width:441px; height:666px; word-wrap:word; ">
  1578. <col ref="opregstno"/>
  1579. <col ref="opregshitno"/>
  1580. <col ref="opschehistcd"/>
  1581. <col ref="deptinnropflag"/>
  1582. <col ref="sex"/>
  1583. <col ref="age"/>
  1584. <col ref="status"/>
  1585. <col ref="pid"/>
  1586. <col ref="hngnm"/>
  1587. <col ref="oproomnm" style="text-align:center; "/>
  1588. <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  1589. <col ref="opusetm" format="hh:nn" style="text-align:center; "/>
  1590. <col ref="perfdrid"/>
  1591. <col ref="refseq" style="text-align:center; "/>
  1592. <col disabled="true" ref="oppatflagcd" type="combo" style="text-align:center; ">
  1593. <choices>
  1594. <itemset nodeset="/root/init/M0020/M0020">
  1595. <label ref="cdnm"/>
  1596. <value ref="cdid"/>
  1597. </itemset>
  1598. </choices>
  1599. </col>
  1600. <col disabled="true" ref="perfdeptcd" type="combo" style="text-align:center; ">
  1601. <choices>
  1602. <itemset nodeset="/root/init/orddept/dept">
  1603. <label ref="depthngnm"/>
  1604. <value ref="deptcd"/>
  1605. </itemset>
  1606. </choices>
  1607. </col>
  1608. <col ref="perfdrnm"/>
  1609. <col ref="opnm" style="text-align:center; "/>
  1610. <col ref="diagnm" style="text-align:center; "/>
  1611. <col ref="brthdd" format="hh-nn-ss" style="text-align:center; "/>
  1612. <col ref="mpphontel" style="text-align:center; "/>
  1613. <col ref="opregstremfact" style="text-align:center; "/>
  1614. <col ref="fstrgstdt" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
  1615. <col ref="dispdiagcd"/>
  1616. <col ref="insukind"/>
  1617. <col ref="suppkind"/>
  1618. <col ref="opcd"/>
  1619. <col ref="diagcd"/>
  1620. <col ref="dispopcd"/>
  1621. <col ref="dispdiagcd"/>
  1622. <col ref="opfromtmcd"/>
  1623. <col ref="opendtmcd"/>
  1624. <col ref="anstmthdcd"/>
  1625. <col ref="perfdeptcd"/>
  1626. <col ref="oproomcd"/>
  1627. <col ref="opregsthistno"/>
  1628. <script type="javascript" ev:event="onclick">
  1629. <![CDATA[
  1630. if(grd_opschelist.isCell(event.target)==false){
  1631. return;
  1632. }
  1633. if(grd_opschelist.row < 1){
  1634. return;
  1635. }
  1636. fClkGrdOpScheList(grd_opschelist.row);
  1637. ]]>
  1638. </script>
  1639. <script type="javascript" ev:event="DOMFocusOut">
  1640. <![CDATA[
  1641. initPopupMenu();
  1642. ]]>
  1643. </script>
  1644. <script type="javascript" ev:event="onaftersort">
  1645. <![CDATA[
  1646. grd_opschelist.gridToInstance();
  1647. ]]>
  1648. </script>
  1649. </datagrid>
  1650. <select1 id="rdo_drgyn" ref="/root/main/oprsrvinfo/oprsrvinfo/drgyn" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:525px; top:615px; width:95px; height:17px; border-style:none; ">
  1651. <choices>
  1652. <item>
  1653. <label>예</label>
  1654. <value>A</value>
  1655. </item>
  1656. <item>
  1657. <label>아니오</label>
  1658. <value>N</value>
  1659. </item>
  1660. </choices>
  1661. <script type="javascript" ev:event="xforms-value-changed">
  1662. <![CDATA[
  1663. var drgyn = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/drgyn");
  1664. if (drgyn != null && drgyn != "" && drgyn == "A"){
  1665. var deptcd = model.getValue("/root/main/oprsrvinfo/oprsrvinfo/perfdeptcd");
  1666. setParameter("deptcd", deptcd);
  1667. modal("SPMMO50300");
  1668. btn_drgmod.disabled = false;
  1669. } else {
  1670. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgno", "");
  1671. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgnm", "");
  1672. model.makeValue("/root/temp/drgno", "");
  1673. model.makeValue("/root/temp/drgnm", "");
  1674. btn_drgmod.disabled = true;
  1675. }
  1676. var drgno = model.getValue("/root/temp/drgno");
  1677. var drgnm = model.getValue("/root/temp/drgnm");
  1678. if (drgno != null && drgno != "") {
  1679. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgno", drgno);
  1680. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgnm", drgnm);
  1681. } else {
  1682. model.makeValue("/root/main/oprsrvinfo/oprsrvinfo/drgyn", "N");
  1683. }
  1684. model.refresh();
  1685. ]]>
  1686. </script>
  1687. </select1>
  1688. </xhtml:body>
  1689. </xhtml:html>