SMMNE03500_CPCR기록지.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  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>CPCR 기록지</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <srchinfo>
  11. <srchlist>-</srchlist>
  12. </srchinfo>
  13. <cond>
  14. <pid/>
  15. <indd/>
  16. <cretno/>
  17. <deptcd/>
  18. <instcd/>
  19. <startdd/>
  20. <startdt/>
  21. </cond>
  22. <recinfo>
  23. <cprinfo>
  24. <cpr>
  25. <startdd/>
  26. <starttm/>
  27. <leadernm/>
  28. <leaderid/>
  29. <airwaynm/>
  30. <airwayid/>
  31. <compressionfstnm/>
  32. <compressionfstid/>
  33. <compressionscndnm/>
  34. <compressionscndid/>
  35. <mednm/>
  36. <medid/>
  37. <recnm/>
  38. <recid/>
  39. <drugunit/>
  40. </cpr>
  41. </cprinfo>
  42. <reclist>
  43. <grid>
  44. <maintitl/>
  45. <subtitl/>
  46. <mnt0/>
  47. <mnt1/>
  48. <mnt2/>
  49. <mnt3/>
  50. <mnt4/>
  51. <mnt5/>
  52. <mnt6/>
  53. <mnt7/>
  54. <mnt8/>
  55. <mnt9/>
  56. <mnt10/>
  57. <mnt11/>
  58. <mnt12/>
  59. <mnt13/>
  60. <mnt14/>
  61. <mnt15/>
  62. <mnt16/>
  63. <mnt17/>
  64. <mnt18/>
  65. <mnt19/>
  66. <mnt20/>
  67. <mnt21/>
  68. <mnt22/>
  69. <mnt23/>
  70. <mnt24/>
  71. <mnt25/>
  72. <mnt26/>
  73. <mnt27/>
  74. <mnt28/>
  75. <mnt29/>
  76. <mnt30/>
  77. <vol/>
  78. <volunit/>
  79. <qty/>
  80. <qtyunit/>
  81. <prepqty/>
  82. <sumqty/>
  83. <cntsunit/>
  84. <cntsvol/>
  85. <stndunit/>
  86. <stndvol/>
  87. <recitemno/>
  88. <recitemflag/>
  89. <basecodeflag/>
  90. </grid>
  91. </reclist>
  92. </recinfo>
  93. <chrtsetup>
  94. <hryn>Y</hryn>
  95. <btyn>Y</btyn>
  96. <rryn>Y</rryn>
  97. </chrtsetup>
  98. <paminfo>
  99. <list/>
  100. </paminfo>
  101. <patinfo/>
  102. </main>
  103. <drugcalc>
  104. <prcpvol/>
  105. <prcpqty/>
  106. </drugcalc>
  107. <codedata>
  108. <popup>
  109. <item>
  110. <name>Asystole</name>
  111. <func>1</func>
  112. </item>
  113. <item>
  114. <name>PEA</name>
  115. <func>2</func>
  116. </item>
  117. <item>
  118. <name>V-Fib.</name>
  119. <func>3</func>
  120. </item>
  121. <item>
  122. <name>V-Tac.</name>
  123. <func>4</func>
  124. </item>
  125. <item>
  126. <name>ROSC</name>
  127. <func>5</func>
  128. </item>
  129. </popup>
  130. </codedata>
  131. <UserData>
  132. <list/>
  133. </UserData>
  134. <item>
  135. <cpr>
  136. <startdd/>
  137. <starttm/>
  138. <leadernm/>
  139. <leaderid/>
  140. <airwaynm/>
  141. <airwayid/>
  142. <compressionfstnm/>
  143. <compressionfstid/>
  144. <compressionscndnm/>
  145. <compressionscndid/>
  146. <mednm/>
  147. <medid/>
  148. <recnm/>
  149. <recid/>
  150. <drugunit>1</drugunit>
  151. </cpr>
  152. </item>
  153. <hidden/>
  154. <item>
  155. <srchdate>
  156. <srchdatelist/>
  157. </srchdate>
  158. </item>
  159. <test/>
  160. </root>
  161. </instance>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. fInitialize();
  165. ]]>
  166. </script>
  167. <submission id="TRMNE03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recinfo"/>
  168. <submission id="TRMNE03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item/srchdate"/>
  169. <submission id="TXMNE03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  170. <submission id="TRMNE00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/UserData/list"/>
  171. </model>
  172. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  173. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  174. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  175. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  176. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE00100.js"/>
  177. <script type="javascript" src="../../../emr/ercareweb/js/SMMNE03500.js"/>
  178. </xhtml:head>
  179. <xhtml:body guideline="1,1198;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  180. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  181. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:111px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">CPCR 기록지</caption>
  182. </group>
  183. <group id="group5" scroll="auto" style="left:0px; top:15px; width:1190px; height:40px; ">
  184. <button id="btn_Schrt" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:875px; top:14px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
  185. <caption>차트보기</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. fShowChart();
  189. ]]>
  190. </script>
  191. </button>
  192. <button id="btn_Cchrt" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:875px; top:14px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
  193. <caption>차트닫기</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. fCloseChart();
  197. ]]>
  198. </script>
  199. </button>
  200. <button id="button3" class="btn2_letter8" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:942px; top:14px; width:108px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
  201. <caption>기록item setting</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. if(model.getValue("/root/item/srchdate/srchdatelist[" + (cmb_list.focusIndex + 1) + "]/pkidateyn") == "N"){
  205. window.load( "SMMNE04000_CPCR 기록지item setting.xrw", "modal" , "test", "left:"+ (event.screenX - event.clientX) + "px; top:"+event.clientY +"px; width:200px; height:200px;");
  206. fCpcrInit();
  207. fSaveDataCpcr("C");
  208. }else{
  209. messageBox("인증이 된 데이터는 Item Setting을 할 수 없습니다.", "E");
  210. return;
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="button1" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter7.gif" style="left:1053px; top:14px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter7.gif; ">
  216. <caption>TYPE II</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. fOpenDialRec();
  220. ]]>
  221. </script>
  222. </button>
  223. <button id="button4" class="btn5_letter4" style="left:1120px; top:14px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn5_letter4.gif; ">
  224. <caption>인증저장</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. if(model.getValue("/root/main/srchinfo/srchlist") != "-"){
  228. if( model.getValue("/root/item/srchdate/srchdatelist[" + (cmb_list.focusIndex + 1) + "]/pkidateyn" ) == "Y"){
  229. messageBox("인증저장 된 데이터입니다.", "E");
  230. return;
  231. }else {
  232. fSaveDataCpcr("U");
  233. }
  234. }else{
  235. fSaveDataCpcr("I");
  236. }
  237. ]]>
  238. </script>
  239. </button>
  240. <line id="line17" class="line_1" style="x1:1px; y1:35px; x2:1184px; y2:35px; "/>
  241. <caption id="caption4" class="tit_2" style="left:5px; top:20px; width:210px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">CPCR 기록지</caption>
  242. <output id="output1" ref="/root/main/patinfo" style="left:141px; top:14px; width:589px; height:19px; font-size:11pt; font-weight:bold; "/>
  243. </group>
  244. <group id="group2" style="left:0px; top:55px; width:1190px; height:268px; ">
  245. <datagrid id="grd_chrt" caption="날짜^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|시간^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|분^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="130, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35" defaultrows="0" mergecellsfixedrows="byrestricrow" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:1px; top:0px; width:1182px; height:89px; ">
  246. <col/>
  247. <col/>
  248. <col/>
  249. <col/>
  250. <col/>
  251. <col/>
  252. <col/>
  253. <col/>
  254. <col/>
  255. <col/>
  256. <col/>
  257. <col/>
  258. <col/>
  259. <col/>
  260. <col/>
  261. <col/>
  262. <col/>
  263. <col/>
  264. <col/>
  265. <col/>
  266. <col/>
  267. <col/>
  268. <col/>
  269. <col/>
  270. <col/>
  271. <col/>
  272. <col/>
  273. <col/>
  274. <col/>
  275. <col/>
  276. <col/>
  277. </datagrid>
  278. <object id="TChart1" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:0px; top:66px; width:1183px; height:198px; "/>
  279. </group>
  280. <group id="group6" scroll="auto" style="left:0px; top:320px; width:1190px; height:446px; ">
  281. <select1 id="cmb_list" ref="/root/main/srchinfo/srchlist" appearance="minimal" style="left:0px; top:6px; width:122px; height:19px; ">
  282. <choices>
  283. <itemset nodeset="/root/item/srchdate/srchdatelist">
  284. <label ref="startlabel"/>
  285. <value ref="startdt"/>
  286. </itemset>
  287. </choices>
  288. <script type="javascript" ev:event="xforms-value-changed">
  289. <![CDATA[
  290. fCpcrInit();
  291. ]]>
  292. </script>
  293. </select1>
  294. <select id="checkbox1" ref="/root/main/chrtsetup/hryn" overflow="visible" appearance="full" style="left:996px; top:5px; width:55px; height:20px; border-style:none; ">
  295. <choices>
  296. <item>
  297. <label>HR/BP</label>
  298. <value>Y</value>
  299. </item>
  300. </choices>
  301. <script type="javascript" ev:event="xforms-value-changed">
  302. <![CDATA[
  303. fMakeChart();
  304. ]]>
  305. </script>
  306. </select>
  307. <select id="checkbox2" ref="/root/main/chrtsetup/btyn" overflow="visible" appearance="full" style="left:1079px; top:5px; width:45px; height:20px; border-style:none; ">
  308. <choices>
  309. <item>
  310. <label>BT</label>
  311. <value>Y</value>
  312. </item>
  313. </choices>
  314. <script type="javascript" ev:event="xforms-value-changed">
  315. <![CDATA[
  316. fMakeChart();
  317. ]]>
  318. </script>
  319. </select>
  320. <select id="checkbox3" ref="/root/main/chrtsetup/rryn" overflow="visible" appearance="full" style="left:1143px; top:5px; width:45px; height:20px; border-style:none; ">
  321. <choices>
  322. <item>
  323. <label>RR</label>
  324. <value>Y</value>
  325. </item>
  326. </choices>
  327. <script type="javascript" ev:event="xforms-value-changed">
  328. <![CDATA[
  329. fMakeChart();
  330. ]]>
  331. </script>
  332. </select>
  333. <caption id="caption8" style="left:979px; top:7px; width:12px; height:12px; background-color:#ff0000; "/>
  334. <caption id="caption12" style="left:1064px; top:7px; width:12px; height:12px; background-color:#00ff00; "/>
  335. <caption id="caption13" style="left:1128px; top:7px; width:12px; height:12px; background-color:#0000ff; "/>
  336. <datagrid id="grd_cpcr" nodeset="/root/main/recinfo/reclist/grid" caption="CPR개요^CPR개요|분^분^0^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^SUM^SUM^SUM^SUM^준비수량^계|분^분^0^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^용량^단위^수량^단위^준비수량^계" colsep="^" colwidth="20, 96, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0" fixedcols="2" mergecellsfixedcols="bycolrec" mergecellsfixedrows="byrowrec" rowsep="|" selectionmode="free" tooltip="true" mergecellsfixedcells="bycolrec" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:28px; width:1189px; height:415px; text-align:center; ">
  337. <col ref="maintitl" style="text-align:left; "/>
  338. <col ref="subtitl" style="text-align:left; "/>
  339. <col ref="mnt0" type="input"/>
  340. <col ref="mnt1" type="input"/>
  341. <col ref="mnt2" type="input"/>
  342. <col ref="mnt3" type="input"/>
  343. <col ref="mnt4" type="input"/>
  344. <col ref="mnt5" type="input"/>
  345. <col ref="mnt6" type="input"/>
  346. <col ref="mnt7" type="input"/>
  347. <col ref="mnt8" type="input"/>
  348. <col ref="mnt9" type="input"/>
  349. <col ref="mnt10" type="input"/>
  350. <col ref="mnt11" type="input"/>
  351. <col ref="mnt12" type="input"/>
  352. <col ref="mnt13" type="input"/>
  353. <col ref="mnt14" type="input"/>
  354. <col ref="mnt15" type="input"/>
  355. <col ref="mnt16" type="input"/>
  356. <col ref="mnt17" type="input"/>
  357. <col ref="mnt18" type="input"/>
  358. <col ref="mnt19" type="input"/>
  359. <col ref="mnt20" type="input"/>
  360. <col ref="mnt21" type="input"/>
  361. <col ref="mnt22" type="input"/>
  362. <col ref="mnt23" type="input"/>
  363. <col ref="mnt24" type="input"/>
  364. <col ref="mnt25" type="input"/>
  365. <col ref="mnt26" type="input"/>
  366. <col ref="mnt27" type="input"/>
  367. <col ref="mnt28" type="input"/>
  368. <col ref="mnt29" type="input"/>
  369. <col ref="mnt30" type="input"/>
  370. <col ref="vol"/>
  371. <col ref="volunit"/>
  372. <col ref="qty"/>
  373. <col ref="qtyunit"/>
  374. <col ref="prepqty" type="input"/>
  375. <col ref="sumqty"/>
  376. <script type="javascript" ev:event="onendedit">
  377. <![CDATA[
  378. fCpcrDataSetting();
  379. ]]>
  380. </script>
  381. <script type="javascript" ev:event="onmousedown">
  382. <![CDATA[
  383. fPopupOpen();
  384. ]]>
  385. </script>
  386. <script type="javascript" ev:event="DOMFocusOut">
  387. <![CDATA[
  388. window.setPopupMenu(false);
  389. ]]>
  390. </script>
  391. <script type="javascript" ev:event="onclick">
  392. <![CDATA[
  393. fClickChkData();
  394. ]]>
  395. </script>
  396. </datagrid>
  397. <caption id="caption2" style="left:135px; top:32px; width:50px; height:20px; ">시작시간</caption>
  398. <caption id="caption3" style="left:260px; top:32px; width:45px; height:20px; ">Leader</caption>
  399. <caption id="caption5" style="left:380px; top:32px; width:40px; height:20px; ">Airway</caption>
  400. <caption id="caption7" style="left:510px; top:32px; width:80px; height:20px; ">Compression</caption>
  401. <caption id="caption9" style="left:1007px; top:32px; width:50px; height:20px; ">투약단위</caption>
  402. <caption id="caption10" style="left:723px; top:32px; width:65px; height:20px; ">Medication</caption>
  403. <caption id="caption11" style="left:869px; top:32px; width:60px; height:20px; ">Recording</caption>
  404. <input id="input1" ref="/root/main/recinfo/cprinfo/cpr/starttm" maxlength="4" format="hh:nn" style="left:189px; top:31px; width:45px; height:19px; ">
  405. <script type="javascript" ev:event="DOMFocusOut">
  406. <![CDATA[
  407. fMakeDate("E");
  408. ]]>
  409. </script>
  410. </input>
  411. <input id="input2" ref="/root/main/recinfo/cprinfo/cpr/leadernm" style="left:303px; top:31px; width:60px; height:19px; ">
  412. <script type="javascript" ev:event="onkeyup">
  413. <![CDATA[
  414. if(event.keyCode == 13) {
  415. setInputNodeCurText(); // 현재 인풋값 노드 반영
  416. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/leaderid", "/leadernm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/leadernm"),"D");
  417. input2.refresh();
  418. if(model.getValue("/root/main/recinfo/cprinfo/cpr/leadernm") == ""){
  419. model.setValue("/root/main/recinfo/cprinfo/cpr/leaderid", "");
  420. model.setFocus("input2");
  421. }
  422. if(model.getValue("/root/main/recinfo/cprinfo/cpr/leaderid") != ""){
  423. model.setFocus("input3");
  424. }
  425. }
  426. ]]>
  427. </script>
  428. </input>
  429. <input id="input3" ref="/root/main/recinfo/cprinfo/cpr/airwaynm" style="left:422px; top:31px; width:65px; height:19px; ">
  430. <script type="javascript" ev:event="onkeyup">
  431. <![CDATA[
  432. if(event.keyCode == 13) {
  433. setInputNodeCurText(); // 현재 인풋값 노드 반영
  434. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/airwayid", "/airwaynm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/airwaynm"),"A");
  435. input3.refresh();
  436. if(model.getValue("/root/main/recinfo/cprinfo/cpr/airwaynm") == ""){
  437. model.setValue("/root/main/recinfo/cprinfo/cpr/airwayid", "");
  438. }
  439. if(model.getValue("/root/main/recinfo/cprinfo/cpr/airwayid") != ""){
  440. model.setFocus("input4");
  441. }
  442. }
  443. ]]>
  444. </script>
  445. </input>
  446. <input id="input4" ref="/root/main/recinfo/cprinfo/cpr/compressionfstnm" style="left:590px; top:31px; width:60px; height:19px; ">
  447. <script type="javascript" ev:event="onkeyup">
  448. <![CDATA[
  449. if(event.keyCode == 13) {
  450. setInputNodeCurText(); // 현재 인풋값 노드 반영
  451. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/compressionfstid", "/compressionfstnm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/compressionfstnm"),"A");
  452. input4.refresh();
  453. if(model.getValue("/root/main/recinfo/cprinfo/cpr/compressionfstnm") == ""){
  454. model.setValue("/root/main/recinfo/cprinfo/cpr/compressionfstid", "");
  455. }
  456. if(model.getValue("/root/main/recinfo/cprinfo/cpr/compressionfstid") != "" ){
  457. model.setFocus("input5");
  458. }
  459. }
  460. ]]>
  461. </script>
  462. </input>
  463. <input id="input5" ref="/root/main/recinfo/cprinfo/cpr/compressionscndnm" style="left:650px; top:31px; width:60px; height:19px; ">
  464. <script type="javascript" ev:event="onkeyup">
  465. <![CDATA[
  466. if(event.keyCode == 13) {
  467. setInputNodeCurText(); // 현재 인풋값 노드 반영
  468. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/compressionscndid", "/compressionscndnm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/compressionscndnm"),"A");
  469. input5.refresh();
  470. if(model.getValue("/root/main/recinfo/cprinfo/cpr/compressionscndnm") == ""){
  471. model.setValue("/root/main/recinfo/cprinfo/cpr/compressionscndid", "");
  472. }
  473. if(model.getValue("/root/main/recinfo/cprinfo/cpr/compressionscndid") != ""){
  474. model.setFocus("input6");
  475. }
  476. }
  477. ]]>
  478. </script>
  479. </input>
  480. <input id="input6" ref="/root/main/recinfo/cprinfo/cpr/mednm" style="left:790px; top:31px; width:60px; height:19px; ">
  481. <script type="javascript" ev:event="onkeyup">
  482. <![CDATA[
  483. if(event.keyCode == 13) {
  484. setInputNodeCurText(); // 현재 인풋값 노드 반영
  485. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/medid", "/mednm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/mednm"),"A");
  486. input6.refresh();
  487. if(model.getValue("/root/main/recinfo/cprinfo/cpr/mednm") == ""){
  488. model.setValue("/root/main/recinfo/cprinfo/cpr/medid", "");
  489. }
  490. if(model.getValue("/root/main/recinfo/cprinfo/cpr/medid") != ""){
  491. model.setFocus("input7");
  492. }
  493. }
  494. ]]>
  495. </script>
  496. </input>
  497. <input id="input7" ref="/root/main/recinfo/cprinfo/cpr/recnm" style="left:930px; top:31px; width:60px; height:19px; ">
  498. <script type="javascript" ev:event="onkeyup">
  499. <![CDATA[
  500. if(event.keyCode == 13) {
  501. setInputNodeCurText(); // 현재 인풋값 노드 반영
  502. fUserEnter("/root/main/recinfo/cprinfo/cpr" , "/recid", "/recnm" ,"", "", model.getValue("/root/main/recinfo/cprinfo/cpr/recnm"),"A");
  503. input7.refresh();
  504. if(model.getValue("/root/main/recinfo/cprinfo/cpr/recnm") == ""){
  505. model.setValue("/root/main/recinfo/cprinfo/cpr/recid", "");
  506. }
  507. if(model.getValue("/root/main/recinfo/cprinfo/cpr/recid") != ""){
  508. model.setFocus("rdo_unit");
  509. }
  510. }
  511. ]]>
  512. </script>
  513. </input>
  514. <select1 id="rdo_unit" ref="/root/main/recinfo/cprinfo/cpr/drugunit" class="radio_search1" appearance="full" cols="2" overflow="visible" style="left:1058px; top:32px; width:90px; height:20px; border-style:none; ">
  515. <choices>
  516. <item>
  517. <label>수량</label>
  518. <value>1</value>
  519. </item>
  520. <item>
  521. <label>용량</label>
  522. <value>2</value>
  523. </item>
  524. </choices>
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. fCellValueChange();
  528. ]]>
  529. </script>
  530. </select1>
  531. <button id="btn_Ssum" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:131px; top:6px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
  532. <caption>Summary 보기</caption>
  533. <script type="javascript" ev:event="DOMActivate">
  534. <![CDATA[
  535. fShowSmm();
  536. ]]>
  537. </script>
  538. </button>
  539. <button id="btn_Csum" class="btn2_letter7" disable.background-image="../../../com/commonweb/images/dis_btn2_letter8.gif" style="left:131px; top:6px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter8.gif; ">
  540. <caption>Summary 닫기</caption>
  541. <script type="javascript" ev:event="DOMActivate">
  542. <![CDATA[
  543. fCloseSmm();
  544. ]]>
  545. </script>
  546. </button>
  547. </group>
  548. <script type="javascript" ev:event="onmenu">
  549. <![CDATA[
  550. fSetItem(event.description);
  551. ]]>
  552. </script>
  553. </xhtml:body>
  554. </xhtml:html>