SMAEA03200_예약변경내역조회(기능검사).xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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. <prcsprescondlist>
  11. <prcsprescond>
  12. <pid/>
  13. <hngnm/>
  14. <prcpdd/>
  15. <prcpdept/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <execprcpstatcd/>
  19. <state/>
  20. <excuroom/>
  21. <rsrvdt/>
  22. <updtaft/>
  23. <execdt/>
  24. <rsrvrid/>
  25. <cnclresncd/>
  26. <execprcpuniqno/>
  27. </prcsprescond>
  28. <patinfo>
  29. <patinfolist/>
  30. </patinfo>
  31. </prcsprescondlist>
  32. <patinfo>
  33. <patinfolist/>
  34. </patinfo>
  35. <popupendflag/>
  36. </main>
  37. <send>
  38. <ddflag>prcpdd</ddflag>
  39. <fromdd/>
  40. <todd/>
  41. <suppdeptcd/>
  42. <orddeptcd/>
  43. <wardcd/>
  44. <pid/>
  45. <juminno/>
  46. <patnm/>
  47. <gb/>
  48. <excuroomcd/>
  49. <globalinstance>
  50. <instance1/>
  51. </globalinstance>
  52. </send>
  53. <init>
  54. <cmb_info>
  55. <initexecroom>
  56. <excuroomcdid/>
  57. <excuroomcdnm/>
  58. </initexecroom>
  59. <suppdept>
  60. <suppdeptcd/>
  61. <depthngnm/>
  62. </suppdept>
  63. </cmb_info>
  64. <baseinfo>
  65. <initexecprcpstatcd/>
  66. </baseinfo>
  67. </init>
  68. <hidden/>
  69. <temp/>
  70. <init2>
  71. <cmb_info>
  72. <initexcuroomcd>
  73. </initexcuroomcd>
  74. </cmb_info>
  75. </init2>
  76. </root>
  77. </instance>
  78. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  79. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  81. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  83. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript">
  86. <![CDATA[
  87. ]]>
  88. </script>
  89. <!-- 예약변경리스트조회-->
  90. <!--공통코드 조회-->
  91. <submission id="TRAEA00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
  92. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  93. <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. aezfSetSuppDeptcd();
  97. model.setValue("/root/send/todd" , getCurrentDate());
  98. model.setValue("/root/send/fromdd" , getCurrentDate());
  99. //*********************************************************************************************************************************************
  100. //담당 검사실 갖고오기
  101. submit("TRAEA01115",false);
  102. //담당 검사실 세팅
  103. model.setValue("/root/send/excuroomcd",model.getValue("/root/init/cmb_info/initexcuroomcd[1]/excuroomcd"));
  104. //*********************************************************************************************************************************************
  105. var gv_pid = getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
  106. if(gv_pid != "") { //글로벌변수(등록번호)가 있는경우
  107. model.setValue("/root/send/pid", gv_pid);
  108. }
  109. btn_sea.dispatch("DOMActivate");
  110. model.setFocus("ipt_pid");
  111. ]]>
  112. </script>
  113. <submission id="TRAEA03209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/prcsprescondlist"/>
  114. </model>
  115. </xhtml:head>
  116. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  117. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  118. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:242px; height:14px; ">예약변경 및 취소내역 조회 (기능검사)</caption>
  119. </group>
  120. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
  121. <group id="grp_sea" style="left:0px; top:7px; width:1194px; height:35px; vertical-align:top; ">
  122. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:32px; background-color:#fffbf2; border-color:#ffd799; "/>
  123. <caption id="caption4" class="search_name" style="left:630px; top:7px; width:86px; height:17px; ">등록번호 :</caption>
  124. <button id="btn_sea" class="btn1_letter2" style="left:1121px; top:6px; width:56px; height:22px; ">
  125. <caption>조회</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. var _frdt = model.getValue("/root/send/fromdd");
  129. var _todt = model.getValue("/root/send/todd");
  130. if ( _frdt == "" && _todt != "") {
  131. messageBox("검색하실 날짜 범위의 시작 일자를 입력해 주십시오." , "I999");
  132. model.setFocus("ipt_startrsrvdd");
  133. return;
  134. }
  135. if ( _frdt != "" && _todt == "") {
  136. messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
  137. model.setFocus("ipt_endrsrvdd");
  138. return;
  139. }
  140. if ( getDateInterval(_frdt, _todt) < 0 ) {
  141. messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 기준일자를 확인해 주십시오." , "I999");
  142. model.setFocus("ipt_startrsrvdd");
  143. return;
  144. }
  145. /*
  146. if (model.getValue("/root/send/pid") == "" && model.getValue("/root/send/juminno") == ""){
  147. messageBox("등록번호나 주민번호를 입력한 후 조회하시기 바랍니다.", "E999", "");
  148. return;
  149. }
  150. */
  151. submit("TRAEA03209");
  152. for (var i = 1; i < grd_rsrvcnclprescond.rows; i++){
  153. if (model.getValue("/root/main/prcsprescondlist/prcsprescond[" + i + "]/state") == "최종"){
  154. grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffcc99";
  155. }else{
  156. grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffffff";
  157. }
  158. }
  159. ]]>
  160. </script>
  161. </button>
  162. <input id="ipt_pid" ref="/root/send/pid" navindex="3" style="left:720px; top:7px; width:100px; height:19px; ">
  163. <script type="javascript" ev:event="onkeyup">
  164. <![CDATA[
  165. if(event.keyCode == "13") {
  166. inputEnterKey("btn_sea","DOMActivate");
  167. }
  168. ]]>
  169. </script>
  170. </input>
  171. <caption id="caption1" class="search_name" style="left:870px; top:7px; width:86px; height:17px; ">주민번호 :</caption>
  172. <input id="input2" ref="/root/send/juminno" navindex="4" format="999999-9999999" style="left:960px; top:7px; width:125px; height:19px; text-align:center; ">
  173. <script type="javascript" ev:event="xforms-value-changed">
  174. <![CDATA[
  175. if (model.getValue("/root/send/juminno") != ""){
  176. model.setValue("/root/send/gb", "2");
  177. model.refresh();
  178. btn_sea.dispatch("DOMActivate");
  179. }
  180. ]]>
  181. </script>
  182. </input>
  183. <caption id="caption2" style="left:228px; top:9px; width:11px; height:20px; ">~</caption>
  184. <caption id="caption12" class="search_name" style="left:365px; top:7px; width:106px; height:17px; ">검사/치료실 :</caption>
  185. <button id="button61" class="icon_search" navindex="2" style="left:825px; top:7px; width:16px; height:16px; ">
  186. <caption/>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. /* @group : 개인별 예약현황조회
  190. * @ver : 2007.7.25
  191. * @by : 조원영
  192. * @-----------------------------------
  193. * @type : function
  194. * @access : public
  195. * @desc : 등록번호를 통한 환자 이름 조회
  196. */
  197. modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/pid", "/root/send");
  198. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
  199. model.setValue("/root/send/gb", "1");
  200. model.refresh();
  201. btn_sea.dispatch("DOMActivate");
  202. ]]>
  203. </script>
  204. </button>
  205. <caption id="caption3" class="search_name" style="left:9px; top:7px; width:120px; height:17px; ">122222222222 :</caption>
  206. <input id="ipt_endrsrvdd" ref="/root/send/todd" class="input_default" navindex="2" inputtype="date" style="left:241px; top:7px; width:93px; height:19px; text-align:center; "/>
  207. <select1 id="cmb_ddflag" ref="/root/send/ddflag" class="combo_search" appearance="minimal" style="left:30px; top:7px; width:86px; height:19px; ">
  208. <choices>
  209. <item>
  210. <label>처방일자</label>
  211. <value>prcpdd</value>
  212. </item>
  213. <item>
  214. <label>예약일자</label>
  215. <value>rsrvdd</value>
  216. </item>
  217. </choices>
  218. <script type="javascript" ev:event="xforms-value-changed">
  219. <![CDATA[
  220. if( model.getValue("/root/send/ddflag") == "rsrvdd") {
  221. caption4.visible = false;
  222. ipt_pid.visible = false;
  223. button61.visible = false;
  224. input2.visible = false;
  225. caption1.visible = false;
  226. }
  227. else if( model.getValue("/root/send/ddflag") == "prcpdd") {
  228. caption4.visible = true;
  229. ipt_pid.visible = true;
  230. button61.visible = true;
  231. input2.visible = true;
  232. caption1.visible = true;
  233. }
  234. model.refresh();
  235. ]]>
  236. </script>
  237. </select1>
  238. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="inputsearch" style="left:475px; top:7px; width:125px; height:19px; ">
  239. <choices>
  240. <itemset nodeset="/root/init/cmb_info/initexecroom">
  241. <label ref="excuroomcdnm"/>
  242. <value ref="excuroomcdid"/>
  243. </itemset>
  244. </choices>
  245. <script type="javascript" ev:event="xforms-value-changed">
  246. <![CDATA[
  247. btn_sea.dispatch("DOMActivate");
  248. ]]>
  249. </script>
  250. </select1>
  251. <input id="ipt_startrsrvdd" ref="/root/send/fromdd" class="input_default" navindex="2" inputtype="date" style="left:130px; top:7px; width:93px; height:19px; text-align:center; "/>
  252. </group>
  253. <line id="line2" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
  254. <datagrid id="grd_rsrvcnclprescond" nodeset="/root/main/prcsprescondlist/prcsprescond" autoresize="false" caption="등록번호^환자명^처방일자^진료과(진료의)^처방코드^처방명^처방상태^구분^검사실^예약일시^변경일시^실시일시^예약자^사유^치료사^execprcpuniqno" colsep="^" colwidth="84, 70, 76, 152, 89, 194, 61, 37, 106, 114, 114, 114, 64, 288, 70, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:99px; width:1195px; height:661px; text-align:center; ">
  255. <col ref="pid"/>
  256. <col ref="hngnm"/>
  257. <col ref="prcpdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  258. <col ref="prcpdept" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
  259. <col ref="prcpcd" format="yyyy-mm-dd hh:nn" style="text-align:left; "/>
  260. <col ref="prcpnm" style="text-align:left; "/>
  261. <col ref="execprcpstatcd" style="text-align:left; "/>
  262. <col ref="state"/>
  263. <col ref="excuroom" visibility="hidden"/>
  264. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  265. <col ref="updtaft" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  266. <col ref="execdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  267. <col ref="rsrvrid"/>
  268. <col ref="cnclresncd"/>
  269. <col ref="execprcpuniqno" visibility="hidden"/>
  270. <col visibility="hidden"/>
  271. </datagrid>
  272. <caption id="caption9" class="tit_2" style="left:0px; top:79px; width:121px; height:13px; ">예약변경내역현황</caption>
  273. <input id="opt_addr" ref="/root/main/prcsprescondlist/patinfolist/addr" class="output_fix" disabled="true" style="left:612px; top:51px; width:583px; height:19px; "/>
  274. <input id="opt_sex" ref="/root/main/prcsprescondlist/patinfolist/sex" class="output_fix" disabled="true" style="left:208px; top:51px; width:20px; height:19px; text-align:center; "/>
  275. <line id="line12" class="line_1" style="x1:0px; y1:47px; x2:1195px; y2:46px; "/>
  276. <input id="opt_hngnm" ref="/root/main/prcsprescondlist/patinfolist/hngnm" class="output_fix" disabled="true" style="left:52px; top:51px; width:85px; height:19px; "/>
  277. <caption id="caption11" class="cell_1" style="left:231px; top:49px; width:50px; height:23px; vertical-align:middle; ">집전화</caption>
  278. <input id="opt_hometel" ref="/root/main/prcsprescondlist/patinfolist/hometel" class="output_fix" disabled="true" style="left:283px; top:51px; width:95px; height:19px; "/>
  279. <caption id="caption5" class="cell_1" style="left:0px; top:49px; width:50px; height:23px; vertical-align:middle; ">환자명</caption>
  280. <input id="opt_mpphontel" ref="/root/main/prcsprescondlist/patinfolist/mpphontel" class="output_fix" disabled="true" style="left:433px; top:51px; width:124px; height:19px; "/>
  281. <caption id="caption16" class="cell_1" style="left:140px; top:49px; width:43px; height:23px; vertical-align:middle; ">S/A</caption>
  282. <caption id="caption7" class="cell_1" style="left:560px; top:49px; width:50px; height:23px; vertical-align:middle; ">주소</caption>
  283. <input id="opt_age" ref="/root/main/prcsprescondlist/patinfolist/age" class="output_fix" disabled="true" style="left:184px; top:51px; width:25px; height:19px; text-align:center; "/>
  284. <caption id="caption8" class="cell_1" style="left:381px; top:49px; width:50px; height:23px; vertical-align:middle; ">핸드폰</caption>
  285. <line id="line18" class="line_3" style="x1:0px; y1:72px; x2:1195px; y2:72px; "/>
  286. </group>
  287. <line id="line13" class="line_4" style="x1:1102px; y1:28px; x2:1102px; y2:45px; "/>
  288. </xhtml:body>
  289. </xhtml:html>