SMADC02200_복약설명서.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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. <tmedinfo>
  11. <patinfo>
  12. <pid/>
  13. <patnm/>
  14. <prcpdd/>
  15. <orddd/>
  16. <orddeptnm/>
  17. <orddrnm/>
  18. <roomcd/>
  19. <orddeptcd/>
  20. <orddrid/>
  21. <cretno/>
  22. <prcpgenrflag/>
  23. <prcpflag/>
  24. <protocol/>
  25. <agesex/>
  26. <dschdd/>
  27. <drugno/>
  28. <tel/>
  29. <address/>
  30. </patinfo>
  31. <diaginfo>
  32. <diagcd/>
  33. <diagnm/>
  34. </diaginfo>
  35. <prcplist>
  36. <sel/>
  37. <prcpcd/>
  38. <prcpnm/>
  39. <payflagcd/>
  40. <payflagcd1/>
  41. <prcpvol/>
  42. <prcpvolunit/>
  43. <prcpqty/>
  44. <prcpqtyunit/>
  45. <prcptims/>
  46. <prcpdayno/>
  47. <mthdnm/>
  48. <prnprcpflag/>
  49. <prcpdelivefact/>
  50. <ganho/>
  51. <issdeptcd/>
  52. <instcd/>
  53. <rpadc02102/>
  54. <drugno/>
  55. <engphanm/>
  56. </prcplist>
  57. <tmedlist>
  58. <sel/>
  59. <drugno/>
  60. <medpic/>
  61. <drugnm/>
  62. <statcnts/>
  63. <efcycnts/>
  64. <prcpqty_unit/>
  65. <prcptims/>
  66. <mthdnm/>
  67. <prcpdayno/>
  68. <schedule/>
  69. <caution/>
  70. <drugcd/>
  71. <instcd/>
  72. <orddeptcd/>
  73. <orddrid/>
  74. <cretno/>
  75. <prcpdd/>
  76. <orddd/>
  77. <pimagepath/>
  78. <etc/>
  79. </tmedlist>
  80. </tmedinfo>
  81. </main>
  82. <send>
  83. <srchinfo/>
  84. <prcpinfo/>
  85. <tmedinfo>
  86. </tmedinfo>
  87. </send>
  88. <init/>
  89. <hidden>
  90. <meddescinfo>
  91. <tmedlist>
  92. <medpic/>
  93. <drugnm/>
  94. <statcnts/>
  95. <efcycnts/>
  96. <prcpvol/>
  97. <mthdnm/>
  98. <prcpdayno/>
  99. <schedule/>
  100. <caution/>
  101. <drugcd/>
  102. <instcd/>
  103. </tmedlist>
  104. </meddescinfo>
  105. <chkitem>
  106. <count/>
  107. </chkitem>
  108. <popupmenu>
  109. <menu>
  110. <label>사진삭제</label>
  111. <func>fPhotoDel</func>
  112. </menu>
  113. </popupmenu>
  114. </hidden>
  115. <temp>
  116. <srchinfo>
  117. <tmedcnst/>
  118. <req/>
  119. <stat/>
  120. <replpharmst/>
  121. <inyn/>
  122. <orddeptnm/>
  123. <orddeptcd/>
  124. <orddrnm/>
  125. <orddrid/>
  126. <pid/>
  127. <patnm/>
  128. <agesex/>
  129. <roomcd/>
  130. <prcpdd/>
  131. <orddd/>
  132. <lastcnstdd/>
  133. <fstdrugcd/>
  134. <hd_pod/>
  135. <dschdd/>
  136. <diagnm/>
  137. <srchflag/>
  138. <cretno/>
  139. <prcpgenrflag/>
  140. <medtypeflag/>
  141. <difflagcd/>
  142. </srchinfo>
  143. </temp>
  144. <temp2>
  145. <prcpkind/>
  146. <prcpkindall/>
  147. </temp2>
  148. </root>
  149. </instance>
  150. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  151. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  152. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  153. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  154. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  155. <script type="javascript" src="../../../ast/pharmacyweb/js/SPADC60300.js"/>
  156. <script type="javascript" src="../../../ast/pharmacyconsultweb/js/SMADC02200.js"/>
  157. <submission id="TRADC02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/tmedinfo"/>
  158. <submission id="TRADC02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmedinfo" replace="instance" resultref="/root/hidden/meddescinfo"/>
  159. <script type="javascript" ev:event="xforms-ready">
  160. <![CDATA[
  161. document.controls("Base64_Preview1").attribute("visibility") = "hidden";
  162. fInit();
  163. //makeReportPreview("5","10", "350","370","grp_report");
  164. ]]>
  165. </script>
  166. <submission id="TXADC02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmedinfo" replace="instance" resultref="/root/hidden/chkitem"/>
  167. </model>
  168. <script type="javascript">
  169. <![CDATA[
  170. //지우기
  171. function fPhotoDel(){
  172. var row = grd_tmedlist.row;
  173. grd_tmedlist.valueMatrix (row,1)="";
  174. }
  175. ]]>
  176. </script>
  177. </xhtml:head>
  178. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  179. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  180. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">복약설명서</caption>
  181. </group>
  182. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  183. <input id="input7" ref="/root/main/tmedinfo/patinfo/prcpdd" class="input_default" inputtype="date" style="left:804px; top:100px; width:100px; height:19px; "/>
  184. <button id="button49" class="btn2_letter3" style="left:1061px; top:235px; width:53px; height:19px; letter-spacing:1; ">
  185. <caption>행삭제</caption>
  186. <script type="javascript" ev:event="onclick">
  187. <![CDATA[
  188. model.removenode("/root/main/tmedinfo/tmedlist["+grd_tmedlist.row+"]");
  189. model.refresh();
  190. ]]>
  191. </script>
  192. </button>
  193. <line id="line30" class="line_2" style="x1:0px; y1:74px; x2:459px; y2:74px; "/>
  194. <line id="line31" class="line_2" style="x1:0px; y1:99px; x2:459px; y2:99px; "/>
  195. <line id="line32" class="line_2" style="x1:0px; y1:124px; x2:459px; y2:124px; "/>
  196. <select id="checkbox1" ref="/root/temp2/prcpkind" overflow="visible" appearance="full" cols="4" rows="1" style="left:1009px; top:101px; width:180px; height:15px; border-style:none; ">
  197. <choices>
  198. <item>
  199. <label>약</label>
  200. <value>D</value>
  201. </item>
  202. <item>
  203. <label>주사</label>
  204. <value>M</value>
  205. </item>
  206. <item>
  207. <label>퇴원약</label>
  208. <value>E</value>
  209. </item>
  210. </choices>
  211. <script type="javascript" ev:event="xforms-value-changed">
  212. <![CDATA[
  213. var gubuncode = model.getValue("/root/temp2/prcpkind");
  214. var temp = gubuncode.split("|");
  215. if(temp.length == 3){
  216. model.setValue("/root/temp2/prcpkindall","Y");
  217. }else{
  218. model.setValue("/root/temp2/prcpkindall","");
  219. }
  220. model.refresh();
  221. ]]>
  222. </script>
  223. </select>
  224. <select id="chk_prcpkindall" ref="/root/temp2/prcpkindall" class="checkbox_search" overflow="visible" appearance="full" cols="1" rows="1" sep="|" style="left:1143px; top:101px; width:50px; height:15px; border-style:none; ">
  225. <choices>
  226. <item>
  227. <label>전체</label>
  228. <value>Y</value>
  229. </item>
  230. </choices>
  231. <script type="javascript" ev:event="onclick">
  232. <![CDATA[
  233. var allflag = model.getValue("/root/temp2/prcpkindall");
  234. if(allflag == "Y"){
  235. model.setValue("/root/temp2/prcpkind","D|M|E");
  236. }else{
  237. model.setValue("/root/temp2/prcpkind","");
  238. }
  239. model.refresh();
  240. ]]>
  241. </script>
  242. </select>
  243. <line id="line11" class="line_3" style="x1:0px; y1:174px; x2:459px; y2:174px; "/>
  244. <input id="input20" class="input_search" editable="false" style="left:98px; top:127px; width:129px; height:19px; "/>
  245. <line id="line33" class="line_2" style="x1:0px; y1:149px; x2:459px; y2:149px; "/>
  246. <caption id="caption30" class="cell_1" style="left:230px; top:76px; width:95px; height:23px; vertical-align:middle; ">진료의사</caption>
  247. <line id="line34" class="line_3" style="x1:463px; y1:224px; x2:1194px; y2:224px; "/>
  248. <input id="input21" ref="/root/main/tmedinfo/patinfo/tel" class="input_search" editable="false" style="left:329px; top:127px; width:129px; height:19px; "/>
  249. <caption id="caption31" class="cell_1" style="left:230px; top:101px; width:95px; height:23px; vertical-align:middle; ">프로토콜</caption>
  250. <caption id="caption1" class="tit_2" style="left:469px; top:104px; width:95px; height:13px; ">처방정보</caption>
  251. <line id="line35" class="line_3" style="x1:0px; y1:224px; x2:459px; y2:224px; "/>
  252. <input id="input22" ref="/root/main/tmedinfo/patinfo/address" class="input_search" editable="false" style="left:98px; top:152px; width:360px; height:19px; "/>
  253. <caption id="caption32" class="cell_1" style="left:0px; top:101px; width:95px; height:23px; vertical-align:middle; ">병실</caption>
  254. <caption id="caption11" class="tit_2" style="left:0px; top:179px; width:95px; height:13px; ">설명서 형식</caption>
  255. <line id="line36" class="line_1" style="x1:463px; y1:21px; x2:1194px; y2:21px; "/>
  256. <caption id="caption33" class="cell_1" style="left:230px; top:126px; width:95px; height:23px; vertical-align:middle; ">전화번호</caption>
  257. <caption id="caption2" class="cell_1" style="left:0px; top:26px; width:95px; height:23px; vertical-align:middle; ">등록번호</caption>
  258. <caption id="caption3" class="cell_1" style="left:0px; top:675px; width:35px; height:62px; vertical-align:middle; ">전달사항</caption>
  259. <caption id="caption34" class="cell_1" style="left:0px; top:126px; width:95px; height:23px; vertical-align:middle; ">내원경로</caption>
  260. <input id="input13" ref="/root/main/tmedinfo/patinfo/pid" class="input_search" editable="false" style="left:98px; top:27px; width:129px; height:19px; "/>
  261. <caption id="caption4" class="search_name" style="left:714px; top:101px; width:86px; height:17px; ">처방일자 :</caption>
  262. <button id="button9" class="btn2_letter4" style="left:940px; top:235px; width:64px; height:19px; letter-spacing:1; ">
  263. <caption>처방추가</caption>
  264. <script type="javascript" ev:event="onclick">
  265. <![CDATA[
  266. fAddTmedlist();
  267. ]]>
  268. </script>
  269. </button>
  270. <caption id="caption35" class="tit_2" style="left:469px; top:5px; width:95px; height:13px; ">상병정보</caption>
  271. <input id="input14" ref="/root/main/tmedinfo/patinfo/orddd" class="input_search" editable="false" format="yyyy-mm-dd" style="left:98px; top:52px; width:129px; height:19px; "/>
  272. <caption id="caption5" class="search_name" style="left:919px; top:100px; width:86px; height:17px; ">처방구분 :</caption>
  273. <select1 id="radio1" ref="/root/temp/srchinfo/medtypeflag" appearance="full" cols="5" rows="1" overflow="visible" style="left:0px; top:200px; width:440px; height:20px; border-style:none; ">
  274. <choices>
  275. <item>
  276. <label>일반경구약</label>
  277. <value>N</value>
  278. </item>
  279. <item>
  280. <label>일반주사약</label>
  281. <value>M</value>
  282. </item>
  283. <item>
  284. <label>항암주사약</label>
  285. <value>D</value>
  286. </item>
  287. <item>
  288. <label>항암경구약</label>
  289. <value>E</value>
  290. </item>
  291. <item>
  292. <label>전체</label>
  293. <value>A</value>
  294. </item>
  295. </choices>
  296. <script type="javascript" ev:event="xforms-value-changed">
  297. <![CDATA[
  298. fSrchTmedDescData();
  299. model.refresh();
  300. ]]>
  301. </script>
  302. </select1>
  303. <caption id="caption36" class="cell_1" style="left:0px; top:151px; width:95px; height:23px; vertical-align:middle; ">주소</caption>
  304. <input id="input15" class="input_search" editable="false" style="left:329px; top:52px; width:129px; height:19px; "/>
  305. <caption id="caption25" class="tit_2" style="left:0px; top:5px; width:95px; height:13px; ">환자정보</caption>
  306. <line id="line28" class="line_1" style="x1:0px; y1:21px; x2:459px; y2:21px; "/>
  307. <line id="line1" class="line_1" style="x1:0px; y1:256px; x2:1194px; y2:256px; "/>
  308. <select1 id="rdo_difflagcd" ref="/root/temp/srchinfo/difflagcd" appearance="full" cellspacing="5" cols="3" rows="1" overflow="visible" style="left:180px; top:239px; width:255px; height:15px; border-style:none; ">
  309. <choices>
  310. <item>
  311. <label>병원복약기준자료</label>
  312. <value>1</value>
  313. </item>
  314. <!-- <item>
  315. <label>DIF한글</label>
  316. <value>2</value>
  317. </item>
  318. <item>
  319. <label>DIF영문</label>
  320. <value>3</value>
  321. </item> -->
  322. </choices>
  323. <script type="javascript" ev:event="xforms-value-changed">
  324. <![CDATA[
  325. if(model.getValue("/root/temp/srchinfo/pid") != ""){
  326. fSrchTmedDescData();
  327. model.refresh();
  328. }
  329. ]]>
  330. </script>
  331. </select1>
  332. <input id="input16" ref="/root/main/tmedinfo/patinfo/orddeptnm" class="input_search" editable="false" style="left:98px; top:77px; width:129px; height:19px; "/>
  333. <caption id="caption26" class="cell_1" style="left:230px; top:26px; width:35px; height:23px; vertical-align:middle; ">성명</caption>
  334. <line id="line29" class="line_2" style="x1:0px; y1:49px; x2:459px; y2:49px; "/>
  335. <input id="input1" ref="/root/main/tmedinfo/patinfo/patnm" class="input_search" editable="false" style="left:267px; top:27px; width:94px; height:19px; "/>
  336. <line id="line2" class="line_3" style="x1:0px; y1:742px; x2:1195px; y2:742px; "/>
  337. <textarea id="textarea1" style="left:35px; top:675px; width:1159px; height:62px; "/>
  338. <line id="line3" class="line_1" style="x1:463px; y1:120px; x2:1194px; y2:120px; "/>
  339. <input id="input17" ref="/root/main/tmedinfo/patinfo/orddrnm" class="input_search" editable="false" style="left:329px; top:77px; width:129px; height:19px; "/>
  340. <caption id="caption27" class="cell_1" style="left:0px; top:51px; width:95px; height:23px; vertical-align:middle; ">입원일</caption>
  341. <caption id="caption7" class="tit_2" style="left:3px; top:240px; width:169px; height:13px; ">복약지도 설명서 (퇴원약)</caption>
  342. <input id="input18" ref="/root/main/tmedinfo/patinfo/roomcd" class="input_search" editable="false" style="left:98px; top:102px; width:129px; height:19px; "/>
  343. <caption id="caption28" class="cell_1" style="left:230px; top:51px; width:95px; height:23px; vertical-align:middle; ">환자분류</caption>
  344. <caption id="caption29" class="cell_1" style="left:0px; top:76px; width:95px; height:23px; vertical-align:middle; ">진료과</caption>
  345. <line id="line6" class="line_1" style="x1:0px; y1:195px; x2:459px; y2:195px; "/>
  346. <datagrid id="datagrid1" nodeset="/root/main/tmedinfo/diaginfo" caption="상병코드^순서^분류^who^상병명" colsep="^" colwidth="100, 70, 70, 70, 292" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:464px; top:26px; width:730px; height:69px; ">
  347. <col ref="diagcd"/>
  348. <col/>
  349. <col/>
  350. <col/>
  351. <col ref="diagnm"/>
  352. </datagrid>
  353. <datagrid id="grd_prcplist" nodeset="/root/main/tmedinfo/prcplist" caption="선택^코드^처방명^급여^적용방법^1일용량^단위^1회수량^단위^횟수^일수^복용법(검체)^PRN^전달사항^간호^처치부서" colsep="^" colwidth="40, 65, 150, 36, 50, 55, 40, 55, 40, 40, 40, 100, 40, 100, 40, 70" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:464px; top:125px; width:730px; height:95px; ">
  354. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  355. <col ref="prcpcd"/>
  356. <col ref="prcpnm"/>
  357. <col ref="payflagcd"/>
  358. <col ref="payflagcd1"/>
  359. <col ref="prcpvol"/>
  360. <col ref="prcpvolunit"/>
  361. <col ref="prcpqty"/>
  362. <col ref="prcpqtyunit"/>
  363. <col ref="prcptims"/>
  364. <col ref="prcpdayno"/>
  365. <col ref="mthdnm"/>
  366. <col ref="prnprcpflag"/>
  367. <col ref="prcpdelivefact"/>
  368. <col ref="ganho"/>
  369. <col ref="issdeptcd"/>
  370. </datagrid>
  371. <datagrid id="grd_tmedlist" nodeset="/root/main/tmedinfo/tmedlist" visibility="visible" caption="선택^투약번호^사진^약품명 및 용량^성상^효능^1회수량^복용횟수^용법^일수^투여스케쥴^주의사항^진료과^진료의^생성번호^적용일자^접수일(입원일)^pimagepath^engphanm^etc" colsep="^" colwidth="30, 60, 100, 180, 190, 167, 60, 60, 116, 35, 100, 288, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" rowheader="seq" rowsep="|" style="left:0px; top:261px; width:1194px; height:414px; border-width:1px; ">
  372. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  373. <col ref="drugno" style="text-align:center; "/>
  374. <col ref="medpic" type="output" style="background-stretch:stretch; "/>
  375. <col ref="drugnm" type="input"/>
  376. <col ref="statcnts" type="input"/>
  377. <col ref="efcycnts" type="input"/>
  378. <col ref="prcpqty_unit" type="input"/>
  379. <col ref="prcptims" type="input" style="text-align:center; "/>
  380. <col ref="mthdnm" type="input"/>
  381. <col ref="prcpdayno" type="input"/>
  382. <col ref="schedule" type="input"/>
  383. <col ref="caution" type="input"/>
  384. <col ref="drugcd" visibility="hidden"/>
  385. <col ref="instcd" visibility="hidden"/>
  386. <col ref="orddeptcd" visibility="hidden"/>
  387. <col ref="orddrid" visibility="hidden"/>
  388. <col ref="cretno" visibility="hidden"/>
  389. <col ref="prcpdd" visibility="hidden"/>
  390. <col ref="orddd" visibility="hidden"/>
  391. <col ref="pimagepath" visibility="hidden"/>
  392. <col ref="etc"/>
  393. <script type="javascript" ev:event="DOMFocusOut">
  394. <![CDATA[
  395. initPopupMenu();
  396. ]]>
  397. </script>
  398. <script type="javascript" ev:event="onmousedown">
  399. <![CDATA[
  400. setPopupMenu("grd_tmedlist", false , "/root/hidden/popupmenu/menu", "label", "func");
  401. ]]>
  402. </script>
  403. </datagrid>
  404. <input id="input2" ref="/root/main/tmedinfo/patinfo/protocol" class="input_search" editable="false" style="left:329px; top:102px; width:129px; height:19px; "/>
  405. <caption id="caption6" class="cell_1" style="left:365px; top:26px; width:35px; height:23px; vertical-align:middle; ">S/A</caption>
  406. <input id="input3" ref="/root/main/tmedinfo/patinfo/agesex" class="input_search" editable="false" style="left:403px; top:27px; width:55px; height:19px; "/>
  407. <button id="btn_grdadd" class="btn2_letter3" navindex="5" style="left:1006px; top:235px; width:53px; height:19px; ">
  408. <caption>행추가</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. grd_tmedlist.addRow();
  412. grd_tmedlist.refresh();
  413. ]]>
  414. </script>
  415. </button>
  416. <object id="Base64_Preview1" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:200px; top:290px; width:415px; height:380px; background-color:transparent; "/>
  417. <button id="button3" class="btn2_letter5" style="left:1116px; top:235px; width:76px; height:19px; letter-spacing:1; ">
  418. <caption>선택행삭제</caption>
  419. <script type="javascript" ev:event="onclick">
  420. <![CDATA[
  421. for (var kk=1; kk<grd_tmedlist.rows; kk++) {
  422. for (var ii=1; ii<grd_tmedlist.rows; ii++) {
  423. var sel = model.getValue("/root/main/tmedinfo/tmedlist["+ii+"]/sel");
  424. // alert(sel) ;
  425. if(sel == "Y") {
  426. model.removenode("/root/main/tmedinfo/tmedlist["+ii+"]");
  427. model.refresh();
  428. }
  429. //alert(i) ;
  430. }
  431. }
  432. ]]>
  433. </script>
  434. </button>
  435. </group>
  436. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  437. <button id="button2" class="btn3_letter4" style="left:170px; top:5px; width:80px; height:22px; ">
  438. <caption>결과조회</caption>
  439. <script type="javascript" ev:event="DOMActivate">
  440. <![CDATA[
  441. open("SMAER00800 ","","","","","/root/main/tmedinfo/patinfo/pid","/root/send/data/singdata/srchpid");
  442. ]]>
  443. </script>
  444. </button>
  445. <button id="button4" class="btn3_letter6" style="left:255px; top:5px; width:104px; height:22px; ">
  446. <caption>투약기록조회</caption>
  447. <script type="javascript" ev:event="DOMActivate">
  448. <![CDATA[
  449. open("SMMNR04500");
  450. ]]>
  451. </script>
  452. </button>
  453. <button id="button5" class="btn3_letter4" style="left:362px; top:5px; width:80px; height:22px; ">
  454. <caption>약품편람</caption>
  455. <script type="javascript" ev:event="DOMActivate">
  456. <![CDATA[
  457. open("SMADB01900",0,0,0,"SMADB01900","","");
  458. ]]>
  459. </script>
  460. </button>
  461. <button id="button7" class="btn3_letter4" style="left:85px; top:5px; width:80px; height:22px; ">
  462. <caption>약력조회</caption>
  463. <script type="javascript" ev:event="DOMActivate">
  464. <![CDATA[
  465. open("SMADB10100",0,0,0,"SMADB10100","/root/main/tmedinfo/patinfo/pid","/root/temp/patinfo/pid");
  466. ]]>
  467. </script>
  468. </button>
  469. <button id="button8" class="btn3_letter4" style="left:0px; top:5px; width:80px; height:22px; ">
  470. <caption>차트조회</caption>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. open("SPMMO14900");
  474. ]]>
  475. </script>
  476. </button>
  477. <button id="btn_prt" class="btn6_letter2" style="left:445px; top:5px; width:56px; height:22px; ">
  478. <caption>출력</caption>
  479. <script type="javascript" ev:event="DOMActivate">
  480. <![CDATA[
  481. if(model.getValue("/root/temp/srchinfo/medtypeflag") == "D"){
  482. exeReportPreview("RPADC02202", "XMLSTR", "", "", "true","","","","","true");
  483. } else {
  484. if (model.getValue("/root/main/tmedinfo/patinfo/prcpgenrflag") == "O"){ //2008-10-23 입원/외래 구분 (Titel 변경)
  485. exeReportPreview("RPADC02203", "XMLSTR", "", "", "true","","","","","true"); // 외래
  486. }else{ // 입원
  487. exeReportPreview("RPADC02201", "XMLSTR", "", "", "true","","","","","true");
  488. }
  489. }
  490. fGetTmedlistDtl(); //2008-11-25 복약설명서 출력여부 저장
  491. ]]>
  492. </script>
  493. </button>
  494. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:989px; top:5px; width:56px; height:22px; ">
  495. <caption>저장</caption>
  496. </button>
  497. <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:1046px; top:5px; width:56px; height:22px; ">
  498. <caption>삭제</caption>
  499. </button>
  500. <button id="button1" class="btn6_letter5" style="left:505px; top:5px; width:56px; height:22px; ">
  501. <caption>출력(간호)</caption>
  502. <script type="javascript" ev:event="DOMActivate">
  503. <![CDATA[
  504. if(model.getValue("/root/temp/srchinfo/medtypeflag") == "D"){
  505. exeReportPreview("RPADC02302", "XMLSTR", "", "", "true","","","","","true");
  506. } else {
  507. if (model.getValue("/root/main/tmedinfo/patinfo/prcpgenrflag") == "O"){ //2008-10-23 입원/외래 구분 (Titel 변경)
  508. exeReportPreview("RPADC02303", "XMLSTR", "", "", "true","","","","","true"); // 외래
  509. }else{ // 입원
  510. exeReportPreview("RPADC02301", "XMLSTR", "", "", "true","","","","","true");
  511. }
  512. }
  513. fGetTmedlistDtl(); //2008-11-25 복약설명서 출력여부 저장
  514. ]]>
  515. </script>
  516. </button>
  517. <button id="btn_end" class="btn4_letter4" style="left:1108px; top:5px; width:80px; height:22px; ">
  518. <caption>화면닫기</caption>
  519. <script type="javascript" ev:event="onclick">
  520. <![CDATA[
  521. model.close();
  522. ]]>
  523. </script>
  524. </button>
  525. </group>
  526. <group id="grp_report" visibility="hidden" style="left:775px; top:365px; width:305px; height:215px; "/>
  527. </xhtml:body>
  528. </xhtml:html>