SMADT01100_외래처방전출력.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  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. <paramdata>
  11. <param>
  12. <pid/>
  13. <orddd/>
  14. <cretno/>
  15. <orddeptcd/>
  16. <orddrid/>
  17. <prcpdd/>
  18. <drugdd/>
  19. <drugno/>
  20. </param>
  21. </paramdata>
  22. <prcpdata>
  23. <patinfo/>
  24. <diaginfo/>
  25. <sumlist/>
  26. </prcpdata>
  27. <barcdprntsetup>
  28. </barcdprntsetup>
  29. </main>
  30. <send>
  31. <paramsrch/>
  32. <prcpsrch>
  33. <pid/>
  34. <orddd/>
  35. <cretno/>
  36. <orddeptcd/>
  37. <orddrid/>
  38. <prcpdd/>
  39. <drugdd/>
  40. <drugno/>
  41. <hosinmpsflag/>
  42. <hosoutmpsflag/>
  43. <lblflag/>
  44. <prntflag/>
  45. <autoinprntyn/>
  46. <autooutprntyn/>
  47. </prcpsrch>
  48. <deptinfo>
  49. <deptflag/>
  50. </deptinfo>
  51. <atcinfo>
  52. <drugdd/>
  53. <drugflag>O</drugflag>
  54. <instcd/>
  55. </atcinfo>
  56. <openflag/>
  57. <suminfo>
  58. <orddd/>
  59. </suminfo>
  60. <scrnid/>
  61. </send>
  62. <init>
  63. <barcdprntsetup>
  64. <setupinfo/>
  65. </barcdprntsetup>
  66. <misdeptlist>
  67. <deptlist>
  68. <deptnm/>
  69. <deptcd/>
  70. </deptlist>
  71. </misdeptlist>
  72. <lbllists>
  73. <lbllists/>
  74. </lbllists>
  75. <mdrugflags>
  76. <mdrugflags/>
  77. </mdrugflags>
  78. </init>
  79. <hidden>
  80. <prcpsrch>
  81. <drugdd/>
  82. <drugno/>
  83. <hosinyn/>
  84. <hosinmpsflag/>
  85. <hosoutyn/>
  86. <hosoutmpsflag/>
  87. <lblyn/>
  88. <lblflag/>
  89. <prntflag/>
  90. <autoinprntyn/>
  91. <autooutprntyn/>
  92. <instcd>012</instcd>
  93. <autoprcp/>
  94. <reprintyn/>
  95. <autoatcyn/>
  96. <autoliquidlbl/>
  97. <injyn/>
  98. <liquidflag/>
  99. <stocdeptcd>3242106000</stocdeptcd>
  100. <eprntype/>
  101. <lbl5/>
  102. </prcpsrch>
  103. <deptlist>
  104. <dept>
  105. <deptcd/>
  106. <deptnm/>
  107. </dept>
  108. </deptlist>
  109. <popupinfo>
  110. <drugdd/>
  111. <drugno/>
  112. </popupinfo>
  113. </hidden>
  114. <temp>
  115. <ret/>
  116. <stocdeptcd/>
  117. </temp>
  118. </root>
  119. </instance>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  123. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  124. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  125. <script type="javascript" src="../../../ast/pharmacyweb/js/SMADT01100.js"/>
  126. <script type="javascript">
  127. <![CDATA[
  128. //프린터 설정
  129. function fSetPrint() {
  130. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  131. if(count == 0) {
  132. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  133. }
  134. open("SPZUR00300_바코드프린터설정_knuh.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  135. }
  136. ]]>
  137. </script>
  138. <script type="javascript" ev:event="xforms-ready">
  139. <![CDATA[
  140. fInit();
  141. ]]>
  142. </script>
  143. <submission id="TRADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
  144. <submission id="TRADT01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpsrch" replace="instance" resultref="/root/main/prcpdata"/>
  145. <submission id="TRADT01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
  146. <submission id="TRADT01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
  147. <submission id="TXADT10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/atcinfo" replace="instance" add="bottom" resultref="/root/temp/ret"/>
  148. <submission id="TXADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/suminfo" replace="instance" resultref="/root/temp/ret"/>
  149. <!-- 프린터 설정-->
  150. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  151. <script type="javascript" ev:event="xforms-model-destruct">
  152. <![CDATA[
  153. if (gTimer != null) {
  154. window.clearinterval(gTimer);
  155. gTimer = null;
  156. }
  157. ]]>
  158. </script>
  159. <script type="javascript" ev:event="xforms-close">
  160. <![CDATA[
  161. if (gTimer != null) {
  162. window.clearinterval(gTimer);
  163. gTimer = null;
  164. }
  165. ]]>
  166. </script>
  167. <submission id="TRADT01105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  168. <submission id="TRADT01106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/misdeptlist"/>
  169. <submission id="TRADT01107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/lbllists"/>
  170. <submission id="TRADT01108" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/mdrugflags"/>
  171. <!-- 외래임상연구 일반약마감 -->
  172. <submission id="TXADC10901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/temp/ret"/>
  173. </model>
  174. </xhtml:head>
  175. <xhtml:body visibility="207104" pagewidth="604" pageheight="400" guideline="1,1195;1,1327;2,783;2,756;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  176. <script type="javascript" ev:event="onkeyup">
  177. <![CDATA[
  178. if (event.keyCode==121){
  179. checkbox12.visible=true;
  180. }
  181. ]]>
  182. </script>
  183. <datagrid id="grd_param" nodeset="/root/main/paramdata/param" visibility="hidden" caption="pid^orddd^cretno^orddeptcd^orddrid^prcpdd^drugdd^drugno^caption1^caption2" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:181px; top:40px; width:390px; height:50px; ">
  184. <col ref="pid"/>
  185. <col ref="orddd"/>
  186. <col ref="cretno"/>
  187. <col ref="orddeptcd" style="left:300px; top:23px; width:100px; height:23px; "/>
  188. <col ref="orddrid"/>
  189. <col ref="prcpdd"/>
  190. <col ref="drugdd"/>
  191. <col ref="drugno"/>
  192. <col ref="prntdt"/>
  193. <col ref="lblprntdt"/>
  194. </datagrid>
  195. <group id="group1" style="left:0px; top:0px; width:570px; height:13px; ">
  196. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:500px; height:14px; ">외래처방전출력(Ver 1230)</caption>
  197. </group>
  198. <line id="line6" class="line_2" style="x1:0px; y1:78px; x2:570px; y2:78px; "/>
  199. <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:570px; y2:128px; "/>
  200. <select id="checkbox1" ref="/root/hidden/prcpsrch/hosoutmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="3" rows="1" sep="|" style="left:85px; top:107px; width:225px; height:20px; border-style:none; ">
  201. <choices>
  202. <item>
  203. <label>처방전(약국용)</label>
  204. <value>1</value>
  205. </item>
  206. <item>
  207. <label>처방전(환자용)</label>
  208. <value>2</value>
  209. </item>
  210. </choices>
  211. </select>
  212. <line id="line11" class="line_2" style="x1:0px; y1:184px; x2:570px; y2:184px; "/>
  213. <caption id="caption20" class="cell_1" style="left:0px; top:209px; width:80px; height:25px; vertical-align:middle; ">출력구분</caption>
  214. <line id="line12" class="line_2" style="x1:0px; y1:211px; x2:570px; y2:209px; "/>
  215. <caption id="caption13" class="cell_1" style="left:0px; top:80px; width:80px; height:23px; vertical-align:middle; ">투약번호</caption>
  216. <caption id="caption22" class="cell_1" style="left:0px; top:55px; width:80px; height:23px; vertical-align:middle; ">투약일자</caption>
  217. <caption id="caption23" class="cell_1" style="left:0px; top:185px; width:80px; height:23px; vertical-align:middle; ">라벨그룹</caption>
  218. <caption id="caption24" class="cell_1" style="left:0px; top:130px; width:80px; height:25px; vertical-align:middle; "/>
  219. <input id="input14" ref="/root/hidden/prcpsrch/drugno" class="input_search" autonext="false" maxlength="5" format="99999" style="left:85px; top:81px; width:105px; height:19px; ">
  220. <script type="javascript" ev:event="onkeyup">
  221. <![CDATA[
  222. if(event.keyCode == "13") {
  223. setInputNodeCurText();
  224. fPrcpMPSPrint();
  225. }
  226. ]]>
  227. </script>
  228. </input>
  229. <caption id="caption27" class="cell_1" style="left:0px; top:105px; width:80px; height:23px; vertical-align:middle; "/>
  230. <line id="line15" class="line_3" style="x1:0px; y1:234px; x2:570px; y2:234px; "/>
  231. <line id="line16" class="line_2" style="x1:0px; y1:103px; x2:570px; y2:103px; "/>
  232. <line id="line17" class="line_1" style="x1:0px; y1:50px; x2:570px; y2:50px; "/>
  233. <button id="button25" class="btn3_letter4" visibility="hidden" style="left:0px; top:236px; width:80px; height:22px; ">
  234. <caption>업무시작</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. //messageBox("개발중", "E008");
  238. if(button25.text == "업무시작") {
  239. model.setValue("/root/send/openflag", "o");
  240. submit("TRADT01105");
  241. button25.text = "업무종료";
  242. } else if(button25.text== "업무종료") {
  243. model.setValue("/root/send/openflag", "c");
  244. if(submit("TRADT01105")) {
  245. window.close();
  246. }
  247. //button25.text = "업무시작";
  248. }
  249. ]]>
  250. </script>
  251. </button>
  252. <input id="input7" ref="/root/hidden/prcpsrch/drugdd" class="input_default" inputtype="date" style="left:85px; top:56px; width:105px; height:19px; "/>
  253. <select id="checkbox7" ref="/root/hidden/prcpsrch/hosinmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="8" rows="1" sep="|" style="left:85px; top:133px; width:55px; height:20px; border-style:none; ">
  254. <choices>
  255. <item>
  256. <label>처방전</label>
  257. <value>Y</value>
  258. </item>
  259. </choices>
  260. </select>
  261. <select id="checkbox8" ref="/root/hidden/prcpsrch/autoinprntyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:85px; top:211px; width:95px; height:23px; border-style:none; ">
  262. <choices>
  263. <item>
  264. <label>원내자동출력</label>
  265. <value>Y</value>
  266. </item>
  267. </choices>
  268. <script type="javascript" ev:event="xforms-value-changed">
  269. <![CDATA[
  270. fChkHosInAutoPrnt();
  271. ]]>
  272. </script>
  273. </select>
  274. <select id="checkbox9" ref="/root/hidden/prcpsrch/hosinyn" overflow="visible" appearance="full" style="left:5px; top:135px; width:65px; height:15px; background-color:#d8ebfa; border-style:none; ">
  275. <choices>
  276. <item>
  277. <label>원내</label>
  278. <value>Y</value>
  279. </item>
  280. </choices>
  281. <script type="javascript" ev:event="xforms-value-changed">
  282. <![CDATA[
  283. fChkHosin_YN();
  284. ]]>
  285. </script>
  286. </select>
  287. <select id="checkbox3" ref="/root/hidden/prcpsrch/hosoutyn" overflow="visible" appearance="full" style="left:5px; top:110px; width:65px; height:15px; background-color:#d8ebfa; border-style:none; ">
  288. <choices>
  289. <item>
  290. <label>원외</label>
  291. <value>Y</value>
  292. </item>
  293. </choices>
  294. <script type="javascript" ev:event="xforms-value-changed">
  295. <![CDATA[
  296. fChkHosout_YN();
  297. ]]>
  298. </script>
  299. </select>
  300. <select id="checkbox6" visibility="hidden" overflow="visible" appearance="full" style="left:485px; top:83px; width:85px; height:15px; border-style:none; ">
  301. <choices>
  302. <item>
  303. <label>HD환자포함</label>
  304. <value>1</value>
  305. </item>
  306. </choices>
  307. </select>
  308. <button id="btn_prt" class="btn6_letter2" style="left:515px; top:236px; width:56px; height:22px; ">
  309. <caption>출력</caption>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. fPrcpMPSPrint();
  313. ]]>
  314. </script>
  315. </button>
  316. <button id="button" class="btn4_letter2" visibility="hidden" style="left:455px; top:239px; width:56px; height:22px; ">
  317. <caption>종료</caption>
  318. <script type="javascript" ev:event="DOMActivate">
  319. <![CDATA[
  320. window.close();
  321. ]]>
  322. </script>
  323. </button>
  324. <select id="chk_lbl_flag" ref="/root/hidden/prcpsrch/lblflag" overflow="visible" appearance="full" cellspacing="5" cols="10" rows="1" sep="|" style="left:85px; top:191px; width:150px; height:20px; border-style:none; ">
  325. <choices>
  326. <item>
  327. <label>정제</label>
  328. <value>D</value>
  329. </item>
  330. <item>
  331. <label>마약</label>
  332. <value>DM</value>
  333. </item>
  334. <item>
  335. <label>향정</label>
  336. <value>DH</value>
  337. </item>
  338. </choices>
  339. <script type="javascript" ev:event="xforms-value-changed">
  340. <![CDATA[
  341. if(model.getValue("/root/hidden/prcpsrch/lblflag") == ""){
  342. model.setValue("/root/hidden/prcpsrch/lblyn", "");
  343. } else {
  344. model.setValue("/root/hidden/prcpsrch/lblyn", "Y");
  345. }
  346. model.refresh();
  347. ]]>
  348. </script>
  349. </select>
  350. <select id="checkbox2" ref="/root/hidden/prcpsrch/autooutprntyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:185px; top:211px; width:140px; height:23px; border-style:none; ">
  351. <choices>
  352. <item>
  353. <label>응급실원외자동출력</label>
  354. <value>Y</value>
  355. </item>
  356. </choices>
  357. <script type="javascript" ev:event="xforms-value-changed">
  358. <![CDATA[
  359. fChkHosOutAutoPrnt();
  360. ]]>
  361. </script>
  362. </select>
  363. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:18px; width:571px; height:30px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
  364. <caption id="caption47" class="cell_2" style="left:9px; top:23px; width:70px; height:20px; ">범 례</caption>
  365. <caption id="caption1" style="left:90px; top:23px; width:485px; height:20px; ">원내투약번호(1~10000) 원외투약번호(10001~20000) 응급실원외투약번호(90001~)</caption>
  366. <button id="button2" class="btn6_letter4" style="left:0px; top:236px; width:80px; height:22px; ">
  367. <caption>물약라벨</caption>
  368. <script type="javascript" ev:event="DOMActivate">
  369. <![CDATA[
  370. fLiquidLBLPrint();
  371. ]]>
  372. </script>
  373. </button>
  374. <select id="checkbox4" ref="/root/hidden/prcpsrch/lblflag" overflow="visible" appearance="full" cellspacing="5" cols="10" rows="1" sep="|" style="left:300px; top:191px; width:265px; height:20px; border-style:none; ">
  375. <choices>
  376. <item>
  377. <label>PTP</label>
  378. <value>DT</value>
  379. </item>
  380. <item>
  381. <label>기타약</label>
  382. <value>DX</value>
  383. </item>
  384. <item>
  385. <label>외용</label>
  386. <value>DI</value>
  387. </item>
  388. <item>
  389. <label>수제</label>
  390. <value>DS</value>
  391. </item>
  392. <item>
  393. <label>PACK</label>
  394. <value>DG</value>
  395. </item>
  396. </choices>
  397. <script type="javascript" ev:event="xforms-value-changed">
  398. <![CDATA[
  399. if(model.getValue("/root/hidden/prcpsrch/lblflag") == ""){
  400. model.setValue("/root/hidden/prcpsrch/lblyn", "");
  401. } else {
  402. model.setValue("/root/hidden/prcpsrch/lblyn", "Y");
  403. }
  404. model.refresh();
  405. ]]>
  406. </script>
  407. </select>
  408. <select id="checkbox11" ref="/root/hidden/prcpsrch/reprintyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:512px; top:211px; width:59px; height:23px; border-style:none; ">
  409. <choices>
  410. <item>
  411. <label>재출력</label>
  412. <value>Y</value>
  413. </item>
  414. </choices>
  415. </select>
  416. <select id="checkbox12" ref="/root/hidden/prcpsrch/autoatcyn" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:470px; top:110px; width:95px; height:23px; border-style:none; ">
  417. <choices>
  418. <item>
  419. <label>ATC자료전송</label>
  420. <value>Y</value>
  421. </item>
  422. </choices>
  423. <script type="javascript" ev:event="xforms-value-changed">
  424. <![CDATA[
  425. fChkHosInAutoPrnt();
  426. ]]>
  427. </script>
  428. </select>
  429. <button id="btn_prnt" class="btn3_letter5" navindex="18" style="left:80px; top:236px; width:92px; height:22px; ">
  430. <caption>프린터설정</caption>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. fSetPrint();
  434. ]]>
  435. </script>
  436. </button>
  437. <group id="group2" visibility="hidden" style="left:0px; top:271px; width:572px; height:85px; background-color:#ffff99; ">
  438. <caption id="caption14" style="left:0px; top:10px; width:560px; height:75px; font-size:48pt; font-weight:bold; color:#ff0000; ">자동 출력 중</caption>
  439. </group>
  440. <select id="checkbox14" ref="/root/hidden/prcpsrch/autoliquidlbl" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:330px; top:211px; width:115px; height:23px; border-style:none; ">
  441. <choices>
  442. <item>
  443. <label>물약라벨 자동출력</label>
  444. <value>Y</value>
  445. </item>
  446. </choices>
  447. <script type="javascript" ev:event="xforms-value-changed">
  448. <![CDATA[
  449. fChkAutoLiquidLBLPrint();
  450. ]]>
  451. </script>
  452. </select>
  453. <select id="checkbox13" ref="/root/hidden/prcpsrch/injyn" overflow="visible" appearance="full" cellspacing="5" cols="10" rows="1" sep="|" style="left:235px; top:191px; width:50px; height:20px; border-style:none; ">
  454. <choices>
  455. <item>
  456. <label>주사</label>
  457. <value>Y</value>
  458. </item>
  459. </choices>
  460. <script type="javascript" ev:event="xforms-value-changed">
  461. <![CDATA[
  462. if(model.getValue("/root/hidden/prcpsrch/lblflag") == ""){
  463. model.setValue("/root/hidden/prcpsrch/lblyn", "");
  464. } else {
  465. model.setValue("/root/hidden/prcpsrch/lblyn", "Y");
  466. }
  467. model.refresh();
  468. ]]>
  469. </script>
  470. </select>
  471. <select id="checkbox15" ref="/root/hidden/prcpsrch/hosinmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="8" rows="1" sep="|" style="left:140px; top:133px; width:120px; height:20px; border-style:none; ">
  472. <choices>
  473. <item>
  474. <label>인공신장실 처방전</label>
  475. <value>K</value>
  476. </item>
  477. </choices>
  478. </select>
  479. <caption id="caption2" style="left:312px; top:238px; width:69px; height:20px; font-weight:bold; color:#ff0000; ">실출고부서</caption>
  480. <select1 id="combo1" ref="/root/hidden/prcpsrch/stocdeptcd" appearance="minimal" style="left:380px; top:238px; width:121px; height:19px; ">
  481. <choices>
  482. <itemset nodeset="/root/init/misdeptlist/deptlist">
  483. <label ref="deptnm"/>
  484. <value ref="deptcd"/>
  485. </itemset>
  486. </choices>
  487. <script type="javascript" ev:event="xforms-value-changed">
  488. <![CDATA[
  489. if(chk_cnt != 0) {
  490. var ret = messageBox("약품출고부서를 " + combo1.label +"으로 ", "S001");
  491. if(ret == "6") {
  492. model.setValue("/root/temp/stocdeptcd", combo1.value);
  493. } else {
  494. model.setValue("/root/hidden/prcpsrch/stocdeptcd", model.getValue("/root/temp/stocdeptcd"));
  495. }
  496. combo1.refresh();
  497. }
  498. ]]>
  499. </script>
  500. </select1>
  501. <select id="checkbox16" ref="/root/hidden/prcpsrch/eprntype" overflow="visible" appearance="full" style="left:197px; top:82px; width:100px; height:20px; border-style:none; ">
  502. <choices>
  503. <item>
  504. <label>영문명으로</label>
  505. <value>E</value>
  506. </item>
  507. </choices>
  508. <script type="javascript" ev:event="xforms-value-changed">
  509. <![CDATA[
  510. // 2009.09.09 pymi 영문명처방전
  511. if(model.getValue("/root/hidden/prcpsrch/eprntype") == "E") {
  512. fChkHosOutAutoPrnt("E");
  513. }
  514. //(e)
  515. ]]>
  516. </script>
  517. </select>
  518. <select id="checkbox17" ref="/root/hidden/prcpsrch/hosinmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="8" rows="1" sep="|" style="left:260px; top:133px; width:195px; height:20px; border-style:none; ">
  519. <choices>
  520. <item>
  521. <label>가정간호 처방전 (자가주사 포함)</label>
  522. <value>F</value>
  523. </item>
  524. </choices>
  525. </select>
  526. <select id="checkbox5" ref="/root/hidden/prcpsrch/lblyn" overflow="visible" appearance="full" cellspacing="57" cols="2" style="left:85px; top:161px; width:250px; height:20px; border-style:none; ">
  527. <choices>
  528. <item>
  529. <label>라벨</label>
  530. <value>Y</value>
  531. </item>
  532. <item>
  533. <label>봉투</label>
  534. <value>B</value>
  535. </item>
  536. </choices>
  537. </select>
  538. <caption id="caption3" class="cell_1" style="left:0px; top:157px; width:80px; height:25px; vertical-align:middle; ">라벨출력구분</caption>
  539. <select id="checkbox18" ref="/root/hidden/prcpsrch/hosinmpsflag" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="8" rows="1" sep="|" style="left:450px; top:160px; width:103px; height:20px; border-style:none; ">
  540. <choices>
  541. <item>
  542. <label>투약구 처방전</label>
  543. <value>S</value>
  544. </item>
  545. </choices>
  546. </select>
  547. <select id="checkbox10" ref="/root/hidden/prcpsrch/hosinmpsflag" overflow="visible" appearance="full" cellspacing="10" cols="8" rows="1" sep="|" style="left:455px; top:133px; width:110px; height:20px; border-style:none; ">
  548. <choices>
  549. <item>
  550. <label>임상연구 처방전</label>
  551. <value>C</value>
  552. </item>
  553. </choices>
  554. </select>
  555. </xhtml:body>
  556. </xhtml:html>