SPMRC01600_바코드출력.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <fstexamprnt>
  11. <list>
  12. <pid/>
  13. <patnm/>
  14. <rrgstno/>
  15. <orddeptcd/>
  16. <orddeptnm/>
  17. <fstexamdd/>
  18. <examflag/>
  19. </list>
  20. </fstexamprnt>
  21. <cretchart>
  22. <pid/>
  23. <patnm/>
  24. <contents>챠트 생성 및 바코드 출력중입니다</contents>
  25. <orddeptcd/>
  26. <deptengabbr/>
  27. <checknum>
  28. <value>true</value>
  29. </checknum>
  30. </cretchart>
  31. <reprntbarcode>
  32. <pid/>
  33. <patnm/>
  34. <contents>바코드 출력중입니다</contents>
  35. <orddeptcd/>
  36. <deptengabbr/>
  37. <checknum>
  38. <value>true</value>
  39. </checknum>
  40. </reprntbarcode>
  41. <patinfo>
  42. <patinfolist/>
  43. </patinfo>
  44. <common/>
  45. <barcodeinfo>
  46. <pid/>
  47. <orddeptcd/>
  48. <ioflag/>
  49. <orddd/>
  50. <atdoctid/>
  51. <bcno/>
  52. <instcd/>
  53. <fstrgstrid/>
  54. <lastupdtrid/>
  55. <chrtrem/>
  56. <hngnm/>
  57. <rrgstno/>
  58. <fsexamflag/>
  59. <depthngnm/>
  60. <deptengabbr/>
  61. <cretno/>
  62. </barcodeinfo>
  63. <exstchart>
  64. <pid/>
  65. <hngnm/>
  66. <rrgstno/>
  67. <ordtype/>
  68. <orddeptcd/>
  69. <orddd/>
  70. <atdoctid/>
  71. <fsexamflag/>
  72. <depthngnm/>
  73. <bcno/>
  74. <deptengabbr/>
  75. <cretno/>
  76. </exstchart>
  77. <barcdprntsetup/>
  78. <envelopebarcode>
  79. <frompid/>
  80. <topid>9999999999</topid>
  81. <stddate/>
  82. <fsexamflag>F</fsexamflag>
  83. <info>
  84. <list>
  85. <pid/>
  86. <cretno/>
  87. <hngnm/>
  88. <rrgstno/>
  89. <ordtype/>
  90. <orddeptcd/>
  91. <orddd/>
  92. <orddrid/>
  93. <fsexamflag/>
  94. <depthngnm/>
  95. <deptengabbr/>
  96. </list>
  97. </info>
  98. </envelopebarcode>
  99. </main>
  100. <send/>
  101. <init>
  102. <fstexamdeptinfo>
  103. <deptinfo>
  104. <dept>
  105. <deptid/>
  106. <depthngnm/>
  107. </dept>
  108. </deptinfo>
  109. </fstexamdeptinfo>
  110. <cretchart>
  111. <deptinfo>
  112. <deptcd/>
  113. <depthngnm/>
  114. </deptinfo>
  115. </cretchart>
  116. <reprntbarcode>
  117. <deptinfo>
  118. <deptcd/>
  119. <depthngnm/>
  120. </deptinfo>
  121. </reprntbarcode>
  122. <envelope>
  123. <stddata/>
  124. <fsexamflag/>
  125. </envelope>
  126. </init>
  127. <temp>
  128. <srchcond/>
  129. <pid/>
  130. <autoflag/>
  131. <hngnm/>
  132. <hardcode/>
  133. </temp>
  134. <hidden>
  135. <barcode>
  136. <barcodeinfo/>
  137. </barcode>
  138. <envelopebarcode>
  139. <list/>
  140. </envelopebarcode>
  141. </hidden>
  142. </root>
  143. </instance>
  144. <submission id="TRMRC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/exstchart"/>
  145. <script type="javascript" ev:event="xforms-ready">
  146. <![CDATA[
  147. fInitialize();
  148. ]]>
  149. </script>
  150. <submission id="TXMRC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/barcodeinfo"/>
  151. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  152. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  153. <submission id="TRMRC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/envelopebarcode/info"/>
  154. <submission id="TRMRC01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/exstchart"/>
  155. <submission id="TRMRC01604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  156. <submission id="TRMRC01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/envelope"/>
  157. <submission id="TXMRC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/envelopebarcode"/>
  158. <submission id="TRMRC01606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/common"/>
  159. <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
  160. </model>
  161. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  165. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  166. <script type="javascript" src="../../../emr/chrtmngtweb/js/SPMRC01600.js"/>
  167. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  168. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  169. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  170. </xhtml:head>
  171. <xhtml:body pagewidth="680" pageheight="300" guideline="1,680;2,289;">
  172. <caption id="caption21" class="tit_2" style="left:5px; top:10px; width:111px; height:14px; ">바코드 출력</caption>
  173. <button id="button66" class="btn_sw" group="tab" selected="true" style="left:5px; top:35px; width:60px; height:22px; ">
  174. <caption>챠트생성</caption>
  175. <toggle case="case2" ev:event="onclick"/>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. model.setFocus("ipt_cretpid");
  179. ]]>
  180. </script>
  181. </button>
  182. <button id="button2" class="btn_sw" group="tab" style="left:65px; top:35px; width:60px; height:22px; ">
  183. <caption>재출력</caption>
  184. <toggle case="case3" ev:event="onclick"/>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. model.setFocus("ipt_reprntpid");
  188. ]]>
  189. </script>
  190. </button>
  191. <button id="button67" class="btn_sw" visibility="hidden" group="tab" style="left:185px; top:35px; width:72px; height:22px; ">
  192. <caption>봉투바코드</caption>
  193. <toggle case="case4" ev:event="onclick"/>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. fLastEnvelopeStdData();
  197. ]]>
  198. </script>
  199. </button>
  200. <switch id="swt_barcode" class="sw_box" style="left:5px; top:55px; width:670px; height:225px; border-style:solid; ">
  201. <case id="case1">
  202. <datagrid id="datagrid1" nodeset="/root/main/fstexamprnt/list" caption="등록번호^환자성명^주민등록번호^진료과코드^진료과^초진일^과초/병초" colsep="^" colwidth="90, 60, 120, 100, 120, 100, 70" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:30px; width:665px; height:190px; ">
  203. <col ref="pid"/>
  204. <col ref="patnm"/>
  205. <col ref="rrgstno" format="999999-9999999"/>
  206. <col ref="orddeptcd"/>
  207. <col ref="orddeptnm"/>
  208. <col ref="fstexamdd" type="inputdate"/>
  209. <col ref="fsexamflag" type="combo">
  210. <choices/>
  211. </col>
  212. </datagrid>
  213. <button id="button6" class="btn6_letter2" style="left:603px; top:5px; width:56px; height:22px; ">
  214. <caption>출력</caption>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. var pRef = "/root/hidden/barcode/barcodeinfo";
  218. fAutoPrntBarCd();
  219. ]]>
  220. </script>
  221. </button>
  222. <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:162px; height:14px; ">바코드 자동출력</caption>
  223. </case>
  224. <case id="case2" selected="true" style="left:0px; top:0px; width:668px; height:223px; ">
  225. <img id="img_progress" visibility="hidden" src="../../../com/commonweb/images/loadingBar.gif" style="left:145px; top:60px; width:365px; height:110px; background-stretch:stretch; "/>
  226. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:162px; height:14px; ">신규생성 및 바코드 출력</caption>
  227. <caption id="caption13" class="cell_1" style="left:0px; top:35px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  228. <input id="ipt_cretpid" ref="/root/main/cretchart/pid" class="input_default" style="left:57px; top:37px; width:106px; height:19px; ">
  229. <script type="javascript" ev:event="onkeyup">
  230. <![CDATA[
  231. if(event.keyCode == 13){
  232. if(model.getValue("/root/main/cretchart/checknum/value") == "true"){
  233. var pid = getCretCheckNo(ipt_cretpid.currentText, getUserInfo("dutplceinstcd"));
  234. } else {
  235. var pid = ipt_cretpid.currentText;
  236. }
  237. fGetPatSearch("pid", "1", pid);
  238. model.setFocus("ipt_cretabbr");
  239. }
  240. ]]>
  241. </script>
  242. </input>
  243. <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:667px; y2:31px; "/>
  244. <caption id="caption2" class="cell_1" style="left:191px; top:35px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
  245. <input id="ipt_cretpatnm" ref="/root/main/cretchart/patnm" class="input_default" style="left:248px; top:37px; width:120px; height:19px; ">
  246. <script type="javascript" ev:event="onkeyup">
  247. <![CDATA[
  248. if(event.keyCode == 13){
  249. var patnm = ipt_cretpatnm.currentText;
  250. fGetPatSearch("patnm", "1", patnm);
  251. model.setFocus("ipt_cretabbr");
  252. }
  253. ]]>
  254. </script>
  255. </input>
  256. <input id="ipt_cretabbr" ref="/root/main/cretchart/deptengabbr" class="input_default" style="left:417px; top:37px; width:70px; height:19px; ">
  257. <script type="javascript" ev:event="onkeyup">
  258. <![CDATA[
  259. if(event.keyCode == 13){
  260. var engabbr = ipt_cretabbr.currentText;
  261. engabbr = engabbr.toUpperCase();
  262. fGetDeptEngAbbr(engabbr, "/root/init/cretchart/deptinfo", "/root/main/cretchart/orddeptcd");
  263. model.setValue("/root/main/cretchart/deptengabbr", model.getValue("/root/init/cretchart/deptinfo[deptengabbr='" + engabbr + "']/deptengabbr"));
  264. ipt_cretabbr.refresh();
  265. model.setFocus("btn_cretPrnt");
  266. }
  267. ]]>
  268. </script>
  269. </input>
  270. <caption id="caption12" class="cell_1" style="left:372px; top:35px; width:43px; height:23px; vertical-align:middle; ">차트과</caption>
  271. <select1 id="cmb_cretchrtdept" ref="/root/main/cretchart/orddeptcd" class="combo_default" appearance="minimal" style="left:490px; top:37px; width:175px; height:19px; ">
  272. <choices>
  273. <itemset nodeset="/root/init/cretchart/deptinfo">
  274. <label ref="depthngnm"/>
  275. <value ref="deptcd"/>
  276. </itemset>
  277. </choices>
  278. <script type="javascript" ev:event="xforms-value-changed">
  279. <![CDATA[
  280. model.setValue("/root/main/cretchart/deptengabbr", model.getValue("/root/init/cretchart/deptinfo['" + (cmb_cretchrtdept.selectedIndex + 1) + "']/deptengabbr"));
  281. ipt_cretabbr.refresh();
  282. model.setFocus("btn_cretPrnt");
  283. ]]>
  284. </script>
  285. </select1>
  286. <button id="btn_cretPrnt" class="btn6_letter2" style="left:603px; top:5px; width:56px; height:22px; ">
  287. <caption>출력</caption>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. //fBarCodePrnt();
  291. var pRef = "/root/hidden/barcode/barcodeinfo";
  292. fBarCodePrnt(pRef);
  293. ]]>
  294. </script>
  295. </button>
  296. <line id="line6" class="line_3" style="x1:0px; y1:58px; x2:667px; y2:58px; "/>
  297. <output id="opt_message" ref="/root/main/cretchart/contents" visibility="hidden" style="left:275px; top:90px; width:210px; height:19px; font-weight:bold; "/>
  298. <select id="checkbox1" ref="/root/main/cretchart/checknum/value" overflow="visible" appearance="full" style="left:167px; top:38px; width:20px; height:17px; border-style:none; ">
  299. <choices>
  300. <item>
  301. <label/>
  302. <value>true</value>
  303. </item>
  304. </choices>
  305. </select>
  306. </case>
  307. <case id="case3">
  308. <img id="img1" visibility="hidden" src="../../../com/commonweb/images/loadingBar.gif" style="left:145px; top:60px; width:365px; height:110px; background-stretch:stretch; "/>
  309. <caption id="caption3" class="cell_1" style="left:191px; top:35px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
  310. <caption id="caption4" class="cell_1" style="left:372px; top:35px; width:43px; height:23px; vertical-align:middle; ">차트과</caption>
  311. <caption id="caption5" class="cell_1" style="left:0px; top:35px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  312. <select1 id="cmb_rechrtdept" ref="/root/main/reprntbarcode/orddeptcd" class="combo_default" appearance="minimal" style="left:490px; top:37px; width:175px; height:19px; ">
  313. <choices>
  314. <itemset nodeset="/root/init/reprntbarcode/deptinfo">
  315. <label ref="depthngnm"/>
  316. <value ref="deptcd"/>
  317. </itemset>
  318. </choices>
  319. <script type="javascript" ev:event="xforms-value-changed">
  320. <![CDATA[
  321. model.setValue("/root/main/reprntbarcode/deptengabbr", model.getValue("/root/init/reprntbarcode/deptinfo['" + (cmb_rechrtdept.selectedIndex + 1)+ "']/deptengabbr"));
  322. ipt_reprntabbr.refresh();
  323. model.setFocus("btn_rePrnt");
  324. ]]>
  325. </script>
  326. </select1>
  327. <line id="line2" class="line_1" style="x1:0px; y1:31px; x2:667px; y2:31px; "/>
  328. <input id="ipt_reprntpatnm" ref="/root/main/reprntbarcode/patnm" class="input_default" style="left:248px; top:37px; width:120px; height:19px; ">
  329. <script type="javascript" ev:event="onkeyup">
  330. <![CDATA[
  331. if(event.keyCode == 13){
  332. var patnm = ipt_reprntpatnm.currentText;
  333. fGetPatSearch("patnm", "2", patnm);
  334. model.setFocus("ipt_reprntabbr");
  335. }
  336. ]]>
  337. </script>
  338. </input>
  339. <input id="ipt_reprntabbr" ref="/root/main/reprntbarcode/deptengabbr" class="input_default" style="left:417px; top:37px; width:70px; height:19px; ">
  340. <script type="javascript" ev:event="onkeyup">
  341. <![CDATA[
  342. if(event.keyCode == 13){
  343. var engabbr = ipt_reprntabbr.currentText;
  344. engabbr = engabbr.toUpperCase();
  345. fGetDeptEngAbbr(engabbr, "/root/init/reprntbarcode/deptinfo", "/root/main/reprntbarcode/orddeptcd");
  346. model.setValue("/root/main/reprntbarcode/deptengabbr", model.getValue("/root/init/reprntbarcode/deptinfo[deptengabbr='" + engabbr + "']/deptengabbr"));
  347. ipt_reprntabbr.refresh();
  348. model.setFocus("btn_rePrnt");
  349. }
  350. ]]>
  351. </script>
  352. </input>
  353. <input id="ipt_reprntpid" ref="/root/main/reprntbarcode/pid" class="input_default" style="left:57px; top:37px; width:106px; height:19px; ">
  354. <script type="javascript" ev:event="onkeyup">
  355. <![CDATA[
  356. if(event.keyCode == 13){
  357. if(model.getValue("/root/main/reprntbarcode/checknum/value") == "true"){
  358. var pid = getCretCheckNo(ipt_reprntpid.currentText, getUserInfo("dutplceinstcd"));
  359. } else {
  360. var pid = ipt_reprntpid.currentText;
  361. }
  362. fGetPatSearch("pid", "2", pid);
  363. model.setFocus("ipt_reprntabbr");
  364. }
  365. ]]>
  366. </script>
  367. </input>
  368. <line id="line3" class="line_3" style="x1:0px; y1:58px; x2:667px; y2:58px; "/>
  369. <caption id="caption6" class="tit_2" style="left:5px; top:5px; width:95px; height:13px; ">바코드 출력</caption>
  370. <button id="btn_rePrnt" class="btn6_letter2" style="left:603px; top:5px; width:56px; height:22px; ">
  371. <caption>출력</caption>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. var pRef = "/root/hidden/barcode/barcodeinfo";
  375. fBarCodeRePrnt(pRef);
  376. ]]>
  377. </script>
  378. </button>
  379. <output id="output1" ref="/root/main/reprntbarcode/contents" visibility="hidden" style="left:275px; top:90px; width:130px; height:19px; font-weight:bold; "/>
  380. <select id="checkbox2" ref="/root/main/reprntbarcode/checknum/value" overflow="visible" appearance="full" style="left:167px; top:38px; width:20px; height:17px; border-style:none; ">
  381. <choices>
  382. <item>
  383. <label/>
  384. <value>true</value>
  385. </item>
  386. </choices>
  387. </select>
  388. </case>
  389. <case id="case4" style="left:0px; top:0px; width:668px; height:223px; ">
  390. <caption id="caption9" class="cell_1" style="left:150px; top:35px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
  391. <line id="line4" class="line_1" style="x1:0px; y1:31px; x2:666px; y2:31px; "/>
  392. <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:118px; height:14px; ">봉투 바코드 출력</caption>
  393. <line id="line5" class="line_3" style="x1:0px; y1:83px; x2:666px; y2:83px; "/>
  394. <input id="ipt_frompid" ref="/root/main/envelopebarcode/frompid" class="input_default" style="left:207px; top:37px; width:70px; height:19px; "/>
  395. <button id="button5" class="btn6_letter2" style="left:603px; top:5px; width:56px; height:22px; ">
  396. <caption>출력</caption>
  397. <script type="javascript" ev:event="DOMActivate">
  398. <![CDATA[
  399. var pRef = "/root/hidden/barcode/barcodeinfo";
  400. //fGetOutEnvelopeInfo(pRef);
  401. fEnvelopePrnt(pRef);
  402. ]]>
  403. </script>
  404. </button>
  405. <input id="ipt_topid" ref="/root/main/envelopebarcode/topid" class="input_default" style="left:297px; top:37px; width:70px; height:19px; "/>
  406. <caption id="caption14" style="left:280px; top:35px; width:15px; height:20px; ">~</caption>
  407. <input id="ipt_stddate" ref="/root/main/envelopebarcode/stddate" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd hh:nn:ss" style="left:57px; top:62px; width:135px; height:19px; "/>
  408. <caption id="caption7" class="cell_1" style="left:0px; top:35px; width:55px; height:23px; vertical-align:middle; ">출력구분</caption>
  409. <select1 id="rdo_fsexamflag" ref="/root/main/envelopebarcode/fsexamflag" overflow="visible" appearance="full" cols="2" rows="1" style="left:57px; top:36px; width:90px; height:20px; border-style:none; ">
  410. <choices>
  411. <item>
  412. <label>병초</label>
  413. <value>F</value>
  414. </item>
  415. <item>
  416. <label>과초</label>
  417. <value>D</value>
  418. </item>
  419. </choices>
  420. <script type="javascript" ev:event="xforms-value-changed">
  421. <![CDATA[
  422. if(rdo_fsexamflag.value == "F"){
  423. ipt_stddate.disabled = true;
  424. ipt_frompid.disabled = false;
  425. ipt_topid.disabled = false;
  426. } else if(rdo_fsexamflag.value == "D"){
  427. ipt_stddate.disabled = false;
  428. ipt_frompid.disabled = true;
  429. ipt_topid.disabled = true;
  430. }
  431. ]]>
  432. </script>
  433. </select1>
  434. <caption id="caption11" class="cell_1" style="left:0px; top:60px; width:55px; height:23px; vertical-align:middle; ">기준시간</caption>
  435. <line id="line7" class="line_2" style="x1:0px; y1:58px; x2:666px; y2:58px; "/>
  436. <button id="button23" class="btn3_letter2" style="left:540px; top:5px; width:56px; height:22px; ">
  437. <caption>검색</caption>
  438. <script type="javascript" ev:event="DOMActivate">
  439. <![CDATA[
  440. fGetOutEnvelopeInfo();
  441. ]]>
  442. </script>
  443. </button>
  444. <datagrid id="datagrid2" nodeset="/root/main/envelopebarcode/info/list" caption="등록번호^생성번호^성명^주민번호^내원구분^진료과코드^진료일자^진료의ID^병초/과초^진료과^진료과영문약어" colsep="^" colwidth="70, 70, 60, 100, 60, 100, 100, 100, 65, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="25" rowsep="|" style="left:0px; top:90px; width:665px; height:130px; ">
  445. <col ref="pid"/>
  446. <col ref="cretno" visibility="hidden"/>
  447. <col ref="hngnm"/>
  448. <col ref="rrgstno"/>
  449. <col disabled="true" ref="ordtype" type="combo">
  450. <choices>
  451. <item>
  452. <label>외래</label>
  453. <value>O</value>
  454. </item>
  455. <item>
  456. <label>응급</label>
  457. <value>E</value>
  458. </item>
  459. <item>
  460. <label>건진</label>
  461. <value>S</value>
  462. </item>
  463. </choices>
  464. </col>
  465. <col ref="orddeptcd" visibility="hidden"/>
  466. <col disabled="true" ref="orddd" type="inputdate"/>
  467. <col ref="orddrid" visibility="hidden"/>
  468. <col ref="fsexamflag" type="combo">
  469. <choices>
  470. <item>
  471. <label>병초</label>
  472. <value>F</value>
  473. </item>
  474. <item>
  475. <label>과초</label>
  476. <value>D</value>
  477. </item>
  478. </choices>
  479. </col>
  480. <col ref="depthngnm"/>
  481. <col ref="deptengabbr"/>
  482. </datagrid>
  483. </case>
  484. </switch>
  485. <button id="button1" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:125px; top:35px; width:60px; height:22px; ">
  486. <caption>초진출력</caption>
  487. <toggle case="case1" ev:event="onclick"/>
  488. </button>
  489. <button id="button26" class="btn3_letter5" style="left:512px; top:29px; width:92px; height:22px; ">
  490. <caption>프린터설정</caption>
  491. <script type="javascript" ev:event="onclick">
  492. <![CDATA[
  493. /* 원본_20090617
  494. model.removeNodeset("/root/main/barcdprntsetup");
  495. model.makeNode("/root/main/barcdprntsetup");
  496. model.removeNodeset("/root/hidden/barcode/barcodeinfo");
  497. model.makeNode("/root/hidden/barcode/barcodeinfo");
  498. model.makeValue("/root/send/scrnid", getScreenID());
  499. submit("TRLLC90101");
  500. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  501. if(count == 0) {
  502. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  503. }
  504. modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  505. copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "append");
  506. */
  507. // 바코드 프린터 설정_20090617
  508. var scrnid = getScreenID();
  509. model.removeNodeset("/root/main/barcdprntsetup");
  510. model.resetInstanceNode("/root/send/reqdata");
  511. model.makeValue("/root/send/scrnid", scrnid);
  512. submit("TRLLC90101");
  513. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  514. if(count == 0) {
  515. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  516. }
  517. modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  518. ]]>
  519. </script>
  520. </button>
  521. <button id="button4" class="btn4_letter2" style="left:610px; top:29px; width:56px; height:22px; ">
  522. <caption>닫기</caption>
  523. <script type="javascript" ev:event="DOMActivate">
  524. <![CDATA[
  525. model.close();
  526. ]]>
  527. </script>
  528. </button>
  529. </xhtml:body>
  530. </xhtml:html>