SMMMO02900_처방진료대상자.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <orddd/>
  12. <ordtype>O</ordtype>
  13. <elbulbodstat>1</elbulbodstat>
  14. <patflagstat>-</patflagstat>
  15. <userid/>
  16. <orddeptcd/>
  17. <orddrid/>
  18. <delayflag/>
  19. <delaytime/>
  20. <delayexpt/>
  21. </cond>
  22. <outpatinfo>
  23. <outpatlist/>
  24. </outpatinfo>
  25. <opprcpinfo/>
  26. <inpatinfo>
  27. <inpatlist/>
  28. </inpatinfo>
  29. </main>
  30. <send>
  31. <reqdata/>
  32. </send>
  33. <hidden/>
  34. <init>
  35. <orddept/>
  36. <userlist/>
  37. <userscrnenvinfo/>
  38. <rsltgetdata>
  39. <getdata/>
  40. </rsltgetdata>
  41. <concsliplist/>
  42. <pamkey/>
  43. <M0015/>
  44. <opdept/>
  45. <ordtype>
  46. <itemlist>
  47. <value>O</value>
  48. <label>외래</label>
  49. <flag>Y</flag>
  50. </itemlist>
  51. <itemlist>
  52. <value>I</value>
  53. <label>입원</label>
  54. <flag>Y</flag>
  55. </itemlist>
  56. <itemlist>
  57. <value>P</value>
  58. <label>관심슬립</label>
  59. <flag>Y</flag>
  60. </itemlist>
  61. <itemlist>
  62. <value>A</value>
  63. <label>수술</label>
  64. <flag>N</flag>
  65. </itemlist>
  66. </ordtype>
  67. </init>
  68. <cpflag/>
  69. </root>
  70. </instance>
  71. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  72. <submission id="TRMMO04114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/selectpatinfo"/>
  73. <submission id="TRMMO02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/outpatinfo"/>
  74. <submission id="TRMMO04205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpatinfo"/>
  75. <submission id="TRMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpatinfo"/>
  76. <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
  77. <submission id="TRMMO04109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opprcpinfo"/>
  78. <submission id="TRMMO04206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatinfo"/>
  79. <submission id="TRMMB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/concsliplist"/>
  80. <submission id="TRMMB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/info"/>
  81. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  82. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  83. <submission id="TRMMO04503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkeyinfo"/>
  84. <submission id="TRMMO04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/getdata"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  91. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  92. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  93. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  94. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
  95. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO02900.js"/>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. fInitialize_SMMMO02900();
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body overflow="hidden" guideline="1,8;1,380;2,80;2,636;">
  103. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:4px; width:371px; height:72px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <caption id="caption1" class="search_name" style="left:7px; top:9px; width:91px; height:17px; ">진료일 :</caption>
  105. <caption id="caption2" class="search_name" style="left:7px; top:31px; width:86px; height:17px; ">진료과 :</caption>
  106. <caption id="caption4" class="search_name" visibility="hidden" style="left:7px; top:52px; width:86px; height:17px; ">환자구분 :</caption>
  107. <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_s_essential" inputtype="date" style="left:85px; top:9px; width:92px; height:19px; "/>
  108. <bool id="chk_delay" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/delayflag" style="left:187px; top:10px; width:25px; height:20px; ">
  109. <script type="javascript" ev:event="xforms-value-changed">
  110. <![CDATA[
  111. fChkGetData();
  112. ]]>
  113. </script>
  114. </bool>
  115. <input id="ipt_delaytime" ref="/root/main/cond/delaytime" class="input_search" visibility="hidden" format="##" style="left:212px; top:10px; width:25px; height:19px; ">
  116. <script type="javascript" ev:event="DOMFocusOut">
  117. <![CDATA[
  118. //지연시간을 체크 한다.
  119. var delayTime = model.getValue("/root/main/cond/delaytime");
  120. if(!delayTime.isNumber()){
  121. messageBox("지연시간은 숫자만 입력 가능 합니다", "I");
  122. model.setFocus("ipt_delaytime");
  123. }
  124. ]]>
  125. </script>
  126. </input>
  127. <caption id="caption9" visibility="hidden" style="left:237px; top:10px; width:70px; height:20px; ">
  128. <![CDATA[분 지연표시]]>
  129. <script type="javascript" ev:event="onclick">
  130. <![CDATA[
  131. var delayflag = model.getValue("/root/main/cond/delayflag");
  132. if (delayflag =="Y") {
  133. model.setValue("/root/main/cond/delayflag", "N");
  134. } else {
  135. model.setValue("/root/main/cond/delayflag", "Y");
  136. }
  137. fChkGetData();
  138. ]]>
  139. </script>
  140. </caption>
  141. <select1 id="cmb_ordtype" ref="/root/main/cond/ordtype" visibility="hidden" appearance="full" cellspacing="1" cols="2" overflow="visible" style="left:280px; top:51px; width:90px; height:19px; ">
  142. <choices>
  143. <item>
  144. <label>외래</label>
  145. <value>O</value>
  146. </item>
  147. <!--item>
  148. <label>입원</label>
  149. <value>I</value>
  150. </item-->
  151. </choices>
  152. <script type="javascript" ev:event="xforms-value-changed">
  153. <![CDATA[
  154. fGrdInit();
  155. fChkGetData() ;
  156. ]]>
  157. </script>
  158. </select1>
  159. <select1 id="rdo_patflagstat" ref="/root/main/cond/patflagstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:95px; top:52px; width:228px; height:20px; border-style:none; ">
  160. <choices>
  161. <item>
  162. <label>전체</label>
  163. <value>-</value>
  164. </item>
  165. <item>
  166. <label>퇴원</label>
  167. <value>D</value>
  168. </item>
  169. <item>
  170. <label>입원예정</label>
  171. <value>P</value>
  172. </item>
  173. <item>
  174. <label>입실완료</label>
  175. <value>F</value>
  176. </item>
  177. </choices>
  178. <script type="javascript" ev:event="xforms-value-changed">
  179. <![CDATA[
  180. fChkGetData() ;
  181. ]]>
  182. </script>
  183. </select1>
  184. <select1 id="rdo_patflag" ref="/root/main/cond/elbulbodstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:95px; top:53px; width:228px; height:20px; border-style:none; ">
  185. <choices>
  186. <item>
  187. <label>전체</label>
  188. <value>-</value>
  189. </item>
  190. <item>
  191. <label>미접수</label>
  192. <value>9</value>
  193. </item>
  194. <item>
  195. <label>접수</label>
  196. <value>0</value>
  197. </item>
  198. <item>
  199. <label>대기</label>
  200. <value>1</value>
  201. </item>
  202. <item>
  203. <label>완료</label>
  204. <value>2</value>
  205. </item>
  206. </choices>
  207. <script type="javascript" ev:event="xforms-value-changed">
  208. <![CDATA[
  209. fChkGetData() ;
  210. ]]>
  211. </script>
  212. </select1>
  213. <line id="line1" class="line_1" style="x1:3px; y1:78px; x2:382px; y2:78px; "/>
  214. <button id="btn_search" class="btn1_letter2" style="left:313px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  215. <caption>조회</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. fChkGetData();
  219. ]]>
  220. </script>
  221. </button>
  222. <switch id="switch2" style="left:3px; top:83px; width:378px; height:553px; ">
  223. <case id="case1" selected="true">
  224. <datagrid id="grd_outpatlist" nodeset="/root/main/outpatinfo/outpatlist" caption="instcd^orddd^cretno^시간^등록번호^이름^SA^초재진^보험유형^심사" colsep="^" colwidth="0, 0, 0, 40, 60, 60, 40, 45, 60, 40" ellipsis="true" explorerbar="sortshow" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:-4px; width:372px; height:552px; ">
  225. <col ref="instcd"/>
  226. <col ref="orddd"/>
  227. <col ref="cretno"/>
  228. <col ref="ordtm" format="hh:ss" style="text-align:center; "/>
  229. <col ref="pid" style="text-align:center; "/>
  230. <col ref="hngnm" style="text-align:center; "/>
  231. <col ref="sa" style="text-align:center; "/>
  232. <col ref="fsexamflagnm" style="text-align:center; "/>
  233. <col ref="insukindnm" style="text-align:center; "/>
  234. <col ref="bfjudgvalue" style="text-align:center; "/>
  235. <script type="javascript" ev:event="ondblclick">
  236. <![CDATA[
  237. if (isDataCell() == true) {
  238. fMiniOutPat();
  239. }
  240. ]]>
  241. </script>
  242. <script type="javascript" ev:event="onaftersort">
  243. <![CDATA[
  244. grd_outpatlist.gridToInstance();
  245. ]]>
  246. </script>
  247. </datagrid>
  248. </case>
  249. <case id="case2">
  250. <datagrid id="grd_inpatlist" nodeset="/root/main/inpatinfo/inpatlist" caption="등록번호^cretno^indd^instcd^이름^color^SA^병실^익일정규^ioflag^" colsep="^" colwidth="76, 0, 0, 0, 77, 0, 49, 57, 57, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:372px; height:548px; ">
  251. <col ref="pid" style="text-align:center; "/>
  252. <col ref="cretno"/>
  253. <col ref="indd"/>
  254. <col ref="instcd"/>
  255. <col ref="hngnm" style="text-align:center; "/>
  256. <col ref="color"/>
  257. <col ref="sa" style="text-align:center; "/>
  258. <col ref="roomcd" style="text-align:center; "/>
  259. <col ref="dayregular" style="text-align:center; "/>
  260. <col ref="ioflag"/>
  261. <script type="javascript" ev:event="ondblclick">
  262. <![CDATA[
  263. if (isDataCell()==true) {
  264. fMiniInPat();
  265. }
  266. ]]>
  267. </script>
  268. <script type="javascript" ev:event="onaftersort">
  269. <![CDATA[
  270. grd_outpatlist.gridToInstance();
  271. ]]>
  272. </script>
  273. </datagrid>
  274. </case>
  275. </switch>
  276. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:85px; top:32px; width:125px; height:19px; ">
  277. <choices>
  278. <itemset nodeset="/root/init/orddept/dept">
  279. <label ref="depthngnm"/>
  280. <value ref="deptcd"/>
  281. </itemset>
  282. </choices>
  283. <script type="javascript" ev:event="xforms-value-changed">
  284. <![CDATA[
  285. model.removeNodeset("/root/init/userlist");
  286. model.makeNode("/root/init/userlist/usercombo");
  287. var sOrdDd = model.getValue("/root/main/cond/orddd");
  288. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330", "", "", sOrdDd);
  289. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  290. cmb_orddrid.select(1);
  291. model.refresh();
  292. fChkGetData() ;
  293. ]]>
  294. </script>
  295. </select1>
  296. <caption id="caption5" class="search_name" style="left:215px; top:31px; width:86px; height:17px; ">진료의 :</caption>
  297. <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" class="combo_search" appearance="minimal" style="left:288px; top:32px; width:70px; height:19px; ">
  298. <choices>
  299. <itemset nodeset="/root/init/userlist/usercombo">
  300. <label ref="usernm"/>
  301. <value ref="userid"/>
  302. </itemset>
  303. </choices>
  304. <script type="javascript" ev:event="xforms-value-changed">
  305. <![CDATA[
  306. fChkGetData() ;
  307. ]]>
  308. </script>
  309. </select1>
  310. </xhtml:body>
  311. </xhtml:html>