12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <list01>
- <gridrsltqry>
- </gridrsltqry>
- </list01>
- <list02>
- <griddocu>
- </griddocu>
- </list02>
- <confirm>
- <confirmstat>
- <confirm_yn/>
- <confirm_maxday/>
- </confirmstat>
- </confirm>
- <list03>
- <confirmlist/>
- </list03>
- <list04>
- <griddocuall/>
- </list04>
- </main>
- <send>
- <send_dataqry>
- <fromobtappdd/>
- <toobtappdd/>
- <chosflag>1</chosflag>
- <obtapprsltendflag>3</obtapprsltendflag>
- <insukind3/>
- <confirm_yn/>
- </send_dataqry>
- <send_docu>
- <fromobtappdd/>
- <toobtappdd/>
- <chosflag>1</chosflag>
- <obtapprsltendflag>3</obtapprsltendflag>
- <orddeptcd/>
- <orddrid/>
- <insukind3/>
- <selgubun/>
- </send_docu>
- <datagrid1/>
- </send>
- <init>
- <P0277list>
- <P0277>
- <cdid/>
- <cdnm/>
- </P0277>
- </P0277list>
- <PK080list>
- </PK080list>
- </init>
- <hidden>
- <memo/>
- </hidden>
- <main2>
- <confirm>
- <confirmstat>
- <confirm_yn/>
- <confirm_maxday/>
- </confirmstat>
- </confirm>
- </main2>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR32000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list01"/>
- <submission id="TRPIR32001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_docu" resultref="/root/main/list02"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
- <submission id="TRPIR32002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main2/confirm"/>
- <submission id="TRPIR32003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main"/>
- <submission id="TRPIR32004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_docu" resultref="/root/main/list02"/>
- <submission id="TXPIR32000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry"/>
- <submission id="TRPIR32005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list03"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR32006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list06"/>
- <submission id="TRPIR32007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list05"/>
- <submission id="TRPIR32008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_dataqry" resultref="/root/main/list07"/>
- <submission id="TXPIR32001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/datagrid1"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- group4.visible = false;
- // 공통코드 가져오기
- zbcfGetCodeList(new Array("P0277"), new Array("/root/init/P0277list"));
- pamfGetCodeList(new Array("PK080"), new Array("/root/init/PK080list"));
- // 확인 완료 버튼은 김순애 파트장님만 활성화 되도록 함(2012.09.03 LEJ)
- // 권한 추가 : 칠곡 김정선 파트장님, 조우현
- // 권한 추가 : 본원 김성자 파트장님 (2014.06.09 LEJ) 93689
- var userId = model.getValue("/root/init/PK080list/PK080[cdid='"+getUserId()+"']/cdid");
- if (userId != "" ) {
- btn_confirm.disabled= false ;
- }else{
- btn_confirm.disabled= true ;
- }
-
- // 진료과리스트 가져오기
- submit("TRPID20309");
- var windowtype = window.type;
- if(windowtype == 'main'){
- rdo_chosflag.select(0);
- rdo_endyn.select(0); // Default로 이의신청일자로 부터 3개월동안의 미완료건만 보여준다.
-
- var today = getCurrentDate();
- ipt_fromobtappdd.value= today;
- ipt_toobtappdd.value= today;
- }else{
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load 작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0121","P0291","P0264","P0008","P0028"), new Array("/root/init/P0121list", "/root/init/P0291list","/root/init/P0264list","/root/init/P0008list","/root/init/P0028list"));
- zbcfGetCodeList(new Array("P0421","P0426", "P0458"), new Array("/root/init/P0421list", "/root/init/P0426list", "/root/init/P0458list"));
- model.refresh();
- }
-
- // 초기화 작업
- function fInitialize() {
- //날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
-
- ipt_fromobtappdd.value = curDate;
- ipt_toobtappdd.value = curDate;
- rdo_chosflag.select(0);
- rdo_endyn.select(0);
- model.removeNodeset("/root/main/list01/gridrsltqry");
- model.removeNodeset("/root/main/list02/griddocu");
- grd_confirmlist.visible = false;
- }
-
- function fChkSend(){
- if (ipt_fromobtappdd.value == "") {
- alert("심결통보시작일(From)을 입력해 주세요");
- model.setFocus("ipt_fromobtappdd");
- return false;
- }
- if (ipt_toobtappdd.value == "") {
- alert("심결통보종료일(To)을 입력해 주세요");
- model.setFocus("ipt_toobtappdd");
- return false;
- }
-
- if (ipt_fromobtappdd.value < "20120701" && ipt_toobtappdd.value >= "20120701") {
- alert("2012년 7월 이전과 이후의 자료를 동시에 조회할 수 없습니다 ");
- model.setFocus("ipt_toobtappdd");
- return false;
- }
-
- return true;
- }
-
- function fObtAppList(){
- if(fChkSend()){
-
- model.removeNodeset("/root/main/list01/gridrsltqry");
- model.removeNodeset("/root/main/list02/griddocu");
- btn_prescond.selected= true;
- model.toggle("case3");
-
- model.resetInstanceNode("/root/main/list01");
- model.resetInstanceNode("/root/main/confirm");
- model.refresh();
-
- if (ipt_fromobtappdd.value < "20120101") { // 2012년 7월 이전 조회 (TRPIR32000)
- submit("TRPIR32000");
- } else { // 2012년 7월 이후 조회 (TRPIR32003)
- submit("TRPIR32002");
-
- var confirm_yn = model.getValue("/root/main2/confirm/confirmstat/confirm_yn");
-
- var confirm_list = getNodesetCount("/root/main2/confirm/rslt");
- if (confirm_list > 0 ) {
- alert("줄번호가 없는 처방 발생 되었습니다.");
- group4.visible = true;
- return false;
- }
-
- if (confirm_yn == "X" ) {
- alert("해당 조회 기간 내 확인 완료/미완료 건이 모두 포함되어 있습니다. 조회 기간을 변경하여 주십시요");
- model.setFocus("ipt_fromobtappdd");
- return false;
- }
-
- model.setValue("/root/send/send_dataqry/confirm_yn", confirm_yn);
- submit("TRPIR32003");
-
- }
-
- if( getNodesetCount("/root/main/list01/gridrsltqry/orddeptcd") > 0 ){
- grd_rsltqry.multiTotals = true;
- grd_rsltqry.subtotalPosition = "below"
- grd_rsltqry.subtotal("sum", 2, grd_rsltqry.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "소계", false);
- grd_rsltqry.subtotal("sum", 2, grd_rsltqry.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "소계", false);
- grd_rsltqry.subtotal("sum", 2, grd_rsltqry.colRef("adjtamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "소계", false);
- grd_rsltqry.subtotal("sum", 2, grd_rsltqry.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "소계", false);
- grd_rsltqry.subtotal("sum", 2, grd_rsltqry.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "소계", false);
- grd_rsltqry.subtotal("sum", -1, grd_rsltqry.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "총합계", false);
- grd_rsltqry.subtotal("sum", -1, grd_rsltqry.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "총합계", false);
- grd_rsltqry.subtotal("sum", -1, grd_rsltqry.colRef("adjtamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "총합계", false);
- grd_rsltqry.subtotal("sum", -1, grd_rsltqry.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "총합계", false);
- grd_rsltqry.subtotal("sum", -1, grd_rsltqry.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", grd_rsltqry.colRef("orddeptnm"), "총합계", false);
- }
-
- }
- }
- function fGridDocuAll(){
- submit("TRPIR32006");
-
- if( getNodesetCount("/root/main/list04/griddocuall/clamno") > 0 ){
- griddocuall.multiTotals = true;
- griddocuall.subtotalPosition = "below"
- griddocuall.subtotal("sum", 2, griddocuall.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "의사별 소계", false);
- griddocuall.subtotal("sum", 2, griddocuall.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "의사별 소계", false);
- griddocuall.subtotal("sum", 2, griddocuall.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "의사별 소계", false);
- griddocuall.subtotal("sum", 2, griddocuall.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "의사별 소계", false);
- griddocuall.subtotal("sum", -1, griddocuall.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "총합계", false);
- griddocuall.subtotal("sum", -1, griddocuall.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "총합계", false);
- griddocuall.subtotal("sum", -1, griddocuall.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "총합계", false);
- griddocuall.subtotal("sum", -1, griddocuall.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuall.colRef("orddeptcd"), "총합계", false);
- }
- }
-
- function fGridDocuAdjtamt(){
- submit("TRPIR32007");
-
- if( getNodesetCount("/root/main/list05/griddocuall/clamno") > 0 ){
- griddocuadjtamt.multiTotals = true;
- griddocuadjtamt.subtotalPosition = "below"
- griddocuadjtamt.subtotal("sum", 2, griddocuadjtamt.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "의사별 소계", false);
- griddocuadjtamt.subtotal("sum", 2, griddocuadjtamt.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "의사별 소계", false);
- griddocuadjtamt.subtotal("sum", 2, griddocuadjtamt.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "의사별 소계", false);
- griddocuadjtamt.subtotal("sum", 2, griddocuadjtamt.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ffffff; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "의사별 소계", false);
- griddocuadjtamt.subtotal("sum", -1, griddocuadjtamt.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "총합계", false);
- griddocuadjtamt.subtotal("sum", -1, griddocuadjtamt.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "총합계", false);
- griddocuadjtamt.subtotal("sum", -1, griddocuadjtamt.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "총합계", false);
- griddocuadjtamt.subtotal("sum", -1, griddocuadjtamt.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocuadjtamt.colRef("orddeptcd"), "총합계", false);
- }
- }
-
-
- function fGridDocuItemamt(){
- submit("TRPIR32008");
-
- if( getNodesetCount("/root/main/list07/deptitemcutamtlist") > 0 ){
- //삭감구성비입력
- var nodecnt = parseInt(model.getXPathValue("count(/root/main/list07/deptitemcutamtlist[*]/ediamta)"));
- var ediamta = 0;
- var ediamti = 0;
- var ediamto = 0;
- for (var i=1; i <= nodecnt; i++) {
- var orddeptcd = model.getXPathValue("sum(/root/main/list07/deptitemcutamtlist["+i+"]/orddeptcd)");
- var deptediamtatot = parseInt(model.getXPathValue("sum(/root/main/list07/deptitemcutamtlist[orddeptcd='"+orddeptcd+"']/ediamta)"));
- var deptediamtitot = parseInt(model.getXPathValue("sum(/root/main/list07/deptitemcutamtlist[orddeptcd='"+orddeptcd+"']/ediamti)"));
- var deptediamtotot = parseInt(model.getXPathValue("sum(/root/main/list07/deptitemcutamtlist[orddeptcd='"+orddeptcd+"']/ediamto)"));
- ediamta = parseInt(model.getValue("/root/main/list07/deptitemcutamtlist["+i+"]/ediamta"));
- ediamti = parseInt(model.getValue("/root/main/list07/deptitemcutamtlist["+i+"]/ediamti"));
- ediamto = parseInt(model.getValue("/root/main/list07/deptitemcutamtlist["+i+"]/ediamto"));
-
- model.setValue("/root/main/list07/deptitemcutamtlist["+i+"]/cuttotpera", (ediamta/deptediamtatot*100).toFixed(2));
- model.setValue("/root/main/list07/deptitemcutamtlist["+i+"]/cuttotperi", (ediamti/deptediamtitot*100).toFixed(2));
- model.setValue("/root/main/list07/deptitemcutamtlist["+i+"]/cuttotpero", (ediamto/deptediamtotot*100).toFixed(2));
- }
-
- datagrid2.subtotalPosition = "below";
- datagrid2.subtotal("sum", -1, 2 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 3 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 4 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 5 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 6 , "#,###.00", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 7 , "#,###.00", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 8 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 9 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 10 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 11 , "#,###.00", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 12 , "#,###.00", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 13 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 14 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 15 , "#,###", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 16 , "#,###.00", "background-color:#99ff99", 2, "합계");
- datagrid2.subtotal("sum", -1, 17 , "#,###.00", "background-color:#99ff99", 2, "합계");
- //datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 2 , "#,###", "background-color:#99ff99", 1, datagrid2.valueMatrix( 1 ));
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 3 , "#,###", "background-color:#99ff99", null, null);
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 4 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 5 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 6 , "#,###.00", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 7 , "#,###.00", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 8 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 9 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 10 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 11 , "#,###.00", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 12 , "#,###.00", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 13 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 14 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 15 , "#,###", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 16 , "#,###.00", "background-color:#99ff99", 2, "소계");
- datagrid2.subtotal("sum", datagrid2.colRef("orddeptnm"), 17 , "#,###.00", "background-color:#99ff99", 2, "소계");
- for (var i=datagrid2.fixedRows ; i < datagrid2.rows; i++) {
- if (datagrid2.labelMatrix(i, datagrid2.colRef("clinclrg")) == "소계" || datagrid2.labelMatrix(i, datagrid2.colRef("clinclrg")) == "합계" ) {
- var realcutamta = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("realcutamta")));
- var realcutamti = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("realcutamti")));
- var realcutamto = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("realcutamto")));
- var deptediamtatot = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("ediamta")));
- var deptediamtitot = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("ediamti")));
- var deptediamtotot = parseInt(datagrid2.valueMatrix(i, datagrid2.colRef("ediamto")));
- datagrid2.valueMatrix(i, datagrid2.colRef("cutpera")) = (realcutamta/deptediamtatot*100).toFixed(2);
- datagrid2.valueMatrix(i, datagrid2.colRef("cutperi")) = (realcutamti/deptediamtatot*100).toFixed(2);
- datagrid2.valueMatrix(i, datagrid2.colRef("cutpero")) = (realcutamto/deptediamtatot*100).toFixed(2);
- }
- }
-
- model.refresh();
-
- for (var i=2; i < datagrid2.cols; i++) {
- datagrid2.mergeCol(i) = false;
- }
- datagrid2.merge();
-
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1200;2,379;2,386;" style="vertical-align:bottom; 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="cap_title" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">과별 의사별 삭감자료(처방별)</caption>
- </group>
- <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <group id="group2" style="left:0px; top:3px; width:1195px; height:42px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter3" navindex="3" style="left:1117px; top:6px; width:68px; height:22px; ">
- <caption>조 회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fObtAppList();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:293px; top:10px; width:93px; height:17px; ">내원유형</caption>
- <caption id="caption11" class="search_name" style="left:525px; top:9px; width:85px; height:17px; ">심사확인</caption>
- <select1 id="rdo_endyn" ref="/root/send/send_dataqry/obtapprsltendflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:605px; top:10px; width:164px; 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>
- </choices>
- </select1>
- <select1 id="rdo_chosflag" ref="/root/send/send_dataqry/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:374px; top:11px; width:141px; 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>
- </choices>
- </select1>
- <caption id="caption2" class="search_no_b" style="left:186px; top:11px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromobtappdd" ref="/root/send/send_dataqry/fromobtappdd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:10px; width:86px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //model.setValue("/root/send/send_dataqry/toobtappdd",model.getValue("/root/send/send_dataqry/fromobtappdd"));
- //model.refreshpart("/root/send/send_dataqry/toobtappdd");
- ]]>
- </script>
- </input>
- <input id="ipt_toobtappdd" ref="/root/send/send_dataqry/toobtappdd" class="input_search" navindex="11" inputtype="date" format="yyyy-mm-dd" style="left:199px; top:10px; width:86px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:7px; top:10px; width:99px; height:17px; ">심결통보일</caption>
- <!-- 항목삭제(경북대학교병원) 2011.04.29 김광성
- <select id="chk_insukind3" ref="/root/send/send_dataqry/insukind3" overflow="visible" appearance="full" style="left:902px; top:10px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>자보</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption19" class="search_name" style="left:797px; top:10px; width:102px; height:17px; ">자보삭감조회</caption>
- <caption id="caption3" style="left:950px; top:10px; width:136px; height:17px; ">(동의일자기준으로 조회)</caption>
- -->
- <caption id="caption3" class="search_name" style="left:775px; top:9px; width:170px; height:17px; ">최종 확인된 통보일자 :</caption>
- <input id="confirm_maxday" ref="/root/main2/confirm/confirmstat/confirm_maxday" disabled="true" format="yyyy-mm-dd" style="left:940px; top:10px; width:95px; height:19px; text-align:center; "/>
- <button id="button1" class="btn2_letter4" visibility="visible" style="left:1037px; top:10px; width:64px; height:19px; ">
- <caption>확인내역</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_confirmlist.visible == true) {
- model.refresh();
- grd_confirmlist.visible = false;
- }
- else {
- model.refresh();
- submit("TRPIR32005");
- grd_confirmlist.visible = true;
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:44px; width:1190px; height:691px; ">
- <switch id="swt_aipmmngt" style="left:0px; top:31px; width:1190px; height:660px; ">
- <case id="case3" style="left:0px; top:0px; width:1188px; height:655px; ">
- <datagrid id="grd_rsltqry" nodeset="/root/main/list01/gridrsltqry" class="datagrid2" autoresize="true" caption="통보월^진료과코드^진료과명^현소속과^교수명^원내삭감액
①^원외삭감액
②^총삭감액
①+②^이의신청회수액
③^실삭감액
①+②-③^확인일자^사번^교수구분" colsep="^" colwidth="59, 28, 130, 122, 91, 99, 89, 100, 106, 123, 71, 61, 100" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:7px; width:1185px; height:639px; vertical-align:middle; ">
- <col ref="notimm" format="yyyy-mm" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden" style="left:20px; top:52px; width:57px; height:23px; text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddeptnm1" visibility="hidden" style="text-align:center; "/>
- <col ref="orddridnm" style="text-align:center; "/>
- <col ref="adjtamt_in" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt_out" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="confirmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <col ref="jobposcd" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var curr_row = grd_rsltqry.row;
- var orddeptcd = grd_rsltqry.valueMatrix(curr_row, grd_rsltqry.colRef("orddeptcd"));
- var orddrid = grd_rsltqry.valueMatrix(curr_row, grd_rsltqry.colRef("orddrid"));
-
- model.setValue("/root/send/send_docu/orddeptcd", orddeptcd);
- model.setValue("/root/send/send_docu/orddrid", orddrid);
- model.setValue("/root/send/send_docu/fromobtappdd", model.getValue("/root/send/send_dataqry/fromobtappdd"));
- model.setValue("/root/send/send_docu/toobtappdd", model.getValue("/root/send/send_dataqry/toobtappdd"));
- model.setValue("/root/send/send_docu/chosflag", model.getValue("/root/send/send_dataqry/chosflag"));
- model.setValue("/root/send/send_docu/obtapprsltendflag", model.getValue("/root/send/send_dataqry/obtapprsltendflag"));
- model.setValue("/root/send/send_docu/insukind3", model.getValue("/root/send/send_dataqry/insukind3"));
-
- if (orddrid == "총합계"){
- model.setValue("/root/send/send_docu/selgubun", "A"); // 총합계 클릭하면 전체 환자가 조회된다.
- }else{
- model.setValue("/root/send/send_docu/selgubun", "D"); // 그 외에는 진료과별 환자가 조회된다.
- }
-
- if (model.getValue("/root/send/send_docu/orddrid") != "") {
- btn_mngt.selected= true;
- btn_mngt.dispatch("xforms-activate");
-
- model.removeNodeset("/root/main/list02/griddocu");
- model.resetInstanceNode("/root/main/list02");
- model.refresh();
-
- // 의사별 삭감처방조회
- if (ipt_fromobtappdd.value < "20120701") { // 2012년 7월 이전 조회 (TRPIR32001)
- submit("TRPIR32001");
- } else { // 2012년 7월 이후 조회 (TRPIR32004)
- submit("TRPIR32004");
- }
- // 합계표시
- if( getNodesetCount("/root/main/list02/griddocu/clamno") > 0 ){
- griddocu.multiTotals = true;
- griddocu.subtotalPosition = "below"
- griddocu.subtotal("sum", griddocu.colRef("orddrid"), griddocu.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", griddocu.colRef("orddrid"), griddocu.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", griddocu.colRef("orddrid"), griddocu.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", griddocu.colRef("orddrid"), griddocu.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", -1, griddocu.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "총합계", false);
- griddocu.subtotal("sum", -1, griddocu.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "총합계", false);
- griddocu.subtotal("sum", -1, griddocu.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "총합계", false);
- griddocu.subtotal("sum", -1, griddocu.colRef("realcutamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "총합계", false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsltqry.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line12" class="line_1" style="x1:0px; y1:2px; x2:1188px; y2:2px; "/>
- <group id="group4" visibility="hidden" style="left:40px; top:80px; width:560px; height:225px; ">
- <datagrid id="datagrid1" nodeset="/root/main2/confirm/rslt" caption="통보일자^청구번호^명일련^심사차수^접수번호^문서번호^줄번호^caption1^caption2^caption3^caption4^caption5^caption7^caption8^caption9^caption10^caption6^caption11" colsep="^" colwidth="82, 100, 76, 76, 100, 61, 57, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:555px; height:195px; ">
- <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuno"/>
- <col ref="lnno" type="input"/>
- <col ref="calcseqno" visibility="hidden"/>
- <col ref="calcnotidd" visibility="hidden"/>
- <col ref="clamseqno" visibility="hidden"/>
- <col ref="jradjtresn" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="itemlnno" visibility="hidden"/>
- <col ref="calcjudgdg" visibility="hidden"/>
- <col ref="caadjtresn" visibility="hidden"/>
- <col ref="tbnm" visibility="hidden"/>
- <col ref="calcyearseqno" visibility="hidden"/>
- </datagrid>
- <button id="button3" class="btn1_letter2" style="left:436px; top:198px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter2" style="left:496px; top:198px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var update = datagrid1.getUpdateData();
- model.setValue("/root/send/datagrid1", update);
- submit("TXPIR32001");
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="case4" class="sw_box" style="left:0px; top:0px; width:1188px; height:655px; ">
- <datagrid id="griddocu" nodeset="/root/main/list02/griddocu" class="datagrid2" allowuserresize="true" autosizemouse="true" caption="진료과명^사번^교수명^구분^환자번호^수진자명^삭감처방^단가
①^청구일투량
②
^청구일수
③^청구액
①×②×③^조정일투량^조정일수^원내삭감액
④^원외삭감액
⑤^이의신청회수액
⑥^회수액
원 삭감통보월^실삭감액
④+⑤-⑥^보험유형^청구번호^접수번호^명일련^줄^사유^삭감사유^구분^참조란^현 소속과" colsep="^" colwidth="114, 53, 66, 38, 76, 63, 234, 71, 69, 59, 94, 69, 58, 94, 95, 96, 100, 100, 73, 75, 75, 67, 27, 37, 237, 40, 336, 100" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:7px; width:1185px; height:644px; vertical-align:middle; ">
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrid" visibility="hidden" style="text-align:center; "/>
- <col ref="orddridnm" style="text-align:center; "/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="calcscorcdnm" style="text-align:left; "/>
- <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
- <col ref="drugqty" format="#,###" style="text-align:right; "/>
- <col ref="dayno" format="#,###" style="text-align:right; "/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtqty" format="#,###" style="text-align:right; "/>
- <col ref="adjttotqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt_in" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt_out" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decinotiym" style="text-align:center; "/>
- <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insukind" type="combo">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </col>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="edilnno" style="text-align:center; "/>
- <col ref="adjtresncd" style="text-align:center; "/>
- <col disabled="true" ref="adjtresncd" type="combo" visibility="visible" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0277list/P0277">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="jobposcd" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>교수</label>
- <value>1782</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col ref="rem" type="input"/>
- <col ref="orddeptcd1" visibility="visible" style="text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:2px; x2:1184px; y2:2px; "/>
- </case>
- <case id="case1">
- <line id="line2" class="line_1" style="x1:0px; y1:2px; x2:1184px; y2:2px; "/>
- <datagrid id="griddocuall" nodeset="/root/main/list04/griddocuall" class="datagrid2" caption="통보월^교수명^사번^진료과^현 소속과^구분^환자번호^수진자명^처방코드^삭감처방^원내삭감액
①^원외삭감액
②^이의신청회수액
③^회수액
원 삭감통보월^실삭감액
①+②-③^보험유형^청구번호^접수번호^명일련^줄^사유^삭감사유" colsep="^" colwidth="60, 60, 45, 115, 115, 38, 76, 63, 86, 234, 94, 95, 96, 100, 100, 73, 75, 75, 67, 27, 37, 237" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:7px; width:1185px; height:644px; vertical-align:middle; ">
- <col ref="notimm" format="yyyy-mm" style="text-align:center; "/>
- <col ref="orddridnm" style="text-align:center; "/>
- <col ref="orddrid" visibility="visible" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="orddeptcd1"/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="snglcalcscorcd"/>
- <col ref="calcscorcdnm" style="text-align:left; "/>
- <col ref="adjtamt_in" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt_out" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decinotiym" style="text-align:center; "/>
- <col ref="realcutamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insukind" type="combo">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </col>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="edilnno" style="text-align:center; "/>
- <col ref="adjtresncd" style="text-align:center; "/>
- <col disabled="true" ref="adjtresncd" type="combo" visibility="visible" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0277list/P0277">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case5">
- <line id="line3" class="line_1" style="x1:0px; y1:2px; x2:1184px; y2:2px; "/>
- <datagrid id="griddocuadjtamt" nodeset="/root/main/list05/griddocuall" class="datagrid2" visibility="visible" caption="통보월^교수명^사번^진료과^현 소속과^구분^환자번호^수진자명^처방코드^삭감처방^원내삭감액
①^원외삭감액
②^이의신청회수액
③^회수액
원 삭감통보월^실삭감액
①+②-③^보험유형^청구번호^접수번호^명일련^줄^사유^삭감사유" colsep="^" colwidth="60, 60, 45, 115, 115, 38, 76, 63, 86, 234, 94, 95, 96, 100, 100, 73, 75, 75, 67, 27, 37, 237" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:7px; width:1185px; height:644px; vertical-align:middle; ">
- <col ref="notimm" format="yyyy-mm" style="text-align:center; "/>
- <col ref="orddridnm" style="text-align:center; "/>
- <col ref="orddrid" visibility="visible" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="orddeptcd1"/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="snglcalcscorcd"/>
- <col ref="calcscorcdnm" style="text-align:left; "/>
- <col ref="adjtamt_in" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="adjtamt_out" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="deciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="decinotiym" style="text-align:center; "/>
- <col ref="realcutamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="insukind" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </col>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="docuseqno" visibility="hidden" style="text-align:center; "/>
- <col ref="edilnno" visibility="hidden" style="text-align:center; "/>
- <col ref="adjtresncd" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="adjtresncd" type="combo" visibility="hidden" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0277list/P0277">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case6" selected="true" style="left:0px; top:0px; width:1188px; height:655px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:2px; x2:1184px; y2:2px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/list07/deptitemcutamtlist" class="datagrid2" caption="부서코드^부서명^항목명^합계^합계^합계^합계^합계^입원^입원^입원^입원^입원^외래^외래^외래^외래^외래|부서코드^부서명^항목명^청구진료비^삭감
건수^삭감액^삭감율^삭감
구성비^청구진료비^삭감
건수^삭감액^삭감율^삭감
구성비^청구진료비^삭감
건수^삭감액^삭감율^삭감구성비|부서코드^부서명^항목명^청구진료비^삭감
건수^삭감액^삭감율^삭감
구성비^청구진료비^삭감
건수^삭감액^삭감율^삭감
구성비^청구진료비^삭감
건수^삭감액^삭감율^삭감구성비" colsep="^" colwidth="26, 141, 80, 100, 40, 85, 45, 45, 100, 40, 85, 45, 45, 100, 40, 85, 45, 45" mergecells="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:1185px; height:623px; ">
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col disabled="true" ref="clinclrg" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>진찰</label>
- <value>01</value>
- </item>
- <item>
- <label>입원</label>
- <value>02</value>
- </item>
- <item>
- <label>투약</label>
- <value>03</value>
- </item>
- <item>
- <label>주사</label>
- <value>04</value>
- </item>
- <item>
- <label>마취</label>
- <value>05</value>
- </item>
- <item>
- <label>이학</label>
- <value>06</value>
- </item>
- <item>
- <label>정신</label>
- <value>07</value>
- </item>
- <item>
- <label>수술</label>
- <value>08</value>
- </item>
- <item>
- <label>검사</label>
- <value>09</value>
- </item>
- <item>
- <label>방사선</label>
- <value>10</value>
- </item>
- <item>
- <label>특수</label>
- <value>SS</value>
- </item>
- <item>
- <label>Pet CT</label>
- <value>PCT</value>
- </item>
- <item>
- <label>CT</label>
- <value>CT</value>
- </item>
- <item>
- <label>혈액</label>
- <value>BLD</value>
- </item>
- <item>
- <label>기타</label>
- <value>ETC</value>
- </item>
- <item>
- <label>정액</label>
- <value>ZZ</value>
- </item>
- <item>
- <label>소계</label>
- <value>소계</value>
- </item>
- </choices>
- </col>
- <col ref="ediamta" format="#,###" style="text-align:right; "/>
- <col ref="cutcnta" format="#,###" style="text-align:right; "/>
- <col ref="realcutamta" format="#,###" style="text-align:right; "/>
- <col ref="cutpera" format="#,###.00" style="text-align:right; "/>
- <col ref="cuttotpera" format="#,###.00" style="text-align:right; "/>
- <col ref="ediamti" format="#,###" style="text-align:right; "/>
- <col ref="cutcnti" format="#,###" style="text-align:right; "/>
- <col ref="realcutamti" format="#,###" style="text-align:right; "/>
- <col ref="cutperi" format="#,###.00" style="text-align:right; "/>
- <col ref="cuttotperi" format="#,###.00" style="text-align:right; "/>
- <col ref="ediamto" format="#,###" style="text-align:right; "/>
- <col ref="cutcnto" format="#,###" style="text-align:right; "/>
- <col ref="realcutamto" format="#,###" style="text-align:right; "/>
- <col ref="cutpero" format="#,###.00" style="text-align:right; "/>
- <col ref="cuttotpero" format="#,###.00" style="text-align:right; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- button3.dispatch("xforms-activate");
- button3.selected = true;
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_prescond" class="btn_sw" group="tab" selected="true" style="left:0px; top:10px; width:130px; height:22px; ">
- <caption>과별 의사별 삭감</caption>
- <toggle case="case3" ev:event="xforms-activate"/>
- </button>
- <button id="btn_mngt" class="btn_sw" group="tab" selected="false" style="left:131px; top:10px; width:94px; height:22px; ">
- <caption>환자별 삭감</caption>
- <toggle case="case4" ev:event="xforms-activate"/>
- </button>
- <caption id="caption6" style="left:680px; top:2px; width:365px; height:28px; font-size:8pt; font-weight:bold; color:#fa0413; background-color:#f5feb8; ">
- <![CDATA[** 처방코드별 의사별(삭감처방 PIRHOBTD, 사후처방 PIDHCLOD)로 집계한 자료입니다.
- 이의신청마감된 자료기준 **]]>
- </caption>
- <button id="button7" class="btn2_letter4" style="left:1122px; top:11px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
- // 그리드 제목을 선택하면 저장이 안된다.
- // if (grd_rsltqry.rows == 2) {
- // return;
- // }
-
- if (btn_prescond.selected == true) {
- var fileName = window.fileDialog("save", ",", false, "과별의사별 삭감자료_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- // grd_rsltqry.saveExcel(fileName, "과별의사별 삭감자료", true, true, "", "", "orddeptcd:label"); // (-) 값 오류로 수정함. 2012.08.14 L.E.J
- grd_rsltqry.saveExcel(fileName, "sheetname:과별 의사별 삭감자료; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
- }
- } else if (btn_all.selected == true) {
- var fileName = window.fileDialog("save", ",", false, "의사별 환자별 삭감자료_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- griddocuall.saveExcel(fileName, "sheetname:의사별 환자별 삭감자료; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:; col_6:label;col_16:label;col_22:label;");
- }
- } else if (btn_mngt.selected == true) {
- var fileName = window.fileDialog("save", ",", false, "의사별 삭감처방자료_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- griddocu.saveExcel(fileName, "sheetname:의사별 삭감 처방 자료; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
- }
- } else if (button5.selected == true){
- var fileName = window.fileDialog("save", ",", false, "의사별 삭감처방자료_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- griddocuadjtamt.saveExcel(fileName, "sheetname:의사별 삭감 처방 자료; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
- }
- } else {
- var fileName = window.fileDialog("save", ",", false, "의사별 삭감처방자료_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- datagrid2.saveExcel(fileName, "sheetname:의사별 삭감 처방 자료; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;col_2:label;col_3:label;");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn2_letter4" style="left:1056px; top:11px; width:64px; height:19px; text-align:left; ">
- <caption>확인완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 확인 완료 전 체크 항목 1. 조회 건수 점검
- if ( getNodesetCount("/root/main/list01/gridrsltqry/orddeptcd") == 0 ) {
- alert("삭감내역을 조회한 후 확인완료 하십시요");
- model.setFocus("btn_search");
- return false;
- }
-
- // 확인 완료 전 체크 항목 2. 확인 완료 점검
- var confirm_yn = model.getValue("/root/mamain2/confirm/confirmstat/nfirm_yn");
- if (confirm_yn == "Y" ) {
- alert("이미 확인 완료된 일자입니다. 확인하세요");
- model.setFocus("ipt_fromobtappdd");
- return false;
- }
-
- // 확인 완료 전 체크 항목 3. 확인 완료는 월단위로 가능함. 조회 시작일자와 종료일자 점검.
- var fromdd = model.getValue("/root/send/send_dataqry/fromobtappdd");
- var todd = model.getValue("/root/send/send_dataqry/toobtappdd");
- var fromyear = fromdd.substr(0,4);
- var frommonth = fromdd.substr(4,2);
- var firstday = fromyear+frommonth+'01' // 조회 월의 시작일자
- var lastday = fromyear+frommonth+new Date(new Date(fromyear, frommonth, 1)-86400000).getDate(); // 조회 월의 마지막일자
- var minfromdd = model.getValue("/root/main/list01/gridrsltqry[1]/minfromdd"); // 조회 결과값의 최초 시작일자
- var maxtodd = model.getValue("/root/main/list01/gridrsltqry[1]/maxtodd"); // 조회 결과값의 최종 종료일자
-
- if (fromdd != firstday ) {
- alert("확인 완료는 월단위로 가능합니다. 시작일자를 변경하세요");
- model.setFocus("ipt_fromobtappdd");
- return false;
- }
- if (todd != lastday ) {
- alert("확인 완료는 월단위로 가능합니다. 종료일자를 변경하세요");
- model.setFocus("ipt_toobtappdd");
- return false;
- }
- if (minfromdd != firstday ) {
- alert("실제 조회 결과값의 조회 시작일자가 확인 완료 조건과 다릅니다. 다시 조회하세요");
- model.setFocus("btn_search");
- return false;
- }
- if (maxtodd != lastday ) {
- alert("실제 조회 결과값의 조회 종료일자가 확인 완료 조건과 다릅니다. 다시 조회하세요");
- model.setFocus("btn_search");
- return false;
- }
- submit("TXPIR32000");
- fObtAppList();
- ]]>
- </script>
- </button>
- <button id="btn_all" class="btn_sw" group="tab" selected="false" style="left:226px; top:10px; width:144px; height:22px; ">
- <caption>진료과별 환자별 삭감</caption>
- <toggle case="case1" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getNodesetCount("/root/main/list04/griddocuall/clamno") > 0 ){
- var ans = messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001"); /// 조회된 모든 심사중 상태 *건을 해제 하시려면 예(Yes)\n아니면 아니오(No)
- if (ans == 6) { // return : yes=6, no=7
- fGridDocuAll();
- }
- } else {
- fGridDocuAll();
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn_sw" group="tab" selected="false" style="left:370px; top:10px; width:144px; height:22px; ">
- <caption>진료과별 환자별 회수액</caption>
- <toggle case="case5" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getNodesetCount("/root/main/list05/griddocuall/clamno") > 0 ){
- var ans = messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001"); /// 조회된 모든 심사중 상태 *건을 해제 하시려면 예(Yes)\n아니면 아니오(No)
- if (ans == 6) { // return : yes=6, no=7
- fGridDocuAdjtamt();
- }
- } else {
- fGridDocuAdjtamt();
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn_sw" group="tab" selected="false" style="left:514px; top:10px; width:144px; height:22px; ">
- <caption>진료과별 항목별</caption>
- <toggle case="case6" ev:event="xforms-activate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getNodesetCount("/root/main/list07/deptitemcutamtlist") > 0 ){
- var ans = messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001"); /// 조회된 모든 심사중 상태 *건을 해제 하시려면 예(Yes)\n아니면 아니오(No)
- if (ans == 6) { // return : yes=6, no=7
- fGridDocuItemamt();
- }
- } else {
- fGridDocuItemamt();
- }
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button4" class="btn4_letter2" style="left:1135px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="22" style="left:1067px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter5" navindex="22" style="left:957px; top:2px; width:68px; height:22px; ">
- <caption>의사개인별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPIR32100", 1, 1, 1, "SMPIR32100", "/root/send/send_docu", "/root/send/send_docu");
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_confirmlist" nodeset="/root/main/list03/confirmlist" visibility="hidden" caption="시작일자^종료일자^확인일자^확인심사자" colsep="^" colwidth="100, 100, 120, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:610px; top:145px; width:425px; height:385px; ">
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="confirmdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="confirmnm" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_confirmlist.selectedRow(0);
-
- var fromdd = grd_confirmlist.textmatrix(row, grd_confirmlist.colRef("fromdd")); // 시작일자
- var todd = grd_confirmlist.textmatrix(row, grd_confirmlist.colRef("todd")); // 종료일자
-
- model.setValue( "/root/send/send_dataqry/fromobtappdd",fromdd);
- model.setValue( "/root/send/send_dataqry/toobtappdd",todd);
- model.setValue( "/root/send/send_dataqry/chosflag","1");
- model.setValue( "/root/send/send_dataqry/obtapprsltendflag","1");
- grd_confirmlist.visible = false;
-
- fObtAppList();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|