123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <main>
- <list02>
- <griddocu>
- </griddocu>
- </list02>
- <confirm>
- <confirmstat>
- <confirm_yn/>
- <confirm_maxday/>
- </confirmstat>
- </confirm>
- </main>
- <send>
- <send_docu>
- <fromobtappdd/>
- <toobtappdd/>
- <chosflag>1</chosflag>
- <obtapprsltendflag>2</obtapprsltendflag>
- <orddeptcd/>
- <orddrid/>
- <insukind3/>
- <selgubun>P</selgubun>
- </send_docu>
- </send>
- <init>
- <P0277list>
- <P0277>
- <cdid/>
- <cdnm/>
- </P0277>
- </P0277list>
- </init>
- <hidden>
- <memo/>
- </hidden>
- </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"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR32004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_docu" resultref="/root/main/list02"/>
- <submission id="TRPIR32002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_docu" resultref="/root/main/confirm"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitialize();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 초기화 작업
- function fInitialize() {
- var vinstcd = getUserInfo("dutplceinstcd");
- //if (vinstcd == "032"){
- // alert("칠곡경북대학교병원은 지원되지 않는 기능입니다");
- //button4.dispatch("DOMActivate");
- //model.close();
- // window.close();
- //}else {
- //날자 입력 항목에 오늘 날자 세팅
- //var curDate = getCurrentDate();
-
- //ipt_fromobtappdd.value = curDate;
- rdo_chosflag.select(0);
- rdo_selgubun.select(0);
- model.removeNodeset("/root/main/list02/griddocu");
-
- // 공통코드 가져오기
- zbcfGetCodeList(new Array("P0277"), new Array("/root/init/P0277list"));
-
- // 심사팀 최종 확인일자 가져오기
- submit("TRPIR32002");
-
- model.setValue("/root/send/send_docu/obtapprsltendflag","2");
- model.setValue("/root/send/send_docu/selgubun","P");
- var userId = getUserId();
- var orddrid = model.getValue("/root/send/send_docu/orddrid");
- if (orddrid == ""){
- model.setValue("/root/send/send_docu/orddrid",userId);
- }
-
- model.refreshpart("/root/main/");
-
- fObtAppList();
-
- // var windowtype = window.type;
- // if(windowtype == 'main'){
- // rdo_chosflag.select(0);
- // rdo_selgubun.select(0);
-
- // var today = getCurrentDate();
- // ipt_fromobtappdd.value= today;
- // }else{
- // }
- model.refresh();
- //}
- }
- function fChkSend(){
- if (ipt_fromobtappdd.value == "") {
-
- var cmaxday = model.getValue("/root/main/confirm/confirmstat/confirm_maxday");
- var nfromdd = cmaxday.substr(0,6)+'01'; // 최종 확인일자의 시작일자
- model.setValue("/root/send/send_docu/fromobtappdd",nfromdd);
-
- // alert("조회 월을 입력해 주세요");
- // model.setFocus("ipt_fromobtappdd");
- // return false;
- }
- // if (ipt_fromobtappdd.value != "" && ipt_fromobtappdd.value < "201207") {
- // alert("2012년 7월 이전은 조회할 수 없습니다 ");
- // model.setFocus("ipt_fromobtappdd");
- // return false;
- // }
-
- return true;
- }
-
- function fObtAppList(){
- if(fChkSend()){
-
- var from = ipt_fromobtappdd.value
- var fromyear = from.substr(0,4);
- var frommonth = from.substr(4,2);
- var fromobtappdd = fromyear+frommonth+'01' // 조회 월의 시작일자
- var toobtappdd = fromyear+frommonth+new Date(new Date(fromyear, frommonth, 1)-86400000).getDate(); // 조회 월의 마지막일자
- model.setValue("/root/send/send_docu/fromobtappdd",fromobtappdd);
- model.setValue("/root/send/send_docu/toobtappdd",toobtappdd);
- model.removeNodeset("/root/main/list02/griddocu");
- model.resetInstanceNode("/root/main/list02");
- model.refresh();
-
- submit("TRPIR32004");
-
- if( getNodesetCount("/root/main/list02/griddocu/clamno") > 0 ){
- griddocu.multiTotals = true;
- griddocu.subtotalPosition = "below"
- griddocu.subtotal("sum", 2, griddocu.colRef("adjtamt_in"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", 2, griddocu.colRef("adjtamt_out"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", 2, griddocu.colRef("deciamt"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", griddocu.colRef("calcscorcdnm"), "의사별 소계", false);
- griddocu.subtotal("sum", 2, 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>
- </xhtml:head>
- <xhtml:body guideline="1,1199;" 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:1025px; y1:6px; x2:1025px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter3" navindex="3" style="left:1042px; 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:213px; top:10px; width:93px; height:17px; ">내원유형</caption>
- <select1 id="rdo_chosflag" ref="/root/send/send_docu/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:299px; top:11px; width:141px; height:15px; background-color:#fffbf2; 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>
- <input id="ipt_fromobtappdd" ref="/root/send/send_docu/fromobtappdd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm" style="left:90px; top:10px; width:86px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fObtAppList();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:7px; top:10px; width:99px; height:17px; ">조 회 월</caption>
- <button id="btn_excel" class="btn1_letter3" navindex="3" style="left:1112px; top:6px; width:68px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
- // 그리드 제목을 선택하면 저장이 안된다.
- if (grd_rsltqry.rows == 2) {
- return;
- }
-
- 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:;");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:463px; top:10px; width:93px; height:17px; ">조회구분</caption>
- <select1 id="rdo_selgubun" ref="/root/send/send_docu/selgubun" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:544px; top:11px; width:261px; height:15px; background-color:#fffbf2; border-style:none; ">
- <choices>
- <item>
- <label>개인별 내역 조회</label>
- <value>P</value>
- </item>
- <item>
- <label>일반의사 내역 조회</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fObtAppList();
- ]]>
- </script>
- </select1>
- <input id="ipt_orddrid" ref="/root/send/send_docu/orddrid" visibility="hidden" style="left:815px; top:10px; width:60px; height:19px; "/>
- <input id="ipt_orddeptcd" ref="/root/send/send_docu/orddeptcd" visibility="hidden" style="left:885px; top:10px; width:115px; height:19px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:44px; width:1190px; height:696px; ">
- <datagrid id="griddocu" nodeset="/root/main/list02/griddocu" class="datagrid2" caption="진료과명^사번^교수명^구분^환자번호^수진자명^삭감처방^단가
①^청구일투량
②
^청구일수
③^청구액
①×②×③^조정일투량^조정일수^원내삭감액
④^원외삭감액
⑤^이의신청회수액
⑥^실삭감액
④+⑤-⑥^청구번호^접수번호^명일련^줄^사유^삭감사유^보험유형^구분" colsep="^" colwidth="114, 53, 66, 38, 76, 63, 234, 71, 69, 59, 94, 69, 58, 94, 95, 96, 100, 73, 75, 75, 67, 34, 238, 63, 40" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1185px; height:665px; 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="realcutamt" format="(-)#,###" style="text-align:right; "/>
- <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" 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="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="jobposcd" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>교수</label>
- <value>1782</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- </datagrid>
- <line id="line1" class="line_1" style="x1:4px; y1:2px; x2:1184px; y2:2px; "/>
- <caption id="caption3" style="left:10px; top:672px; width:628px; height:20px; font-weight:bold; color:#ff0000; ">* 행위청구액 = 단가 × 일투량 × 일수 × 보험유형별 가산 * 재료청구액 = 단가 × 일투량 × 일수</caption>
- </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>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </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>
- </group>
- </xhtml:body>
- </xhtml:html>
|