SMMNS00500_관리환자목록.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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. <edupatinfo>
  11. <edupatlist>
  12. <chk/>
  13. <stat/>
  14. <patfg/>
  15. <roomcd/>
  16. <pid/>
  17. <pidnm/>
  18. <age/>
  19. <reqdd/>
  20. <prcpcd/>
  21. <ordnm/>
  22. <diagnm/>
  23. <dept/>
  24. <rervdd/>
  25. <rervtm/>
  26. <actnm/>
  27. <zipcd/>
  28. <address/>
  29. <hometel/>
  30. <mpphontel/>
  31. <minrervdd/>
  32. <maxrervdd/>
  33. </edupatlist>
  34. </edupatinfo>
  35. </main>
  36. <send>
  37. </send>
  38. <hidden>
  39. <spclcarefildflaginfo/>
  40. <nursdeptinfo/>
  41. <spclteaminfo/>
  42. <spclsideinfo/>
  43. </hidden>
  44. <cond>
  45. <spcl/>
  46. <ddflag/>
  47. <fromdd/>
  48. <enddd/>
  49. <stat>0</stat>
  50. <patfg>A</patfg>
  51. <pid/>
  52. <patnm/>
  53. <itemlist/>
  54. <indate/>
  55. <inpid/>
  56. <cnfm/>
  57. <newpid/>
  58. <newpidsave/>
  59. </cond>
  60. </root>
  61. </instance>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  64. <script type="javascript" src="../../../emr/spclcareweb/js/MNS001.js"/>
  65. <script type="javascript" src="../../../emr/spclcareweb/js/SMMNS00500.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fInit();
  71. ]]>
  72. </script>
  73. <submission id="TRMNS00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/edupatinfo"/>
  74. <submission id="TRMNS00107" mediatype="application/x-www-form-urlencoded" ref="/root/send" resultref="/root/hidden/spclcarefildflaginfo/spclcarefildflaginfolist"/>
  75. <!-- 20090122 dhkim 전문간호팀코드를 간호부서등록테이블에서 가져옴-->
  76. <submission id="TRMNS00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/spclteaminfo/spclteamlist"/>
  77. <!-- 20090205 dhkim 전문간호의뢰분야조회 -->
  78. <submission id="TRMNS00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/nursdeptinfo/nursdeptlist"/>
  79. <!-- 20090205 dhkim 전문간호 겸업분야 조회-->
  80. <submission id="TRMNS00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/spclsideinfo/spclsidelist"/>
  81. <!-- 20090213 dhkim 부서코드에 해당하는 부서명조회-->
  82. <submission id="TRMNI02031" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  83. </model>
  84. </xhtml:head>
  85. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  86. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  87. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:116px; height:14px; ">관리환자목록</caption>
  88. </group>
  89. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  90. <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:131px; height:13px; ">관리환자 리스트</caption>
  91. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
  92. <button id="btn_sms" class="btn2_letter4" style="left:1061px; top:76px; width:64px; height:19px; ">
  93. <caption>SMS송신</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. //2008년1월25일이후개발
  97. fPopUpCall("SMSTrsm");
  98. ]]>
  99. </script>
  100. </button>
  101. <button id="btn_label" class="btn2_letter4" style="left:1126px; top:76px; width:64px; height:19px; ">
  102. <caption>라벨출력</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. //그리드에 조회된 행사일정 결과를 rexpert를 이용해 출력
  106. fPrintLabel();
  107. ]]>
  108. </script>
  109. </button>
  110. <datagrid id="grd_edulist" nodeset="/root/main/edupatinfo/edupatlist" autoresize="true" caption="선택^상태^구&#xA;분^병실^등록번호^환자명^S/A^의뢰일^처방코드^처방명^진단명^과/의뢰자^예약일시^예약일시^수행여부^우편번호^주소^전화번호^HP^최초수행일시^최근수행일시" colsep="^" colwidth="30, 43, 20, 35, 70, 69, 35, 70, 71, 213, 249, 139, 70, 35, 58, 59, 274, 84, 84, 100, 100" defaultrows="1" explorerbar="sortshow" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:1px; top:98px; width:1194px; height:642px; ">
  111. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  112. <col ref="stat"/>
  113. <col ref="patfg" style="text-align:center; "/>
  114. <col ref="roomcd" style="text-align:center; "/>
  115. <col ref="pid"/>
  116. <col ref="pidnm"/>
  117. <col ref="age" style="text-align:center; "/>
  118. <col ref="reqdd" format="yyyy-mm-dd"/>
  119. <col ref="prcpcd" style="text-align:center; "/>
  120. <col ref="ordnm"/>
  121. <col ref="diagnm"/>
  122. <col ref="dept"/>
  123. <col ref="rervdd" format="yyyy-mm-dd" style="text-align:center; "/>
  124. <col ref="rervtm" format="hh:nn" style="text-align:center; "/>
  125. <col ref="actnm"/>
  126. <col ref="zipcd" style="text-align:center; "/>
  127. <col ref="address"/>
  128. <col ref="hometel" style="text-align:left; "/>
  129. <col ref="mpphontel" style="text-align:left; "/>
  130. <col ref="minrervdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  131. <col ref="maxrervdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  132. </datagrid>
  133. <button id="bnt_excel" class="btn2_letter2" style="left:1018px; top:76px; width:42px; height:19px; ">
  134. <caption>엑셀</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. fSaveExcel();
  138. ]]>
  139. </script>
  140. </button>
  141. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  142. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  143. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:99px; height:17px; ">전문분야 :</caption>
  144. <line id="line13" class="line_4" style="x1:1117px; y1:7px; x2:1117px; y2:29px; "/>
  145. <caption id="caption3" class="search_name" style="left:655px; top:9px; width:89px; height:17px; ">조회일자 :</caption>
  146. <caption id="caption4" style="left:832px; top:12px; width:12px; height:13px; ">~</caption>
  147. <caption id="caption5" class="search_name" style="left:330px; top:9px; width:93px; height:17px; ">조회구간 :</caption>
  148. <caption id="caption7" class="search_name" style="left:655px; top:34px; width:89px; height:17px; ">등록번호 :</caption>
  149. <caption id="caption8" class="search_name" style="left:16px; top:36px; width:101px; height:17px; ">진행상태 :</caption>
  150. <caption id="caption10" class="search_name" style="left:330px; top:35px; width:85px; height:17px; ">구 분 :</caption>
  151. <button id="btn_patSearch" class="icon_search" style="left:899px; top:34px; width:16px; height:16px; ">
  152. <caption/>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. var pid = model.getValue("/root/cond/pid");
  156. var flg = '1';
  157. var xpath = '/root/cond/pid';
  158. //환자정보 조회 팝업을 호출한다.
  159. fPopPatient(flg, xpath, pid);
  160. ]]>
  161. </script>
  162. </button>
  163. <select1 id="cmb_spcl" ref="/root/cond/spcl" class="combo_search" appearance="minimal" style="left:120px; top:8px; width:196px; height:19px; ">
  164. <choices>
  165. <itemset nodeset="/root/hidden/spclcarefildflaginfo/spclcarefildflaginfolist">
  166. <label ref="nm"/>
  167. <value ref="cd"/>
  168. </itemset>
  169. </choices>
  170. <script type="javascript" ev:event="xforms-value-changed">
  171. <![CDATA[
  172. fSpclComboChanged();
  173. select_reqlist();
  174. ]]>
  175. </script>
  176. </select1>
  177. <select1 id="rdo_ddflag" ref="/root/cond/ddflag" appearance="full" cols="4" rows="1" overflow="visible" style="left:420px; top:8px; width:225px; height:20px; border-style:none; ">
  178. <choices>
  179. <item>
  180. <label>의뢰일</label>
  181. <value>R</value>
  182. </item>
  183. <item>
  184. <label>처방일</label>
  185. <value>O</value>
  186. </item>
  187. <item>
  188. <label>예약일</label>
  189. <value>S</value>
  190. </item>
  191. <item>
  192. <label>수행일</label>
  193. <value>A</value>
  194. </item>
  195. </choices>
  196. <script type="javascript" ev:event="xforms-value-changed">
  197. <![CDATA[
  198. select_reqlist();
  199. ]]>
  200. </script>
  201. </select1>
  202. <input id="ipt_Fromdd" ref="/root/cond/fromdd" class="input_search" inputtype="date" style="left:745px; top:8px; width:85px; height:19px; "/>
  203. <input id="ipt_Enddd" ref="/root/cond/enddd" class="input_search" inputtype="date" style="left:845px; top:8px; width:85px; height:19px; "/>
  204. <select1 id="rdo_patfg" ref="/root/cond/patfg" appearance="full" cols="3" rows="1" overflow="visible" style="left:420px; top:35px; width:225px; height:20px; border-style:none; ">
  205. <choices>
  206. <item>
  207. <label>전체</label>
  208. <value>A</value>
  209. </item>
  210. <item>
  211. <label>입원</label>
  212. <value>I</value>
  213. </item>
  214. <item>
  215. <label>외래</label>
  216. <value>O</value>
  217. </item>
  218. </choices>
  219. <script type="javascript" ev:event="xforms-value-changed">
  220. <![CDATA[
  221. select_reqlist(); // 관리 환자 리스트 조회
  222. ]]>
  223. </script>
  224. </select1>
  225. <input id="ipt_pid" ref="/root/cond/pid" class="input_search" maxlength="10" format="##########" validateformat="true" style="left:745px; top:33px; width:75px; height:19px; ">
  226. <script type="javascript" ev:event="onkeypress">
  227. <![CDATA[
  228. // 환자번호 입력시 기본정보조회
  229. var keycode = event.keyCode;
  230. if(keycode == 13){
  231. select_reqlist();
  232. return;
  233. }
  234. ]]>
  235. </script>
  236. <script type="javascript" ev:event="xforms-value-changed">
  237. <![CDATA[
  238. model.setValue("/root/cond/patnm","");
  239. model.refresh();
  240. ]]>
  241. </script>
  242. <script type="javascript" ev:event="DOMFocusOut">
  243. <![CDATA[
  244. if(model.getValue("/root/cond/pid")==""){
  245. model.setValue("/root/cond/patnm","");
  246. model.refresh();
  247. }
  248. ]]>
  249. </script>
  250. </input>
  251. <output id="opt_patnm" ref="/root/cond/patnm" class="output_fix" style="left:822px; top:33px; width:75px; height:19px; "/>
  252. <button id="btn_select" class="btn1_letter2" style="left:1133px; top:7px; width:56px; height:22px; ">
  253. <caption>조회</caption>
  254. <script type="javascript" ev:event="DOMActivate">
  255. <![CDATA[
  256. // 조회
  257. select_reqlist(); // 관리 환자 리스트 조회
  258. ]]>
  259. </script>
  260. </button>
  261. <select1 id="rdo_stat" ref="/root/cond/stat" appearance="full" cols="4" rows="1" overflow="visible" style="left:120px; top:35px; width:225px; height:20px; border-style:none; ">
  262. <choices>
  263. <item>
  264. <label>기본</label>
  265. <value>0</value>
  266. </item>
  267. <item>
  268. <label>미확인</label>
  269. <value>1</value>
  270. </item>
  271. <item>
  272. <label>미수행</label>
  273. <value>2</value>
  274. </item>
  275. <item>
  276. <label>수행</label>
  277. <value>3</value>
  278. </item>
  279. </choices>
  280. <script type="javascript" ev:event="xforms-value-changed">
  281. <![CDATA[
  282. select_reqlist();
  283. ]]>
  284. </script>
  285. </select1>
  286. </group>
  287. <button id="button1" class="btn2_letter4" style="left:949px; top:76px; width:64px; height:19px; ">
  288. <caption>전체해제</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. for(var i=1 ;i < grd_edulist.rows ; i++){
  292. model.setValue("/root/main/edupatinfo/edupatlist"+"["+i+"]/chk", "N");
  293. }
  294. model.refresh();
  295. ]]>
  296. </script>
  297. </button>
  298. <button id="button2" class="btn2_letter4" style="left:884px; top:76px; width:64px; height:19px; ">
  299. <caption>전체선택</caption>
  300. <script type="javascript" ev:event="DOMActivate">
  301. <![CDATA[
  302. for(var i=1 ;i < grd_edulist.rows ; i++){
  303. model.setValue("/root/main/edupatinfo/edupatlist"+"["+i+"]/chk", "Y");
  304. }
  305. model.refresh();
  306. ]]>
  307. </script>
  308. </button>
  309. </group>
  310. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  311. </xhtml:body>
  312. </xhtml:html>