SMMNR03800_투약반환예정조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. <cond>
  11. <settingrnid/>
  12. <wardcd/>
  13. <roomcd/>
  14. <execprcphistcd/>
  15. <roomflag>room</roomflag>
  16. <dtfr/>
  17. <dtto/>
  18. <dtflag>1</dtflag>
  19. <pid/>
  20. </cond>
  21. <wardpatinfo>
  22. <wardpatlist>
  23. <roomcd/>
  24. <patnm/>
  25. <sexage/>
  26. <pid/>
  27. <indd/>
  28. <cretno/>
  29. <seqno/>
  30. <instcd/>
  31. <wardcd/>
  32. </wardpatlist>
  33. </wardpatinfo>
  34. <warddrugrtninfo>
  35. <warddrugrtnlist>
  36. <roomcd/>
  37. <hngnm/>
  38. <sa/>
  39. <drcnfmyn/>
  40. <prcpcd/>
  41. <prcpnm/>
  42. <prcpvol/>
  43. <prcpvolunitflag/>
  44. <prcptims/>
  45. <execdd/>
  46. <exectm/>
  47. <execcarestatnm/>
  48. <nursnm/>
  49. <prcpdd/>
  50. <fstrgstdt/>
  51. <orddrnm/>
  52. <lastupdtdt/>
  53. </warddrugrtnlist>
  54. </warddrugrtninfo>
  55. <paminfo/>
  56. <popupendflag/>
  57. <patinfo>
  58. <patinfolist/>
  59. </patinfo>
  60. <pidinfo>
  61. <pidlist>
  62. <pid/>
  63. <hngnm/>
  64. </pidlist>
  65. </pidinfo>
  66. </main>
  67. <send>
  68. <reqdata/>
  69. </send>
  70. <init>
  71. <ward>
  72. <wardcd/>
  73. <wardnm/>
  74. </ward>
  75. <room>
  76. <room>
  77. <roomcd/>
  78. <roomnm/>
  79. </room>
  80. </room>
  81. <settingrn>
  82. <settingrnid/>
  83. <settingrnnm/>
  84. </settingrn>
  85. <orddd>
  86. <date/>
  87. </orddd>
  88. </init>
  89. <temp/>
  90. </root>
  91. </instance>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. fInitialize();
  95. ]]>
  96. </script>
  97. <submission id="TRMNR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init"/>
  98. <submission id="TRMNR00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/room"/>
  99. <submission id="TRMNR00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/wardpatinfo"/>
  100. <submission id="TRMNR03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/warddrugrtninfo"/>
  101. </model>
  102. <script type="javascript" src="../../../emr/caremedirecweb/js/SMMNR03800.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  104. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  107. </xhtml:head>
  108. <xhtml:body guideline="1,1162;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  109. <group id="group1" style="left:0px; top:0px; width:1162px; height:13px; ">
  110. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">투약반환예정조회</caption>
  111. </group>
  112. <group id="grp_sea" style="left:0px; top:15px; width:1160px; height:60px; vertical-align:top; ">
  113. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:60px; "/>
  114. <button id="btn_Query" class="btn1_letter2" style="left:1090px; top:18px; width:56px; height:22px; ">
  115. <caption>조회</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. var row = grd_patlist.row;
  119. fClickDrugList(row);
  120. ]]>
  121. </script>
  122. </button>
  123. <line id="line13" class="line_4" style="x1:1080px; y1:19px; x2:1080px; y2:41px; "/>
  124. <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_s_essential" appearance="minimal" style="left:338px; top:10px; width:100px; height:19px; ">
  125. <choices>
  126. <itemset nodeset="/root/main/wardpatinfo/settingrn">
  127. <label ref="settingrnnm"/>
  128. <value ref="settingrnid"/>
  129. </itemset>
  130. </choices>
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. fGetPatList();
  134. ]]>
  135. </script>
  136. </select1>
  137. <select1 id="cmb_room" ref="/root/main/cond/roomcd" class="combo_search" appearance="minimal" style="left:582px; top:10px; width:75px; height:19px; ">
  138. <choices>
  139. <itemset nodeset="/root/init/room/room">
  140. <label ref="roomnm"/>
  141. <value ref="roomcd"/>
  142. </itemset>
  143. </choices>
  144. <script type="javascript" ev:event="xforms-value-changed">
  145. <![CDATA[
  146. fGetPatList();
  147. ]]>
  148. </script>
  149. </select1>
  150. <select1 id="cmb_ward" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" style="left:108px; top:8px; width:98px; height:19px; ">
  151. <choices>
  152. <itemset nodeset="/root/init/ward/">
  153. <label ref="wardnm"/>
  154. <value ref="wardcd"/>
  155. </itemset>
  156. </choices>
  157. <script type="javascript" ev:event="xforms-value-changed">
  158. <![CDATA[
  159. fGetRoomList();
  160. fGetPatList();
  161. ]]>
  162. </script>
  163. </select1>
  164. <input id="input1" ref="/root/main/pidinfo/pidlist/pid" class="input_search" maxlength="10" style="left:107px; top:35px; width:98px; height:19px; ">
  165. <script type="javascript" ev:event="onkeydown">
  166. <![CDATA[
  167. if(event.keycode == "13"){
  168. model.setFocus("grd_patlist"); //엔터키시 다른 곳으로 이동해야 입려된 값을 인식한다.
  169. fSearchPatInfo("1");
  170. fPid_Search();
  171. }
  172. ]]>
  173. </script>
  174. </input>
  175. <caption id="caption7" class="search_name" style="left:17px; top:36px; width:86px; height:17px; ">등록번호 :</caption>
  176. <caption id="caption17" class="search_name" style="left:259px; top:11px; width:79px; height:17px; ">내환자 :</caption>
  177. <caption id="caption8" class="search_name" style="left:17px; top:9px; width:90px; height:17px; ">병 동 :</caption>
  178. <caption id="caption18" class="search_name" style="left:494px; top:11px; width:85px; height:17px; ">병 실 :</caption>
  179. <caption id="caption1" class="search_name" style="left:690px; top:10px; width:86px; height:17px; ">확인구분 :</caption>
  180. <select1 id="radio1" ref="/root/main/cond/execprcphistcd" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:784px; top:10px; width:206px; height:20px; border-style:none; ">
  181. <choices>
  182. <item>
  183. <label>전체</label>
  184. <value>%</value>
  185. </item>
  186. <item>
  187. <label>의사 확인</label>
  188. <value>D</value>
  189. </item>
  190. <item>
  191. <label>의사 미확인</label>
  192. <value>O</value>
  193. </item>
  194. </choices>
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. var row = grd_patlist.row;
  198. fClickDrugList(row);
  199. ]]>
  200. </script>
  201. </select1>
  202. <input id="ipt_opcnfmdd" ref="/root/main/cond/dtfr" class="input_default" navindex="1" inputtype="date" style="left:427px; top:35px; width:100px; height:19px; text-align:center; ">
  203. <script type="javascript" ev:event="xforms-value-changed">
  204. <![CDATA[
  205. fnSubQuery();
  206. ]]>
  207. </script>
  208. </input>
  209. <caption id="caption2" class="search_n_b" style="left:539px; top:37px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  210. <caption id="caption4" class="search_name" style="left:349px; top:36px; width:78px; height:17px; ">일 자 :</caption>
  211. <input id="input2" ref="/root/main/cond/dtto" class="input_default" navindex="1" inputtype="date" style="left:557px; top:35px; width:100px; height:19px; text-align:center; ">
  212. <script type="javascript" ev:event="xforms-value-changed">
  213. <![CDATA[
  214. fnSubQuery();
  215. ]]>
  216. </script>
  217. </input>
  218. <select1 id="radio2" ref="/root/main/cond/dtflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:784px; top:35px; width:205px; height:20px; border-style:none; ">
  219. <choices>
  220. <item>
  221. <label>처방일</label>
  222. <value>1</value>
  223. </item>
  224. <item>
  225. <label>투약일</label>
  226. <value>2</value>
  227. </item>
  228. </choices>
  229. <script type="javascript" ev:event="xforms-value-changed">
  230. <![CDATA[
  231. fnSubQuery();
  232. ]]>
  233. </script>
  234. </select1>
  235. <caption id="caption9" class="search_name" style="left:690px; top:36px; width:91px; height:17px; ">일자구분 :</caption>
  236. <button id="button16" class="icon_search" navindex="6" style="left:209px; top:37px; width:16px; height:16px; ">
  237. <caption/>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. fSearchPatInfo("1");
  241. ]]>
  242. </script>
  243. </button>
  244. <output id="opt_hngnm" ref="/root/main/pidinfo/pidlist/hngnm" class="output_fix" style="left:230px; top:35px; width:95px; height:19px; "/>
  245. </group>
  246. <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:215px; y2:100px; "/>
  247. <caption id="caption22" class="tit_2" style="left:0px; top:80px; width:82px; height:13px; ">환자리스트</caption>
  248. <line id="line2" class="line_1" style="x1:220px; y1:100px; x2:1162px; y2:100px; "/>
  249. <datagrid id="grd_patlist" nodeset="/root/main/wardpatinfo/wardpatlist" class="datagrid2" allowbigselection="false" allowselection="false" backcoloralternate="#ffffff" caption="병실^등록&#xA;번호^환자명^S/A" colsep="^" colwidth="46, 54, 63, 36" frozencols="0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:105px; width:220px; height:623px; ">
  250. <col ref="roomcd" style="text-align:center; "/>
  251. <col ref="pid" style="text-align:left; "/>
  252. <col ref="patnm" style="text-align:center; "/>
  253. <col ref="sexage" style="text-align:center; "/>
  254. <script type="javascript" ev:event="onaftersort">
  255. <![CDATA[
  256. grd_drugrtnlist.gridToInstance();
  257. ]]>
  258. </script>
  259. <script type="javascript" ev:event="onclick">
  260. <![CDATA[
  261. /*
  262. var mouserow = grd_patlist.mouseRow;
  263. var patcnt = getNodesetCount(xWardPatListPath);
  264. model.setValue("/root/main/cond/pid", model.getValue("/root/main/wardpatinfo/wardpatlist[" + mouserow + "]/pid"));
  265. if(mouserow > 0 && mouserow <= patcnt){
  266. fClickDrugList(mouserow);
  267. }
  268. */
  269. fClickPat(); //(20080517)
  270. ]]>
  271. </script>
  272. </datagrid>
  273. <datagrid id="grd_drugrtnlist" nodeset="/root/main/warddrugrtninfo/warddrugrtnlist" class="datagrid2" scroll="auto" allowselection="true" autosizemouse="false" caption="병실^환자명^S/A^의사&#xA;확인^처방코드^처방명&#xA;[* : 혼동주의/고위험 약제]^용량^단&#xA;위^횟&#xA;수^투약일^투약&#xA;시간^투약 기록^간호사^적용일자^처방일시^처방의^반환일시" colsep="^" colwidth="45, 60, 41, 30, 80, 170, 30, 24, 23, 70, 38, 95, 45, 70, 99, 45, 99" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:220px; top:105px; width:942px; height:623px; text-align:center; ">
  274. <col ref="roomcd" visibility="hidden" style="left:20px; top:32px; width:42px; height:23px; "/>
  275. <col ref="hngnm" visibility="hidden"/>
  276. <col ref="sa" visibility="hidden"/>
  277. <col ref="drcnfmyn"/>
  278. <col ref="prcpcd" style="text-align:left; "/>
  279. <col ref="prcpnm" style="text-align:left; "/>
  280. <col ref="prcpvol" style="text-align:right; "/>
  281. <col ref="prcpvolunitflag" style="text-align:center; "/>
  282. <col ref="prcptims"/>
  283. <col ref="execdd" format="yyyy-mm-dd"/>
  284. <col ref="exectm" format="hh:nn"/>
  285. <col ref="execcarestatnm"/>
  286. <col ref="nursnm"/>
  287. <col ref="prcpdd" format="yyyy-mm-dd"/>
  288. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn"/>
  289. <col ref="orddrnm"/>
  290. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  291. </datagrid>
  292. <caption id="caption3" class="tit_2" style="left:220px; top:80px; width:134px; height:14px; ">투약반환예정리스트</caption>
  293. <caption id="caption5" style="left:1127px; top:730px; width:30px; height:20px; ">[표]</caption>
  294. </xhtml:body>
  295. </xhtml:html>