123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPIF90300_이의신청현황.xrw
- * 수정이력
- * - 2010.08.20 / 최초작성 / 김상민
- ************************************************
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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="">
- <main>
- <list1>
- <gridobtapp>
- <clamtypecd/>
- <totordcnt/>
- <totordamt/>
- <totcutamt/>
- <cutrate/>
- <incutamt/>
- <outcutamt/>
- <obtappamt/>
- <obtapprate/>
- <abdamt/>
- <abdrate/>
- <in_obtappamt/>
- <out_obtappamt/>
- <deciamt/>
- <decirate/>
- <indeciamt/>
- <outdeciamt/>
- <retetotamt/>
- </gridobtapp>
- </list1>
- </main>
- <send>
- <clamymfrom/>
- <clamymto/>
- <clamflag/>
- <ioflag/>
- <insukind/>
- <basedd2/>
- <in_cond1/>
- <in_cond2/>
- <judgrid/>
- <in_cond3/>
- <cmmt_type/>
- <sclamflag/>
- <sinsukind/>
- <clamdg/>
- <ordfildcd/>
- <orddeptcd/>
- <fromdd/>
- <todd/>
- <ordsel>A</ordsel>
- <send_clamdg>
- <fromdd/>
- <todd/>
- <ioflag/>
- <clamflag/>
- <ordfildcd/>
- <dateflag/>
- </send_clamdg>
- </send>
- <init>
- <U0001list/>
- <clamdglist>
- <clamdg>
- <cdid/>
- <cdnm/>
- </clamdg>
- </clamdglist>
- <P0291list>
- <P0291>
- <cdid/>
- <cdnm/>
- </P0291>
- </P0291list>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면 초기화
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIB00603" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- <submission id="TRPIF00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdg" resultref="/root/init/clamdglist/clamdg"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
- <submission id="TRPIF90300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdg" resultref="/root/init/clamdglist/clamdg"/>
- <submission id="TRPIF90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 초기화
- function fInitialize()
- {
- model.removeNodeset("/root/main/list1/gridobtapp"); // 그리드 초기화
-
- zbcfGetCodeList(new Array("P0291"),
- new Array( "/root/init/P0291list")); // P0291(진료분야(심사청구서))
-
-
- submit("TRPID20309"); // 진료과 리스트 가져오기
- submit("TRPIB00603"); // 심사자 콤보리스트
- fGetClamDept(); // 청구과 콤보 리스트
-
-
- // 청구년월, 차수 셋팅 시작
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
- model.setValue("/root/send/clamymfrom",currentym);
- model.setValue("/root/send/clamymto",currentym);
- ipt_clamymfrom.refresh();
- ipt_clamymto.refresh();
-
- var curDate = getCurrentDate();
- model.setValue("/root/send/basedd2", curDate);
- model.setValue("/root/send/fromdd", curDate);
- model.setValue("/root/send/todd", curDate);
-
- //기본값 세팅
- cb_cond2_3.value = "0,3";
- checkbox1.value = "11";
- rdo_ioflag.value = "A";
- //radio1.value = "A";
- model.setValue("/root/send/in_cond3", "1");
-
- //조회기준 숨김
- ipt_clamymfrom.visible = true;
- ipt_clamymto.visible = true;
- ipt_fromdd.visible = false;
- ipt_todd.visible = false;
-
- //청구과진료과 숨김
- cmb_ordfildcd.visible = true;
- combo1.visible = false;
-
- model.refresh();
- }
-
- // 조회
- function fSearch()
- {
- var chk_clamymfrom = model.getValue("/root/send/clamymfrom");
- var chk_clamymto = model.getValue("/root/send/clamymto");
-
- if ( chk_clamymfrom == "" || chk_clamymto == "")
- {
- messageBox("조회기준 일자는 ", "I003");
- model.setFocus("chk_clamymfrom");
- return;
- }
-
- var af = model.getValue("/root/send/clamflag");
- var bf = model.getValue("");
- var cf = model.getValue("/root/send/insukind");
- var df = model.getValue("");
- model.resetInstanceNode("/root/send/sclamflag");
- model.resetInstanceNode("/root/send/sinsukind");
-
- var afcnt = af.length;
- var cfcnt = cf.length;
-
- //청구형태 세팅
- if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
- bf = af.replace("^", "','");
- bf = af.replace(",", "','");
- for(var i=1; i < afcnt; i++){
- bf = bf.replace("^", "','");
-
- if(bf.substr(0,1) != "'"){
- bf = "'" + bf + "'";
- }
- }
- }
- model.setValue("/root/send/sclamflag", bf);
-
- //보험유형 세팅
- if(model.getValue("/root/send/insukind") != " " || model.getValue("/root/send/insukind") != "" ) {
- df = cf.replace("^", "','");
- df = cf.replace(",", "','");
- for(var i=1; i < cfcnt; i++){
- df = df.replace("^", "','");
-
- if(df.substr(0,1) != "'"){
- df = "'" + df + "'";
- }
- }
- }
- model.setValue("/root/send/sinsukind", df);
-
- var in_cond1 = model.getValue("/root/send/in_cond1");
- var in_cond2 = model.getValue("/root/send/in_cond2");
-
- //보류건 및 반송건 체크 세팅
- if(in_cond1 == "Y" && in_cond2 == "Y"){
- model.setValue("/root/send/cmmt_type", "A");
- }else if(in_cond1 == "Y" && in_cond2 != "Y"){
- model.setValue("/root/send/cmmt_type", "B");
- }else if(in_cond1 != "Y" && in_cond2 == "Y"){
- model.setValue("/root/send/cmmt_type", "C");
- }else{
- model.setValue("/root/send/cmmt_type", "D");
- }
-
- submit("TRPIF90301");
- }
-
- function fDateChk(){
- var dateflag;
- var fromdd = model.getValue("/root/send/clamymfrom");
- var todd = model.getValue("/root/send/clamymto");
- var ioflag = model.getValue("/root/send/ioflag");
- var clamflag = model.getValue("/root/send/clamflag");
- var ordfildcd = model.getValue("/root/send/ordfildcd");
-
- if(fromdd == ""){
- messageBox("기간의 시작일자를","C001");
- model.setFocus("ipt_fromdd");
- return;
- }else{
- model.setValue("/root/send/send_clamdg/fromdd",fromdd);
- model.setValue("/root/send/send_clamdg/todd",todd);
-
- if(ioflag == 'A'){
- model.setValue("/root/send/send_clamdg/ioflag", "");
- }else if(ioflag == 'I'){
- model.setValue("/root/send/send_clamdg/ioflag", "I");
- }else if(ioflag == 'O'){
- model.setValue("/root/send/send_clamdg/ioflag", "O");
- }else{
- messageBox("내원유형이 선택되지 않았습니다!.", "E999", "");
- return;
- }
-
- var af = model.getValue("/root/send/clamflag");
- var bf = model.getValue("");
- model.resetInstanceNode("/root/send/send_clamdg/sclamflag");
-
- var afcnt = af.length;
-
- //청구형태 세팅
- if(model.getValue("/root/send/clamflag") != " " || model.getValue("/root/send/clamflag") != "" ) {
- bf = af.replace("^", "','");
- bf = af.replace(",", "','");
- for(var i=1; i < afcnt; i++){
- bf = bf.replace("^", "','");
-
- if(bf.substr(0,1) != "'"){
- bf = "'" + bf + "'";
- }
- }
- }
- model.setValue("/root/send/send_clamdg/clamflag", bf);
- model.setValue("/root/send/send_clamdg/ordfildcd",ordfildcd);
-
- model.setValue("/root/send/send_clamdg/dateflag", "1");
-
-
- submit("TRPIF90300");
-
-
- if( getNodesetCount("/root/init/clamdglist/clamdg") < 1 ){
- messageBox("청구된 차수가 없습니다. 미수년월을 확인 해 주세요!.", "E999", "");
- }
-
- }
- addComboItem("cmb_clamdg","전체","","above");
- }
-
- // 청구과 함수
- function fGetClamDept()
- {
- submit("TRPID20201");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1213;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">이의신청현황</caption>
- </group>
- <group id="group2" scroll="no" style="left:0px; top:13px; width:1190px; height:762px; ">
- <group id="group4" style="left:0px; top:10px; width:1190px; height:120px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:120px; "/>
- <caption id="caption5" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">조회기준 :</caption>
- <input id="ipt_clamymfrom" ref="/root/send/clamymfrom" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:200px; top:15px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/clamymto",model.getValue("/root/send/clamymfrom"));
-
- ]]>
- </script>
- </input>
- <line id="line2" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:109px; "/>
- <button id="button1" class="btn1_letter2" navindex="2" style="left:1120px; top:50px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:835px; top:53px; width:86px; height:17px; ">내원유형 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="combo_search" appearance="minimal" style="left:925px; top:53px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_clamymto" ref="/root/send/clamymto" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:310px; top:15px; width:90px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fDateChk();
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:295px; top:15px; width:15px; height:20px; ">~</caption>
- <select id="checkbox1" ref="/root/send/insukind" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:96px; top:53px; width:235px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21,22</value>
- </item>
- <!-- 자보 조회조건 삭제 2011.04.29 김광성
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- -->
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </select>
- <caption id="caption3" class="search_name" style="left:6px; top:52px; width:96px; height:17px; ">보험유형 :</caption>
- <select id="cb_cond2_3" ref="/root/send/clamflag" navindex="1" overflow="visible" appearance="full" cols="4" sep="^" style="left:528px; top:15px; width:277px; height:19px; ">
- <choices>
- <item>
- <label>원청구</label>
- <value>0,3</value>
- </item>
- <item>
- <label>누락청구</label>
- <value>4</value>
- </item>
- <item>
- <label>추가청구</label>
- <value>2</value>
- </item>
- <item>
- <label>보완청구</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="cp_text2_3" class="search_name" style="left:435px; top:15px; width:90px; height:17px; ">청구형태 :</caption>
- <caption id="cp_text9_8" class="search_name" style="left:436px; top:53px; width:90px; height:17px; ">기준일시 :</caption>
- <input id="cb_cond4_8" ref="/root/send/basedd2" class="input_search" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:529px; top:53px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/send/in_cond3" appearance="minimal" style="left:96px; top:15px; width:100px; height:19px; ">
- <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-value-changed">
- <![CDATA[
- // 청구년월, 차수 셋팅 시작
- /*
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
- var curDate = getCurrentDate();
- */
- var in_cond3 = model.getValue("/root/send/in_cond3");
-
- if(in_cond3 == "1"){
- ipt_clamymfrom.visible = true;
- ipt_clamymto.visible = true;
- ipt_fromdd.visible = false;
- ipt_todd.visible = false;
- cmb_clamdg.disabled = false;
- }else if(in_cond3 == "2"){
- ipt_clamymfrom.visible = false;
- ipt_clamymto.visible = false;
- ipt_fromdd.visible = true;
- ipt_todd.visible = true;
- cmb_clamdg.disabled = true;
- cmb_clamdg.value = "";
- }else if(in_cond3 == "3"){
- ipt_clamymfrom.visible = false;
- ipt_clamymto.visible = false;
- ipt_fromdd.visible = true;
- ipt_todd.visible = true;
- cmb_clamdg.disabled = true;
- cmb_clamdg.value = "";
- }else if(in_cond3 == "4"){
- ipt_clamymfrom.visible = false;
- ipt_clamymto.visible = false;
- ipt_fromdd.visible = true;
- ipt_todd.visible = true;
- cmb_clamdg.disabled = true;
- cmb_clamdg.value = "";
- }else{
- messageBox("조회기준이 선택되지 않았습니다!", "E999");
- }
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:96px; top:85px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmp/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_clamdg" ref="/root/send/clamdg" class="combo_search" appearance="minimal" style="left:925px; top:15px; width:89px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdglist/clamdg">
- <label ref="cdid"/>
- <value ref="cdnm"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:835px; top:15px; width:90px; height:17px; ">청구차수 :</caption>
- <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" navindex="6" appearance="minimal" style="left:96px; top:85px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmp/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:15px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/todd",model.getValue("/root/send/fromdd"));
-
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:310px; top:15px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/send/ordsel" appearance="full" overflow="visible" style="left:6px; top:80px; width:80px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>청구과</label>
- <value>A</value>
- </item>
- <item>
- <label>진료과</label>
- <value>B</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var ordsel = model.getValue("/root/send/ordsel");
-
- if(ordsel == "A"){
- cmb_ordfildcd.visible = true;
- combo1.visible = false;
- }else if(ordsel == "B"){
- cmb_ordfildcd.visible = false;
- combo1.visible = true;
- }else{
- messageBox("청구과 혹은 진료과가 선택되지 않았습니다. ", "I004");
- }
- ]]>
- </script>
- </select1>
- </group>
- <button id="button2" class="btn2_letter4" style="left:1121px; top:136px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (gridobtapp.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "심사자별 청구삭감현황_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- gridobtapp.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <datagrid id="gridobtapp" nodeset="/root/main/list1/gridobtapp" class="datagrid2" caption="과^청구^청구^삭감^삭감^삭감^삭감^이의신청^이의신청^이의신청^이의신청^이의신청^이의신청^이의신청결정^이의신청결정^이의신청결정^이의신청결정^이의신청결정|과^건수^총진료비^삭감액전체^삭감율^원내삭감액^원외삭감액^이의신청액전체^이의신청율^부제기액^부제기율^원내이의신청액^원외이의신청액^인정액전체^인정율^원내인정액^원외인정액^보류액" colsep="^" colwidth="80, 75, 100, 100, 65, 100, 100, 100, 65, 100, 65, 100, 100, 100, 65, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:155px; width:1190px; height:565px; ">
- <col disabled="true" ref="clamtypecd"/>
- <col disabled="true" ref="totordcnt"/>
- <col disabled="true" ref="totordamt"/>
- <col disabled="true" ref="totcutamt"/>
- <col disabled="true" ref="cutrate"/>
- <col disabled="true" ref="incutamt"/>
- <col disabled="true" ref="outcutamt"/>
- <col disabled="true" ref="obtappamt"/>
- <col disabled="true" ref="obtapprate"/>
- <col disabled="true" ref="abdamt"/>
- <col disabled="true" ref="abdrate"/>
- <col disabled="true" ref="in_obtappamt"/>
- <col disabled="true" ref="out_obtappamt"/>
- <col disabled="true" ref="deciamt"/>
- <col disabled="true" ref="decirate"/>
- <col disabled="true" ref="indeciamt"/>
- <col disabled="true" ref="outdeciamt"/>
- <col disabled="true" ref="retetotamt"/>
- </datagrid>
- <caption id="caption4" style="left:5px; top:730px; width:970px; height:20px; font-size:10pt; font-weight:bold; color:#ff0000; ">*삭감율1:(원내삭감액/청구총진료비)*100 *삭감율2: (원내+원외 삭감액)/청구총진료비*100</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|