SMAES06700_영상의학판독의별판독통계.xrw 18 KB

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