SMAEA00510_CDIS진행현황조회.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  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. <prcpdd/>
  13. <pid/>
  14. <hngnm/>
  15. <age/>
  16. <sex/>
  17. <depthngnm/>
  18. <wardcd/>
  19. <roomcd/>
  20. <prcpnm/>
  21. <prcpcd/>
  22. <execprcpstatcd/>
  23. <rcptyn/>
  24. <payflagcd/>
  25. <acptid/>
  26. <excuroomcd/>
  27. <execrid/>
  28. <prcpdt/>
  29. <acptdt/>
  30. <execdt/>
  31. <suppdeptdelivefact/>
  32. </prcsprescond>
  33. </prcsprescondlist>
  34. <patinfo>
  35. <patinfolist/>
  36. </patinfo>
  37. </main>
  38. <send>
  39. <ddflag/>
  40. <fromdd/>
  41. <todd/>
  42. <suppdeptcd/>
  43. <excuroomcd/>
  44. <orddeptcd/>
  45. <wardcd/>
  46. <pid/>
  47. <patnm/>
  48. <rsrvflag/>
  49. <globalinstance>
  50. <instance1/>
  51. </globalinstance>
  52. <excucd/>
  53. <excucdnm/>
  54. <condflag>2</condflag>
  55. </send>
  56. <init>
  57. <cmb_info>
  58. <suppdeptlist>
  59. <suppdept>
  60. <suppdeptcd/>
  61. <depthngnm/>
  62. </suppdept>
  63. </suppdeptlist>
  64. <orddeptcdlist>
  65. <dept>
  66. <deptcd/>
  67. <depthngnm/>
  68. </dept>
  69. </orddeptcdlist>
  70. <wardcdlist>
  71. <dept>
  72. <deptcd/>
  73. <depthngnm/>
  74. </dept>
  75. </wardcdlist>
  76. <excuroomcdlist>
  77. <excuroom>
  78. <basecd/>
  79. <basecdflagdesc/>
  80. </excuroom>
  81. </excuroomcdlist>
  82. <initexecprcpstatcd/>
  83. <rsrvflaglist/>
  84. </cmb_info>
  85. <popupmenu>
  86. <grid01>
  87. <item>
  88. <name>복사하기</name>
  89. <func>astgrid_liscopy</func>
  90. </item>
  91. </grid01>
  92. </popupmenu>
  93. </init>
  94. <hidden/>
  95. <temp/>
  96. </root>
  97. </instance>
  98. <submission id="TRAEA00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  99. <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  100. <submission id="TRAEA00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcsprescondlist"/>
  101. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  102. <script type="javascript" ev:event="xforms-ready">
  103. <![CDATA[
  104. aezfSetSuppDeptcd();
  105. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  106. //글로벌 변수에서 등록번호 갖고오기
  107. var gv_pid = getGlobalVariable("gv_pid", "A");
  108. if(gv_pid != "") {
  109. model.setValue("/root/send/pid", gv_pid);
  110. //fgetPatInfoList();
  111. }
  112. // model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD"));
  113. model.setValue("/root/send/fromdd", getCurrentDate());
  114. model.setValue("/root/send/todd", getCurrentDate());
  115. cmb_ddflag.select(1);
  116. var instcd = getUserInfo("dutplceinstcd");
  117. var standard_yn = "orduseyn";
  118. var ord_deptflag = "D"; //외래진료실
  119. var rslt_ref = "/root/init/cmb_info/orddeptcdlist";
  120. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
  121. ord_deptflag = "W"; //일반병동
  122. rslt_ref = "/root/init/cmb_info/wardcdlist";
  123. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
  124. zbcfGetCodeList( new Array("M0011","A0075"), new Array("/root/init/cmb_info/initexecprcpstatcd", "/root/init/cmb_info/rsrvflaglist") );
  125. submit("TRZBC00101", false);
  126. submit("TRAEA00503", false);
  127. submit("TRAEA00904", false);
  128. cmb_suppdept.select(3);
  129. model.refresh();
  130. ]]>
  131. </script>
  132. <submission id="TRAEA00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
  133. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  134. <bind id="bind_orddept" ref="/root/main/prcsprescondlist/prcsprescond/orddeptcd" readonly="../orddeptcd!=''"/>
  135. <bind id="bind_ward" ref="/root/main/prcsprescondlist/prcsprescond/wardcd" readonly="../wardcd!=''"/>
  136. <bind id="bind_room" ref="/root/main/prcsprescondlist/prcsprescond/roomcd" readonly="../roomcd!=''"/>
  137. <bind id="bind_execprcpstat" ref="/root/main/prcsprescondlist/prcsprescond/execprcpstatcd" readonly="../execprcpstatcd!=''"/>
  138. <bind id="bind_excuroom" ref="/root/main/prcsprescondlist/prcsprescond/excuroomcd" readonly="../excuroomcd!=''"/>
  139. <submission id="TRAEA00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/suppdeptlist"/>
  140. </model>
  141. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  142. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  143. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  144. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  145. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  146. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  147. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  148. <script type="javascript">
  149. <![CDATA[
  150. /* @group :
  151. * @ver : 2010.02.06
  152. * @by : 김건기
  153. * @-----------------------------------
  154. * @type : function
  155. * @access : public
  156. * @desc : 그리드의 내용을 엑셀로 Copy하기 위한 Function
  157. */
  158. function astgrid_liscopy() {
  159. var cellValue;
  160. var rClipBoardValue = "";
  161. var row = grd_mainordlist.row;
  162. rClipBoardValue = grd_mainordlist.valueMatrix(row, grd_mainordlist.colRef("pid"));
  163. if( rClipBoardValue != "" ) {
  164. window.clipBoardData = rClipBoardValue;
  165. }
  166. }
  167. ]]>
  168. </script>
  169. </xhtml:head>
  170. <xhtml:body guideline="1,1195;2,757;2,784;">
  171. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  172. <group id="group2" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
  173. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  174. <line id="line1" style="x1:1109px; y1:9px; x2:1109px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
  175. <caption id="caption1" class="search_name" style="left:239px; top:10px; width:112px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">지원부서 :</caption>
  176. <caption id="caption2" class="search_name" style="left:469px; top:10px; width:78px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료과 :</caption>
  177. <caption id="caption4" class="search_name" style="left:679px; top:10px; width:117px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">진료구분 :</caption>
  178. <caption id="caption5" class="search_name" style="left:239px; top:32px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사/치료실 :</caption>
  179. <caption id="caption7" class="search_name" style="left:469px; top:32px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사코드 :</caption>
  180. <input id="input1" ref="/root/send/todd" class="input_default" inputtype="date" style="left:130px; top:32px; width:90px; height:19px; "/>
  181. <caption id="caption8" class="search_name" style="left:839px; top:10px; width:97px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
  182. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:20px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  183. <caption>조회</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. submit("TRAEA00504");
  187. ]]>
  188. </script>
  189. </button>
  190. <img id="img1" class="icon_search" style="left:660px; top:35px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; background-stretch:stretch; ">
  191. <script type="javascript" ev:event="onclick">
  192. <![CDATA[
  193. modal("SPAEA02302", "", "200", "200", "SPAEA02302","","");
  194. ]]>
  195. </script>
  196. </img>
  197. <select1 id="cmb_ddflag" ref="/root/send/ddflag" class="combo_search" appearance="minimal" style="left:20px; top:20px; width:100px; height:19px; ">
  198. <choices>
  199. <item>
  200. <label>처방일자</label>
  201. <value>prcpdd</value>
  202. </item>
  203. <item>
  204. <label>접수일자</label>
  205. <value>acptdd</value>
  206. </item>
  207. <item>
  208. <label>실시일자</label>
  209. <value>execdd</value>
  210. </item>
  211. <item>
  212. <label>예약일자</label>
  213. <value>rsrvdd</value>
  214. </item>
  215. </choices>
  216. </select1>
  217. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" inputtype="date" style="left:130px; top:10px; width:90px; height:19px; "/>
  218. <output id="opt_excucd" ref="/root/send/excucd" class="output_search" appearance="output" style="left:560px; top:32px; width:90px; height:19px; "/>
  219. <select1 id="cmb_suppdept" ref="/root/send/suppdeptcd" class="combo_search" appearance="minimal" style="left:330px; top:10px; width:119px; height:19px; ">
  220. <choices>
  221. <itemset nodeset="/root/init/cmb_info/suppdeptlist/suppdept">
  222. <label ref="depthngnm"/>
  223. <value ref="suppdeptcd"/>
  224. </itemset>
  225. </choices>
  226. <script type="javascript" ev:event="xforms-value-changed">
  227. <![CDATA[
  228. model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
  229. submit("TRAEA00503");
  230. // model.refresh();
  231. ]]>
  232. </script>
  233. </select1>
  234. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_search" appearance="minimal" style="left:349px; top:32px; width:100px; height:19px; ">
  235. <choices>
  236. <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
  237. <label ref="basecdflagdesc"/>
  238. <value ref="basecd"/>
  239. </itemset>
  240. </choices>
  241. </select1>
  242. <select1 id="cmb_orddept" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:548px; top:10px; width:127px; height:19px; ">
  243. <choices>
  244. <itemset nodeset="/root/init/cmb_info/orddeptcdlist/dept">
  245. <label ref="depthngnm"/>
  246. <value ref="deptcd"/>
  247. </itemset>
  248. </choices>
  249. </select1>
  250. <select1 id="cmb_rsrvflag" ref="/root/send/rsrvflag" class="combo_search" appearance="minimal" style="left:764px; top:10px; width:65px; height:19px; ">
  251. <choices>
  252. <itemset nodeset="/root/init/cmb_info/rsrvflaglist/A0075">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. </select1>
  258. <select1 id="cmb_ward" ref="/root/send/wardcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:1070px; top:35px; width:18px; height:19px; ">
  259. <choices>
  260. <itemset nodeset="/root/init/cmb_info/wardcdlist/dept">
  261. <label ref="depthngnm"/>
  262. <value ref="deptcd"/>
  263. </itemset>
  264. </choices>
  265. </select1>
  266. <input id="ipt_pid" ref="/root/send/pid" class="input_search" style="left:928px; top:10px; width:67px; height:19px; ">
  267. <script type="javascript" ev:event="onkeydown">
  268. <![CDATA[
  269. inputEnterKey("btn_sea","DOMActivate");
  270. ]]>
  271. </script>
  272. </input>
  273. <input id="ipt_patnm" ref="/root/send/patnm" class="input_search" style="left:1000px; top:10px; width:95px; height:19px; ">
  274. <script type="javascript" ev:event="onkeydown">
  275. <![CDATA[
  276. inputEnterKey("btn_sea","DOMActivate");
  277. ]]>
  278. </script>
  279. </input>
  280. <button id="btn_pidsearch" class="icon_search" navindex="4" style="left:1102px; top:11px; width:16px; height:16px; ">
  281. <caption/>
  282. <script type="javascript" ev:event="DOMActivate">
  283. <![CDATA[
  284. /* @group : 개인별 예약현황조회
  285. * @ver : 2007.7.25
  286. * @by : 조원영
  287. * @-----------------------------------
  288. * @type : function
  289. * @access : public
  290. * @desc : 등록번호를 통한 환자 이름 조회
  291. */
  292. model.makeNode("/root/main/patinfo/patinfolist");
  293. modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/srchpid", "/root/send");
  294. model.setValue( "/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
  295. model.setValue( "/root/send/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") ); // 환자 이름
  296. model.refresh();
  297. ]]>
  298. </script>
  299. </button>
  300. <select1 id="combo1" ref="/root/send/condflag" class="combo_search" appearance="minimal" style="left:765px; top:35px; width:140px; height:19px; ">
  301. <choices>
  302. <item>
  303. <label>장비미연동</label>
  304. <value>1</value>
  305. </item>
  306. <item>
  307. <label>장비연동완료</label>
  308. <value>2</value>
  309. </item>
  310. <item>
  311. <label>연동후기록전송중</label>
  312. <value>3</value>
  313. </item>
  314. <item>
  315. <label>연동후기록전송완료</label>
  316. <value>4</value>
  317. </item>
  318. </choices>
  319. </select1>
  320. <caption id="caption3" class="search_name" style="left:680px; top:35px; width:92px; height:17px; text-align:left; background-image:../../../com/commonweb/images/search_bullet1.gif; ">상태구분 :</caption>
  321. </group>
  322. <caption id="caption10" class="tit_2" style="left:5px; top:80px; width:134px; height:15px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사연동진행현황</caption>
  323. <line id="line3" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  324. <datagrid id="grd_mainordlist" nodeset="/root/main/prcsprescondlist/prcsprescond" caption="처방일자^등록번호^환자명^나이^성별^처방과^병동^병실^처방명^처방코드^처방상태^수납^처방급여구분^접수자^검사/치료실^실시자^처방일시^예약일시^접수일시^실시일시^ Comment" colsep="^" colwidth="70, 65, 65, 0, 0, 65, 55, 0, 180, 70, 70, 0, 0, 63, 76, 63, 0, 0, 100, 100, 200" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:100px; width:1194px; height:641px; ">
  325. <col ref="prcpdd" format="yyyy-mm-dd"/>
  326. <col ref="pid"/>
  327. <col ref="hngnm"/>
  328. <col ref="age"/>
  329. <col ref="sex"/>
  330. <col ref="orddeptcd" type="combo">
  331. <choices>
  332. <itemset nodeset="/root/init/cmb_info/orddeptcdlist/dept">
  333. <label ref="depthngnm"/>
  334. <value ref="deptcd"/>
  335. </itemset>
  336. </choices>
  337. </col>
  338. <col ref="wardcd" type="combo">
  339. <choices>
  340. <itemset nodeset="/root/init/cmb_info/wardcdlist/dept">
  341. <label ref="depthngnm"/>
  342. <value ref="deptcd"/>
  343. </itemset>
  344. </choices>
  345. </col>
  346. <col ref="roomcd"/>
  347. <col ref="prcpnm"/>
  348. <col ref="prcpcd"/>
  349. <col ref="execprcpstatcd" type="combo">
  350. <choices>
  351. <itemset nodeset="/root/init/cmb_info/initexecprcpstatcd/M0011">
  352. <label ref="cdnm"/>
  353. <value ref="cdid"/>
  354. </itemset>
  355. </choices>
  356. </col>
  357. <col ref="rcptyn"/>
  358. <col ref="payflagcd"/>
  359. <col ref="acptid"/>
  360. <col ref="excuroomcd" type="combo">
  361. <choices>
  362. <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
  363. <label ref="basecdflagdesc"/>
  364. <value ref="basecd"/>
  365. </itemset>
  366. </choices>
  367. </col>
  368. <col ref="execrid"/>
  369. <col ref="prcpdt" format="yyyy-mm-dd hh:nn"/>
  370. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
  371. <col ref="acptdt" format="yyyy-mm-dd hh:nn"/>
  372. <col ref="execdt" format="yyyy-mm-dd hh:nn"/>
  373. <col ref="suppdeptdelivefact" type="input"/>
  374. <script type="javascript" ev:event="onaftersort">
  375. <![CDATA[
  376. grd_mainordlist.gridToInstance();
  377. ]]>
  378. </script>
  379. <script type="javascript" ev:event="oncopy">
  380. <![CDATA[
  381. astgrid_liscopy();
  382. ]]>
  383. </script>
  384. <script type="javascript" ev:event="onmousedown">
  385. <![CDATA[
  386. if (event.button == 3) { // 3 : 오른쪽 버튼
  387. if (grd_mainordlist.isCell(event.target) && grd_mainordlist.mouseRow >= grd_mainordlist.fixedrows) {
  388. setPopupMenu("grd_mainordlist", false, "/root/init/popupmenu/grid01/item", "name", "func");
  389. }
  390. }
  391. ]]>
  392. </script>
  393. <script type="javascript" ev:event="DOMFocusOut">
  394. <![CDATA[
  395. initPopupMenu();
  396. ]]>
  397. </script>
  398. </datagrid>
  399. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1126px; top:75px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  400. <caption>엑셀저장</caption>
  401. <script type="javascript" ev:event="DOMActivate">
  402. <![CDATA[
  403. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  404. if(file == "") return;
  405. grd_mainordlist.saveExcel(file, "sheet1");
  406. ]]>
  407. </script>
  408. </button>
  409. </group>
  410. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  411. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:170px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">검사연동 진행현황 조회</caption>
  412. </group>
  413. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  414. <button id="button1" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:0px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  415. <caption>출력</caption>
  416. </button>
  417. <button id="btn_reset" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1125px; top:5px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  418. <caption>초기화</caption>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. cmb_excuroom.deselect(0);
  422. cmb_orddept.deselect(0);
  423. cmb_ward.deselect(0);
  424. cmb_rsrvflag.deselect(0);
  425. ipt_pid.value = "";
  426. ipt_patnm.value = "";
  427. ]]>
  428. </script>
  429. </button>
  430. </group>
  431. </xhtml:body>
  432. </xhtml:html>