SMADT01102_원외처방전출력(약력조회).xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. <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. <mdrugflags>
  73. <mdrugflags/>
  74. </mdrugflags>
  75. </init>
  76. <hidden>
  77. <prcpsrch>
  78. <drugdd/>
  79. <drugno/>
  80. <hosinyn/>
  81. <hosinmpsflag/>
  82. <hosoutyn/>
  83. <hosoutmpsflag/>
  84. <lblyn/>
  85. <lblflag/>
  86. <prntflag/>
  87. <autoinprntyn/>
  88. <autooutprntyn/>
  89. <instcd>012</instcd>
  90. <autoprcp/>
  91. <reprintyn/>
  92. <autoatcyn/>
  93. <stocdeptcd/>
  94. <digcdskipyn/>
  95. </prcpsrch>
  96. <deptlist>
  97. <dept>
  98. <deptcd/>
  99. <deptnm/>
  100. </dept>
  101. </deptlist>
  102. <popupinfo>
  103. <drugdd/>
  104. <drugno/>
  105. </popupinfo>
  106. </hidden>
  107. <temp>
  108. <ret/>
  109. <drugno/>
  110. <stocdeptcd/>
  111. </temp>
  112. </root>
  113. </instance>
  114. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  117. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  118. <script type="javascript" src="../../../ast/pharmacyweb/js/SMADT01102.js"/>
  119. <script type="javascript">
  120. <![CDATA[
  121. //프린터 설정
  122. function fSetPrint() {
  123. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  124. if(count == 0) {
  125. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  126. }
  127. open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  128. }
  129. ]]>
  130. </script>
  131. <script type="javascript" ev:event="xforms-ready">
  132. <![CDATA[
  133. //2009-05-07 원무의 트레이 번호를 가져와야 하나.. 현재는 기본을 '2' Setting ==>
  134. model.makeValue("/root/hidden/prcpsrch/printer", "2" );
  135. setParameter("opener_ID" , "SMADT01102_원외처방전출력(약력조회)");
  136. // 20100122_laboru
  137. model.setValue("/root/hidden/prcpsrch/drugno", "/root/temp/drugno");
  138. fInit();
  139. ]]>
  140. </script>
  141. <submission id="TRADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
  142. <submission id="TRADT01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prcpsrch" replace="instance" resultref="/root/main/prcpdata"/>
  143. <submission id="TRADT01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
  144. <submission id="TRADT01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/paramsrch" replace="instance" resultref="/root/main/paramdata"/>
  145. <submission id="TXADT10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/atcinfo" replace="instance" add="bottom" resultref="/root/temp/ret"/>
  146. <submission id="TXADT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/suminfo" replace="instance" resultref="/root/temp/ret"/>
  147. <!-- 프린터 설정-->
  148. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  149. <script type="javascript" ev:event="xforms-model-destruct">
  150. <![CDATA[
  151. if (gTimer != null) {
  152. window.clearinterval(gTimer);
  153. gTimer = null;
  154. }
  155. ]]>
  156. </script>
  157. <script type="javascript" ev:event="xforms-close">
  158. <![CDATA[
  159. if (gTimer != null) {
  160. window.clearinterval(gTimer);
  161. gTimer = null;
  162. }
  163. ]]>
  164. </script>
  165. <submission id="TRADT01105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  166. <submission id="TRADT01106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/misdeptlist"/>
  167. <submission id="TRADT01108" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/mdrugflags"/>
  168. </model>
  169. </xhtml:head>
  170. <xhtml:body pagewidth="604" pageheight="200" guideline="1,1195;1,0;1,1327;2,783;2,756;1,0;1,571;2,164;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  171. <script type="javascript" ev:event="onkeyup">
  172. <![CDATA[
  173. if (event.keyCode==121){
  174. checkbox12.visible=true;
  175. }
  176. ]]>
  177. </script>
  178. <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:65px; ">
  179. <col ref="pid"/>
  180. <col ref="orddd"/>
  181. <col ref="cretno"/>
  182. <col ref="orddeptcd" style="left:300px; top:23px; width:100px; height:23px; "/>
  183. <col ref="orddrid"/>
  184. <col ref="prcpdd"/>
  185. <col ref="drugdd"/>
  186. <col ref="drugno"/>
  187. <col ref="prntdt"/>
  188. <col ref="lblprntdt"/>
  189. </datagrid>
  190. <group id="group1" style="left:0px; top:0px; width:570px; height:13px; ">
  191. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:500px; height:14px; ">외래처방전출력(Ver 1230)</caption>
  192. </group>
  193. <line id="line6" class="line_2" style="x1:0px; y1:78px; x2:570px; y2:78px; "/>
  194. <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:570px; y2:128px; "/>
  195. <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; ">
  196. <choices>
  197. <item>
  198. <label>처방전(약국용)</label>
  199. <value>1</value>
  200. </item>
  201. <item>
  202. <label>처방전(환자용)</label>
  203. <value>2</value>
  204. </item>
  205. </choices>
  206. </select>
  207. <line id="line14" class="line_2" style="x1:0px; y1:133px; x2:570px; y2:133px; "/>
  208. <caption id="caption13" class="cell_1" style="left:0px; top:80px; width:80px; height:23px; vertical-align:middle; ">투약번호</caption>
  209. <caption id="caption22" class="cell_1" style="left:0px; top:55px; width:80px; height:23px; vertical-align:middle; ">투약일자</caption>
  210. <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; ">
  211. <script type="javascript" ev:event="onkeyup">
  212. <![CDATA[
  213. if(event.keyCode == "13") {
  214. setInputNodeCurText();
  215. fPrcpMPSPrint();
  216. }
  217. ]]>
  218. </script>
  219. </input>
  220. <caption id="caption27" class="cell_1" style="left:0px; top:105px; width:80px; height:23px; vertical-align:middle; "/>
  221. <line id="line15" class="line_3" style="x1:0px; y1:133px; x2:570px; y2:133px; "/>
  222. <line id="line16" class="line_2" style="x1:0px; y1:103px; x2:570px; y2:103px; "/>
  223. <line id="line17" class="line_1" style="x1:0px; y1:50px; x2:570px; y2:50px; "/>
  224. <input id="input7" ref="/root/hidden/prcpsrch/drugdd" class="input_default" inputtype="date" style="left:85px; top:56px; width:105px; height:19px; "/>
  225. <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; ">
  226. <choices>
  227. <item>
  228. <label>원외</label>
  229. <value>Y</value>
  230. </item>
  231. </choices>
  232. <script type="javascript" ev:event="xforms-value-changed">
  233. <![CDATA[
  234. fChkHosout_YN();
  235. ]]>
  236. </script>
  237. </select>
  238. <select id="checkbox6" visibility="hidden" overflow="visible" appearance="full" style="left:485px; top:83px; width:85px; height:15px; border-style:none; ">
  239. <choices>
  240. <item>
  241. <label>HD환자포함</label>
  242. <value>1</value>
  243. </item>
  244. </choices>
  245. </select>
  246. <button id="btn_prt" class="btn6_letter2" style="left:515px; top:138px; width:56px; height:22px; ">
  247. <caption>출력</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. fPrcpMPSPrint();
  251. ]]>
  252. </script>
  253. </button>
  254. <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; "/>
  255. <caption id="caption47" class="cell_2" style="left:9px; top:23px; width:70px; height:20px; ">범 례</caption>
  256. <caption id="caption1" style="left:90px; top:23px; width:485px; height:20px; ">원내투약번호(1~10000) 원외투약번호(10001~20000) 응급실원외투약번호(90001~)</caption>
  257. <select id="checkbox11" ref="/root/hidden/prcpsrch/reprintyn" overflow="visible" appearance="full" cellspacing="10" cols="2" rows="1" vcellspacing="8" style="left:512px; top:105px; width:59px; height:23px; border-style:none; ">
  258. <choices>
  259. <item>
  260. <label>재출력</label>
  261. <value>Y</value>
  262. </item>
  263. </choices>
  264. </select>
  265. <select id="checkbox2" ref="/root/hidden/prcpsrch/digcdskipyn" visibility="visible" overflow="visible" appearance="full" style="left:451px; top:60px; width:120px; height:15px; border-style:none; ">
  266. <choices>
  267. <item>
  268. <label>질병분류기호 생략</label>
  269. <value>Y</value>
  270. </item>
  271. </choices>
  272. </select>
  273. </xhtml:body>
  274. </xhtml:html>