SMSTP01100_통계확인조회.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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. <gridlist>
  11. <info>
  12. <gridlistinfo>
  13. <pid/>
  14. <orddeptcd/>
  15. <orddrid/>
  16. <specord/>
  17. <fsexam/>
  18. <dracptyn/>
  19. <dracptdt/>
  20. <insukind/>
  21. <suppkind/>
  22. <rsrvflag/>
  23. <etcordflag/>
  24. <medamtestmyn/>
  25. <medamtfreeresn/>
  26. <userflag/>
  27. <iofstrgstrid/>
  28. </gridlistinfo>
  29. </info>
  30. </gridlist>
  31. <indcaseinfo>
  32. <hngnm/>
  33. <vacntno/>
  34. <bankdeposeqno/>
  35. <depobank/>
  36. <deponm/>
  37. <depoamt/>
  38. <depodd/>
  39. <depotm/>
  40. <depoflag/>
  41. <remfact/>
  42. <uncouseyn/>
  43. <lastupdtrid/>
  44. <lastupdtdt/>
  45. </indcaseinfo>
  46. <save_msg>
  47. <msg/>
  48. </save_msg>
  49. </main>
  50. <send>
  51. <send_ref>
  52. <flag>O</flag>
  53. <oflag/>
  54. <fromdd/>
  55. <todd/>
  56. <totalstandard>Y</totalstandard>
  57. <orddeptcd/>
  58. <orddrid/>
  59. </send_ref>
  60. <send_usechange/>
  61. </send>
  62. <hidden>
  63. </hidden>
  64. <init>
  65. <ordeptcd/>
  66. <orddrid/>
  67. </init>
  68. <temp>
  69. </temp>
  70. <init_com>
  71. <init>
  72. <P0022list>
  73. <P0022>
  74. <cdnm>-</cdnm>
  75. <cdid>-</cdid>
  76. </P0022>
  77. </P0022list>
  78. <P0342list>
  79. <P0342>
  80. <cdnm>-</cdnm>
  81. <cdid>-</cdid>
  82. </P0342>
  83. </P0342list>
  84. <P0021list>
  85. <P0021>
  86. <cdnm>-</cdnm>
  87. <cdid>-</cdid>
  88. </P0021>
  89. </P0021list>
  90. <P0341list>
  91. <P0341>
  92. <cdnm>전체</cdnm>
  93. <cdid>AA</cdid>
  94. </P0341>
  95. </P0341list>
  96. <P0439list>
  97. <P0439>
  98. <cdnm/>
  99. <cdid/>
  100. </P0439>
  101. </P0439list>
  102. <P0468list>
  103. <P0468>
  104. <cdnm/>
  105. <cdid/>
  106. </P0468>
  107. </P0468list>
  108. </init>
  109. </init_com>
  110. </root>
  111. </instance>
  112. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  113. <submission id="TXPMC06100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_usechange" replace="instance" resultref="/root/main/save_msg"/>
  114. <submission id="TRSTP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_ref" replace="instance" resultref="/root/main/gridlist"/>
  115. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  116. </model>
  117. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  119. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  121. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  122. <script type="javascript">
  123. <![CDATA[
  124. // 초기화
  125. function fInitialize() {
  126. //조회부초기화
  127. cmb_flag.value = "I";
  128. cmb_oflag.value = "AA";
  129. ipt_fromdd.value = getCurrentDate();
  130. ipt_todd.value= getCurrentDate();
  131. cmb_totalstandard.value = "-";
  132. cmb_orddeptcd.value = "-";
  133. cmb_orddrid.value= "-";
  134. //본문초기화
  135. model.resetInstanceNode("/root/main/gridlist/info/gridlistinfo");
  136. model.refresh();
  137. }
  138. // 조회전 체크 후 서브밋
  139. function fSendChk(){
  140. var flag = cmb_flag.value;
  141. var oflag = cmb_oflag.value;
  142. var fromdd = ipt_fromdd.currentText;
  143. var todd = ipt_todd.currentText;
  144. var totalstandard = cmb_totalstandard.value;
  145. var orddeptcd = cmb_orddeptcd.value;
  146. var orddrid = cmb_orddrid.value;
  147. if(flag == "" && fromdd == "" && totalstandard == "" && orddeptcd == "" && orddrid == ""){
  148. messageBox("조회조건을","C001");
  149. return false;
  150. }else{
  151. submit("TRSTP01101");
  152. }
  153. }
  154. ]]>
  155. </script>
  156. <script type="javascript" ev:event="xforms-ready">
  157. <![CDATA[
  158. /**
  159. * Submit
  160. TRPMOCOM01 : fComCDRef() => 자체공통코드 조회(진료과,진료의사...)_opatmngtweb/js/PMOCOM.js_TRPMOCOM01, TRZBC00101
  161. **/
  162. fComCDRef(); // 이 안에 zbcfGetCodeList( 몇개가 포함되어있다.
  163. fInitialize();
  164. model.refresh();
  165. ]]>
  166. </script>
  167. </xhtml:head>
  168. <xhtml:body guideline="1,1192;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  169. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  170. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">통계확인조회</caption>
  171. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  172. </group>
  173. <group id="group4" scroll="auto" style="left:0px; top:737px; width:1195px; height:35px; ">
  174. <line id="line32" class="line_6" style="x1:1px; y1:35px; x2:1195px; y2:35px; "/>
  175. <button id="btn_save" class="btn4_letter3" style="left:1116px; top:2px; width:68px; height:22px; ">
  176. <caption>초기화</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fInitialize();
  180. ]]>
  181. </script>
  182. </button>
  183. <caption id="caption3" style="left:5px; top:2px; width:435px; height:20px; font-size:8pt; font-weight:bold; ">* 순수외래:외래, 당일외래:응급orDSC, 입원외래:응급orDSC통한입원</caption>
  184. </group>
  185. <group id="group5" style="left:0px; top:55px; width:1195px; height:679px; ">
  186. <datagrid id="grd_gridlist" nodeset="/root/main/gridlist/info/gridlistinfo" class="datagrid2" autoresize="false" caption="환자번호^환자명^구분^진료과^진료의^선택&#xA;진료^초&#xA;재진^의사&#xA;접수여부^의사&#xA;접수시간^보험&#xA;유형^보조&#xA;유형^예약&#xA;구분^기타&#xA;진료구분^진찰료&#xA;산정구분^진찰료&#xA;미산정사유^사용자&#xA;구분^생성자ID" colsep="^" colwidth="100, 80, 74, 160, 112, 36, 75, 62, 153, 79, 65, 70, 67, 86, 166, 77, 80" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sort" extendlastcol="false" mergecellsfixedrows="byrowrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:32px; width:1191px; height:643px; ">
  187. <col ref="pid"/>
  188. <col ref="hngnm"/>
  189. <col disabled="true" ref="ordtypeflag" type="combo">
  190. <choices>
  191. <item>
  192. <label>순수외래</label>
  193. <value>OO</value>
  194. </item>
  195. <item>
  196. <label>입원외래</label>
  197. <value>OI</value>
  198. </item>
  199. <item>
  200. <label>당일외래</label>
  201. <value>OT</value>
  202. </item>
  203. <item>
  204. <label>입원</label>
  205. <value>I</value>
  206. </item>
  207. </choices>
  208. </col>
  209. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  210. <choices>
  211. <itemset nodeset="/root/init/orddeptcd">
  212. <label ref="nm"/>
  213. <value ref="cd"/>
  214. </itemset>
  215. </choices>
  216. </col>
  217. <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
  218. <choices>
  219. <itemset nodeset="/root/init/orddrid">
  220. <label ref="nm"/>
  221. <value ref="cd"/>
  222. </itemset>
  223. </choices>
  224. </col>
  225. <col disabled="true" ref="specordyn" type="combo" style="text-align:center; ">
  226. <choices>
  227. <item>
  228. <label>Y</label>
  229. <value>Y</value>
  230. </item>
  231. <item>
  232. <label>N</label>
  233. <value>N</value>
  234. </item>
  235. </choices>
  236. </col>
  237. <col disabled="true" ref="fsexamflag" type="combo" style="text-align:center; ">
  238. <choices>
  239. <itemset nodeset="/root/init_com/init/P0021list/P0021">
  240. <label ref="cdnm"/>
  241. <value ref="cdid"/>
  242. </itemset>
  243. </choices>
  244. </col>
  245. <col disabled="true" ref="dracptyn" type="combo" style="text-align:center; ">
  246. <choices>
  247. <item>
  248. <label>Y</label>
  249. <value>Y</value>
  250. </item>
  251. <item>
  252. <label>N</label>
  253. <value>N</value>
  254. </item>
  255. </choices>
  256. </col>
  257. <col ref="dracptdt" format="yyyy-mm-dd hh:nn:ss" validateformat="true" style="text-align:center; "/>
  258. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  259. <choices>
  260. <itemset nodeset="/root/init/insukind">
  261. <label ref="nm"/>
  262. <value ref="cd"/>
  263. </itemset>
  264. </choices>
  265. </col>
  266. <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
  267. <choices>
  268. <itemset nodeset="/root/init/suppkind">
  269. <label ref="nm"/>
  270. <value ref="cd"/>
  271. </itemset>
  272. </choices>
  273. </col>
  274. <col disabled="true" ref="rsrvflag" type="combo" style="text-align:center; ">
  275. <choices>
  276. <itemset nodeset="/root/init_com/init/P0341list/P0341">
  277. <label ref="cdnm"/>
  278. <value ref="cdid"/>
  279. </itemset>
  280. </choices>
  281. </col>
  282. <col disabled="true" ref="etcordflag" type="combo" style="text-align:center; ">
  283. <choices>
  284. <itemset nodeset="/root/init_com/init/P0022list/P0022">
  285. <label ref="cdnm"/>
  286. <value ref="cdid"/>
  287. </itemset>
  288. </choices>
  289. </col>
  290. <col disabled="true" ref="medamtestmyn" type="combo" style="text-align:center; ">
  291. <choices>
  292. <item>
  293. <label>Y</label>
  294. <value>Y</value>
  295. </item>
  296. <item>
  297. <label>N</label>
  298. <value>N</value>
  299. </item>
  300. </choices>
  301. </col>
  302. <col disabled="true" ref="medamtfreeresn" type="combo" style="text-align:center; ">
  303. <choices>
  304. <itemset nodeset="/root/init_com/init/P0342list/P0342">
  305. <label ref="cdnm"/>
  306. <value ref="cdid"/>
  307. </itemset>
  308. </choices>
  309. </col>
  310. <col disabled="true" ref="userflag" type="combo" style="text-align:center; ">
  311. <choices>
  312. <item>
  313. <label>기타</label>
  314. <value>M</value>
  315. </item>
  316. <item>
  317. <label>사용자</label>
  318. <value>U</value>
  319. </item>
  320. </choices>
  321. </col>
  322. <col ref="iofstrgstrid" style="text-align:center; "/>
  323. </datagrid>
  324. <caption id="caption46" class="tit_2" style="left:0px; top:12px; width:139px; height:13px; ">가상계좌 리스트</caption>
  325. <line id="line3" class="line_1" style="x1:1px; y1:27px; x2:1191px; y2:27px; "/>
  326. <line id="line10" class="line_2" visibility="hidden" style="x1:1189px; y1:360px; x2:1189px; y2:422px; background-color:#99ccff; "/>
  327. <button id="button12" class="btn2_letter4" style="left:1127px; top:7px; width:64px; height:19px; ">
  328. <caption>엑셀저장</caption>
  329. <script type="javascript" ev:event="DOMActivate">
  330. <![CDATA[
  331. var fileName = window.fileDialog("save", ",", false, "가상계좌리스트" + model.getValue("/root/send/send_ref/fromdd") + "_" + model.getValue("/root/send/send_ref/todd"), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  332. if (fileName != "") {
  333. grd_gridlist.saveExcel(fileName, "sheet");
  334. }
  335. ]]>
  336. </script>
  337. </button>
  338. </group>
  339. <group id="group2" style="left:0px; top:13px; width:1195px; height:40px; ">
  340. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1194px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  341. <button id="btn_ref" class="btn1_letter2" style="left:1125px; top:9px; width:56px; height:22px; ">
  342. <caption>조회</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. fSendChk();
  346. ]]>
  347. </script>
  348. </button>
  349. <line id="line4" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  350. <input id="ipt_fromdd" ref="/root/send/send_ref/fromdd" inputtype="date" maxlength="14" style="left:333px; top:12px; width:85px; height:19px; "/>
  351. <caption id="caption15" class="search_name" style="left:515px; top:12px; width:83px; height:17px; ">기 준</caption>
  352. <caption id="caption5" class="search_name" style="left:251px; top:12px; width:77px; height:17px; ">기준일자</caption>
  353. <input id="ipt_todd" ref="/root/send/send_ref/todd" disabled="true" inputtype="date" maxlength="14" style="left:420px; top:12px; width:85px; height:19px; "/>
  354. <caption id="caption14" class="search_name" style="left:9px; top:12px; width:80px; height:17px; ">구 분</caption>
  355. <select1 id="cmb_orddeptcd" ref="/root/send/send_ref/orddeptcd" appearance="minimal" style="left:746px; top:12px; width:77px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/orddeptcd">
  358. <label ref="nm"/>
  359. <value ref="cd"/>
  360. </itemset>
  361. </choices>
  362. <script type="javascript" ev:event="xforms-value-changed">
  363. <![CDATA[
  364. var sorddeptcd = cmb_orddeptcd.value;
  365. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp = '" + sorddeptcd + "']";
  366. cmb_orddrid.refresh();
  367. ]]>
  368. </script>
  369. </select1>
  370. <select1 id="cmb_flag" ref="/root/send/send_ref/flag" appearance="minimal" style="left:85px; top:12px; width:77px; height:19px; ">
  371. <choices>
  372. <item>
  373. <label>전체</label>
  374. <value>A</value>
  375. </item>
  376. <item>
  377. <label>외래</label>
  378. <value>O</value>
  379. </item>
  380. <item>
  381. <label>입원</label>
  382. <value>I</value>
  383. </item>
  384. </choices>
  385. <script type="javascript" ev:event="xforms-value-changed">
  386. <![CDATA[
  387. if(cmb_flag.value == "O"){
  388. cmb_oflag.disabled = false;
  389. }else{
  390. cmb_oflag.disabled = true;
  391. }
  392. ]]>
  393. </script>
  394. </select1>
  395. <caption id="caption1" class="search_name" style="left:680px; top:12px; width:70px; height:17px; ">
  396. <![CDATA[진료과]]>
  397. <script type="javascript" ev:event="onclick">
  398. <![CDATA[
  399. model.setValue("/root/send/send_ref/orddeptcd","-");
  400. model.refresh();
  401. ]]>
  402. </script>
  403. </caption>
  404. <select1 id="cmb_totalstandard" ref="/root/send/send_ref/totalstandard" appearance="minimal" style="left:595px; top:12px; width:77px; height:19px; ">
  405. <choices>
  406. <item>
  407. <label>집계기준</label>
  408. <value>Y</value>
  409. </item>
  410. <item>
  411. <label>전수기준</label>
  412. <value>N</value>
  413. </item>
  414. </choices>
  415. </select1>
  416. <caption id="caption2" class="search_name" style="left:830px; top:12px; width:68px; height:17px; ">
  417. <![CDATA[진료의]]>
  418. <script type="javascript" ev:event="onclick">
  419. <![CDATA[
  420. model.setValue("/root/send/send_ref/orddrid","-");
  421. model.refresh();
  422. ]]>
  423. </script>
  424. </caption>
  425. <select1 id="cmb_orddrid" ref="/root/send/send_ref/orddrid" appearance="minimal" style="left:894px; top:12px; width:77px; height:19px; ">
  426. <choices>
  427. <itemset nodeset="/root/init/orddrid">
  428. <label ref="nm"/>
  429. <value ref="cd"/>
  430. </itemset>
  431. </choices>
  432. </select1>
  433. <select1 id="cmb_oflag" ref="/root/send/send_ref/oflag" disabled="true" appearance="minimal" style="left:163px; top:12px; width:77px; height:19px; ">
  434. <choices>
  435. <item>
  436. <label>전체</label>
  437. <value>AA</value>
  438. </item>
  439. <item>
  440. <label>순수외래</label>
  441. <value>OO</value>
  442. </item>
  443. <item>
  444. <label>입원외래</label>
  445. <value>OI</value>
  446. </item>
  447. <item>
  448. <label>당일외래</label>
  449. <value>OT</value>
  450. </item>
  451. <item>
  452. <label>부도자(전체)</label>
  453. <value>XA</value>
  454. </item>
  455. <item>
  456. <label>부도자(외래)</label>
  457. <value>XO</value>
  458. </item>
  459. <item>
  460. <label>부도자(예약)</label>
  461. <value>XT</value>
  462. </item>
  463. </choices>
  464. </select1>
  465. </group>
  466. </xhtml:body>
  467. </xhtml:html>