123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2007.06.15 / 구현을 완료하기 위해서 테스트 데이터flagchkbox가 필요함
- [2007.08.10]
- (-) 지급관리가 선행 개발되어야 함
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>원외처방 개인별 심결내역 및 지급내역조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <termflag>4</termflag>
- <fromdd/>
- <todd/>
- <flag>090</flag>
- <acptno/>
- <judgdg/>
- <insukind>A</insukind>
- <flagchkbox/>
- <flagchkf903/>
- </send>
- <main>
- <list01>
- <gridoprcjrinfo>
- <clamym/>
- <uncoym/>
- <notijudgdg/>
- <notidd/>
- <insukind/>
- <clamtypecd/>
- <judgflag/>
- <acptno/>
- <judgdg/>
- <orddeptcd/>
- <orddrnm/>
- <pid/>
- <docuseqno/>
- <patnm/>
- <clmcstotamt/>
- <clclamamt/>
- <clownbmaxexamt/>
- <clsuppamt/>
- <clhandicaprfund/>
- <clsubtamt/>
- <inappbamt/>
- <inappownbrtnamt/>
- <inappcorpbrtnamt/>
- <adjtamt/>
- <prcpcorpnm/>
- <mpsno/>
- <adjtdrugcd/>
- <adjtdrugcdnm/>
- <adjtresn/>
- <rtndd/>
- <rtnamt/>
- <orddeptnm/>
- <orddrid/>
- </gridoprcjrinfo>
- </list01>
- </main>
- <init>
- <U0001list>
- <U0001>
- <judgdg/>
- </U0001>
- </U0001list>
- <temp>
- <docuseqno/>
- </temp>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 그리드 행을 모두 삭제한다.
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- model.removeNodeset("/root/main/list01/gridoprcjrinfo");
-
- ipt_fromdd.attribute("format") = "";
- ipt_todd.attribute("format") = "";
- ipt_fromdd.attribute("maxlength") = 8;
- ipt_todd.attribute("maxlength") = 8;
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF50200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIF50201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0001list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,739;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:269px; height:14px; ">원외처방 개인별 심결내역 및 지급내역조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:667px; ">
- <caption id="caption7" class="tit_2" style="left:6px; top:75px; width:111px; height:13px; ">심사결정사항</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <button id="button12" class="btn2_letter4" style="left:1131px; top:69px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
- if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
-
- var tmp = yy+mm+dd;
- var fileName = window.fileDialog("save", ",", false, "원외처방개인별심결내역및지급내역조회_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grdjrinfo.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <group id="group2" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_srch" class="btn1_letter2" navindex="3" style="left:1126px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_insukind.value == "41") {
- messageBox("산재보험은 개발전","I009");
- return false;
- }
-
- if(ipt_fromdd.value == "" & ipt_acptno.value == "") {
- messageBox("시작일 또는 접수번호를","C001");
- model.setFocus("ipt_fromdd");
- return false;
- } else {
- if(ipt_acptno.value != "") {
- if(cmb_judgdg.value == "") {
- messageBox("심사차수가","I004");
- return false;
- }
- }
- }
-
- model.removenode("/root/main/list01");
- model.refresh();
-
- submit("TRPIF50200");
- ]]>
- </script>
- </button>
- <line id="line43" class="line_4" style="x1:1113px; y1:7px; x2:1113px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:644px; top:8px; width:86px; height:17px; ">보험유형 :</caption>
- <select1 id="rdo_termflag" ref="/root/send/termflag" class="radio_search" overflow="visible" appearance="full" cols="5" style="left:15px; top:9px; width:310px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>1</value>
- </item>
- <item>
- <label>이신일자</label>
- <value>2</value>
- </item>
- <item>
- <label>통보일자</label>
- <value>3</value>
- </item>
- <item>
- <label>통보심사차수</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- model.setValue("/root/send/fromdd","");
- model.setValue("/root/send/todd","");
- model.refreshpart("/root/send/fromdd");
- model.refreshpart("/root/send/todd");
-
- if(rdo_termflag.value == "1") {
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- ipt_fromdd.attribute("maxlength") = 6;
- ipt_todd.attribute("maxlength") = 6;
- // rdo_flag.visible = false; // 2010.03.16 항상 080, 090 선택하게 변경
- } else if(rdo_termflag.value == "2" || rdo_termflag.value == "3") {
- ipt_fromdd.attribute("format") = "yyyy-mm-dd";
- ipt_todd.attribute("format") = "yyyy-mm-dd";
- ipt_fromdd.attribute("maxlength") = 8;
- ipt_todd.attribute("maxlength") = 8;
- // rdo_flag.visible = false;
- } else {
- ipt_fromdd.attribute("format") = "";
- ipt_todd.attribute("format") = "";
- ipt_fromdd.attribute("maxlength") = 8;
- ipt_todd.attribute("maxlength") = 8;
- // rdo_flag.visible = true;
- }
- model.setFocus("ipt_fromdd");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_insukind" ref="/root/send/insukind" class="radio_search" overflow="visible" appearance="full" cols="4" style="left:736px; top:9px; width:204px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(rdo_insukind.value == "A") {
- grdjrinfo.colHidden(17) = false;
- grdjrinfo.colHidden(18) = false;
- // grdjrinfo.colHidden(19) = false;
- grdjrinfo.colHidden(20) = false;
- } else if(rdo_insukind.value == "11") {
- grdjrinfo.colHidden(17) = false;
- grdjrinfo.colHidden(18) = false;
- // grdjrinfo.colHidden(19) = true;
- grdjrinfo.colHidden(20) = true;
- } else if(rdo_insukind.value == "21") {
- grdjrinfo.colHidden(17) = true;
- grdjrinfo.colHidden(18) = true;
- // grdjrinfo.colHidden(19) = false;
- grdjrinfo.colHidden(20) = false;
- } else {
- grdjrinfo.colHidden(17) = false;
- grdjrinfo.colHidden(18) = false;
- // grdjrinfo.colHidden(19) = true;
- grdjrinfo.colHidden(20) = true;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_insukind.value == "A" || rdo_insukind.value == "41") {
- ipt_acptno.attribute("maxlength") = 15;
- } else {
- ipt_acptno.attribute("maxlength") = 8;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption2" style="left:417px; top:10px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:329px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:430px; top:8px; width:85px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:14px; top:31px; width:86px; height:17px; ">접수번호 :</caption>
- <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" inputtype="button" maxlength="15" style="left:105px; top:30px; width:110px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if(ipt_acptno.value == "") {
- model.setValue("/root/send/judgdg","");
- model.removenode("/root/init/U0001list");
-
- cmb_judgdg.refresh();
- return false;
- }
- var acptno = ipt_acptno.value;
- // if(acptno.length == 7) {
- if(submit("TRPIF50201")) {
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.select(0);
- }
- model.setFocus("cmb_judgdg");
- }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- model.makeNode("/root/send/send01/termflag");
- model.makeNode("/root/send/send01/fromdd");
- model.makeNode("/root/send/send01/todd");
- model.makeNode("/root/send/send01/insukind");
- model.makeNode("/root/send/send01/acptno");
- model.setValue("/root/send/send01/insukind","11");
- setParameter("SPPIF30302_RTNTYPE", "P");
-
- modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
-
- model.setValue("/root/send/acptno", getParameter("SPPIF30302_acptno"));
-
- model.removeNodeset("/root/send/send01");
- clearParameter("SPPIF30302_RTNTYPE");
- clearParameter("SPPIF30302_acptno");
-
- ipt_acptno.refresh();
- if( model.getValue("/root/send/acptno") != '' ){
- if(submit("TRPIF50201")) {
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.select(0);
- }
- model.setFocus("cmb_judgdg");
- }
- }
-
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:238px; top:31px; width:86px; height:17px; ">심사차수 :</caption>
- <select1 id="cmb_judgdg" ref="/root/send/judgdg" class="combo_search" appearance="minimal" style="left:329px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="judgdg"/>
- <value ref="judgdg"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.refresh();
-
- submit("TRPIF50200");
- ]]>
- </script>
- </select1>
- <select id="chk_flag" ref="/root/send/flagchkbox" overflow="visible" appearance="full" style="left:435px; top:32px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>F080</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if(chk_flag.value == "Y") {
- if(ipt_acptno.value != "") {
- if(submit("TRPIF50201")) {
- if(cmb_judgdg.length == 1) {
- cmb_judgdg.select(0);
- }
- model.setFocus("cmb_judgdg");
- }
- }
- // }
- ]]>
- </script>
- </select>
- <select1 id="rdo_flag" ref="/root/send/flag" overflow="visible" appearance="full" cols="2" style="left:520px; top:10px; width:90px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>F090</label>
- <value>090</value>
- </item>
- <item>
- <label>F080</label>
- <value>080</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter3" navindex="3" style="left:1127px; top:30px; width:56px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.removenode("/root/main/list01");
- model.resetInstanceNode("/root/send");
- model.refresh();
-
- rdo_termflag.value = "4";
- rdo_flag.visible = true;
- rdo_flag.value = "090";
- rdo_insukind.value = "A";
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/send/flagchkf903" overflow="visible" appearance="full" style="left:520px; top:32px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>SUM 포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <datagrid id="grdjrinfo" nodeset="/root/main/list01/gridoprcjrinfo" scroll="auto" caption="청구월^미수월^통보심사차수^통보일자^보험유형^청구형태^심사
구분^접수번호^심사차수^진료과^진료의^등록번호^명일련^수진자^총진료비^청구액^상한액^지원금^장애인기금^대불금^부적정
부담금^부적정
본인환급금^공단부담
환수액^조정액^약국명^처방전교부번호^약품코드^약품코드명^조정
사유^환수일자^환수액^진료과^진료의ID|청구월^미수월^통보심사차수^통보일자^보험유형^청구형태^심사
구분^접수번호^심사차수^진료과^진료의^등록번호^명일련^수진자^총진료비^청구액^상한액^지원금^장애인기금^대불금^부적정
부담금^부적정
본인환급금^공단부담
환수액^조정액^약국명^처방전교부번호^약품코드^약품코드명^조정
사유^환수일자^환수액^진료과^진료의ID" colsep="^" colwidth="60, 60, 80, 70, 70, 70, 50, 60, 60, 50, 50, 60, 50, 50, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 120, 100, 90, 150, 40, 80, 80, 100, 100" dataheight="25" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:96px; width:1194px; height:569px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="notijudgdg" style="text-align:center; "/>
- <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="clamtypecd" style="text-align:center; "/>
- <col ref="judgflag" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="clmcstotamt" format="#,###" style="text-align:right; "/>
- <col ref="clclamamt" format="#,###" style="text-align:right; "/>
- <col ref="clownbmaxexamt" format="#,###" style="text-align:right; "/>
- <col ref="clsuppamt" format="#,###" style="text-align:right; "/>
- <col ref="clhandicaprfund" format="#,###" style="text-align:right; "/>
- <col ref="clsubtamt" format="#,###" style="text-align:right; "/>
- <col ref="inappbamt" format="#,###" style="text-align:right; "/>
- <col ref="inappownbrtnamt" format="#,###" style="text-align:right; "/>
- <col ref="inappcorpbrtnamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="prcpcorpnm"/>
- <col ref="mpsno" style="text-align:center; "/>
- <col ref="adjtdrugcd"/>
- <col ref="adjtdrugcdnm"/>
- <col ref="adjtresn" style="text-align:center; "/>
- <col ref="rtndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rtnamt" format="#,###" style="text-align:right; "/>
- <col ref="orddeptnm" visibility="hidden" style="text-align:center; "/>
- <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button7" class="btn2_letter6" style="left:1043px; top:69px; width:86px; height:19px; ">
- <caption>Open Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- try {
- window.exec("excel");
- } catch(e) {
- alert(e);
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:933px; top:69px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grdjrinfo.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:988px; top:69px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grdjrinfo.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:878px; top:69px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grdjrinfo.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <input id="ipt_docuseqno" ref="/root/init/temp/docuseqno" class="input_default" style="left:800px; top:69px; width:61px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- var docuseqno = ipt_docuseqno.value;
- var cnt = 0;
-
- if(docuseqno.length == 0) {
- return false;
- } else if(docuseqno.length > 5) {
- messageBox("명세서일련번호는 최대 5자리","E008");
- ipt_docuseqno.value = "";
- return false;
- }
-
- var rows = grdjrinfo.rows;
-
- for(var i=1;i<rows;i++) {
- if(grdjrinfo.valueMatrix(i,13) == docuseqno) {
- //grd_pifmiunc02.select(i,9) = true;
- grdjrinfo.row = i;
- grdjrinfo.topRow = i;
- cnt++;
- return false;
- }
- }
-
- if(cnt == 0) {
- messageBox("찾는 명일련이","I004");
- model.setFocus("ipt_docuseqno1");
- //researchgrid("docuseqno",docuseqno);
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption36" style="left:681px; top:71px; width:114px; height:15px; color:#ff6600; ">
- <![CDATA[명일련 바로가기 ==>]]>
- </caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:680px; width:1195px; height:59px; ">
- <caption id="caption5" style="left:705px; top:5px; width:70px; height:20px; font-weight:bold; ">※조회조건</caption>
- <caption id="caption8" style="left:785px; top:5px; width:395px; height:42px; font-weight:bold; color:#ff6600; ">
- <![CDATA[1. (청구월, 이신일자, 통보일자) + 기간조건 = F090 + F080 조회
- 2. 기간조건이 공백이면서 ㅁF080 체크시 F080에서 조회
- 3. 기간조건이 공백이면서 ㅁF080 미체크시 F090에서 조회]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|