SMPIS00400_상병별청구환자조회.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPIS00400_상병별청구환자조회.xrw
  4. * 수정이력
  5. * - 2008.09.25 / 최초작성 / 강종태
  6. ************************************************
  7. * [ Maps ]
  8. * TRZBC00102 : 공통코드
  9. * TRPID20309 : 진료과, 주치의
  10. * TRPID20407 : 청구차수
  11. -->
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>상병별 청구환자 조회</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <!-- SPPMC02500_환자조회 화면에서 선택된 검색결과를 받는 경로임 -->
  21. <patinfo>
  22. <patinfolist/>
  23. </patinfo>
  24. <popupendflag/>
  25. <grdlist>
  26. <diagclamlist>
  27. <clamym/>
  28. <clamflagcd/>
  29. <clamdg/>
  30. <ioflag/>
  31. <ordfildcd/>
  32. <docuseqno/>
  33. <pid/>
  34. <patnm/>
  35. <patrrgstno/>
  36. <orddeptcd/>
  37. <orddrnm/>
  38. <diagseq/>
  39. <diagcd/>
  40. <diagnm/>
  41. <judgrid/>
  42. <indd/>
  43. <fromdd/>
  44. <todd/>
  45. <insukind/>
  46. <suppkind/>
  47. <edimedcaretotamt/>
  48. <acptno/>
  49. </diagclamlist>
  50. </grdlist>
  51. </main>
  52. <init>
  53. <!-- 진료과 -->
  54. <orddeptcdlist>
  55. <cd/>
  56. <nm/>
  57. </orddeptcdlist>
  58. <!-- 보험유형 -->
  59. <P0008list>
  60. <P0008>
  61. <cdnm/>
  62. <cdid/>
  63. </P0008>
  64. </P0008list>
  65. <!-- 진료분야 -->
  66. <P0291list>
  67. <P0291>
  68. <cdnm/>
  69. <cdid/>
  70. </P0291>
  71. </P0291list>
  72. <!-- 청구구분 -->
  73. <P0155list>
  74. <P0155>
  75. <cdnm/>
  76. <cdid/>
  77. <cdengabbrnm/>
  78. </P0155>
  79. </P0155list>
  80. </init>
  81. <hidden>
  82. <sppiz00400>
  83. <cond>
  84. <!-- 상병코드 Grid '상병코드' 컬럼 에서 SPPIZ00400_상병코드조회 에 전달하기 위한 조건 값 -->
  85. <basedd/>
  86. <diagcd/>
  87. <diagnm/>
  88. <selectedrdodiagkind/>
  89. </cond>
  90. <rslt>
  91. <diagcd/>
  92. <diaghngnm/>
  93. <diagengnm/>
  94. </rslt>
  95. </sppiz00400>
  96. <!-- 환자조회 팝업용도-->
  97. <sppmc02500>
  98. <cond>
  99. <srchcond/>
  100. <pid/>
  101. <hngnm/>
  102. </cond>
  103. </sppmc02500>
  104. </hidden>
  105. <send>
  106. <item1>
  107. <clamymfrom/>
  108. <clamymto/>
  109. <insukind/>
  110. <ioflag/>
  111. <diagcd/>
  112. <diagcond/>
  113. <diagcdfr/>
  114. <diagcdto/>
  115. <ordfildcd/>
  116. <orddeptcd/>
  117. <pid/>
  118. </item1>
  119. </send>
  120. </root>
  121. </instance>
  122. <script type="javascript" ev:event="xforms-ready">
  123. <![CDATA[
  124. // 화면 초기화
  125. fInitialize();
  126. ]]>
  127. </script>
  128. <!-- submission -->
  129. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  130. <submission id="TRPIS00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main"/>
  131. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
  132. </model>
  133. <!-- js import -->
  134. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  135. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  136. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  137. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  139. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  141. <!-- 뽕숑 -->
  142. <script type="javascript">
  143. <![CDATA[
  144. // 화면 초기화
  145. function fInitialize()
  146. {
  147. rdo_diagcd.value = "M";
  148. model.removeNodeset("/root/main/grdlist/diagclamlist"); // 그리드 초기화
  149. zbcfGetCodeList(
  150. new Array("P0008" // 보험유형
  151. ,"P0291" // 진료분야
  152. ,"P0155" // 청구구분
  153. ),
  154. new Array("/root/init/P0008list"
  155. ,"/root/init/P0291list"
  156. ,"/root/init/P0155list"
  157. )
  158. ,false
  159. );
  160. cmb_insukind.refresh();
  161. cmb_ordfild.refresh();
  162. // 초기화 할 때 PID가 존재하면 조회를 실행 한다 (팝업으로 호출된 경우 PID를 가지고 있다)
  163. if ( model.getValue("/root/send/item1/pid") != "" )
  164. {
  165. fSearch();
  166. // model.setValue("/root/send/item1/pid",""); // 최초 실행 후 PID 제거
  167. }
  168. else
  169. {
  170. rdo_ioflag.value = "I"; // 내원유형:입원
  171. // 청구년월 셋팅 시작
  172. var today = new Date();
  173. var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  174. var basemonth = today.getDateFormat("MM");
  175. var currentym = baseyear + basemonth;
  176. model.setValue("/root/send/item1/clamymfrom",currentym);
  177. model.setValue("/root/send/item1/clamymto",currentym);
  178. ipt_clamymfrom.refresh();
  179. ipt_clamymto.refresh();
  180. // 청구년월 셋팅 끝
  181. }
  182. fGetOrdDept(); // 진료과 콤보 리스트
  183. }
  184. // 진료과 리스트 가져오기
  185. function fGetOrdDept()
  186. {
  187. submit("TRPID20309");
  188. }
  189. // 상병조건(팝업에서 호출함)
  190. function fSetDiagCdNm() {
  191. var diagcd = model.getValue("/root/hidden/sppiz00400/rslt/diagcd");
  192. if (diagcd) {
  193. model.setValue("/root/send/item1/diagcdfr", diagcd);
  194. model.setValue("/root/send/item1/diagcdto", diagcd);
  195. model.refreshpart("/root/send/item1/diagcdfr");
  196. model.refreshpart("/root/send/item1/diagcdto");
  197. }
  198. }
  199. // 환자단위 조회
  200. function fPatSrch()
  201. {
  202. var ipt_pid = model.getValue("/root/send/item1/pid");
  203. if (ipt_pid) {
  204. if ( !isNaN(ipt_pid) )
  205. {
  206. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  207. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  208. }
  209. else
  210. {
  211. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  212. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  213. }
  214. } else {
  215. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  216. }
  217. // pam/commonweb/xrw/SPPMC02500_환자조회.xrw
  218. modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
  219. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  220. if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
  221. model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
  222. model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
  223. model.setValue("/root/send/item1/pid", srch_pid);
  224. }
  225. model.refresh();
  226. }
  227. // 조회
  228. function fSearch()
  229. {
  230. var chk_clamymfrom = model.getValue("/root/send/item1/clamymfrom");
  231. var chk_clamymto = model.getValue("/root/send/item1/clamymto");
  232. var chk_ioflag = model.getValue("/root/send/item1/ioflag");
  233. var chk_ordfild = model.getValue("/root/send/item1/ordfildcd");
  234. var chk_diagcdfr = model.getValue("/root/send/item1/diagcdfr");
  235. var chk_diagcdto = model.getValue("/root/send/item1/diagcdto");
  236. var chk_pid = model.getValue("/root/send/item1/pid");
  237. if ( chk_clamymfrom == "" | chk_clamymfrom == "")
  238. {
  239. messageBox("청구년월은 ", "I003");
  240. model.setFocus("ipt_clamymfrom");
  241. return;
  242. }
  243. else if ( chk_ioflag == "O" && chk_ordfild == "" )
  244. {
  245. // 외래는 진료분야를 필수조건으로 정한다
  246. messageBox("진료분야는 ","I003");
  247. cmb_ordfild.select(1);
  248. model.setFocus("cmb_ordfild");
  249. return;
  250. }
  251. // PID값이 있다면(팝업호출 됐을 경우) 상병조건이 없어도 조회가 되게 한다
  252. if ( chk_pid == "" && (chk_diagcdfr == "" | chk_diagcdto == "") )
  253. {
  254. messageBox("상병조건은 ", "I003");
  255. model.setFocus("ipt_diagfr");
  256. return;
  257. }
  258. submit("TRPIS00400");
  259. }
  260. ]]>
  261. </script>
  262. </xhtml:head>
  263. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1213;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  264. <!-- TITLE -->
  265. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  266. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">상병별 청구환자 조회</caption>
  267. </group>
  268. <!-- 전체 그룹 -->
  269. <group id="group2" scroll="no" style="left:0px; top:13px; width:1190px; height:732px; ">
  270. <!-- 조회조건 -->
  271. <group id="group4" style="left:0px; top:10px; width:1190px; height:60px; vertical-align:top; ">
  272. <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:60px; "/>
  273. <caption id="caption5" class="search_name" style="left:10px; top:10px; width:76px; height:17px; ">청구년월</caption>
  274. <input id="ipt_clamymfrom" ref="/root/send/item1/clamymfrom" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:98px; top:10px; width:80px; height:19px; ">
  275. <script type="javascript" ev:event="xforms-value-changed">
  276. <![CDATA[
  277. // 시작일,종료일 초과여부
  278. if ( ipt_clamymfrom.value > ipt_clamymto.value )
  279. {
  280. messageBox("시작일이 종료일을 ","E003");
  281. ipt_clamymto.value = ipt_clamymfrom.value;
  282. ipt_clamymto.refresh();
  283. }
  284. // 조회기간 3개월 초과 여부 체크
  285. var tmp_from = ipt_clamymfrom.value + "01";
  286. tmp_from = tmp_from.toDate("YYYYMMDD");
  287. tmp_from = tmp_from.getAddDate(3,"M");
  288. tmp_from = tmp_from.getDateFormat("YYYYMM");
  289. if ( tmp_from < ipt_clamymto.value )
  290. {
  291. messageBox("조회기간이 3개월을 ","E003"); // 초과하였습니다.
  292. ipt_clamymto.value = tmp_from;
  293. ipt_clamymto.refresh();
  294. model.setFocus("ipt_clamymfrom");
  295. }
  296. ]]>
  297. </script>
  298. </input>
  299. <caption id="caption27" style="left:183px; top:12px; width:15px; height:20px; ">~</caption>
  300. <input id="ipt_clamymto" ref="/root/send/item1/clamymto" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:200px; top:10px; width:80px; height:19px; ">
  301. <script type="javascript" ev:event="xforms-value-changed">
  302. <![CDATA[
  303. // 시작일,종료일 초과여부
  304. if ( ipt_clamymfrom.value > ipt_clamymto.value )
  305. {
  306. messageBox("시작일이 종료일을 ","E003");
  307. ipt_clamymfrom.value = ipt_clamymto.value;
  308. ipt_clamymfrom.refresh();
  309. }
  310. // 조회기간 3개월 초과 여부 체크
  311. var tmp_to = ipt_clamymto.value + "01";
  312. tmp_to = tmp_to.toDate("YYYYMMDD");
  313. tmp_to = tmp_to.getAddDate(-3,"M");
  314. tmp_to = tmp_to.getDateFormat("YYYYMM");
  315. if ( tmp_to > ipt_clamymfrom.value )
  316. {
  317. messageBox("조회기간이 3개월을 ","E003"); // 초과하였습니다.
  318. ipt_clamymfrom.value = tmp_to;
  319. ipt_clamymfrom.refresh();
  320. model.setFocus("ipt_clamymto");
  321. }
  322. ]]>
  323. </script>
  324. </input>
  325. <caption id="caption6" class="search_name" style="left:442px; top:35px; width:76px; height:17px; ">진료분야</caption>
  326. <select1 id="cmb_ordfild" ref="/root/send/item1/ordfildcd" class="combo_search" appearance="minimal" style="left:530px; top:35px; width:100px; height:19px; ">
  327. <choices>
  328. <itemset nodeset="/root/init/P0291list/P0291">
  329. <label ref="cdnm"/>
  330. <value ref="cdid"/>
  331. </itemset>
  332. </choices>
  333. </select1>
  334. <line id="line2" class="line_4" style="x1:1119px; y1:5px; x2:1119px; y2:54px; "/>
  335. <button id="button1" class="btn1_letter2" navindex="2" style="left:1130px; top:20px; width:56px; height:22px; ">
  336. <caption>조회</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. fSearch();
  340. ]]>
  341. </script>
  342. </button>
  343. <caption id="caption9" class="search_name" style="left:442px; top:10px; width:76px; height:17px; ">내원유형</caption>
  344. <select1 id="rdo_ioflag" ref="/root/send/item1/ioflag" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:530px; top:10px; width:95px; height:20px; border-style:none; ">
  345. <choices>
  346. <item>
  347. <label>입원</label>
  348. <value>I</value>
  349. </item>
  350. <item>
  351. <label>외래</label>
  352. <value>O</value>
  353. </item>
  354. </choices>
  355. <script type="javascript" ev:event="xforms-value-changed">
  356. <![CDATA[
  357. fGetOrdDept(); // 진료과 콤보 리스트
  358. if ( rdo_ioflag.value == "O" )
  359. {
  360. cmb_ordfild.select(1);
  361. }
  362. ]]>
  363. </script>
  364. </select1>
  365. <caption id="caption13" class="search_name" style="left:675px; top:10px; width:76px; height:17px; ">보험유형</caption>
  366. <output id="opt_insukind" ref="/root/send/item1/insukind" class="output_search" style="left:865px; top:10px; width:20px; height:19px; "/>
  367. <select1 id="cmb_insukind" ref="/root/send/item1/insukind" class="combo_search" appearance="minimal" style="left:760px; top:10px; width:100px; height:19px; ">
  368. <choices>
  369. <itemset nodeset="/root/init/P0008list/P0008">
  370. <label ref="cdnm"/>
  371. <value ref="cdid"/>
  372. </itemset>
  373. </choices>
  374. </select1>
  375. <select1 id="combo1" ref="/root/send/item1/orddeptcd" class="combo_search" appearance="minimal" style="left:760px; top:35px; width:100px; height:19px; ">
  376. <choices>
  377. <itemset nodeset="/root/init/tmp/orddeptcd/orddeptcdlist">
  378. <label ref="nm"/>
  379. <value ref="cd"/>
  380. </itemset>
  381. </choices>
  382. </select1>
  383. <caption id="caption2" class="search_name" style="left:675px; top:35px; width:65px; height:17px; ">진료과</caption>
  384. <caption id="caption3" class="search_name" style="left:10px; top:35px; width:76px; height:17px; ">상병조건</caption>
  385. <select1 id="rdo_diagcd" ref="/root/send/item1/diagcond" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:98px; top:35px; width:150px; height:20px; border-style:none; ">
  386. <choices>
  387. <item>
  388. <label>주상병만</label>
  389. <value>M</value>
  390. </item>
  391. <item>
  392. <label>부상병포함</label>
  393. <value>S</value>
  394. </item>
  395. </choices>
  396. </select1>
  397. <input id="ipt_diagfr" ref="/root/send/item1/diagcdfr" class="input_search" navindex="12" imemode="alpha" inputtype="button" _chartype="upper" style="left:255px; top:35px; width:68px; height:19px; ">
  398. <script type="javascript" ev:event="onbuttonclick">
  399. <![CDATA[
  400. model.removeNodeset("/root/hidden/sppiz00400/rslt");
  401. model.makeNode("/root/hidden/sppiz00400/rslt/diagcd");
  402. model.makeNode("/root/hidden/sppiz00400/rslt/diaghngnm");
  403. model.makeNode("/root/hidden/sppiz00400/rslt/diagengnm");
  404. model.resetInstanceNode("/root/hidden/sppiz00400/cond");
  405. model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
  406. model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/send/diagcd"));
  407. model.setValue("/root/hidden/sppiz00400/cond/diagnm", "");
  408. model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind","3"); // 사용자가 직접검색하여 입력 할수 있도록 임의의 값(3)을 넣어줌
  409. modal("SPPIZ00400", "1", "10", "10", "SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", ""); // SPPIZ00400_상병코드조회.xrw
  410. /*
  411. var clamkey = model.getValue("/root/main/item1/clbs/clamkey");
  412. if (clamkey) { // 조회된 심사대상자가 있음
  413. fSortDiagNo(true);
  414. } */
  415. ]]>
  416. </script>
  417. <script type="javascript" ev:event="xforms-value-changed">
  418. <![CDATA[
  419. model.setValue("/root/send/item1/diagcdto", model.getValue("/root/send/item1/diagcdfr"));
  420. model.refresh();
  421. ]]>
  422. </script>
  423. <script type="javascript" ev:event="onkeypress">
  424. <![CDATA[
  425. if (event.keyCode == "13") { // Enter 입력 시에
  426. setInputNodeCurText(); // 현재 입력값 노드에 반영
  427. model.setValue("/root/send/item1/diagcdto",ipt_diagfr.value);
  428. ipt_diagto.refresh();
  429. }
  430. ]]>
  431. </script>
  432. </input>
  433. <caption id="caption4" style="left:325px; top:35px; width:15px; height:20px; ">~</caption>
  434. <input id="ipt_diagto" ref="/root/send/item1/diagcdto" class="input_search" navindex="4" imemode="alpha" _chartype="upper" style="left:340px; top:35px; width:68px; height:19px; "/>
  435. <input id="ipt_patunitsrch" ref="/root/send/item1/pid" class="input_search" navindex="3" inputtype="button" maxlength="10" style="left:1010px; top:10px; width:90px; height:19px; ">
  436. <hint>
  437. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  438. </hint>
  439. <script type="javascript" ev:event="onkeypress">
  440. <![CDATA[
  441. if (event.keyCode == "13") { // Enter 입력 시에
  442. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  443. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  444. if( isNaN(model.getValue("/root/send/item1/pid")) ) // PID로 검색시 조회
  445. {
  446. fPatSrch();
  447. }
  448. else
  449. {
  450. fSearch();
  451. }
  452. }
  453. }
  454. ]]>
  455. </script>
  456. <script type="javascript" ev:event="onbuttonclick">
  457. <![CDATA[
  458. fPatSrch();
  459. ]]>
  460. </script>
  461. </input>
  462. <caption id="cp_patnm" class="search_name" style="left:928px; top:10px; width:76px; height:17px; ">환자조회</caption>
  463. </group>
  464. <caption id="caption12" class="tit_2" style="left:0px; top:80px; width:100px; height:13px; ">환자 리스트</caption>
  465. <button id="button2" class="btn2_letter4" style="left:1120px; top:74px; width:64px; height:19px; ">
  466. <caption>엑셀저장</caption>
  467. <script type="javascript" ev:event="DOMActivate">
  468. <![CDATA[
  469. if (grd_outjudg.rows > 1) {
  470. var fileName = window.fileDialog("save", "", false, "상병별 청구환자 조회_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  471. if (fileName != "") {
  472. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  473. // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
  474. grd_outjudg.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  475. }
  476. } else {
  477. messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
  478. }
  479. ]]>
  480. </script>
  481. </button>
  482. <datagrid id="grd_outjudg" nodeset="/root/main/grdlist/diagclamlist" class="datagrid2" caption="청구년월^차수^청구구분^내원유형^분야^명일련^등록번호^수신자^주민번호^진료과^진료의^주부구분^상병^명칭^심사자^입원일자^유형시작^유형종료^보험^보조^총진료비^접수번호" colsep="^" colwidth="64, 37, 37, 37, 42, 51, 76, 60, 100, 57, 60, 34, 49, 236, 60, 75, 75, 83, 25, 25, 70, 72" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:95px; width:1190px; height:630px; ">
  483. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  484. <col ref="clamdg" style="text-align:center; "/>
  485. <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
  486. <choices>
  487. <itemset nodeset="/root/init/P0155list/P0155">
  488. <label ref="cdengabbrnm"/>
  489. <value ref="cdid"/>
  490. </itemset>
  491. </choices>
  492. </col>
  493. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  494. <choices>
  495. <item>
  496. <label>입원</label>
  497. <value>I</value>
  498. </item>
  499. <item>
  500. <label>외래</label>
  501. <value>O</value>
  502. </item>
  503. </choices>
  504. </col>
  505. <col disabled="true" ref="ordfildcd" type="combo" style="text-align:center; ">
  506. <choices>
  507. <itemset nodeset="/root/init/P0291list/P0291">
  508. <label ref="cdnm"/>
  509. <value ref="cdid"/>
  510. </itemset>
  511. </choices>
  512. </col>
  513. <col ref="docuseqno" style="text-align:right; "/>
  514. <col ref="pid" style="text-align:center; "/>
  515. <col ref="patnm" style="text-align:center; "/>
  516. <col ref="patrrgstno" format="999999-9999999" style="text-align:center; "/>
  517. <col ref="orddeptcd" style="text-align:center; "/>
  518. <col ref="orddrnm" style="text-align:center; "/>
  519. <col ref="diagseq" style="text-align:center; "/>
  520. <col ref="diagcd"/>
  521. <col ref="diagnm"/>
  522. <col ref="judgrid" style="text-align:center; "/>
  523. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  524. <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  525. <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
  526. <col ref="insukind"/>
  527. <col ref="suppkind" style="text-align:center; "/>
  528. <col ref="edimedcaretotamt" format="#,###" style="text-align:right; "/>
  529. <col ref="acptno" style="text-align:center; "/>
  530. </datagrid>
  531. </group>
  532. </xhtml:body>
  533. </xhtml:html>