SMMNO03100_외래초진예약조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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. <ordfromdd/>
  12. <ordtodd/>
  13. <orddeptcd/>
  14. <orddr/>
  15. <pid/>
  16. <patnm/>
  17. <rrgstno1/>
  18. <rrgstno2/>
  19. <rsrvflag/>
  20. <prntusge/>
  21. <orddeptnm/>
  22. <orddrnm/>
  23. <cnt>0</cnt>
  24. <ordclsdeptflag/>
  25. <supdeptcd/>
  26. </cond>
  27. <outrsrvpatlist>
  28. <outrsrvpatinfo>
  29. <orddd/>
  30. <ordtm/>
  31. <pid/>
  32. <patnm/>
  33. <sexage/>
  34. <rrgstno/>
  35. <centcdnm/>
  36. <orddeptnm/>
  37. <subdeptcdnm/>
  38. <usernm/>
  39. <fsexamflag/>
  40. <rsrvflag/>
  41. <calcyn/>
  42. <insukind/>
  43. <hometel/>
  44. <mpphontel/>
  45. <addr/>
  46. <remfact/>
  47. <orddeptcd/>
  48. </outrsrvpatinfo>
  49. </outrsrvpatlist>
  50. <patinfo>
  51. <patinfolist/>
  52. </patinfo>
  53. </main>
  54. <send>
  55. <req/>
  56. <reqdata/>
  57. </send>
  58. <init>
  59. <comcd/>
  60. <orddept/>
  61. <orddr>
  62. <orddr/>
  63. </orddr>
  64. </init>
  65. <hidden>
  66. <zsd>
  67. <resultref/>
  68. </zsd>
  69. </hidden>
  70. <temp>
  71. <printdata/>
  72. </temp>
  73. </root>
  74. </instance>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. fInitialize();
  78. ]]>
  79. </script>
  80. <submission id="TRMNO01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp/boarddata/outrsrvpatlist"/>
  81. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  82. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  83. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  84. <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddr"/>
  85. <submission id="TRMNO01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/outrsrvpatlist"/>
  86. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  87. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  88. <submission id="TRMNO03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" add="bottom" resultref="/root/main/outrsrvpatlist"/>
  89. </model>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  93. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  94. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  95. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  96. <script type="javascript" src="../../../emr/outcareweb/js/SMMNO03100.js"/>
  97. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  98. <script type="javascript">
  99. <![CDATA[
  100. function fSubmitOnScroll() {
  101. if(grd_OutRsrvPatList.vscroll.attribute("max") == grd_OutRsrvPatList.vscroll.attribute("pos") && grd_OutRsrvPatList.rows == 1001) {
  102. model.setValue("/root/main/cond/offset", grd_OutRsrvPatList.rows - grd_OutRsrvPatList.fixedRows);
  103. fBtnRefClicked();
  104. }
  105. }
  106. ]]>
  107. </script>
  108. </xhtml:head>
  109. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  110. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  111. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:257px; height:14px; ">
  112. <![CDATA[외래 초진 예약 조회]]>
  113. <script type="javascript" ev:event="ondblclick">
  114. <![CDATA[
  115. ]]>
  116. </script>
  117. </caption>
  118. </group>
  119. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  120. <output id="opt_cnt" ref="/root/main/cond/cnt" style="left:5px; top:4px; width:35px; height:19px; font-size:10pt; font-weight:bold; text-align:right; "/>
  121. <caption id="caption10" style="left:45px; top:4px; width:130px; height:20px; font-weight:bold; vertical-align:middle; ">건이 조회되었습니다</caption>
  122. </group>
  123. <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
  124. <line id="line1" class="line_1" style="x1:1px; y1:55px; x2:1195px; y2:55px; "/>
  125. <datagrid id="grd_OutRsrvPatList" nodeset="/root/main/outrsrvpatlist/outrsrvpatinfo" class="datagrid2" caption="진료일^예약&#xA;시간^등록번호^환자명^S/A^주민번호^센터^진료과^하위부서^진료의^초진^예약&#xA;구분^수납^보험유형^Remark^전화번호1^전화번호2^주소^remfact^orddeptcd" colsep="^" colwidth="79, 53, 77, 78, 41, 107, 53, 109, 100, 59, 52, 70, 32, 82, 100, 105, 106, 340, 0, 0" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:1px; top:85px; width:1194px; height:655px; ">
  126. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  127. <col ref="ordtm" format="hh:nn" style="text-align:center; "/>
  128. <col ref="pid" style="text-align:left; "/>
  129. <col ref="patnm" style="text-align:left; "/>
  130. <col ref="sexage" style="text-align:left; "/>
  131. <col ref="rrgstno" style="text-align:center; "/>
  132. <col ref="centcdnm"/>
  133. <col ref="orddeptnm"/>
  134. <col ref="subdeptcdnm"/>
  135. <col ref="usernm" style="text-align:center; "/>
  136. <col ref="fsexamflag" style="text-align:center; "/>
  137. <col ref="rsrvflag" style="text-align:center; "/>
  138. <col ref="calcyn" style="text-align:center; "/>
  139. <col ref="insukind" style="text-align:left; "/>
  140. <col ref="remfact"/>
  141. <col ref="hometel" style="text-align:center; "/>
  142. <col ref="mpphontel" style="text-align:center; "/>
  143. <col ref="addr"/>
  144. <col ref="remfact"/>
  145. <col ref="orddeptcd"/>
  146. <script type="javascript" ev:event="onscroll">
  147. <![CDATA[
  148. // fSubmitOnScroll();
  149. ]]>
  150. </script>
  151. <script type="javascript" ev:event="onaftersort">
  152. <![CDATA[
  153. grd_OutRsrvPatList.sortClear();
  154. grd_OutRsrvPatList.gridToInstance();
  155. ]]>
  156. </script>
  157. </datagrid>
  158. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
  159. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:60px; "/>
  160. <caption id="caption3" class="search_name" style="left:16px; top:10px; width:86px; height:17px; ">진료일자:</caption>
  161. <caption id="caption2" class="search_name" style="left:386px; top:10px; width:69px; height:17px; ">진료과:</caption>
  162. <caption id="caption4" class="search_name" style="left:651px; top:10px; width:69px; height:17px; ">진료의:</caption>
  163. <select1 id="cmb_orddr" ref="/root/main/cond/orddr" class="combo_s_essential" disabled="true" navindex="4" appearance="minimal" style="left:725px; top:9px; width:165px; height:19px; ">
  164. <choices>
  165. <itemset nodeset="/root/init/orddr/orddr">
  166. <label ref="userdepthngnm"/>
  167. <value ref="userid"/>
  168. </itemset>
  169. </choices>
  170. <script type="javascript" ev:event="xforms-value-changed">
  171. <![CDATA[
  172. fBtnRefClicked();
  173. ]]>
  174. </script>
  175. </select1>
  176. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_s_essential" navindex="3" appearance="minimal" style="left:460px; top:9px; width:155px; height:19px; ">
  177. <choices>
  178. <itemset nodeset="/root/init/orddept/dept">
  179. <label ref="depthngnm"/>
  180. <value ref="deptcd"/>
  181. </itemset>
  182. </choices>
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. fDeptDoctSearch();
  186. ]]>
  187. </script>
  188. </select1>
  189. <button id="btn_ref" class="btn1_letter2" navindex="8" style="left:1129px; top:19px; width:56px; height:22px; ">
  190. <caption>조회</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. fBtnRefClicked();
  194. ]]>
  195. </script>
  196. </button>
  197. <line id="line11" class="line_4" style="x1:1120px; y1:9px; x2:1120px; y2:51px; "/>
  198. <button id="button1" class="icon_pre" style="left:115px; top:11px; width:13px; height:15px; ">
  199. <caption/>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. var oraDate = ipt_ordfromdd.value.toDate().getAddDate(-1,"D");
  203. ipt_ordfromdd.value = oraDate.getDateFormat();
  204. ipt_ordtodd.value = oraDate.getDateFormat();
  205. fDeptDoctSearch(); //진료일자 변경시 진료의 재조회
  206. ]]>
  207. </script>
  208. </button>
  209. <input id="ipt_ordfromdd" ref="/root/main/cond/ordfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:130px; top:9px; width:100px; height:19px; ">
  210. <script type="javascript" ev:event="xforms-value-changed">
  211. <![CDATA[
  212. //20090907-의정부 주희정선생님 요청(일자선택시 진료의사 리서치)-kys
  213. fDeptDoctSearch();
  214. ]]>
  215. </script>
  216. </input>
  217. <caption id="caption1" style="left:232px; top:10px; width:15px; height:20px; font-weight:bold; ">~</caption>
  218. <input id="ipt_ordtodd" ref="/root/main/cond/ordtodd" class="input_s_essential" navindex="2" inputtype="date" style="left:246px; top:9px; width:100px; height:19px; "/>
  219. <button id="button10" class="icon_next" style="left:349px; top:11px; width:13px; height:15px; ">
  220. <caption/>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. var oraDate = ipt_ordfromdd.value.toDate().getAddDate(1,"D");
  224. ipt_ordfromdd.value = oraDate.getDateFormat();
  225. ipt_ordtodd.value = oraDate.getDateFormat();
  226. fDeptDoctSearch(); //진료일자 변경시 진료의 재조회
  227. ]]>
  228. </script>
  229. </button>
  230. <caption id="caption5" class="search_name" style="left:720px; top:35px; width:90px; height:17px; ">예약경로:</caption>
  231. <caption id="caption7" class="search_name" style="left:227px; top:35px; width:69px; height:17px; ">환자명:</caption>
  232. <input id="input1" ref="/root/main/cond/patnm" class="input_search" navindex="5" imemode="hangul" style="left:302px; top:35px; width:100px; height:19px; ">
  233. <script type="javascript" ev:event="onkeyup">
  234. <![CDATA[
  235. inputEnterKey("btn_ref", "DOMActivate");
  236. ]]>
  237. </script>
  238. </input>
  239. <caption id="caption8" class="search_name" style="left:410px; top:35px; width:81px; height:17px; ">주민번호:</caption>
  240. <input id="input2" ref="/root/main/cond/rrgstno1" class="input_search" navindex="6" autonext="true" maxlength="6" style="left:495px; top:35px; width:100px; height:19px; "/>
  241. <input id="input3" ref="/root/main/cond/rrgstno2" class="input_search" navindex="7" maxlength="7" style="left:600px; top:35px; width:100px; height:19px; "/>
  242. <select1 id="cbo_rsrvflag" ref="/root/main/cond/rsrvflag" class="combo_s_essential" navindex="8" appearance="minimal" style="left:810px; top:35px; width:120px; height:19px; ">
  243. <choices>
  244. <item>
  245. <label>전체</label>
  246. <value>0</value>
  247. </item>
  248. <item>
  249. <label>전화예약</label>
  250. <value>2</value>
  251. </item>
  252. <item>
  253. <label>협력예약</label>
  254. <value>1</value>
  255. </item>
  256. <item>
  257. <label>과예약</label>
  258. <value>9</value>
  259. </item>
  260. <item>
  261. <label>인터넷예약</label>
  262. <value>5</value>
  263. </item>
  264. <item>
  265. <label>병동예약</label>
  266. <value>K</value>
  267. </item>
  268. <item>
  269. <label>의뢰</label>
  270. <value>C</value>
  271. </item>
  272. <item>
  273. <label>당일접수</label>
  274. <value>-</value>
  275. </item>
  276. </choices>
  277. </select1>
  278. <input id="input4" ref="/root/main/cond/pid" class="input_search" navindex="5" imemode="hangul" style="left:101px; top:35px; width:100px; height:19px; ">
  279. <script type="javascript" ev:event="onkeyup">
  280. <![CDATA[
  281. inputEnterKey("btn_ref", "DOMActivate");
  282. ]]>
  283. </script>
  284. </input>
  285. <caption id="caption9" class="search_name" style="left:16px; top:35px; width:81px; height:17px; ">등록번호:</caption>
  286. <button id="btn_pid" class="icon_search" style="left:205px; top:37px; width:16px; height:16px; ">
  287. <caption/>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. // 원본 modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/main/cond");
  291. // 외래간호환자조회로 변경_20090218(ByJA)
  292. modal("../../../emr/outcareweb/xrw/SPMNO02400", "1","150", "150", "SPMNO02400", "/root/source", "/root/main/cond");
  293. //환자번호 copy
  294. var popupendflag = model.getValue("/root/main/popupendflag");
  295. if (popupendflag == "ok"){
  296. model.setValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  297. model.setValue("/root/main/cond/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  298. model.setValue("/root/main/cond/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  299. model.setValue("/root/main/cond/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  300. model.refresh();
  301. }
  302. ]]>
  303. </script>
  304. </button>
  305. </group>
  306. <button id="button4" class="btn2_letter3" style="left:945px; top:44px; width:53px; height:19px; ">
  307. <caption>초기화</caption>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. input4.value = ""; //등록번호
  311. input1.value = ""; //환자명
  312. input2.value = ""; //주민번호1
  313. input3.value = ""; //주민번호2
  314. ]]>
  315. </script>
  316. </button>
  317. </group>
  318. </xhtml:body>
  319. </xhtml:html>