SSMMR05800_마취환자기록마스터.xrw 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237
  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. <recmast>
  11. <item>
  12. <depth/>
  13. <recitem/>
  14. <suprecitem/>
  15. <rectype/>
  16. <recnm/>
  17. <rec/>
  18. <subrec/>
  19. <checked/>
  20. </item>
  21. </recmast>
  22. <prcpmast>
  23. <item>
  24. <checked/>
  25. <prcptype/>
  26. <clscd/>
  27. <prcpcd/>
  28. <prcpnm/>
  29. <abbrnm/>
  30. <prcpvol/>
  31. <prcpvolunitnm/>
  32. <drugmthdcd/>
  33. <prcpappyn/>
  34. <totvolyn/>
  35. <recvol/>
  36. <remark/>
  37. <depth/>
  38. </item>
  39. </prcpmast>
  40. <agent>
  41. <item>
  42. <checked/>
  43. <prcptype/>
  44. <clscd/>
  45. <prcpcd/>
  46. <prcpnm/>
  47. <abbrnm/>
  48. <prcpvol/>
  49. <prcpvolunitnm/>
  50. <drugmthdcd/>
  51. <prcpappyn/>
  52. <totvolyn/>
  53. <recvol/>
  54. <remark/>
  55. <depth/>
  56. </item>
  57. </agent>
  58. <agent01>
  59. <item>
  60. <checked/>
  61. <prcptype/>
  62. <clscd/>
  63. <prcpcd/>
  64. <prcpnm/>
  65. <abbrnm/>
  66. <prcpvol/>
  67. <prcpvolunitnm/>
  68. <drugmthdcd/>
  69. <prcpappyn/>
  70. <totvolyn/>
  71. <recvol/>
  72. <remark/>
  73. <depth/>
  74. </item>
  75. </agent01>
  76. <agent02>
  77. <item>
  78. <checked/>
  79. <prcptype/>
  80. <clscd/>
  81. <prcpcd/>
  82. <prcpnm/>
  83. <abbrnm/>
  84. <prcpvol/>
  85. <prcpvolunitnm/>
  86. <drugmthdcd/>
  87. <prcpappyn/>
  88. <totvolyn/>
  89. <recvol/>
  90. <remark/>
  91. <depth/>
  92. </item>
  93. </agent02>
  94. <agent03>
  95. <item>
  96. <checked/>
  97. <prcptype/>
  98. <clscd/>
  99. <prcpcd/>
  100. <prcpnm/>
  101. <abbrnm/>
  102. <prcpvol/>
  103. <prcpvolunitnm/>
  104. <drugmthdcd/>
  105. <prcpappyn/>
  106. <totvolyn/>
  107. <recvol/>
  108. <remark/>
  109. <depth/>
  110. </item>
  111. </agent03>
  112. <agent04>
  113. <item>
  114. <checked/>
  115. <prcptype/>
  116. <clscd/>
  117. <prcpcd/>
  118. <prcpnm/>
  119. <abbrnm/>
  120. <prcpvol/>
  121. <prcpvolunitnm/>
  122. <drugmthdcd/>
  123. <prcpappyn/>
  124. <totvolyn/>
  125. <recvol/>
  126. <remark/>
  127. <depth/>
  128. </item>
  129. </agent04>
  130. <drug>
  131. <item>
  132. <checked/>
  133. <prcptype/>
  134. <clscd/>
  135. <prcpcd/>
  136. <prcpnm/>
  137. <abbrnm/>
  138. <prcpvol/>
  139. <prcpvolunitnm/>
  140. <drugmthdcd/>
  141. <prcpappyn/>
  142. <totvolyn/>
  143. <recvol/>
  144. <remark/>
  145. <depth/>
  146. </item>
  147. </drug>
  148. <fluid>
  149. <item>
  150. <checked/>
  151. <prcptype/>
  152. <clscd/>
  153. <prcpcd/>
  154. <prcpnm/>
  155. <abbrnm/>
  156. <prcpvol/>
  157. <prcpvolunitnm/>
  158. <drugmthdcd/>
  159. <prcpappyn/>
  160. <totvolyn/>
  161. <recvol/>
  162. <remark/>
  163. <depth/>
  164. </item>
  165. </fluid>
  166. <blod>
  167. <item>
  168. <checked/>
  169. <prcptype/>
  170. <clscd/>
  171. <prcpcd/>
  172. <prcpnm/>
  173. <abbrnm/>
  174. <prcpvol/>
  175. <prcpvolunitnm/>
  176. <drugmthdcd/>
  177. <prcpappyn/>
  178. <totvolyn/>
  179. <recvol/>
  180. <remark/>
  181. <depth/>
  182. </item>
  183. </blod>
  184. <proc>
  185. <item>
  186. <checked/>
  187. <prcptype/>
  188. <clscd/>
  189. <prcpcd/>
  190. <prcpnm/>
  191. <abbrnm/>
  192. <prcpvol/>
  193. <prcpvolunitnm/>
  194. <drugmthdcd/>
  195. <prcpappyn/>
  196. <totvolyn/>
  197. <recvol/>
  198. <remark/>
  199. <depth/>
  200. </item>
  201. </proc>
  202. <anstrec>
  203. <item>
  204. <recitem/>
  205. <rectype/>
  206. <recnm/>
  207. <rec/>
  208. <subrec/>
  209. </item>
  210. </anstrec>
  211. <recsetitem>
  212. <item>
  213. <depth/>
  214. <recitem/>
  215. <suprecitem/>
  216. <rectype/>
  217. <recnm/>
  218. <valiyn/>
  219. <checked/>
  220. </item>
  221. </recsetitem>
  222. <prcpset>
  223. <item>
  224. <checked/>
  225. <prcptype/>
  226. <prcpcd/>
  227. <prcpnm/>
  228. <abbrnm/>
  229. <prcpvol/>
  230. <prcpvolunitnm/>
  231. <valiyn/>
  232. </item>
  233. </prcpset>
  234. <prcpsetitem>
  235. <item>
  236. <checked/>
  237. <prcptype/>
  238. <prcpcd/>
  239. <prcpnm/>
  240. <abbrnm/>
  241. <prcpvol/>
  242. <prcpvolunitnm/>
  243. <valiyn/>
  244. </item>
  245. </prcpsetitem>
  246. <prcpsearch>
  247. <item>
  248. <checked/>
  249. <prcptype/>
  250. <clscd/>
  251. <prcpcd/>
  252. <prcpnm/>
  253. <abbrnm/>
  254. <prcpvol/>
  255. <prcpvolunitnm/>
  256. <drugmthdcd/>
  257. <prcpappyn/>
  258. <recvol/>
  259. <remark/>
  260. <depth/>
  261. </item>
  262. </prcpsearch>
  263. <blodlist>
  264. <item>
  265. <prcpcd/>
  266. <prcpnm/>
  267. <blodno/>
  268. <abo/>
  269. <rh/>
  270. <blodbarcd/>
  271. <prepblodseqno/>
  272. </item>
  273. </blodlist>
  274. </main>
  275. <send>
  276. <reqdata>
  277. <instcd/>
  278. <anstdeptcd/>
  279. <opschedd/>
  280. <queryflag/>
  281. <anstinfo/>
  282. <oprsrvno/>
  283. <ophistno/>
  284. <pid/>
  285. <anstrecno/>
  286. <prcptype/>
  287. <clscd/>
  288. <settype>P</settype>
  289. <currentdate/>
  290. <setclscd/>
  291. <setcd/>
  292. <flag>nm</flag>
  293. <data/>
  294. <ioflag/>
  295. <prcpfromdd/>
  296. <prcptodd/>
  297. <recsetcd/>
  298. </reqdata>
  299. <savedata/>
  300. <recinfo>
  301. <recitem/>
  302. <instcd/>
  303. <currentdate/>
  304. </recinfo>
  305. <setinfo>
  306. <setcd/>
  307. <setnm/>
  308. <settype/>
  309. <valiyn/>
  310. <status/>
  311. <instcd/>
  312. <currentdate/>
  313. </setinfo>
  314. <req>
  315. <cond1/>
  316. <cond2/>
  317. <cond3/>
  318. </req>
  319. <orddept/>
  320. <userlist/>
  321. </send>
  322. <temp>
  323. <selectoplist/>
  324. <blodcopy>
  325. <chk/>
  326. <seq/>
  327. </blodcopy>
  328. </temp>
  329. <init>
  330. <M0000>
  331. <M0000>
  332. <cdid>00</cdid>
  333. <cdnm>-</cdnm>
  334. </M0000>
  335. </M0000>
  336. <M0013/>
  337. <M0016/>
  338. <M0020/>
  339. <M0008/>
  340. <M0270/>
  341. <M0271/>
  342. <M0269/>
  343. <M0287>
  344. <M0287>
  345. <cdid/>
  346. <cdnm>전체</cdnm>
  347. </M0287>
  348. </M0287>
  349. <setlist>
  350. <item>
  351. <setcd/>
  352. <setnm/>
  353. </item>
  354. </setlist>
  355. <recsetlist>
  356. <item>
  357. <setcd>0</setcd>
  358. <setnm>기록마스터(전체)</setnm>
  359. </item>
  360. </recsetlist>
  361. <bloodrght>
  362. <mouserght>
  363. <label>준비혈액일련번호 복사하기</label>
  364. <func>fSetBlodno</func>
  365. </mouserght>
  366. </bloodrght>
  367. </init>
  368. <hidden>
  369. <agenttodd/>
  370. <agenttotm/>
  371. <agentfromdd/>
  372. <agentfromtm/>
  373. <ansttm/>
  374. <anstmnt/>
  375. <selectedrec/>
  376. <subrec/>
  377. <recsetcd/>
  378. <prcpsetcd/>
  379. <menu2>
  380. <menu>
  381. <label>추가기록</label>
  382. <func>fAddSubRec</func>
  383. </menu>
  384. </menu2>
  385. <menu7>
  386. <menu>
  387. <label>약품편람</label>
  388. <func>fDrugInfo</func>
  389. </menu>
  390. </menu7>
  391. <tmedmthd>
  392. <tmedmthdlist>
  393. <status/>
  394. <abbrnm>-</abbrnm>
  395. <mthdcnts1>-</mthdcnts1>
  396. <mthdcnts/>
  397. <mthdcd>-</mthdcd>
  398. <basecnt/>
  399. <adminpath/>
  400. <mealflag/>
  401. <drdirecyn/>
  402. </tmedmthdlist>
  403. </tmedmthd>
  404. <receivedata>
  405. <srchdrugcd/>
  406. </receivedata>
  407. </hidden>
  408. </root>
  409. </instance>
  410. <script type="javascript" ev:event="xforms-ready">
  411. <![CDATA[
  412. ]]>
  413. </script>
  414. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" add="bottom"/>
  415. <submission id="TRMMR04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/recmast/item"/>
  416. <submission id="TRMMR04202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  417. <submission id="TRMMR04204" mediatype="application/x-www-form-urlencoded" method="post"/>
  418. <submission id="TRMMR04205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setinfo" resultref="/root/main/recmast/item"/>
  419. <submission id="TRMMR04206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setinfo" resultref="/root/main/prcpset/item"/>
  420. <submission id="TRMMR03704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/anstrec/item"/>
  421. <submission id="TRMMR03710" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" add="bottom" resultref="/root/hidden/tmedmthd"/>
  422. <submission id="TRMMR03713" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/blodlist/item"/>
  423. <bind id="bind_checked1" ref="/root/main/agent01n/item/checked" readonly="../depth != '1'"/>
  424. <bind id="bind_drugfromdt1" ref="/root/main/agent01n/item/drugfromdt" readonly="../depth != '1'"/>
  425. <bind id="bind_drugtodt1" ref="/root/main/agent01n/item/drugtodt" readonly="../depth != '1'"/>
  426. <bind id="bind_checked2" ref="/root/main/agent01y/item/checked" readonly="../depth != '1'"/>
  427. <bind id="bind_drugfromdt2" ref="/root/main/agent01y/item/drugfromdt" readonly="../depth != '1'"/>
  428. <bind id="bind_drugtodt2" ref="/root/main/agent01y/item/drugtodt" readonly="../depth != '1'"/>
  429. </model>
  430. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  431. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  432. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  433. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  434. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  435. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  436. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  437. <script type="javascript" src="../../../emr/anstrecweb/js/MMR05800.js"/>
  438. </xhtml:head>
  439. <xhtml:body pagewidth="455" pageheight="710" guideline="2,709;1,458;">
  440. <button id="btn_proc" class="btn2_letter3" style="left:342px; top:5px; width:53px; height:19px; ">
  441. <caption>Proc</caption>
  442. <toggle case="case_proc" ev:event="onclick"/>
  443. <script type="javascript" ev:event="onclick">
  444. <![CDATA[
  445. fPrcpMastLoad();
  446. ]]>
  447. </script>
  448. </button>
  449. <button id="btn_agent" class="btn2_letter3" selected="true" style="left:140px; top:5px; width:53px; height:19px; ">
  450. <caption>Agent</caption>
  451. <toggle case="case_agent" ev:event="onclick"/>
  452. <script type="javascript" ev:event="onclick">
  453. <![CDATA[
  454. fPrcpMastLoad();
  455. ]]>
  456. </script>
  457. </button>
  458. <button id="btn_search00" class="btn2_letter3" style="left:399px; top:5px; width:53px; height:19px; ">
  459. <caption>검색</caption>
  460. <toggle case="case_search" ev:event="onclick"/>
  461. <script type="javascript" ev:event="onclick">
  462. <![CDATA[
  463. fPrcpMastLoad();
  464. ]]>
  465. </script>
  466. </button>
  467. <button id="btn_fluid" class="btn2_letter6" style="left:253px; top:5px; width:86px; height:19px; ">
  468. <caption>Fluid/Blood</caption>
  469. <toggle case="case_fluid" ev:event="onclick"/>
  470. <script type="javascript" ev:event="onclick">
  471. <![CDATA[
  472. fPrcpMastLoad();
  473. ]]>
  474. </script>
  475. </button>
  476. <button id="btn_set" class="btn2_letter4" style="left:73px; top:5px; width:64px; height:19px; ">
  477. <caption>처방SET</caption>
  478. <toggle case="case_set" ev:event="onclick"/>
  479. <script type="javascript" ev:event="onclick">
  480. <![CDATA[
  481. fPrcpSetLoad();
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="btn_anstrec" class="btn2_letter4" selected="true" style="left:5px; top:5px; width:50px; height:19px; ">
  486. <caption>기 록</caption>
  487. <toggle case="case_rec" ev:event="onclick"/>
  488. <script type="javascript" ev:event="onclick">
  489. <![CDATA[
  490. sw_left1.visible = true;
  491. ]]>
  492. </script>
  493. </button>
  494. <switch id="sw_left1" style="left:1px; top:26px; width:452px; height:682px; ">
  495. <case id="case_rec">
  496. <datagrid id="grd_recmast" nodeset="/root/main/recmast/item" class="datagrid_logo" caption="depth^recitem^suprecitem^recnm^rec^subrec^rectype^checked" colsep="^" colwidth="0, 0, 0, 400, 0, 0, 30, 0" ellipsis="true" rowsep="|" tooltip="true" style="left:1px; top:40px; width:448px; height:637px; ">
  497. <col ref="depth" visibility="hidden"/>
  498. <col ref="recitem" visibility="hidden"/>
  499. <col ref="suprecitem" visibility="hidden"/>
  500. <col ref="rec"/>
  501. <col ref="recnm" visibility="hidden"/>
  502. <col ref="subrec" visibility="hidden"/>
  503. <col disabled="true" ref="rectype" type="combo">
  504. <choices>
  505. <item>
  506. <label>폴더</label>
  507. <value>F</value>
  508. </item>
  509. <item>
  510. <label>기록</label>
  511. <value>R</value>
  512. </item>
  513. <item>
  514. <label>처방</label>
  515. <value>P</value>
  516. </item>
  517. </choices>
  518. </col>
  519. <col ref="checked" visibility="hidden"/>
  520. <script type="javascript" ev:event="ondblclick">
  521. <![CDATA[
  522. fRecDbClick(grd_recmast);
  523. ]]>
  524. </script>
  525. <script type="javascript" ev:event="onmousedown">
  526. <![CDATA[
  527. fMouseRghtBtnPopup(grd_recmast, "subrec");
  528. ]]>
  529. </script>
  530. <script type="javascript" ev:event="DOMFocusOut">
  531. <![CDATA[
  532. window.setPopupMenu(false);
  533. ]]>
  534. </script>
  535. </datagrid>
  536. <group id="grup_subrec" visibility="hidden" style="left:18px; top:175px; width:415px; height:40px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  537. <button id="button3" class="btn2_letter2" style="left:362px; top:8px; width:42px; height:19px; ">
  538. <caption>취소</caption>
  539. <script type="javascript" ev:event="DOMActivate">
  540. <![CDATA[
  541. grup_subrec.visible = "false";
  542. ]]>
  543. </script>
  544. </button>
  545. <line id="line7" class="line_3" style="x1:5px; y1:4px; x2:405px; y2:4px; "/>
  546. <caption id="caption10" class="cell_1" style="left:5px; top:6px; width:60px; height:23px; vertical-align:middle; ">추가기록</caption>
  547. <line id="line5" class="line_3" style="x1:5px; y1:30px; x2:405px; y2:30px; "/>
  548. <input id="ipt_subrec" ref="/root/hidden/subrec" class="input_s_essential" maxlength="200" style="left:67px; top:8px; width:246px; height:19px; ">
  549. <script type="javascript" ev:event="onkeyup">
  550. <![CDATA[
  551. inputEnterKey("btn_sendsubrec", "DOMActivate");
  552. ]]>
  553. </script>
  554. </input>
  555. <button id="btn_sendsubrec" class="btn2_letter2" style="left:317px; top:8px; width:42px; height:19px; ">
  556. <caption>확인</caption>
  557. <script type="javascript" ev:event="DOMActivate">
  558. <![CDATA[
  559. fSendSubRec();
  560. ]]>
  561. </script>
  562. </button>
  563. </group>
  564. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:440px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  565. <line id="line4" class="line_1" style="x1:1px; y1:37px; x2:449px; y2:37px; "/>
  566. <caption id="caption1" class="search_name" style="left:15px; top:10px; width:95px; height:17px; ">기록 Set :</caption>
  567. <select1 id="cbo_recsetlist" ref="/root/send/reqdata/recsetcd" class="combo_search" appearance="minimal" style="left:115px; top:10px; width:315px; height:19px; ">
  568. <choices>
  569. <itemset nodeset="/root/init/recsetlist/item">
  570. <label ref="setnm"/>
  571. <value ref="setcd"/>
  572. </itemset>
  573. </choices>
  574. <script type="javascript" ev:event="xforms-value-changed">
  575. <![CDATA[
  576. fRecSetItemDisplay();
  577. ]]>
  578. </script>
  579. </select1>
  580. </case>
  581. <case id="case_set" selected="true">
  582. <datagrid id="grd_prcpset" nodeset="/root/main/prcpsetitem/item" class="datagrid_sms" caption="^구분^처방코드^처방명^총용량^총용량^분류" colsep="^" colwidth="25, 50, 0, 275, 50, 30, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedcols="byrowrec" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:2px; top:42px; width:447px; height:635px; text-align:center; ">
  583. <col ref="checked" type="checkbox"/>
  584. <col disabled="true" ref="prcptype" type="combo">
  585. <choices>
  586. <item>
  587. <label>Agent</label>
  588. <value>A</value>
  589. </item>
  590. <item>
  591. <label>Drug</label>
  592. <value>D</value>
  593. </item>
  594. <item>
  595. <label>Fluid</label>
  596. <value>F</value>
  597. </item>
  598. <item>
  599. <label>Blood</label>
  600. <value>B</value>
  601. </item>
  602. <item>
  603. <label>Proc</label>
  604. <value>P</value>
  605. </item>
  606. </choices>
  607. </col>
  608. <col ref="prcpcd"/>
  609. <col ref="prcpnm" style="text-align:left; "/>
  610. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  611. <col ref="prcpvolunitnm" style="text-align:center; "/>
  612. <col ref="clscd"/>
  613. <script type="javascript" ev:event="onclick">
  614. <![CDATA[
  615. if (grd_prcpset.col > 0 && grd_prcpset.row > 0) {
  616. var checked = model.getValue("/root/main/prcpsetitem/item["+ grd_prcpset.row +"]/checked");
  617. if (checked == "true") { checked = "false" } else { checked = "true" };
  618. model.setValue("/root/main/prcpsetitem/item["+ grd_prcpset.row +"]/checked", checked);
  619. model.refresh();
  620. }
  621. ]]>
  622. </script>
  623. <script type="javascript" ev:event="onmousedown">
  624. <![CDATA[
  625. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/prcpsetitem/item[" + grd_prcpset.row + "]/prcpcd" );
  626. fMouseRghtBtnPopup(grd_prcpset, "search");
  627. ]]>
  628. </script>
  629. <script type="javascript" ev:event="DOMFocusOut">
  630. <![CDATA[
  631. window.setPopupMenu(false);
  632. ]]>
  633. </script>
  634. </datagrid>
  635. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:440px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  636. <line id="line6" class="line_1" style="x1:2px; y1:37px; x2:449px; y2:37px; "/>
  637. <button id="btn_saveprcpset" class="btn4_letter2" style="left:380px; top:9px; width:56px; height:22px; ">
  638. <caption>적용</caption>
  639. <script type="javascript" ev:event="DOMActivate">
  640. <![CDATA[
  641. fAddBtnClick("S");
  642. ]]>
  643. </script>
  644. </button>
  645. <select1 id="cbo_setlist" ref="/root/send/setinfo/setcd" class="combo_search" appearance="minimal" style="left:245px; top:10px; width:129px; height:19px; ">
  646. <choices>
  647. <itemset nodeset="/root/init/setlist/item[clscd = '1']">
  648. <label ref="setnm"/>
  649. <value ref="setcd"/>
  650. </itemset>
  651. </choices>
  652. <script type="javascript" ev:event="xforms-value-changed">
  653. <![CDATA[
  654. fPrcpSetItemDisplay();
  655. ]]>
  656. </script>
  657. </select1>
  658. <select1 id="rdo_settype" ref="/root/send/reqdata/setclscd" class="radio_search" appearance="full" cellspacing="5" cols="4" rows="1" overflow="visible" style="left:13px; top:10px; width:232px; height:20px; background-color:transparent; border-style:none; ">
  659. <choices>
  660. <item>
  661. <label>수술별</label>
  662. <value>1</value>
  663. </item>
  664. <item>
  665. <label>마취별</label>
  666. <value>2</value>
  667. </item>
  668. <item>
  669. <label>과별</label>
  670. <value>3</value>
  671. </item>
  672. <item>
  673. <label>의사별</label>
  674. <value>4</value>
  675. </item>
  676. </choices>
  677. <script type="javascript" ev:event="onclick">
  678. <![CDATA[
  679. fComboSetlist();
  680. ]]>
  681. </script>
  682. </select1>
  683. </case>
  684. <case id="case_agent">
  685. <datagrid id="grd_agent04" nodeset="/root/main/agent04/item" class="datagrid_sms" caption="√^depth^약품명^총용량^총용량^투여방법" colsep="^" colwidth="20, 0, 280, 45, 30, 55" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:538px; width:449px; height:139px; ">
  686. <col ref="checked" type="checkbox"/>
  687. <col ref="depth"/>
  688. <col ref="prcpnm"/>
  689. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  690. <col ref="prcpvolunitnm" style="text-align:center; "/>
  691. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  692. <choices>
  693. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  694. <label ref="mthdcnts1"/>
  695. <value ref="mthdcd"/>
  696. </itemset>
  697. </choices>
  698. </col>
  699. <script type="javascript" ev:event="onclick">
  700. <![CDATA[
  701. if (grd_agent04.col > 0 && grd_agent04.row > 0) {
  702. var checked = model.getValue("/root/main/agent04/item["+ grd_agent04.row +"]/checked");
  703. if (checked == "true") { checked = "false" } else { checked = "true" };
  704. model.setValue("/root/main/agent04/item["+ grd_agent04.row +"]/checked", checked);
  705. }
  706. fAddBtnClick("A","04");
  707. model.refresh();
  708. ]]>
  709. </script>
  710. <script type="javascript" ev:event="onmousedown">
  711. <![CDATA[
  712. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/agent04/item[" + grd_agent04.row + "]/prcpcd" );
  713. fMouseRghtBtnPopup(grd_agent04, "search");
  714. ]]>
  715. </script>
  716. <script type="javascript" ev:event="DOMFocusOut">
  717. <![CDATA[
  718. window.setPopupMenu(false);
  719. ]]>
  720. </script>
  721. </datagrid>
  722. <datagrid id="grd_agent03" nodeset="/root/main/agent03/item" class="datagrid_sms" caption="√^depth^약품명^총용량^총용량^투여방법" colsep="^" colwidth="20, 0, 280, 45, 30, 55" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:369px; width:449px; height:139px; text-align:center; ">
  723. <col ref="checked" type="checkbox"/>
  724. <col ref="depth"/>
  725. <col ref="prcpnm" style="text-align:left; "/>
  726. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  727. <col ref="prcpvolunitnm" style="text-align:center; "/>
  728. <col disabled="true" ref="drugmthdcd" type="combo">
  729. <choices>
  730. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  731. <label ref="mthdcnts1"/>
  732. <value ref="mthdcd"/>
  733. </itemset>
  734. </choices>
  735. </col>
  736. <script type="javascript" ev:event="onclick">
  737. <![CDATA[
  738. if (grd_agent03.col > 0 && grd_agent03.row > 0) {
  739. var checked = model.getValue("/root/main/agent03/item["+ grd_agent03.row +"]/checked");
  740. if (checked == "true") { checked = "false" } else { checked = "true" };
  741. model.setValue("/root/main/agent03/item["+ grd_agent03.row +"]/checked", checked);
  742. }
  743. fAddBtnClick("A","03");
  744. // model.refresh();
  745. ]]>
  746. </script>
  747. <script type="javascript" ev:event="onmousedown">
  748. <![CDATA[
  749. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/agent03/item[" + grd_agent03.row + "]/prcpcd" );
  750. fMouseRghtBtnPopup(grd_agent03, "search");
  751. ]]>
  752. </script>
  753. <script type="javascript" ev:event="DOMFocusOut">
  754. <![CDATA[
  755. window.setPopupMenu(false);
  756. ]]>
  757. </script>
  758. </datagrid>
  759. <caption id="caption39" class="tit_2" style="left:3px; top:8px; width:135px; height:13px; ">Inhalational Agent</caption>
  760. <line id="line12" class="line_1" style="x1:1px; y1:25px; x2:450px; y2:25px; "/>
  761. <caption id="caption25" class="tit_2" style="left:2px; top:179px; width:135px; height:13px; ">Intravenous Agent</caption>
  762. <line id="line8" class="line_1" style="x1:1px; y1:196px; x2:450px; y2:196px; "/>
  763. <datagrid id="grd_agent02" nodeset="/root/main/agent02/item" class="datagrid_sms" caption="√^depth^약품명^총용량^총용량^투여방법" colsep="^" colwidth="20, 0, 280, 45, 30, 55" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:201px; width:449px; height:139px; ">
  764. <col ref="checked" type="checkbox"/>
  765. <col ref="depth"/>
  766. <col ref="prcpnm"/>
  767. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  768. <col ref="prcpvolunitnm" style="text-align:center; "/>
  769. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  770. <choices>
  771. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  772. <label ref="mthdcnts1"/>
  773. <value ref="mthdcd"/>
  774. </itemset>
  775. </choices>
  776. </col>
  777. <script type="javascript" ev:event="onclick">
  778. <![CDATA[
  779. if (grd_agent02.col > 0 && grd_agent02.row > 0) {
  780. var checked = model.getValue("/root/main/agent02/item["+ grd_agent02.row +"]/checked");
  781. if (checked == "true") { checked = "false" } else { checked = "true" };
  782. model.setValue("/root/main/agent02/item["+ grd_agent02.row +"]/checked", checked);
  783. }
  784. fAddBtnClick("A","02");
  785. // model.refresh();
  786. ]]>
  787. </script>
  788. <script type="javascript" ev:event="onmousedown">
  789. <![CDATA[
  790. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/agent02/item[" + grd_agent02.row + "]/prcpcd" );
  791. fMouseRghtBtnPopup(grd_agent02, "search");
  792. ]]>
  793. </script>
  794. <script type="javascript" ev:event="DOMFocusOut">
  795. <![CDATA[
  796. window.setPopupMenu(false);
  797. ]]>
  798. </script>
  799. </datagrid>
  800. <caption id="caption28" class="tit_2" style="left:0px; top:347px; width:216px; height:13px; ">Neuromuscular blocking Agent</caption>
  801. <line id="line9" class="line_1" style="x1:1px; y1:533px; x2:450px; y2:533px; "/>
  802. <caption id="caption27" class="tit_2" style="left:0px; top:516px; width:135px; height:13px; ">Local Anesthetic</caption>
  803. <line id="line10" class="line_1" style="x1:1px; y1:364px; x2:450px; y2:364px; "/>
  804. <button id="btn_addagent02" class="btn5_letter4" visibility="hidden" style="left:382px; top:176px; width:64px; height:19px; ">
  805. <caption>항목추가</caption>
  806. <script type="javascript" ev:event="onclick">
  807. <![CDATA[
  808. fAddBtnClick("A","02");
  809. ]]>
  810. </script>
  811. </button>
  812. <button id="btn_addagent03" class="btn5_letter4" visibility="hidden" style="left:382px; top:344px; width:64px; height:19px; ">
  813. <caption>항목추가</caption>
  814. <script type="javascript" ev:event="DOMActivate">
  815. <![CDATA[
  816. fAddBtnClick("A","03");
  817. ]]>
  818. </script>
  819. </button>
  820. <button id="btn_addagent04" class="btn5_letter4" visibility="hidden" style="left:382px; top:513px; width:64px; height:19px; ">
  821. <caption>항목추가</caption>
  822. <script type="javascript" ev:event="DOMActivate">
  823. <![CDATA[
  824. fAddBtnClick("A","04");
  825. ]]>
  826. </script>
  827. </button>
  828. <input id="input2" ref="/root/hidden/agenttodd" class="input" autonext="false" inputtype="date" style="left:220px; top:4px; width:98px; height:19px; "/>
  829. <input id="input1" ref="/root/hidden/agenttotm" maxlength="4" format="hh:nn" style="left:321px; top:4px; width:35px; height:19px; ">
  830. <script type="javascript" ev:event="onmousedown">
  831. <![CDATA[
  832. if(event.keyCode == "13") {
  833. btn_setenddt.dispatch("DOMActivate");
  834. }
  835. ]]>
  836. </script>
  837. </input>
  838. <datagrid id="grd_agent01" nodeset="/root/main/agent01/item" class="datagrid_sms" caption="√^depth^기록성 흡입제^시작일시^시작일시^종료일시^종료일시" colsep="^" colwidth="20, 0, 200, 70, 35, 70, 35" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:29px; width:449px; height:144px; text-align:center; ">
  839. <col ref="checked" type="checkbox"/>
  840. <col ref="depth"/>
  841. <col ref="prcpnm" style="text-align:left; "/>
  842. <col imemode="disabled" ref="drugfromdd" type="input" format="yyyy-mm-dd"/>
  843. <col imemode="disabled" ref="drugfromtm" type="input" format="hh:nn" maxlength="4"/>
  844. <col imemode="disabled" ref="drugtodd" type="input" format="yyyy-mm-dd"/>
  845. <col imemode="disabled" ref="drugtotm" type="input" format="hh:nn" maxlength="4"/>
  846. <script type="javascript" ev:event="xforms-value-changed">
  847. <![CDATA[
  848. // 메인그리드에 그려주자..
  849. fCheckedPrcpA01(grd_agent01, "/root/main/agent01/item", grd_agent01.row);
  850. ]]>
  851. </script>
  852. <script type="javascript" ev:event="onmousedown">
  853. <![CDATA[
  854. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/agent01/item[" + grd_agent01.row + "]/prcpcd" );
  855. fMouseRghtBtnPopup(grd_agent01, "search");
  856. ]]>
  857. </script>
  858. <script type="javascript" ev:event="DOMFocusOut">
  859. <![CDATA[
  860. window.setPopupMenu(false);
  861. ]]>
  862. </script>
  863. </datagrid>
  864. <button id="btn_setenddt" class="btn5_letter6" style="left:360px; top:4px; width:86px; height:19px; ">
  865. <caption>종료일시 적용</caption>
  866. <script type="javascript" ev:event="DOMActivate">
  867. <![CDATA[
  868. var dt = model.getValue("/root/hidden/agenttodd") + model.getValue("/root/hidden/agenttotm");
  869. if (isValidDateTime(dt, "YYYYMMDDhhmm") == false) {
  870. messageBox("시간을 정확히 입력하십시요.", "E999", "");
  871. } else {
  872. fSetAnstToDt();
  873. }
  874. ]]>
  875. </script>
  876. </button>
  877. </case>
  878. <case id="case_drug">
  879. <button id="btn_adddrug" class="btn5_letter4" visibility="hidden" style="left:212px; top:5px; width:64px; height:19px; ">
  880. <caption>항목추가</caption>
  881. <script type="javascript" ev:event="DOMActivate">
  882. <![CDATA[
  883. fAddBtnClick("D");
  884. ]]>
  885. </script>
  886. </button>
  887. <caption id="caption40" class="tit_2" style="left:3px; top:11px; width:135px; height:14px; ">Drug</caption>
  888. <line id="line1" class="line_1" style="x1:2px; y1:28px; x2:450px; y2:28px; "/>
  889. <datagrid id="grd_drug" nodeset="/root/main/drug/item" class="datagrid_sms" caption="√^depth^약품명^총용량^총용량^투여방법^소분류" colsep="^" colwidth="20, 0, 180, 45, 30, 55, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:2px; top:33px; width:448px; height:644px; ">
  890. <col ref="checked" type="checkbox"/>
  891. <col ref="depth"/>
  892. <col ref="prcpnm"/>
  893. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  894. <col ref="prcpvolunitnm" style="text-align:center; "/>
  895. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  896. <choices>
  897. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  898. <label ref="mthdcnts1"/>
  899. <value ref="mthdcd"/>
  900. </itemset>
  901. </choices>
  902. </col>
  903. <col disabled="true" ref="clscd" type="combo">
  904. <choices>
  905. <itemset nodeset="/root/init/M0287/M0287">
  906. <label ref="cdnm"/>
  907. <value ref="cdid"/>
  908. </itemset>
  909. </choices>
  910. </col>
  911. <script type="javascript" ev:event="onclick">
  912. <![CDATA[
  913. if (grd_drug.col > 0 && grd_drug.row > 0) {
  914. var checked = model.getValue("/root/main/drug/item["+ grd_drug.row +"]/checked");
  915. if (checked == "true") { checked = "false" } else { checked = "true" };
  916. model.setValue("/root/main/drug/item["+ grd_drug.row +"]/checked", checked);
  917. }
  918. fAddBtnClick("D");
  919. // model.refresh();
  920. ]]>
  921. </script>
  922. <script type="javascript" ev:event="onmousedown">
  923. <![CDATA[
  924. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/drug/item[" + grd_drug.row + "]/prcpcd" );
  925. fMouseRghtBtnPopup(grd_drug, "search");
  926. ]]>
  927. </script>
  928. <script type="javascript" ev:event="DOMFocusOut">
  929. <![CDATA[
  930. window.setPopupMenu(false);
  931. ]]>
  932. </script>
  933. </datagrid>
  934. <select1 id="cmb_clscd" ref="/root/send/reqdata/clscd" class="combo_search" appearance="minimal" style="left:283px; top:5px; width:164px; height:19px; ">
  935. <choices>
  936. <itemset nodeset="/root/init/M0287/M0287">
  937. <label ref="cdnm"/>
  938. <value ref="cdid"/>
  939. </itemset>
  940. </choices>
  941. <script type="javascript" ev:event="xforms-value-changed">
  942. <![CDATA[
  943. fGetPrcpDrugClscd();
  944. ]]>
  945. </script>
  946. </select1>
  947. </case>
  948. <case id="case_fluid">
  949. <button id="btn_addfluid" class="btn5_letter4" visibility="hidden" style="left:382px; top:5px; width:70px; height:19px; ">
  950. <caption>항목추가</caption>
  951. <script type="javascript" ev:event="onclick">
  952. <![CDATA[
  953. fAddBtnClick("F");
  954. ]]>
  955. </script>
  956. </button>
  957. <caption id="caption52" class="tit_2" style="left:3px; top:10px; width:135px; height:13px; ">Fluid</caption>
  958. <line id="line14" class="line_1" style="x1:2px; y1:475px; x2:450px; y2:475px; "/>
  959. <datagrid id="grd_fluid" nodeset="/root/main/fluid/item" class="datagrid_sms" caption="√^depth^약품명^총용량^총용량^투여방법" colsep="^" colwidth="20, 0, 280, 45, 30, 55" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:2px; top:32px; width:448px; height:418px; ">
  960. <col ref="checked" type="checkbox"/>
  961. <col ref="depth"/>
  962. <col ref="prcpnm"/>
  963. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  964. <col ref="prcpvolunitnm" style="text-align:center; "/>
  965. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  966. <choices>
  967. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  968. <label ref="mthdcnts1"/>
  969. <value ref="mthdcd"/>
  970. </itemset>
  971. </choices>
  972. </col>
  973. <script type="javascript" ev:event="onclick">
  974. <![CDATA[
  975. if (grd_fluid.col > 0 && grd_fluid.row > 0) {
  976. var checked = model.getValue("/root/main/fluid/item["+ grd_fluid.row +"]/checked");
  977. if (checked == "true") { checked = "false" } else { checked = "true" };
  978. model.setValue("/root/main/fluid/item["+ grd_fluid.row +"]/checked", checked);
  979. }
  980. fAddBtnClick("F");
  981. // model.refresh();
  982. ]]>
  983. </script>
  984. <script type="javascript" ev:event="onmousedown">
  985. <![CDATA[
  986. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/fluid/item[" + grd_fluid.row + "]/prcpcd" );
  987. fMouseRghtBtnPopup(grd_fluid, "search");
  988. ]]>
  989. </script>
  990. <script type="javascript" ev:event="DOMFocusOut">
  991. <![CDATA[
  992. window.setPopupMenu(false);
  993. ]]>
  994. </script>
  995. </datagrid>
  996. <caption id="caption51" class="tit_2" style="left:3px; top:458px; width:151px; height:13px; ">Blood</caption>
  997. <line id="line13" class="line_1" style="x1:2px; y1:27px; x2:450px; y2:27px; "/>
  998. <datagrid id="grd_blodlist" nodeset="/root/main/blodlist/item" class="datagrid_sms" caption="처방코드^혈액명^혈액번호^혈액형^RH^바코드^준비혈액일련번호" colsep="^" colwidth="0, 150, 80, 45, 25, 70, 60" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:2px; top:480px; width:448px; height:197px; ">
  999. <col ref="prcpcd"/>
  1000. <col ref="prcpnm"/>
  1001. <col ref="blodno" style="text-align:center; "/>
  1002. <col ref="abo" style="text-align:center; "/>
  1003. <col ref="rh" style="text-align:center; "/>
  1004. <col ref="blodbarcd" style="text-align:center; "/>
  1005. <col ref="prepblodseqno" style="text-align:center; "/>
  1006. <script type="javascript" ev:event="ondblclick">
  1007. <![CDATA[
  1008. fSetBlodChecked();
  1009. ]]>
  1010. </script>
  1011. <script type="javascript" ev:event="onmousedown">
  1012. <![CDATA[
  1013. if(grd_blodlist.isCell(event.target) && (grd_blodlist.mouserow >= grd_blodlist.fixedrows))
  1014. {
  1015. setPopupMenu("grd_blodlist", false, "/root/init/bloodrght/mouserght", "label", "func");
  1016. }
  1017. ]]>
  1018. </script>
  1019. <script type="javascript" ev:event="DOMFocusOut">
  1020. <![CDATA[
  1021. window.setPopupMenu(false);
  1022. ]]>
  1023. </script>
  1024. </datagrid>
  1025. <datagrid id="grd_blod" nodeset="/root/main/blod/item" class="datagrid_sms" visibility="hidden" caption="√^depth^혈액성분제제^총용량^총용량^투여방법" colsep="^" colwidth="20, 0, 280, 45, 30, 55" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:565px; width:448px; height:90px; ">
  1026. <col ref="checked" type="checkbox"/>
  1027. <col ref="depth"/>
  1028. <col ref="prcpnm"/>
  1029. <col imemode="disabled" ref="prcpvol" type="input" format="#,###.999" style="text-align:right; "/>
  1030. <col ref="prcpvolunitnm" style="text-align:center; "/>
  1031. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  1032. <choices>
  1033. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  1034. <label ref="mthdcnts1"/>
  1035. <value ref="mthdcd"/>
  1036. </itemset>
  1037. </choices>
  1038. </col>
  1039. <script type="javascript" ev:event="onclick">
  1040. <![CDATA[
  1041. if (grd_blod.col > 0 && grd_blod.row > 0) {
  1042. var checked = model.getValue("/root/main/blod/item["+ grd_blod.row +"]/checked");
  1043. if (checked == "true") { checked = "false" } else { checked = "true" };
  1044. model.setValue("/root/main/blod/item["+ grd_blod.row +"]/checked", checked);
  1045. model.refresh();
  1046. }
  1047. ]]>
  1048. </script>
  1049. </datagrid>
  1050. <button id="btn_addblod" class="btn5_letter4" visibility="hidden" style="left:215px; top:453px; width:64px; height:19px; ">
  1051. <caption>항목추가</caption>
  1052. <script type="javascript" ev:event="DOMActivate">
  1053. <![CDATA[
  1054. fAddBtnClick("H");
  1055. ]]>
  1056. </script>
  1057. </button>
  1058. <button id="btn_ocsblod" class="btn5_letter4" style="left:382px; top:453px; width:64px; height:19px; ">
  1059. <caption>혈액처방</caption>
  1060. <script type="javascript" ev:event="onclick">
  1061. <![CDATA[
  1062. // 처방 OCS 연결하기...
  1063. window.parent.javascript.fOpenPrcpMainWnd();
  1064. ]]>
  1065. </script>
  1066. </button>
  1067. <button id="btn_blodlist" class="btn5_letter7" style="left:282px; top:453px; width:97px; height:19px; ">
  1068. <caption>혈액리스트 조회</caption>
  1069. <script type="javascript" ev:event="onclick">
  1070. <![CDATA[
  1071. // 혈액리스트 조회하기
  1072. fGetBlodList();
  1073. ]]>
  1074. </script>
  1075. </button>
  1076. <group id="grup_blodcopyform" visibility="hidden" style="left:115px; top:238px; width:92px; height:235px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  1077. <button id="button10" class="btn2_letter3" style="left:32px; top:209px; width:53px; height:19px; ">
  1078. <caption>확 인</caption>
  1079. <script type="javascript" ev:event="onclick">
  1080. <![CDATA[
  1081. fCopyBlodno();
  1082. ]]>
  1083. </script>
  1084. </button>
  1085. <datagrid id="grd_blodcopylist" nodeset="/root/temp/blodcopy" class="datagrid_sms" caption="√^순번" colsep="^" colwidth="20, 43" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:0px; width:85px; height:208px; ">
  1086. <col ref="chk" type="radio"/>
  1087. <col ref="seq"/>
  1088. </datagrid>
  1089. </group>
  1090. </case>
  1091. <case id="case_proc">
  1092. <button id="btn_addproc" class="btn5_letter4" visibility="hidden" style="left:382px; top:5px; width:64px; height:19px; ">
  1093. <caption>항목추가</caption>
  1094. <script type="javascript" ev:event="onclick">
  1095. <![CDATA[
  1096. fAddBtnClick("P");
  1097. ]]>
  1098. </script>
  1099. </button>
  1100. <caption id="caption41" class="tit_2" style="left:3px; top:11px; width:135px; height:14px; ">Proc</caption>
  1101. <line id="line2" class="line_1" style="x1:1px; y1:27px; x2:450px; y2:27px; "/>
  1102. <datagrid id="grd_proc" nodeset="/root/main/proc/item" class="datagrid_sms" caption="√^depth^처치명" colsep="^" colwidth="20, 0, 410" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:32px; width:449px; height:645px; ">
  1103. <col ref="checked" type="checkbox"/>
  1104. <col ref="depth"/>
  1105. <col ref="prcpnm"/>
  1106. <script type="javascript" ev:event="onclick">
  1107. <![CDATA[
  1108. if (grd_proc.col > 0 && grd_proc.row > 0) {
  1109. var checked = model.getValue("/root/main/proc/item["+ grd_proc.row +"]/checked");
  1110. if (checked == "true") { checked = "false" } else { checked = "true" };
  1111. model.setValue("/root/main/proc/item["+ grd_proc.row +"]/checked", checked);
  1112. }
  1113. fAddBtnClick("P");
  1114. // model.refresh();
  1115. ]]>
  1116. </script>
  1117. </datagrid>
  1118. </case>
  1119. <case id="case_search">
  1120. <line id="line3" class="line_1" style="x1:1px; y1:27px; x2:450px; y2:27px; "/>
  1121. <button id="btn_search" class="btn2_letter3" style="left:325px; top:5px; width:53px; height:19px; ">
  1122. <caption>검색</caption>
  1123. <!--<toggle case="case_search" ev:event="onclick"/>-->
  1124. <script type="javascript" ev:event="DOMActivate">
  1125. <![CDATA[
  1126. fSearchPrcpMast();
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <input id="ipt_search" ref="/root/send/reqdata/data" class="input_default" style="left:140px; top:5px; width:180px; height:19px; ">
  1131. <script type="javascript" ev:event="onkeyup">
  1132. <![CDATA[
  1133. inputEnterKey("btn_search", "DOMActivate");
  1134. ]]>
  1135. </script>
  1136. </input>
  1137. <datagrid id="grd_search" nodeset="/root/main/prcpsearch/item" class="datagrid_sms" caption="√^구분^처방명^처방코드^기록총용량^기록총용량^처방총용량^처방총용량^투여방법^약어명^소분류^처방적용유무^remark" colsep="^" colwidth="25, 50, 220, 0, 0, 0, 45, 30, 55, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:3px; top:30px; width:447px; height:647px; text-align:center; ">
  1138. <col ref="checked" type="checkbox"/>
  1139. <col disabled="true" ref="prcptype" type="combo" style="text-align:center; ">
  1140. <choices>
  1141. <item>
  1142. <label>Agent</label>
  1143. <value>A</value>
  1144. </item>
  1145. <item>
  1146. <label>Drug</label>
  1147. <value>D</value>
  1148. </item>
  1149. <item>
  1150. <label>Fluid</label>
  1151. <value>F</value>
  1152. </item>
  1153. <item>
  1154. <label>Blood</label>
  1155. <value>B</value>
  1156. </item>
  1157. <item>
  1158. <label>Proc</label>
  1159. <value>P</value>
  1160. </item>
  1161. </choices>
  1162. </col>
  1163. <col ref="prcpnm" style="text-align:left; "/>
  1164. <col ref="prcpcd" visibility="hidden"/>
  1165. <col imemode="disabled" ref="recvol" format="#,###.999" style="text-align:right; "/>
  1166. <col ref="prcpvolunitnm" style="text-align:center; "/>
  1167. <col imemode="disabled" ref="prcpvol" format="#,###.999" style="text-align:right; "/>
  1168. <col ref="prcpvolunitnm" style="text-align:center; "/>
  1169. <col disabled="true" ref="drugmthdcd" type="combo" style="text-align:center; ">
  1170. <choices>
  1171. <itemset nodeset="/root/hidden/tmedmthd/tmedmthdlist">
  1172. <label ref="mthdcnts1"/>
  1173. <value ref="mthdcd"/>
  1174. </itemset>
  1175. </choices>
  1176. </col>
  1177. <col ref="abbrnm" visibility="hidden"/>
  1178. <col ref="clscd" visibility="hidden"/>
  1179. <col ref="prcpappyn" visibility="hidden"/>
  1180. <col ref="remark" visibility="hidden"/>
  1181. <script type="javascript" ev:event="onclick">
  1182. <![CDATA[
  1183. if (grd_search.col > 0 && grd_search.row > 0) {
  1184. var checked = model.getValue("/root/main/prcpsearch/item["+ grd_search.row +"]/checked");
  1185. if (checked == "true") { checked = "false" } else { checked = "true" };
  1186. model.setValue("/root/main/prcpsearch/item["+ grd_search.row +"]/checked", checked);
  1187. }
  1188. fAddBtnClick("Z");
  1189. // model.refresh();
  1190. ]]>
  1191. </script>
  1192. <script type="javascript" ev:event="onmousedown">
  1193. <![CDATA[
  1194. model.setValue ( "/root/hidden/receivedata/srchdrugcd", "/root/main/prcpsearch/item[" + grd_search.row + "]/prcpcd" );
  1195. fMouseRghtBtnPopup(grd_search, "search");
  1196. ]]>
  1197. </script>
  1198. <script type="javascript" ev:event="DOMFocusOut">
  1199. <![CDATA[
  1200. window.setPopupMenu(false);
  1201. ]]>
  1202. </script>
  1203. </datagrid>
  1204. <select1 id="radio1" ref="/root/send/reqdata/flag" class="radio_search" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:5px; top:5px; width:125px; height:20px; border-style:none; ">
  1205. <choices>
  1206. <item>
  1207. <label>처방코드</label>
  1208. <value>cd</value>
  1209. </item>
  1210. <item>
  1211. <label>처방명</label>
  1212. <value>nm</value>
  1213. </item>
  1214. </choices>
  1215. </select1>
  1216. <button id="btn_addsearch" class="btn5_letter4" visibility="hidden" style="left:382px; top:5px; width:64px; height:19px; ">
  1217. <caption>항목추가</caption>
  1218. <script type="javascript" ev:event="onclick">
  1219. <![CDATA[
  1220. fAddBtnClick("Z");
  1221. ]]>
  1222. </script>
  1223. </button>
  1224. </case>
  1225. </switch>
  1226. <button id="btn_drug" class="btn2_letter3" style="left:196px; top:5px; width:53px; height:19px; ">
  1227. <caption>Drug</caption>
  1228. <toggle case="case_drug" ev:event="onclick"/>
  1229. <script type="javascript" ev:event="onclick">
  1230. <![CDATA[
  1231. fPrcpMastLoad();
  1232. ]]>
  1233. </script>
  1234. </button>
  1235. </xhtml:body>
  1236. </xhtml:html>