SPPID25000_사후심사제출자료목록대상조회.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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. <list1>
  11. <submitlist/>
  12. </list1>
  13. <patinfo>
  14. <patinfolist/>
  15. </patinfo>
  16. </main>
  17. <send>
  18. <item1>
  19. <clamym/>
  20. <clamdg/>
  21. <insukindcd/>
  22. <ordfildcd/>
  23. <judgrid/>
  24. <patunitsrch1/>
  25. <patmode/>
  26. <orddeptcd/>
  27. <docuseqno1/>
  28. <docuseqno2/>
  29. <clamno/>
  30. <spclspec/>
  31. <ioflag/>
  32. </item1>
  33. </send>
  34. <init>
  35. <P0008list>
  36. <P0008>
  37. <cdnm/>
  38. <cdid/>
  39. <cdnm>보험+급여</cdnm>
  40. <cdid>1</cdid>
  41. <cdnm>급여전체</cdnm>
  42. <cdid>2</cdid>
  43. </P0008>
  44. </P0008list>
  45. <P0291list>
  46. <P0291>
  47. <cdnm/>
  48. <cdid/>
  49. </P0291>
  50. </P0291list>
  51. <P0320list>
  52. <P0320>
  53. <cdnm/>
  54. <cdid/>
  55. </P0320>
  56. </P0320list>
  57. <P0080list>
  58. <P0080>
  59. <cdnm/>
  60. <cdid/>
  61. </P0080>
  62. </P0080list>
  63. <C0048list>
  64. <C0048/>
  65. </C0048list>
  66. </init>
  67. <hidden>
  68. <item_all>
  69. <clamym/>
  70. <iofalg/>
  71. </item_all>
  72. <sppmc02500>
  73. <cond>
  74. <srchcond/>
  75. <pid/>
  76. <hngnm/>
  77. <rrgstno1/>
  78. <rrgstno2/>
  79. </cond>
  80. </sppmc02500>
  81. </hidden>
  82. <temp>
  83. <submitlist/>
  84. </temp>
  85. </root>
  86. </instance>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. // 공통코드를 조회한다.
  90. // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
  91. zbcfGetCodeList(
  92. new Array("P0008" // 보험유형
  93. ,"P0291" // 청구분야(진료분야)
  94. ,"P0320" // 제출자료내역
  95. //,"P0080" //내원구분
  96. ,"C0048" //기관코드
  97. ),
  98. new Array("/root/init/P0008list"
  99. ,"/root/init/P0291list"
  100. ,"/root/init/P0320list"
  101. //,"/root/init/P0080list"
  102. ,"/root/init/C0048list"
  103. ),
  104. false );
  105. fGetUserInfosSampling(); //세션/root/hidden/session
  106. INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
  107. // Global 변수 선언
  108. var gToday = new Date();
  109. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  110. var gBasemonth = gToday.getDateFormat("MM");
  111. var gBaseday = gToday.getDateFormat("DD");
  112. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  113. var gCurrentym = gBaseyear + gBasemonth;
  114. // 2008.06.04. smartselly
  115. // 화면기초combo(TRPID20401) + 심사차수(TRPID20405) + 심사자 default(TRPID20404) + 진료과,진료의(TRPID20309) 한번 submit 으로 통합
  116. var lv_date = gCurrentym.toDate("YYYYMM" + "01");
  117. lv_date = lv_date.getAddDate(-1, "M")
  118. gCurrentym = lv_date.getDateFormat("YYYYMM")
  119. // model.setValue("/root/hidden/item_all/clamym",gCurrentym);
  120. model.setValue("/root/send/item1/clamym",gCurrentym);
  121. model.setValue("/root/send/item1/ioflag", "O");
  122. pidfGetClamdg();
  123. submit("TRPID20201");
  124. model.removeNodeset("root/init/judgrid");
  125. //model.removeNodeset("root/init/orddrid");
  126. model.removeNodeset("root/init/orddeptcd");
  127. model.makeNode("/root/init/judgrid");
  128. //model.makeNode("/root/init/orddrid");
  129. model.makeNode("/root/init/orddeptcd");
  130. model.copyNode("/root/init/judgrid", "/root/init/tmp/judgrid");
  131. //model.copyNode("/root/init/orddrid", "/root/init/tmp/orddrid");
  132. model.copyNode("/root/init/orddeptcd", "/root/init/tmp/orddeptcd");
  133. // 제출자료내역 99[기타] 추가
  134. model.makeValue("/root/hidden/P0320list/P0320/cdnm","99[free text]");
  135. model.makeValue("/root/hidden/P0320list/P0320/cdid","99");
  136. copyNodeType("/root/init/P0320list","/root/hidden/P0320list","after");
  137. // 필요없는 인스턴스 / 임시추가 인스턴스 지우기
  138. model.removenode("root/init/tmp/judgrid");
  139. model.removenode("root/init/tmp/orddrid");
  140. model.removenode("root/init/tmp/orddeptcd");
  141. // 필요없는 인스턴스 / 임시추가 인스턴스 지우기
  142. model.removenode("/root/init/tmp/suppkind");
  143. model.removenode("/root/init/tmp/orddrid2");
  144. model.removenode("/root/init/tmp/clamdept");
  145. model.removenode("/root/init/tmp/orddeptcd2");
  146. model.removenode("/root/init/tmp/aftjudgerr");
  147. model.removenode("/root/init/tmp/clamdg");
  148. model.removenode("/root/hidden/P0320list");
  149. //fInitialize();
  150. model.refresh();
  151. ]]>
  152. </script>
  153. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  154. <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item_all" replace="instance" resultref="/root/init/tmp"/>
  155. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/item1" resultref="/root/init/clamdg"/>
  156. <submission id="TRPID25001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main/list1/submitlist"/>
  157. </model>
  158. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  159. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  160. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  161. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  163. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  164. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  165. <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
  166. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  167. <script type="javascript">
  168. <![CDATA[
  169. function fInitialize(){
  170. model.resetInstanceNode("/root/send");
  171. model.refresh();
  172. }
  173. function pidfGetClamdg() {
  174. model.removeNodeset("/root/init/clamdg");
  175. model.makeNode("/root/init/clamdg");
  176. submit("TRPID20407");
  177. cmb_clamdg.select(0);
  178. model.refreshpart("/root/init/clamdg");
  179. }
  180. function SubMitListPrint(){
  181. model.removeNodeset("/root/temp/submitlist");
  182. model.makeNode("/root/temp/submitlist/hospitalnm");
  183. model.makeNode("/root/temp/submitlist/insukindnm");
  184. model.makeNode("/root/temp/submitlist/ordfildcd");
  185. model.makeNode("/root/temp/submitlist/year");
  186. model.makeNode("/root/temp/submitlist/month");
  187. model.makeNode("/root/temp/submitlist/ioflag");
  188. model.makeNode("/root/temp/submitlist/insukind");
  189. model.makeNode("/root/temp/submitlist/sumtypecd");
  190. model.makeNode("/root/temp/submitlist/docuseqno");
  191. model.makeNode("/root/temp/submitlist/pid");
  192. model.makeNode("/root/temp/submitlist/patnm");
  193. model.makeNode("/root/temp/submitlist/orddeptcd");
  194. model.makeNode("/root/temp/submitlist/judgrid");
  195. model.makeNode("/root/temp/submitlist/spclspec");
  196. model.makeNode("/root/temp/submitlist/spclspecnm");
  197. model.makeNode("/root/temp/submitlist/ioflag");
  198. var clamym = model.getValue("/root/send/item1/clamym");
  199. model.makeValue("/root/temp/submitlist/ordfildcd", cmb_ordfildcd.label);
  200. model.makeValue("/root/temp/submitlist/insukindnm", cmb_insukind.label);
  201. model.makeValue("/root/temp/submitlist/ioflag", combo1.label);
  202. model.makeValue("/root/temp/submitlist/year", clamym.substr(0,4));
  203. model.makeValue("/root/temp/submitlist/month", clamym.substr(4,2));
  204. /*
  205. if(INSTCD == '012'){
  206. model.makeValue("/root/temp/submitlist/hospitalnm", "서울성모");
  207. }else if(INSTCD == '013'){
  208. model.makeValue("/root/temp/submitlist/hospitalnm", "의정부성모");
  209. }else if(INSTCD == '014'){
  210. model.makeValue("/root/temp/submitlist/hospitalnm", "부천성모");
  211. }else if(INSTCD == '017'){
  212. model.makeValue("/root/temp/submitlist/hospitalnm", "빈센트");
  213. }
  214. */
  215. // 20100727 기관명칭 변경 ( 하드코딩 이게뭐니?)
  216. model.makeValue("/root/temp/submitlist/hospitalnm", model.getValue("/root/init/C0048list/C0048[cdid="+ INSTCD+"]/cdnm") );
  217. for (i = 1; i <= getNodesetCount("/root/main/list1/submitlist"); i++) {
  218. model.makeValue("/root/temp/submitlist[" + i + "]/insukind",grd_deptlist.labelmatrix(i, 1));
  219. model.makeValue("/root/temp/submitlist[" + i + "]/sumtypecd",grd_deptlist.labelmatrix(i, 2));
  220. model.makeValue("/root/temp/submitlist[" + i + "]/docuseqno",grd_deptlist.labelmatrix(i, 3));
  221. model.makeValue("/root/temp/submitlist[" + i + "]/pid",grd_deptlist.labelmatrix(i, 4));
  222. model.makeValue("/root/temp/submitlist[" + i + "]/patnm",grd_deptlist.labelmatrix(i, 5));
  223. model.makeValue("/root/temp/submitlist[" + i + "]/orddeptcd",grd_deptlist.labelmatrix(i, 6));
  224. model.makeValue("/root/temp/submitlist[" + i + "]/judgrid",grd_deptlist.labelmatrix(i, 7));
  225. model.makeValue("/root/temp/submitlist[" + i + "]/spclspec",grd_deptlist.labelmatrix(i, 8));
  226. model.makeValue("/root/temp/submitlist[" + i + "]/spclspecnm",grd_deptlist.labelmatrix(i, 9));
  227. }
  228. exeReportPreview("RPPID25000", "XMLSTR", "","", "false","","","","","false");
  229. }
  230. // 특정내역 중 MT015, MT016 내역을 조회하여 "소명자료" Btn (첨부물 자료관리) Popup 화면에 표시한다.
  231. function fGetAttachedDataList() {
  232. setParameter("openflag", 'S');
  233. open("SPPIZ00200", "","","","ccc","","","","");
  234. //modal("SPPIZ00200", "1", "10", "10", "SPPIZ00200", "", "", "", ""); // SPPIZ00200_첨부물자료관리.xrw
  235. }
  236. function pidfCalMonth(idc, av_ym){
  237. var lv_date = av_ym.toDate("YYYYMM" + "01");
  238. lv_date = lv_date.getAddDate(idc, "M")
  239. return lv_date.getDateFormat("YYYYMM");
  240. }
  241. ]]>
  242. </script>
  243. </xhtml:head>
  244. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  245. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  246. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:222px; height:14px; ">사후 심사 제출자료 목록 대상 조회</caption>
  247. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  248. </group>
  249. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  250. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  251. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  252. <caption>초기화</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. fInitialize();
  256. // grd_deptlist.rebuild();
  257. ]]>
  258. </script>
  259. </button>
  260. </group>
  261. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  262. <group id="group5" style="left:0px; top:5px; width:1195px; height:75px; vertical-align:top; ">
  263. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:75px; "/>
  264. <line id="line13" class="line_4" style="x1:1106px; y1:12px; x2:1106px; y2:65px; border-color:#ffe4bb; border-left-style:solid; "/>
  265. <script type="javascript" ev:event="onkeypress">
  266. <![CDATA[
  267. inputEnterKey("btn_search", "DOMActivate");
  268. ]]>
  269. </script>
  270. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:25px; width:56px; height:22px; ">
  271. <caption>조회</caption>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. if ( model.getValue("/root/send/item1/clamym") == ""
  275. || model.getValue("/root/send/item1/clamdg") == ""
  276. ) {
  277. messageBox("청구년월, 청구차수는", "I003"); //I003=필수입력입니다.
  278. return;
  279. }
  280. submit("TRPID25001");
  281. ]]>
  282. </script>
  283. </button>
  284. <button id="btn_prvclamym" class="icon_down" style="left:165px; top:22px; width:10px; height:9px; ">
  285. <caption/>
  286. <script type="javascript" ev:event="DOMActivate">
  287. <![CDATA[
  288. // 2008.06.05 neverdie 청구년월 이전월 클릭
  289. // 현재청구월에서 이전달을 구한다.
  290. var nowym = model.getValue("/root/send/item1/clamym");
  291. var downym;
  292. downym = pidfCalMonth(-1, nowym);
  293. model.setValue("/root/send/item1/clamym", downym);
  294. ipt_clamym.refresh();
  295. pidfGetClamdg();
  296. ]]>
  297. </script>
  298. </button>
  299. <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" class="combo_search" appearance="minimal" style="left:179px; top:12px; width:62px; height:19px; ">
  300. <choices>
  301. <itemset nodeset="/root/init/clamdg/clamdglist">
  302. <label ref="clamdgnm"/>
  303. <value ref="clamdgcd"/>
  304. </itemset>
  305. </choices>
  306. </select1>
  307. <button id="btn_preclamym" class="icon_up" style="left:165px; top:11px; width:10px; height:9px; ">
  308. <caption/>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. // 2008.06.05 neverdie 청구년월 다음월 클릭
  312. // 현재청구월에서 다음달을 구한다.
  313. var nowym = model.getValue("/root/send/item1/clamym");
  314. var upym;
  315. upym = pidfCalMonth(1, nowym);
  316. model.setValue("/root/send/item1/clamym", upym);
  317. ipt_clamym.refresh();
  318. pidfGetClamdg();
  319. ]]>
  320. </script>
  321. </button>
  322. <caption id="caption2" class="search_name" style="left:2px; top:14px; width:86px; height:17px; ">청구년월</caption>
  323. <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:86px; top:12px; width:75px; height:19px; ">
  324. <script type="javascript" ev:event="xforms-value-changed">
  325. <![CDATA[
  326. pidfGetClamdg();
  327. ]]>
  328. </script>
  329. </input>
  330. <output id="opt_insukind" ref="/root/send/item1/insukindcd" class="output_search" style="left:443px; top:12px; width:17px; height:19px; "/>
  331. <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="16" appearance="minimal" style="left:344px; top:12px; width:97px; height:19px; ">
  332. <choices>
  333. <itemset nodeset="/root/init/P0008list/P0008">
  334. <label ref="cdnm"/>
  335. <value ref="cdid"/>
  336. </itemset>
  337. </choices>
  338. </select1>
  339. <caption id="caption1" class="search_name" style="left:260px; top:14px; width:86px; height:17px; ">보험유형</caption>
  340. <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:563px; top:12px; width:116px; height:19px; ">
  341. <choices>
  342. <itemset nodeset="/root/init/P0291list/P0291">
  343. <label ref="cdnm"/>
  344. <value ref="cdid"/>
  345. </itemset>
  346. </choices>
  347. </select1>
  348. <caption id="caption5" class="search_name" style="left:480px; top:14px; width:86px; height:17px; ">진료분야</caption>
  349. <caption id="caption46" class="search_name" style="left:480px; top:42px; width:73px; height:17px; ">진료과</caption>
  350. <select1 id="cmb_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:563px; top:41px; width:116px; height:19px; ">
  351. <choices>
  352. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  353. <label ref="nm"/>
  354. <value ref="cd"/>
  355. </itemset>
  356. </choices>
  357. </select1>
  358. <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:780px; top:12px; width:96px; height:19px; ">
  359. <choices>
  360. <itemset nodeset="/root/init/judgrid/judgridlist">
  361. <label ref="nm"/>
  362. <value ref="cd"/>
  363. </itemset>
  364. </choices>
  365. </select1>
  366. <caption id="caption3" class="search_name" style="left:696px; top:14px; width:73px; height:17px; ">심사자</caption>
  367. <input id="ipt_docuseqno1" ref="/root/send/item1/docuseqno1" class="input_search" navindex="19" maxlength="15" style="left:780px; top:41px; width:39px; height:19px; ">
  368. <hint>
  369. <![CDATA[시작번호]]>
  370. </hint>
  371. <script type="javascript" ev:event="xforms-value-changed">
  372. <![CDATA[
  373. var docuseqno1 = model.getValue("/root/send/item1/docuseqno1");
  374. if (docuseqno1) {
  375. //docuseqno1 = docuseqno1.getLeftPad(5, "0"); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  376. //model.setValue("/root/send/item1/docuseqno1", docuseqno1);
  377. model.setValue("/root/send/item1/docuseqno2", docuseqno1);
  378. //model.refreshpart("/root/send/item1/docuseqno1");
  379. model.refreshpart("/root/send/item1/docuseqno2");
  380. }
  381. ]]>
  382. </script>
  383. <script type="javascript" ev:event="onkeypress">
  384. <![CDATA[
  385. if (event.keyCode == "13") { // Enter 입력 시에
  386. //if (ipt_docuseqno1.currentText.length > 1) { // 2글자 이상이면
  387. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  388. ipt_docuseqno1.dispatch("xforms-value-changed");
  389. model.setFocus("ipt_docuseqno2");
  390. //}
  391. }
  392. ]]>
  393. </script>
  394. </input>
  395. <input id="ipt_docuseqno2" ref="/root/send/item1/docuseqno2" class="input_search" navindex="20" maxlength="5" style="left:838px; top:41px; width:39px; height:19px; ">
  396. <hint>
  397. <![CDATA[끝번호]]>
  398. </hint>
  399. <script type="javascript" ev:event="onkeypress">
  400. <![CDATA[
  401. /*
  402. if (event.keyCode == "13") { // Enter 입력 시에
  403. //if (ipt_docuseqno2.currentText.length > 1) { // 2글자 이상이면
  404. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  405. fGetInAftJudgTrgtManList("docuSrch");
  406. //}
  407. }
  408. */
  409. ]]>
  410. </script>
  411. </input>
  412. <caption id="caption25" style="left:823px; top:43px; width:11px; height:16px; ">~</caption>
  413. <caption id="caption7" class="search_name" style="left:696px; top:42px; width:88px; height:17px; ">명번호</caption>
  414. <input id="ipt_patunitsrch" ref="/root/send/item1/patunitsrch1" class="input_search" navindex="3" inputtype="button" maxlength="10" style="left:975px; top:12px; width:95px; height:19px; ">
  415. <hint>
  416. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  417. </hint>
  418. <script type="javascript" ev:event="onbuttonclick">
  419. <![CDATA[
  420. var ipt_pid = model.getValue("/root/send/item1/patunitsrch1");
  421. if (ipt_pid) {
  422. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  423. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  424. } else {
  425. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  426. }
  427. // pam/commonweb/xrw/SPPMC02500_환자조회.xrw
  428. modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
  429. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  430. if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
  431. model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
  432. model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
  433. model.setValue("/root/send/item1/patunitsrch1", srch_pid);
  434. }
  435. model.refresh();
  436. ]]>
  437. </script>
  438. </input>
  439. <caption id="caption8" class="search_name" style="left:890px; top:13px; width:112px; height:17px; ">환자조회</caption>
  440. <caption id="caption9" class="search_name" style="left:891px; top:42px; width:89px; height:17px; ">청구번호</caption>
  441. <input id="ipt_acptno" ref="/root/send/item1/clamno" class="input_search" navindex="18" maxlength="15" style="left:975px; top:41px; width:97px; height:19px; "/>
  442. <caption id="caption49" class="search_name" style="left:2px; top:42px; width:117px; height:17px; ">제출자료내역</caption>
  443. <select1 id="combo14" ref="/root/send/item1/spclspec" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:108px; top:41px; width:190px; height:19px; text-align:left; ">
  444. <choices>
  445. <itemset nodeset="/root/init/P0320list/P0320">
  446. <label ref="cdnm"/>
  447. <value ref="cdid"/>
  448. </itemset>
  449. </choices>
  450. </select1>
  451. <caption id="caption10" class="search_name" style="left:315px; top:42px; width:86px; height:17px; ">내원유형</caption>
  452. <select1 id="combo1" ref="/root/send/item1/ioflag" class="combo_search" navindex="16" appearance="minimal" style="left:399px; top:41px; width:62px; height:19px; ">
  453. <choices>
  454. <item>
  455. <label>외래</label>
  456. <value>O</value>
  457. </item>
  458. <item>
  459. <label>입원</label>
  460. <value>I</value>
  461. </item>
  462. </choices>
  463. <script type="javascript" ev:event="xforms-value-changed">
  464. <![CDATA[
  465. pidfGetClamdg();
  466. ]]>
  467. </script>
  468. </select1>
  469. </group>
  470. <group id="group6" style="left:0px; top:85px; width:1195px; height:640px; ">
  471. <datagrid id="grd_deptlist" nodeset="/root/main/list1/submitlist" caption="보험유형^분야^접수번호^명일련^등록번호^환자명^진료과^심사자^제출자료내역(코드)" colsep="^" colwidth="120, 100, 90, 90, 110, 110, 130, 110, 311" dataheight="23" defaultrows="2" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:32px; width:1192px; height:582px; text-align:center; ">
  472. <col ref="insukind"/>
  473. <col ref="sumtypecd"/>
  474. <col ref="acptno"/>
  475. <col ref="docuseqno"/>
  476. <col ref="pid"/>
  477. <col ref="patnm"/>
  478. <col ref="orddeptcd"/>
  479. <col ref="judgrid"/>
  480. <col ref="spclspec"/>
  481. </datagrid>
  482. <caption id="cap_judgtrgtman" class="tit_2" style="left:0px; top:11px; width:112px; height:13px; ">대상자 목록</caption>
  483. <line id="line1" class="line_1" style="x1:0px; y1:29px; x2:1195px; y2:29px; "/>
  484. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:1135px; top:5px; width:56px; height:22px; ">
  485. <caption>출력</caption>
  486. <script type="javascript" ev:event="DOMActivate">
  487. <![CDATA[
  488. var clamym = model.getValue("/root/send/item1/clamym");
  489. var insukindcd = model.getValue("/root/send/item1/insukindcd");
  490. var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
  491. if(clamym == "" || clamym == " " || clamym == "-"){
  492. messageBox("청구년월이 선택되지 않았습니다. 출력하시려면 청구년월을 선택한 후 재조회 해주세요.", "E999", "");
  493. return;
  494. }
  495. if(insukindcd == "" || insukindcd == " " || insukindcd == "-"){
  496. messageBox("보험유형이 선택되지 않았습니다. 출력하시려면 보험유형을 선택한 후 재조회 해주세요.", "E999", "");
  497. return;
  498. }
  499. if(ordfildcd == "" || ordfildcd == " " || ordfildcd == "-"){
  500. messageBox("진료분야가 선택되지 않았습니다. 출력하시려면 진료분야을 선택한 후 재조회 해주세요.", "E999", "");
  501. return;
  502. }
  503. if (grd_deptlist.rows > 1) {
  504. SubMitListPrint();
  505. } else {
  506. messageBox("출력할 대상자가", "I004"); /// 대상자가 없습니다.
  507. }
  508. ]]>
  509. </script>
  510. </button>
  511. <button id="btn_excelsave" class="btn2_letter4" style="left:1067px; top:6px; width:64px; height:19px; ">
  512. <caption>엑셀저장</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. if (grd_deptlist.rows > 1) {
  516. var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  517. if (fileName != "") {
  518. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  519. // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
  520. grd_deptlist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  521. }
  522. } else {
  523. messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
  524. }
  525. ]]>
  526. </script>
  527. </button>
  528. <button id="btn_attData" class="btn2_letter10" _auth="X" style="left:932px; top:6px; width:130px; height:19px; ">
  529. <caption>제출자료목록코드조회</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. fGetAttachedDataList(); // 특정내역 중 MT015, MT016 내역을 조회하여 "소명자료" Btn (첨부물 자료관리) Popup 화면에 표시한다.
  533. ]]>
  534. </script>
  535. </button>
  536. </group>
  537. </group>
  538. </xhtml:body>
  539. </xhtml:html>