SMMMO05400_수술마취일정조정.xrw 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988
  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. <opanstpatinfo>
  11. <opanstcnfmpatlist/>
  12. <opanstwaitpatlist>
  13. </opanstwaitpatlist>
  14. </opanstpatinfo>
  15. <cond>
  16. <reqdd/>
  17. <unaprv/>
  18. <fromdd/>
  19. <todd/>
  20. <schterm>O</schterm>
  21. </cond>
  22. <anstdrid>
  23. <anstdrid1>-</anstdrid1>
  24. <anstdrid2>-</anstdrid2>
  25. <anstdrid3>-</anstdrid3>
  26. <anstmthdcd/>
  27. <anstdetlmthdcd/>
  28. <ageflag>20</ageflag>
  29. </anstdrid>
  30. <opanstschechng>
  31. <status/>
  32. <opcnfmdd/>
  33. <oproomcd/>
  34. <opfromtmcd/>
  35. <opendtmcd/>
  36. <opusetm/>
  37. <diagnm/>
  38. <opnm/>
  39. <perfdeptcd/>
  40. <perfdrid/>
  41. <anstdrid1/>
  42. <anstdrid2/>
  43. <anstdrid3/>
  44. <anstmthdcd/>
  45. <anstdetlmthdcd/>
  46. <opflagcd/>
  47. <oprsrvno/>
  48. <ophistno/>
  49. <diagcd/>
  50. <opcd/>
  51. <reqdd/>
  52. <opstatcd/>
  53. <pid/>
  54. <oppatflagcd/>
  55. <ageflag/>
  56. <ccrtno/>
  57. <ccrtstat/>
  58. </opanstschechng>
  59. <rgstinfo/>
  60. </main>
  61. <send>
  62. <reqdata/>
  63. <savedata>
  64. </savedata>
  65. </send>
  66. <hidden/>
  67. <init>
  68. <M0000>
  69. <M0000>
  70. <cdid>00</cdid>
  71. <cdnm>-</cdnm>
  72. </M0000>
  73. </M0000>
  74. <M0013/>
  75. <M0014/>
  76. <M0015/>
  77. <M0017/>
  78. <M0020/>
  79. <M0243/>
  80. <M0244/>
  81. <M0245/>
  82. <M0246/>
  83. <M0356/>
  84. <M0377/>
  85. <orddept/>
  86. <userlist/>
  87. <userlist2/>
  88. <oproomlist/>
  89. <hardcd/>
  90. <formcd/>
  91. </init>
  92. <temp>
  93. <drlist/>
  94. <opanstschechng/>
  95. </temp>
  96. <popupmenu>
  97. <menu>
  98. <item>
  99. <name>수술마취 변경</name>
  100. <func>fChngOpAnstPatInfo</func>
  101. </item>
  102. <item>
  103. <name/>
  104. <func/>
  105. </item>
  106. <item>
  107. <name>마취의 배정</name>
  108. <func>fAssgnAnstDr</func>
  109. </item>
  110. <item>
  111. <name/>
  112. <func/>
  113. </item>
  114. <item>
  115. <name>마취방법</name>
  116. <func>fMthdAnst</func>
  117. </item>
  118. <item>
  119. <name/>
  120. <func/>
  121. </item>
  122. <item>
  123. <name>변경취소의뢰 승인</name>
  124. <func>fOpAnstAprvChngCnl</func>
  125. </item>
  126. <item>
  127. <name/>
  128. <func/>
  129. </item>
  130. <item>
  131. <name>수술전평가서</name>
  132. <func>fPreOpAssemRec</func>
  133. </item>
  134. <item>
  135. <name/>
  136. <func/>
  137. </item>
  138. <item>
  139. <name>취소승인</name>
  140. <func>fCnclAprvOpAnst</func>
  141. </item>
  142. </menu>
  143. </popupmenu>
  144. <popupmenu2>
  145. <menu>
  146. <item>
  147. <name>수술마취 확정</name>
  148. <func>fCnfmOpAnstSche</func>
  149. </item>
  150. </menu>
  151. </popupmenu2>
  152. <popupmenu3>
  153. <menu>
  154. <item>
  155. <name>수술마취 변경</name>
  156. <func>fChngOpAnstPatInfo</func>
  157. </item>
  158. <item>
  159. <name/>
  160. <func/>
  161. </item>
  162. <item>
  163. <name>마취의 배정</name>
  164. <func>fAssgnAnstDr</func>
  165. </item>
  166. <item>
  167. <name/>
  168. <func/>
  169. </item>
  170. <item>
  171. <name>마취방법</name>
  172. <func>fMthdAnst</func>
  173. </item>
  174. <item>
  175. <name/>
  176. <func/>
  177. </item>
  178. <item>
  179. <name>변경취소의뢰 승인</name>
  180. <func>fOpAnstAprvChngCnl</func>
  181. </item>
  182. <item>
  183. <name/>
  184. <func/>
  185. </item>
  186. <item>
  187. <name>수술전평가서</name>
  188. <func>fPreOpAssemRec</func>
  189. </item>
  190. </menu>
  191. </popupmenu3>
  192. </root>
  193. </instance>
  194. <script type="javascript" ev:event="xforms-ready">
  195. <![CDATA[
  196. fInitialize_SMMMO05400();
  197. ]]>
  198. </script>
  199. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  200. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  201. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  202. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  203. <submission id="TRMMO05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opanstpatinfo"/>
  204. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/oproomlist"/>
  205. <submission id="TXMMO05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/opanstpatinfo"/>
  206. <submission id="TXMMO05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/opanstpatinfo"/>
  207. <submission id="TRMMO05503" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/formcd"/>
  208. <script type="javascript" ev:event="xforms-model-construct-done">
  209. <![CDATA[
  210. group1.attribute("height") = 0;
  211. group2.attribute("height") = 0;
  212. grd_opanstcnfmpatlist.attribute("height") = 667;
  213. ]]>
  214. </script>
  215. <submission id="TXMMO05403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  216. <submission id="TXMMO05404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/opanstpatinfo"/>
  217. <submission id="TXMMO05405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  218. <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/scheregtimelist"/>
  219. <submission id="TRMMO05502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/paminfo"/>
  220. <submission id="TXMMO05502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden"/>
  221. <submission id="TRMMO05403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/rgstinfo"/>
  222. <submission id="TXMMO05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
  223. <submission id="TXMMO05503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/canceldata" resultref="/root/hidden"/>
  224. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  225. <submission id="TXMMO05410" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp/erroinfo"/>
  226. </model>
  227. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  228. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  229. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  230. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  231. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  232. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  233. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU003.js"/>
  234. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05500.js"/>
  235. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05400.js"/>
  236. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO05400.js"/>
  237. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
  238. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  239. </xhtml:head>
  240. <xhtml:body guideline="2,784;2,784;2,756;1,1192;2,756;" style="background-color:transparent; border-color:transparent; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  241. <button id="button12" class="btn2_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:915px; top:495px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  242. <caption>출력</caption>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. ]]>
  246. </script>
  247. </button>
  248. <button id="button11" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1093px; top:495px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  249. <caption>excel</caption>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. saveGridToExcel(grd_opanstwaitpatlist);
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="btn_close" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1147px; top:495px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  257. <caption>닫기</caption>
  258. <script type="javascript" ev:event="DOMActivate">
  259. <![CDATA[
  260. grd_opanstcnfmpatlist.attribute("height") = 671;
  261. grd_opanstwaitpatlist.attribute("visibility") = "hidden";
  262. ]]>
  263. </script>
  264. </button>
  265. <button id="btn_open" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter5.gif" style="left:1114px; top:761px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter5.gif; ">
  266. <caption>대기자List</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. grd_opanstcnfmpatlist.attribute("height") = 403;
  270. grd_opanstwaitpatlist.attribute("visibility") = "visible";
  271. ]]>
  272. </script>
  273. </button>
  274. <button id="button7" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:1005px; top:495px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  275. <caption>수술마취확정</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. fCnfmOpAnstSche();
  279. ]]>
  280. </script>
  281. </button>
  282. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:18px; width:1192px; height:42px; "/>
  283. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:136px; height:14px; ">수술/마취일정 조정</caption>
  284. <line id="line2" class="line_1" style="x1:0px; y1:84px; x2:1192px; y2:84px; "/>
  285. <caption id="caption18" class="tit_2" style="left:0px; top:69px; width:151px; height:13px; vertical-align:middle; ">수술/마취 확정 조회</caption>
  286. <line id="line1" class="line_1" style="x1:0px; y1:516px; x2:1192px; y2:516px; "/>
  287. <caption id="caption1" class="tit_2" style="left:0px; top:504px; width:208px; height:13px; vertical-align:middle; ">수술/마취 대기자 리스트</caption>
  288. <caption id="caption11" class="search_name" style="left:10px; top:31px; width:112px; height:17px; ">수술예정일자 :</caption>
  289. <line id="line3" style="x1:1109px; y1:28px; x2:1109px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  290. <button id="btn_req" class="btn1_letter2" style="left:1125px; top:28px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  291. <caption>조회</caption>
  292. <script type="javascript" ev:event="DOMActivate">
  293. <![CDATA[
  294. fReqOpAnstSche();
  295. ]]>
  296. </script>
  297. </button>
  298. <input id="ipt_opschedt" ref="/root/main/cond/reqdd" class="input_search" inputtype="date" style="left:125px; top:30px; width:91px; height:19px; ">
  299. <script type="javascript" ev:event="xforms-value-changed">
  300. <![CDATA[
  301. fReqOpAnstSche();
  302. ]]>
  303. </script>
  304. </input>
  305. <datagrid id="grd_opanstwaitpatlist" nodeset="/root/main/opanstpatinfo/opanstwaitpatlist" caption="^levl^비고^구분^희망시간^소요시간^진료과^병실^등록번호^성명^S/A^진단명^수술명^집도과^집도의^처방분류명^마취방법^전달사항^작성자^연락처^Angio^로봇수술^암환자^복강경^oppatflagcd^opschedd^perfdrid^oprsrvno^ophistno^instcd^diagcd^opcd^oproomcd^ccrtno^anstreqflag^opfromtmcd^opendtmcd^ccrtno^mainoprsrvno^anstreqflag^opdelivefact^reqrsncd^aprvreqno^외상환자" colsep="^" colwidth="25, 0, 35, 77, 83, 83, 75, 59, 87, 88, 60, 199, 181, 89, 75, 0, 82, 63, 75, 94, 49, 64, 52, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:521px; width:1192px; height:235px; font-size:10pt; text-align:center; ">
  306. <col ref="status"/>
  307. <col ref="levl"/>
  308. <col disabled="true" ref="cnstopflag" type="combo">
  309. <choices>
  310. <item>
  311. <label/>
  312. <value>N</value>
  313. </item>
  314. <item>
  315. <label>협진</label>
  316. <value>Y</value>
  317. </item>
  318. </choices>
  319. </col>
  320. <col disabled="true" ref="opflagcd" type="combo">
  321. <choices>
  322. <itemset nodeset="/root/init/M0013/M0013">
  323. <label ref="cdnm"/>
  324. <value ref="cdid"/>
  325. </itemset>
  326. </choices>
  327. </col>
  328. <col disabled="true" ref="hopetmflag" type="combo" format="yyyy-mm-dd">
  329. <choices>
  330. <itemset nodeset="/root/init/M0377/M0377">
  331. <label ref="cdnm"/>
  332. <value ref="cdid"/>
  333. </itemset>
  334. </choices>
  335. </col>
  336. <col ref="opusetm" format="nn:ss"/>
  337. <col disabled="true" ref="orddeptcd" type="combo">
  338. <choices>
  339. <itemset nodeset="/root/init/orddept/dept">
  340. <label ref="depthngnm"/>
  341. <value ref="deptcd"/>
  342. </itemset>
  343. </choices>
  344. </col>
  345. <col ref="roomcd"/>
  346. <col ref="pid"/>
  347. <col ref="hngnm"/>
  348. <col ref="sa"/>
  349. <col ref="diagnm" style="text-align:left; "/>
  350. <col ref="opnm" style="text-align:left; "/>
  351. <col disabled="true" ref="perfdeptcd" type="combo">
  352. <choices>
  353. <itemset nodeset="/root/init/orddept/dept">
  354. <label ref="depthngnm"/>
  355. <value ref="deptcd"/>
  356. </itemset>
  357. </choices>
  358. </col>
  359. <col ref="perfdrnm" style="left:1141px; top:23px; width:75px; height:23px; "/>
  360. <col ref="prcpclsnm"/>
  361. <col disabled="true" ref="anstmthdcd" type="combo">
  362. <choices>
  363. <itemset nodeset="/root/init/M0017/M0017">
  364. <label ref="cdnm"/>
  365. <value ref="cdid"/>
  366. </itemset>
  367. </choices>
  368. </col>
  369. <col ref="tempopdelivefact" style="background-position:center; "/>
  370. <col ref="rgstrnm"/>
  371. <col ref="cntctel"/>
  372. <col ref="angioflag"/>
  373. <col ref="robotopflag"/>
  374. <col ref="cancerflag"/>
  375. <col ref="laparoflag"/>
  376. <col ref="oppatflagcd"/>
  377. <col ref="opschedd"/>
  378. <col ref="perfdrid"/>
  379. <col ref="oprsrvno"/>
  380. <col ref="ophistno"/>
  381. <col ref="instcd"/>
  382. <col ref="diagcd"/>
  383. <col ref="opcd"/>
  384. <col ref="oproomcd"/>
  385. <col ref="ccrtno"/>
  386. <col ref="anstreqflag"/>
  387. <col ref="opfromtmcd"/>
  388. <col ref="opendtmcd"/>
  389. <col ref="ccrtno"/>
  390. <col ref="mainoprsrvno"/>
  391. <col ref="anstreqflag"/>
  392. <col ref="opdelivefact"/>
  393. <col ref="reqrsncd"/>
  394. <col ref="aprvreqno"/>
  395. <col ref="trdiagyn"/>
  396. <script type="javascript" ev:event="onmousedown">
  397. <![CDATA[
  398. setPopupMenu("grd_opanstwaitpatlist", false, "/root/popupmenu2/menu/item", "name", "func");
  399. ]]>
  400. </script>
  401. <script type="javascript" ev:event="DOMFocusOut">
  402. <![CDATA[
  403. initPopupMenu();
  404. ]]>
  405. </script>
  406. <script type="javascript" ev:event="onclick">
  407. <![CDATA[
  408. // [요청번호: 13643, TASK번호: 51229, 우선순위:SY]
  409. // 요청제목: 수술마취 일정 조정 대기자리스트 전달사항 컬럼 추가(기 반영된 사항 중 누락 건)
  410. // 작성자: 김광성. kskim
  411. // 작성일: 2010.04.26
  412. fOpenSPMMO05500("grd_opanstwaitpatlist");
  413. ]]>
  414. </script>
  415. </datagrid>
  416. <datagrid id="grd_opanstcnfmpatlist" nodeset="/root/main/opanstpatinfo/opanstcnfmpatlist" caption="선택^levl^aprvreqno^reqrsnflag^비고^상태^구분^수술방^anstassgflag^mainoprsrvno^시간^소요시간^진료과^병실^성명^등록번호^S/A^진단명^수술명^집도의^마취자^마취방법^전달사항^마취방법상세^취소변경사유^opstatcd^oproomnm^opfromtm^orddeptnm^diagcd^opcd^oprsrvno^ophistno^anstdrid1^anstdrid2^anstdrid3^opendtmcd^perfdeptcd^perfdrid^anstmthdnm^anstdetlmthdcd^opcnfmdd^opflagcd^oppatflagcd^aprvreqno^ageflag^ccrtno^opschedd^opposturecd^opdirecflag^opcntmdg^opdelivefact^anstccrtno^formseqno^작성자^연락처^Angio^로봇수술^암환자^복강경^외상환자" colsep="^" colwidth="54, 0, 0, 0, 35, 50, 51, 65, 0, 0, 70, 62, 81, 61, 88, 78, 50, 170, 156, 73, 147, 83, 64, 80, 150, 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, 75, 100, 42, 60, 55, 49, 60" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:89px; width:1192px; height:403px; font-size:10pt; text-align:center; border-style:inset; ">
  417. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  418. <col ref="levl"/>
  419. <col ref="aprvreqno"/>
  420. <col ref="reqrsncd"/>
  421. <col disabled="true" ref="cnstopflag" type="combo">
  422. <choices>
  423. <item>
  424. <label/>
  425. <value>N</value>
  426. </item>
  427. <item>
  428. <label>협진</label>
  429. <value>Y</value>
  430. </item>
  431. </choices>
  432. </col>
  433. <col ref="opstat"/>
  434. <col ref="opflagnm"/>
  435. <col disabled="true" ref="oproomcd" type="combo">
  436. <choices>
  437. <itemset nodeset="/root/init/oproomlist/oproomlist">
  438. <label ref="oproomnm"/>
  439. <value ref="oproomcd"/>
  440. </itemset>
  441. </choices>
  442. </col>
  443. <col ref="anstassgflag"/>
  444. <col ref="mainoprsrvno"/>
  445. <col disabled="true" ref="opfromtmcd" format="hh:nn"/>
  446. <col ref="opusetm" format="mm:ss"/>
  447. <col ref="orddeptnm"/>
  448. <col ref="roomcd"/>
  449. <col ref="hngnm"/>
  450. <col ref="pid"/>
  451. <col ref="sa"/>
  452. <col ref="diagnm" style="text-align:left; "/>
  453. <col ref="opnm" style="left:905px; top:23px; width:156px; height:23px; text-align:left; "/>
  454. <col ref="usernm" style="left:1061px; top:23px; width:73px; height:23px; "/>
  455. <col ref="anstdrnm" style="left:1134px; top:23px; width:147px; height:23px; "/>
  456. <col ref="anstmthdnm"/>
  457. <col ref="tempopdelivefact" style="background-position:center; "/>
  458. <col ref="anstdetlmthdnm" style="text-align:left; "/>
  459. <col disabled="true" ref="reqrsncd" type="combo">
  460. <choices>
  461. <itemset nodeset="/root/init/M0356/M0356">
  462. <label ref="cdnm"/>
  463. <value ref="cdid"/>
  464. </itemset>
  465. </choices>
  466. </col>
  467. <col ref="opstatcd"/>
  468. <col ref="oproomnm"/>
  469. <col ref="opfromtm"/>
  470. <col disabled="true" ref="orddeptcd" type="combo">
  471. <choices>
  472. <itemset nodeset="/root/init/orddept/dept">
  473. <label ref="depthngnm"/>
  474. <value ref="deptcd"/>
  475. </itemset>
  476. </choices>
  477. </col>
  478. <col ref="diagcd"/>
  479. <col ref="opcd"/>
  480. <col ref="oprsrvno"/>
  481. <col ref="ophistno"/>
  482. <col ref="anstdrid1"/>
  483. <col ref="anstdrid2"/>
  484. <col ref="anstdrid3"/>
  485. <col ref="opendtmcd"/>
  486. <col ref="perfdeptcd"/>
  487. <col ref="perfdrid"/>
  488. <col disabled="true" ref="anstmthdcd" type="combo" style="text-align:left; ">
  489. <choices>
  490. <itemset nodeset="/root/init/M0017/M0017">
  491. <label ref="cdnm"/>
  492. <value ref="cdid"/>
  493. </itemset>
  494. </choices>
  495. </col>
  496. <col ref="anstdetlmthdcd"/>
  497. <col ref="opcnfmdd"/>
  498. <col ref="opflagcd"/>
  499. <col ref="oppatflagcd"/>
  500. <col ref="aprvreqno"/>
  501. <col ref="ageflag"/>
  502. <col ref="ccrtno"/>
  503. <col ref="opschedd"/>
  504. <col ref="opposturecd"/>
  505. <col ref="opdirecflag"/>
  506. <col ref="opcntmdg"/>
  507. <col ref="opdelivefact" visibility="hidden"/>
  508. <col ref="anstccrtno"/>
  509. <col ref="formseqno"/>
  510. <col ref="rgstrnm"/>
  511. <col ref="cntctel"/>
  512. <col ref="angioflag"/>
  513. <col ref="robotopflag"/>
  514. <col ref="cancerflag"/>
  515. <col ref="laparoflag"/>
  516. <col ref="trdiagyn"/>
  517. <script type="javascript" ev:event="onmousedown">
  518. <![CDATA[
  519. // [요청번호: 847, TASK번호: 2779, 우선순위: A, 특이사항: 딜로이트] 2010.06.15 김광성 kskim
  520. // 메뉴중 취소승인 메뉴 012 경우에만 적용 2010.06.17 kskim
  521. var instflag = model.getValue("/root/init/hardcd222/hardcd/hardcd");
  522. if( !isNull(instflag) && instflag == "Y"){
  523. setPopupMenu("grd_opanstcnfmpatlist", false, "/root/popupmenu/menu/item", "name", "func");
  524. }
  525. else{
  526. setPopupMenu("grd_opanstcnfmpatlist", false, "/root/popupmenu3/menu/item", "name", "func");
  527. }
  528. ]]>
  529. </script>
  530. <script type="javascript" ev:event="onaftersort">
  531. <![CDATA[
  532. grd_opanstcnfmpatlist.gridToInstance();
  533. ]]>
  534. </script>
  535. <script type="javascript" ev:event="DOMFocusOut">
  536. <![CDATA[
  537. initPopupMenu();
  538. ]]>
  539. </script>
  540. <script type="javascript" ev:event="oncursor">
  541. <![CDATA[
  542. ]]>
  543. </script>
  544. <script type="javascript" ev:event="onclick">
  545. <![CDATA[
  546. // [요청번호: 12869, TASK번호: 48146, 우선순위: SY]
  547. // 요청제목 : 수술마취 의뢰에 전달사항 입력 시 마취과 확정/조정 화면에 전달사항 컬럼 추가 및 팝업 조회 기능 요청
  548. // 작성자: 김광성. kskim
  549. // 작성일: 20100415
  550. fOpenSPMMO05500("grd_opanstcnfmpatlist");
  551. ]]>
  552. </script>
  553. <script type="javascript" ev:event="onrowchanged">
  554. <![CDATA[
  555. ]]>
  556. </script>
  557. </datagrid>
  558. <group id="group1" style="left:575px; top:135px; width:275px; height:117px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
  559. <caption id="caption4" class="cell_1" style="left:3px; top:22px; width:65px; height:20px; vertical-align:middle; ">마취의1</caption>
  560. <button id="btn_cnfm" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:181px; top:88px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  561. <caption>확인</caption>
  562. <script type="javascript" ev:event="DOMActivate">
  563. <![CDATA[
  564. fSaveAssgnAnstDr();
  565. ]]>
  566. </script>
  567. </button>
  568. <select1 id="combo3" ref="/root/main/anstdrid/anstdrid3" appearance="minimal" itemcount="8" style="left:70px; top:65px; width:198px; height:19px; ">
  569. <choices>
  570. <itemset nodeset="/root/init/userlist/usercombo">
  571. <label ref="usernm"/>
  572. <value ref="userid"/>
  573. </itemset>
  574. </choices>
  575. <script type="javascript" ev:event="xforms-value-changed">
  576. <![CDATA[
  577. var anstdrid1 = model.getValue("/root/main/anstdrid/anstdrid1");
  578. var anstdrid2 = model.getValue("/root/main/anstdrid/anstdrid2");
  579. var anstdrid3 = model.getValue("/root/main/anstdrid/anstdrid3");
  580. if(anstdrid3 != "-"){
  581. if(anstdrid3 == anstdrid1 || anstdrid3 == anstdrid2){
  582. messageBox("동일한 마취의를 선택", "E001");
  583. model.setValue("/root/main/anstdrid/anstdrid3", "-");
  584. model.refresh();
  585. }
  586. }
  587. ]]>
  588. </script>
  589. </select1>
  590. <caption id="caption5" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">마취의사 배정</caption>
  591. <select1 id="cmb_anstdrnm1" ref="/root/main/anstdrid/anstdrid1" appearance="minimal" itemcount="8" style="left:70px; top:24px; width:198px; height:19px; ">
  592. <choices>
  593. <itemset nodeset="/root/init/userlist/usercombo">
  594. <label ref="usernm"/>
  595. <value ref="userid"/>
  596. </itemset>
  597. </choices>
  598. <script type="javascript" ev:event="xforms-value-changed">
  599. <![CDATA[
  600. var anstdrid1 = model.getValue("/root/main/anstdrid/anstdrid1");
  601. var anstdrid2 = model.getValue("/root/main/anstdrid/anstdrid2");
  602. var anstdrid3 = model.getValue("/root/main/anstdrid/anstdrid3");
  603. if(anstdrid1 != "-"){
  604. if(anstdrid1 == anstdrid2 || anstdrid1 == anstdrid3){
  605. messageBox("동일한 마취의를 선택", "E001");
  606. model.setValue("/root/main/anstdrid/anstdrid1", "-");
  607. model.refresh();
  608. }
  609. }
  610. ]]>
  611. </script>
  612. </select1>
  613. <select1 id="cmb_anstdrnm2" ref="/root/main/anstdrid/anstdrid2" appearance="minimal" itemcount="8" style="left:70px; top:45px; width:198px; height:19px; ">
  614. <choices>
  615. <itemset nodeset="/root/init/userlist/usercombo">
  616. <label ref="usernm"/>
  617. <value ref="userid"/>
  618. </itemset>
  619. </choices>
  620. <script type="javascript" ev:event="xforms-value-changed">
  621. <![CDATA[
  622. var anstdrid1 = model.getValue("/root/main/anstdrid/anstdrid1");
  623. var anstdrid2 = model.getValue("/root/main/anstdrid/anstdrid2");
  624. var anstdrid3 = model.getValue("/root/main/anstdrid/anstdrid3");
  625. if(anstdrid2 != "-"){
  626. if(anstdrid2 == anstdrid1 || anstdrid2 == anstdrid3){
  627. messageBox("동일한 마취의를 선택", "E001");
  628. model.setValue("/root/main/anstdrid/anstdrid2", "-");
  629. model.refresh();
  630. }
  631. }
  632. ]]>
  633. </script>
  634. </select1>
  635. <caption id="caption2" class="cell_1" style="left:3px; top:43px; width:65px; height:20px; vertical-align:middle; ">마취의2</caption>
  636. <caption id="caption3" class="cell_1" style="left:3px; top:64px; width:65px; height:20px; vertical-align:middle; ">마취의3</caption>
  637. <line id="line4" class="line_1" style="x1:3px; y1:17px; x2:268px; y2:17px; "/>
  638. <button id="btn_cncl" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:225px; top:88px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  639. <caption>취소</caption>
  640. <script type="javascript" ev:event="DOMActivate">
  641. <![CDATA[
  642. fClkCnclBtn();
  643. ]]>
  644. </script>
  645. </button>
  646. <line id="line6" class="line_3" style="x1:3px; y1:85px; x2:268px; y2:85px; "/>
  647. </group>
  648. <!-- group -->
  649. <group id="group5" style="left:592px; top:59px; width:325px; height:25px; background-color:transparent; border-color:transparent; border-style:none; ">
  650. <button id="button4" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter5.gif" style="left:180px; top:4px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter5.gif; ">
  651. <caption>마취의배정</caption>
  652. <script type="javascript" ev:event="DOMActivate">
  653. <![CDATA[
  654. fAssgnAnstDr();
  655. ]]>
  656. </script>
  657. </button>
  658. <button id="button6" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:92px; top:4px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  659. <caption>수술마취변경</caption>
  660. <script type="javascript" ev:event="DOMActivate">
  661. <![CDATA[
  662. fChngOpAnstPatInfo();
  663. ]]>
  664. </script>
  665. </button>
  666. <button id="button1" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:4px; top:4px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  667. <caption>수술전평가서</caption>
  668. <script type="javascript" ev:event="DOMActivate">
  669. <![CDATA[
  670. fPreOpAssemRec();
  671. ]]>
  672. </script>
  673. </button>
  674. <button id="button14" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:257px; top:4px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  675. <caption>마취방법</caption>
  676. <script type="javascript" ev:event="DOMActivate">
  677. <![CDATA[
  678. fMthdAnst();
  679. ]]>
  680. </script>
  681. </button>
  682. </group>
  683. <button id="button8" class="btn2_letter6" disable.background-image="../../../com/commonweb/images/dis_btn2_letter6.gif" style="left:1003px; top:63px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn2_letter6.gif; ">
  684. <caption>취소변경승인</caption>
  685. <script type="javascript" ev:event="DOMActivate">
  686. <![CDATA[
  687. fOpAnstAprvChngCnl();
  688. ]]>
  689. </script>
  690. </button>
  691. <button id="button9" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1091px; top:63px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  692. <caption>excel</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. saveGridToExcel(grd_opanstcnfmpatlist, "hidden");
  696. ]]>
  697. </script>
  698. </button>
  699. <button id="button10" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1146px; top:63px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  700. <caption>출력</caption>
  701. <script type="javascript" ev:event="DOMActivate">
  702. <![CDATA[
  703. exeReportPreview("RPMMO05401", "XMLSTR");
  704. ]]>
  705. </script>
  706. </button>
  707. <group id="group2" style="left:575px; top:255px; width:275px; height:95px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
  708. <button id="button5" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:181px; top:68px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  709. <caption>확인</caption>
  710. <script type="javascript" ev:event="DOMActivate">
  711. <![CDATA[
  712. fSaveMnthAnst();
  713. ]]>
  714. </script>
  715. </button>
  716. <button id="button13" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:225px; top:68px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  717. <caption>취소</caption>
  718. <script type="javascript" ev:event="DOMActivate">
  719. <![CDATA[
  720. fClkMnthCnclBtn();
  721. ]]>
  722. </script>
  723. </button>
  724. <select1 id="cmb_anstmthdcd" ref="/root/main/anstdrid/anstmthdcd" disabled="false" appearance="minimal" style="left:70px; top:23px; width:89px; height:19px; ">
  725. <choices>
  726. <itemset nodeset="/root/init/M0017/M0017">
  727. <label ref="cdnm"/>
  728. <value ref="cdid"/>
  729. </itemset>
  730. </choices>
  731. <script type="javascript" ev:event="xforms-value-changed">
  732. <![CDATA[
  733. fChngAnstMthdCmb(cmb_anstmthdcd , cmb_detlanstmthdcd , "/root/main/anstdrid/anstdetlmthdcd");
  734. ]]>
  735. </script>
  736. </select1>
  737. <caption id="caption15" class="tit_2" style="left:5px; top:4px; width:151px; height:13px; vertical-align:middle; ">마취방법</caption>
  738. <caption id="caption16" class="cell_1" style="left:3px; top:23px; width:65px; height:20px; vertical-align:middle; ">마취방법</caption>
  739. <line id="line7" class="line_1" style="x1:3px; y1:18px; x2:268px; y2:18px; "/>
  740. <caption id="caption17" class="cell_1" style="left:3px; top:44px; width:65px; height:20px; vertical-align:middle; ">나이구분</caption>
  741. <select1 id="cmb_detlanstmthdcd" ref="/root/main/anstdrid/anstdetlmthdcd" disabled="false" appearance="minimal" style="left:160px; top:23px; width:108px; height:19px; ">
  742. <choices>
  743. <itemset>
  744. <label ref="cdnm"/>
  745. <value ref="cdid"/>
  746. </itemset>
  747. </choices>
  748. </select1>
  749. <select1 id="cmb_ageflag" ref="/root/main/anstdrid/ageflag" appearance="minimal" style="left:70px; top:44px; width:198px; height:19px; ">
  750. <choices>
  751. <item>
  752. <label>신생아-1달이하</label>
  753. <value>01</value>
  754. </item>
  755. <item>
  756. <label>1달-1년</label>
  757. <value>10</value>
  758. </item>
  759. <item>
  760. <label>1년초과-3년이하</label>
  761. <value>11</value>
  762. </item>
  763. <item>
  764. <label>3년초과-5년이하</label>
  765. <value>12</value>
  766. </item>
  767. <item>
  768. <label>5년초과-8년이하</label>
  769. <value>13</value>
  770. </item>
  771. <item>
  772. <label>12년초과-15년이하</label>
  773. <value>14</value>
  774. </item>
  775. <item>
  776. <label>성인-16세이상</label>
  777. <value>20</value>
  778. </item>
  779. </choices>
  780. </select1>
  781. <line id="line5" class="line_3" style="x1:3px; y1:65px; x2:268px; y2:65px; "/>
  782. </group>
  783. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" visibility="hidden" inputtype="date" style="left:335px; top:30px; width:91px; height:19px; "/>
  784. <select1 id="rdo_term" ref="/root/main/cond/schterm" visibility="hidden" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:440px; top:30px; width:210px; height:20px; border-style:none; ">
  785. <choices>
  786. <item>
  787. <label>1개월</label>
  788. <value>O</value>
  789. </item>
  790. <item>
  791. <label>3개월</label>
  792. <value>T</value>
  793. </item>
  794. <item>
  795. <label>6개월</label>
  796. <value>S</value>
  797. </item>
  798. <item>
  799. <label>1년</label>
  800. <value>Y</value>
  801. </item>
  802. </choices>
  803. <script type="javascript" ev:event="xforms-value-changed">
  804. <![CDATA[
  805. var term = model.getValue("/root/main/cond/schterm");
  806. if(term == "O") {
  807. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-1, "M");
  808. model.setValue("/root/main/cond/fromdd", fromdd.getDateFormat());
  809. } else if(term == "T") {
  810. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-3, "M");
  811. model.setValue("/root/main/cond/fromdd", fromdd.getDateFormat());
  812. } else if(term == "S") {
  813. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-6, "M");
  814. model.setValue("/root/main/cond/fromdd", fromdd.getDateFormat());
  815. } else if(term == "Y") {
  816. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-1, "Y");
  817. model.setValue("/root/main/cond/fromdd", fromdd.getDateFormat());
  818. }
  819. model.refresh();
  820. ]]>
  821. </script>
  822. </select1>
  823. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" visibility="hidden" inputtype="date" style="left:225px; top:30px; width:91px; height:19px; "/>
  824. <caption id="caption7" style="left:1030px; top:30px; width:55px; height:20px; ">미승인</caption>
  825. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/unaprv" style="left:1009px; top:30px; width:15px; height:20px; ">
  826. <script type="javascript" ev:event="xforms-value-changed">
  827. <![CDATA[
  828. if(model.getValue("/root/main/cond/unaprv") == "Y") {
  829. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-1, "M");
  830. model.setValue("/root/main/cond/todd", getCurrentDate());
  831. model.setValue("/root/main/cond/fromdd", fromdd.getDateFormat());
  832. ipt_opschedt.disabled = true;
  833. ipt_fromdd.visible = true;
  834. ipt_todd.visible = true;
  835. rdo_term.visible = true;
  836. caption8.visible = true;
  837. } else {
  838. ipt_opschedt.disabled = false;
  839. ipt_fromdd.visible = false;
  840. ipt_todd.visible = false;
  841. rdo_term.visible = false;
  842. caption8.visible = false;
  843. }
  844. model.refresh();
  845. fReqOpAnstSche();
  846. ]]>
  847. </script>
  848. </bool>
  849. <caption id="caption8" visibility="hidden" style="left:320px; top:32px; width:15px; height:20px; ">~</caption>
  850. <button id="btn_cfm" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:530px; top:63px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  851. <caption>일괄확정</caption>
  852. <script type="javascript" ev:event="DOMActivate">
  853. <![CDATA[
  854. // fCnfmOpAnstSche("total");
  855. var sOPANSTCNFM_PATH = "/root/main/opanstpatinfo/opanstcnfmpatlist";
  856. var header = "status▦oprsrvno▦ophistno▦pid▦opcnfmdd▦oppatflagcd▦opstatcd▦mainoprsrvno▦oproomcd▦ccrtno▦anstreqflag▦orddeptcd▦perfdrid▦opfromtmcd▦opstatcdreal▦reqrsncd▦aprvreqno▦opschedd▦opusetm▦opendtmcd▩";
  857. for(var i = 1 ; i < grd_opanstcnfmpatlist.rows; i++){
  858. var opstatcd = model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opstatcd");
  859. if(opstatcd >= 20){ //확정된 경우는 skip;
  860. continue;
  861. }
  862. var child = "i▦" +
  863. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oprsrvno") + "▦" +
  864. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/ophistno") + "▦" +
  865. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/pid") + "▦" +
  866. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opcnfmdd") + "▦" +
  867. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oppatflagcd") + "▦" +
  868. "20" + "▦" +
  869. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/mainoprsrvno")+ "▦" +
  870. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oproomcd") + "▦" +
  871. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/ccrtno") + "▦" +
  872. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/anstreqflag") + "▦" +
  873. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/orddeptcd") + "▦" + //chart 호출 parameter
  874. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/perfdrid") + "▦" +
  875. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opfromtmcd") + "▦" +
  876. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opstatcd") + "▦" +
  877. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/reqrsncd") + "▦" +
  878. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/aprvreqno") + "▦" +
  879. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opschedd") + "▦" +
  880. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opusetm") + "▦" +
  881. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opendtmcd") + "▩";
  882. header += child;
  883. }
  884. model.setValue("/root/send/savedata", header);
  885. if(submit("TXMMO05501")){
  886. fReqOpAnstSche();
  887. }
  888. ]]>
  889. </script>
  890. </button>
  891. <shape id="rectangle1" appearance="rectangle" style="left:89px; top:763px; width:16px; height:13px; background-color:#000000; "/>
  892. <shape id="rectangle2" appearance="rectangle" style="left:152px; top:763px; width:16px; height:13px; background-color:#ff0000; border-color:#ff0000; "/>
  893. <shape id="rectangle3" appearance="rectangle" style="left:233px; top:763px; width:16px; height:13px; background-color:#0000ff; border-color:#0000ff; "/>
  894. <shape id="rectangle4" appearance="rectangle" style="left:315px; top:763px; width:16px; height:13px; color:#ff00ff; background-color:#ff00ff; border-color:#ff00ff; "/>
  895. <shape id="rectangle5" appearance="rectangle" style="left:485px; top:763px; width:16px; height:13px; background-color:#00A400; border-color:#00A400; "/>
  896. <caption id="caption32" style="left:168px; top:758px; width:54px; height:25px; font-weight:bold; color:#ff0000; ">취소요청</caption>
  897. <caption id="caption10" style="left:504px; top:758px; width:43px; height:25px; font-weight:bold; color:#00A400; ">가확정</caption>
  898. <caption id="caption33" style="left:250px; top:758px; width:55px; height:25px; font-weight:bold; color:#0000ff; ">변경요청</caption>
  899. <caption id="caption29" style="left:107px; top:758px; width:35px; height:25px; font-weight:bold; ">확정</caption>
  900. <caption id="caption9" style="left:334px; top:758px; width:142px; height:25px; font-weight:bold; color:#ff00ff; ">주수술 취소된 협진수술</caption>
  901. <shape id="rectangle6" appearance="rectangle" style="left:6px; top:763px; width:16px; height:13px; background-color:#999999; border-color:transparent; border-style:none; "/>
  902. <caption id="caption12" style="left:24px; top:758px; width:54px; height:25px; font-weight:bold; color:#999999; ">정규의뢰</caption>
  903. <button id="btn_cnclBatAprv" class="btn2_letter6" style="left:915px; top:63px; width:86px; height:19px; ">
  904. <caption>취소일괄승인</caption>
  905. <script type="javascript" ev:event="DOMActivate">
  906. <![CDATA[
  907. /*
  908. [요청번호: 847, TASK번호: 2779, 우선순위: A]
  909. 요청제목: 수술진행현황,확정수술스케줄조회,수술스케줄 변경 방법 변경 요청.
  910. */
  911. fCnclBatAprv() // 2010.06.16 kskim
  912. ]]>
  913. </script>
  914. </button>
  915. <button id="btn_selconf" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:398px; top:63px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  916. <caption>선택확정</caption>
  917. <script type="javascript" ev:event="DOMActivate">
  918. <![CDATA[
  919. var sOPANSTCNFM_PATH = "/root/main/opanstpatinfo/opanstcnfmpatlist";
  920. var header = "status▦oprsrvno▦ophistno▦pid▦opcnfmdd▦oppatflagcd▦opstatcd▦mainoprsrvno▦oproomcd▦ccrtno▦anstreqflag▦orddeptcd▦perfdrid▦opfromtmcd▦opstatcdreal▦reqrsncd▦aprvreqno▦opschedd▦opusetm▦opendtmcd▩";
  921. for(var i = 1 ; i < grd_opanstcnfmpatlist.rows; i++){
  922. var opstatcd = model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opstatcd");
  923. if(opstatcd >= 20){ //확정된 경우는 skip;
  924. continue;
  925. }
  926. if(model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/sel") != "Y"){ //선택
  927. continue;
  928. }
  929. var child = "i▦" +
  930. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oprsrvno") + "▦" +
  931. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/ophistno") + "▦" +
  932. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/pid") + "▦" +
  933. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opcnfmdd") + "▦" +
  934. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oppatflagcd") + "▦" +
  935. "20" + "▦" +
  936. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/mainoprsrvno")+ "▦" +
  937. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/oproomcd") + "▦" +
  938. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/ccrtno") + "▦" +
  939. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/anstreqflag") + "▦" +
  940. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/orddeptcd") + "▦" + //chart 호출 parameter
  941. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/perfdrid") + "▦" +
  942. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opfromtmcd") + "▦" +
  943. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opstatcd") + "▦" +
  944. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/reqrsncd") + "▦" +
  945. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/aprvreqno") + "▦" +
  946. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opschedd") + "▦" +
  947. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opusetm") + "▦" +
  948. model.getValue(sOPANSTCNFM_PATH + "[" + i + "]/opendtmcd") + "▩";
  949. header += child;
  950. }
  951. model.setValue("/root/send/savedata", header);
  952. if(submit("TXMMO05501")){
  953. fReqOpAnstSche();
  954. }
  955. ]]>
  956. </script>
  957. </button>
  958. <button id="button2" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:464px; top:63px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  959. <caption>확정취소</caption>
  960. <script type="javascript" ev:event="DOMActivate">
  961. <![CDATA[
  962. fCancelOpAnstSche();
  963. ]]>
  964. </script>
  965. </button>
  966. </xhtml:body>
  967. </xhtml:html>