123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554 |
- <?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="">
- <send>
- <fromdd/>
- <todd/>
- <ioflag>I</ioflag>
- <insukind>11^21^22^41</insukind>
- <ordfildcd>-</ordfildcd>
- <orddeptcd/>
- <judgrid/>
- <patunitsrch1/>
- <acptno/>
- <patunitsrch2/>
- </send>
- <main>
- <list>
- <deptitemcutamtlist>
- <orddeptcd/>
- <orddeptnm/>
- <totcnt/>
- <totamt/>
- <clamamt/>
- <adjtamt/>
- <adjtamtper/>
- <totcnt_i/>
- <totalamt_i/>
- <clamamt_i/>
- <totadjtamt_i/>
- <totadjtamt_iper/>
- <totcnt_o/>
- <totalamt_o/>
- <totadjtamt_o/>
- <clamamt_o/>
- <adjtcnt_in/>
- <adjtamt_in/>
- <adjtamt_inper/>
- <adjtcnt_out/>
- <adjtamt_out/>
- </deptitemcutamtlist>
- </list>
- <patinfo>
- <patinfolist>
- <pid/>
- </patinfolist>
- </patinfo>
- </main>
- <init>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <M0530list>
- <M0530>
- <cdid/>
- <cdnm/>
- </M0530>
- </M0530list>
- <M0029list>
- <M0029>
- <cdid/>
- <cdnm/>
- </M0029>
- </M0029list>
- <P0443list/>
- <P0458list/>
- <list1/>
- </init>
- <hidden>
- <U0001>
- <cd/>
- <nm>전체</nm>
- </U0001>
- <U0002list>
- <U0002>
- <cdid/>
- <cdnm/>
- </U0002>
- </U0002list>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <insukind/>
- </cond>
- </sppmc02500>
- <excel>
- <seqno/>
- <printno/>
- </excel>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- CommCode_Load();
-
- // 그리드 초기화(행을 모두 삭제한다.)
- model.removeNodeset("/root/main/list/deptcutamtlist");
- model.refresh();
-
- model.setValue("/root/send/fromdd", getCurrentDate().substr(0,6));
- model.setValue("/root/send/todd", getCurrentDate().substr(0,6));
- ipt_fromdd.refresh();
- ipt_todd.refresh();
-
- addComboItem("cmb_orddeptcd","의과전체", "A","above");
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list1"/>
- <submission id="TRPIF80203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPIJ00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/send" resultref="/root/hidden"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- submit("TRPIJ00203",false);
- submit("TRPIJ00202",false);
- zbcfGetCodeList(new Array("P0028", "P0155", "M0530","M0029","P0443", "P0458"),
- new Array("/root/init/P0028list", "/root/init/P0155list", "/root/init/M0530list", "/root/init/M0029list","/root/init/P0443list", "/root/init/P0458list"));
- }
- function responseHandlerTRPIF80203() {
-
- datagrid1.addRow();
-
- var nodecnt = parseInt(model.getXPathValue("count(/root/main/list/deptitemcutamtlist[*]/totcnt)"));
- if (nodecnt > 2){
- var totcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totcnt)"));
- var totamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totamt)"));
- var clamamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/clamamt)"));
- var adjtamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtamt)"));
- var totcnt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totcnt_i)"));
- var totalamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totalamt_i)"));
- var totadjtamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totadjtamt_i)"));
- var clamamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/clamamt_i)"));
- var totcnt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totcnt_o)"));
- var totalamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totalamt_o)"));
- var clamamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/clamamt_o)"));
- var totadjtamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totadjtamt_o)"));
- var adjtcnt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtcnt_in)"));
- var adjtamt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtamt_in)"));
- var adjtcnt_out = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtcnt_out)"));
- var adjtamt_out = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtamt_out)"));
- var totadjtcnt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/totadjtcnt_i)"));
- var adjtcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/adjtcnt)"));
-
- var obtappcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappcnt)"));
- var obtappamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappamt)"));
- var abdcnt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdcnt)"));
- var abdamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdamt)"));
- var decicnt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/decicnt)"));
- var deciamt = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/deciamt)"));
- var obtappcnt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappcnt_i)"));
- var obtappamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappamt_i)"));
- var obtappcnt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappcnt_o)"));
- var obtappamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappamt_o)"));
- var abdcnt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdcnt_i)"));
- var abdamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdamt_i)"));
- var abdcnt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdcnt_o)"));
- var abdamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdamt_o)"));
- var decicnt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/decicnt_i)"));
- var deciamt_i = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/deciamt_i)"));
- var decicnt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/decicnt_o)"));
- var deciamt_o = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/deciamt_o)"));
- var obtappamt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappamt_in)"));
- var obtappcnt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/obtappcnt_in)"));
- var abdamt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdamt_in)"));
- var abdcnt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/abdcnt_in)"));
- var deciamt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/deciamt_in)"));
- var decicnt_in = parseInt(model.getXPathValue("sum(/root/main/list/deptitemcutamtlist[*]/decicnt_in)"));
-
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/orddeptnm", "합계");
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totcnt", totcnt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totamt", totamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/clamamt", clamamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt", adjtamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totcnt_i", totcnt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totalamt_i", totalamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totadjtamt_i", totadjtamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/clamamt_i", clamamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totcnt_o", totcnt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totalamt_o", totalamt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/clamamt_o", clamamt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totadjtamt_o", totadjtamt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtcnt_in", adjtcnt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt_in", adjtamt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtcnt_out", adjtcnt_out);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt_out", adjtamt_out);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totadjtcnt_i", totadjtcnt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtcnt", adjtcnt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappcnt", obtappcnt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt", obtappamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdcnt", abdcnt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt", abdamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/decicnt", decicnt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt", deciamt);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappcnt_i", obtappcnt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_i", obtappamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappcnt_o", obtappcnt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_o", obtappamt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdcnt_i", abdcnt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_i", abdamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdcnt_o", abdcnt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_o", abdamt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/decicnt_i", decicnt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_i", deciamt_i);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/decicnt_o", decicnt_o);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_o", deciamt_o);
-
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_in", obtappamt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappcnt_in", obtappcnt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_in", abdamt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdcnt_in", abdcnt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_in", deciamt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/decicnt_in", decicnt_in);
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamtper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt"))/totamt*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totadjtamt_iper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/totadjtamt_i"))/totalamt_i*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt_inper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/adjtamt_in"))/totalamt_o*100).toFixed(2));
-
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamtper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt"))/adjtamt*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamtper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt"))/adjtamt*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamtper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt"))/obtappamt*100).toFixed(2));
-
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_iper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_i"))/totadjtamt_i*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_oper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_o"))/totadjtamt_o*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_iper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_i"))/totadjtamt_i*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_oper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_o"))/totadjtamt_o*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_iper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_i"))/obtappamt_i*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_oper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_o"))/obtappamt_o*100).toFixed(2));
-
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_inper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/obtappamt_in"))/adjtamt_in*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_inper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/abdamt_in"))/adjtamt_in*100).toFixed(2));
- model.setValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_inper", (parseInt(model.getValue("/root/main/list/deptitemcutamtlist["+nodecnt+"]/deciamt_in"))/obtappamt_in*100).toFixed(2));
-
- model.refresh();
- }
-
- model.refresh();
-
- removeLoadingWindow();
-
- }
-
- function fGetInAftJudgTrgtManList() {
- // 환자로 조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
-
- model.makeValue("/root/main/patinfo/patinfolist/pid", "");
-
- model.setValue("/root/send/patunitsrch1", patunitsrch1);
-
- if (patunitsrch1 == "") {
- model.setValue("/root/send/patunitsrch2", "");
- }
-
- // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회
- else if (patunitsrch1.isNumber()) {
- // Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
- // if (patunitsrch1.length < 8) {
- // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- // }
-
- model.setValue("/root/send/patunitsrch2", "pidSrch");
- }
- // 문자가 입력된 경우 환자이름으로 조회
- else {
- if (patunitsrch1.length > 1) {
- model.setValue("/root/send/patunitsrch2", "nmSrch");
- }
- else {
- model.setValue("/root/send/patunitsrch2", "");
- model.refresh();
- messageBox("환자로 조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자로 조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:15px; ">과별삭감현황조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sWindowMsg = "데이터 조회 중입니다...";
- callLoadingWindow(sWindowMsg);
-
- asyncSend("TRPIF80203", "/root/send", "/root/main/list", "responseHandlerTRPIF80203");
- //submit("TRPIF80203");
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1098px; y1:7px; x2:1098px; y2:29px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:100px; top:10px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value.substr(0,6);
- model.refreshpart("/root/send/todd");
- ]]>
- </script>
- </input>
- <caption id="caption13" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">청구기간 :</caption>
- <caption id="caption3" style="left:172px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:185px; top:10px; width:70px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:667px; top:10px; width:75px; height:17px; ">진료과 :</caption>
- <caption id="caption2" class="search_name" style="left:270px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
- <caption id="caption4" class="search_name" style="left:882px; top:10px; width:109px; height:17px; ">청구분야 :</caption>
- <select1 id="combo1" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:747px; top:10px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list1/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:972px; top:10px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0458list/P0458">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox1" ref="/root/send/insukind" overflow="visible" appearance="full" cols="5" sep="^" style="left:360px; top:10px; width:305px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여1종</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여2종</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- ]]>
- </script>
- </select>
- <caption id="caption7" class="search_name" style="left:667px; top:40px; width:75px; height:17px; ">심사자 :</caption>
- <select1 id="combo2" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:747px; top:40px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/list/judglist">
- <label ref="judgnm"/>
- <value ref="judgid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_personalsearch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:358px; top:40px; width:84px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // Enter 입력
- if (event.keyCode == "13") {
- // 2글자 이상이면
- if (ipt_personalsearch.currentText.length > 1) {
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetInAftJudgTrgtManList();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/patunitsrch1");
- model.makeValue("/root/main/patinfo/patinfolist/pid", "");
- if (ipt_pid) {
- model.makeValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.makeValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- }
- else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
-
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
-
- var srch_pid = model.getValue ("/root/main/patinfo/patinfolist/pid");
-
- // SPPMC02500_환자조회 화면에서 조회한 경우임
- if (srch_pid) {
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/patunitsrch1", srch_pid);
- }
-
- model.refresh();
-
- fGetInAftJudgTrgtManList();
- ]]>
- </script>
- </input>
- <caption id="caption18" class="search_name" style="left:270px; top:40px; width:90px; height:17px; ">환자조회 :</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:39px; width:99px; height:17px; ">접수번호 :</caption>
- <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" navindex="6" style="left:99px; top:40px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- setInputNodeCurText();
- }
- ]]>
- </script>
- </input>
- </group>
- <button id="button12" class="btn2_letter4" style="left:1130px; top:85px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, caption10.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid1.saveExcel(fileName, "sheetname:sheet1;exporttype:multi");
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:105px; x2:1195px; y2:105px; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:88px; width:265px; height:13px; ">과별삭감현황조회</caption>
- <button id="button2" class="btn2_letter2" style="left:1087px; top:85px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- exeReportPreview("RPPIF80202", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/list/deptitemcutamtlist" class="datagrid2" caption="부서코드^부서명^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^합계^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래^외래|부서코드^부서명^청구
건수^청구총진료비^청구액^삭감건수^삭감액^삭감율^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율^청구
건수^청구총진료비^청구액^삭감건수^삭감액^삭감율^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율^청구
건수^청구총진료비^청구액^삭감액소계
(원내+원외)^원내^원내^원내^원내^원내^원내^원내^원내^원내^원내^원내^원내^환수
건수^원외환수액^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율|부서코드^부서명^청구
건수^청구총진료비^청구액^삭감건수^삭감액^삭감율^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율^청구
건수^청구총진료비^청구액^삭감건수^삭감액^삭감율^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율^청구
건수^청구총진료비^청구액^삭감액소계
(원내+원외)^삭감건수^삭감액^삭감율^이의건수^이의액^이의율^부제건수^부제액^부제율^회수건수^회수액^회수율^환수
건수^원외환수액^이신
건수^이신금액^이신율^부제
건수^부제기금액^부제율^회수
건수^회수금액^회수율" colsep="^" colwidth="26, 100, 45, 90, 85, 55, 85, 45, 45, 85, 45, 45, 85, 45, 45, 85, 45, 45, 90, 85, 55, 85, 45, 45, 85, 45, 45, 85, 45, 45, 85, 45, 45, 85, 85, 85, 54, 80, 45, 54, 80, 45, 54, 80, 45, 54, 80, 45, 44, 85, 45, 85, 45, 45, 85, 45, 45, 85, 45" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:110px; width:1195px; height:630px; ">
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col ref="totcnt" format="#,###" style="text-align:right; "/>
- <col ref="totamt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtcnt" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtamtper" format="#,###.00" style="text-align:right; "/>
- <col ref="obtappcnt" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt" format="#,###" style="text-align:right; "/>
- <col ref="obtappamtper" format="#,###.00" style="text-align:right; "/>
- <col ref="abdcnt" format="#,###" style="text-align:right; "/>
- <col ref="abdamt" format="#,###" style="text-align:right; "/>
- <col ref="abdamtper" format="#,###.00" style="text-align:right; "/>
- <col ref="decicnt" format="#,###" style="text-align:right; "/>
- <col ref="deciamt" format="#,###" style="text-align:right; "/>
- <col ref="deciamtper" format="#,###.00" style="text-align:right; "/>
- <col ref="totcnt_i" format="#,###" style="text-align:right; "/>
- <col ref="totalamt_i" format="#,###" style="text-align:right; "/>
- <col ref="clamamt_i" format="#,###" style="text-align:right; "/>
- <col ref="totadjtcnt_i" format="#,###" style="text-align:right; "/>
- <col ref="totadjtamt_i" format="#,###" style="text-align:right; "/>
- <col ref="totadjtamt_iper" format="#,###.00" style="text-align:right; "/>
- <col ref="obtappcnt_i" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_i" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_iper" format="#,###.00" style="text-align:right; "/>
- <col ref="abdcnt_i" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_i" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_iper" format="#,###.00" style="text-align:right; "/>
- <col ref="decicnt_i" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_i" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_iper" format="#,###.00" style="text-align:right; "/>
- <col ref="totcnt_o" format="#,###" style="text-align:right; "/>
- <col ref="totalamt_o" format="#,###" style="text-align:right; "/>
- <col ref="clamamt_o" format="#,###" style="text-align:right; "/>
- <col ref="totadjtamt_o" format="#,###" style="text-align:right; "/>
- <col ref="adjtcnt_in" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt_in" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt_inper" format="#,###.00" style="text-align:right; "/>
- <col ref="obtappcnt_in" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_in" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_inper" format="#,###.00" style="text-align:right; "/>
- <col ref="abdcnt_in" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_in" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_inper" format="#,###.00" style="text-align:right; "/>
- <col ref="decicnt_in" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_in" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_inper" format="#,###.00" style="text-align:right; "/>
- <col ref="adjtcnt_out" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt_out" format="#,###" style="text-align:right; "/>
- <col ref="obtappcnt_o" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_o" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt_oper" format="#,###.00" style="text-align:right; "/>
- <col ref="abdcnt_o" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_o" format="#,###" style="text-align:right; "/>
- <col ref="abdamt_oper" format="#,###.00" style="text-align:right; "/>
- <col ref="decicnt_o" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_o" format="#,###" style="text-align:right; "/>
- <col ref="deciamt_oper" format="#,###.00" style="text-align:right; "/>
- </datagrid>
- <caption id="caption5" style="left:130px; top:85px; width:160px; height:20px; ">※청구월 기준 조회 입니다.</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="group1" scroll="auto" style="left:0px; top:755px; width:1195px; height:28px; ">
- <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|