123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429 |
- <?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="">
- <send>
- <termflag>clamym</termflag>
- <fromdd/>
- <todd/>
- <ioflag>A</ioflag>
- <judgrid/>
- <endyn/>
- <orddeptcd/>
- <patunitsrch1/>
- </send>
- <main>
- <list01>
- <gridsendreclambookspec>
- <clamym/>
- <clamflag/>
- <clamdg/>
- <uncoym/>
- <ioflag/>
- <insukind/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <judgrid/>
- <reteresn/>
- <reteresnrem/>
- <clclamamt/>
- <reclamyn/>
- <abdresncd/>
- <repletclamdifamt/>
- <difamtgenrresn/>
- <repletclamym/>
- <repletclamdg/>
- <repletjudgrid/>
- <repletacptdd/>
- <repletclamamt/>
- <resendyn/>
- <repletjrrealcutamt/>
- <rem/>
- </gridsendreclambookspec>
- </list01>
- </main>
- <init>
- <P0114list>
- <P0114>
- <cdid/>
- <cdnm/>
- </P0114>
- </P0114list>
- <P0425list>
- <P0425>
- <cdid/>
- <cdnm/>
- </P0425>
- </P0425list>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <hidbatchgrid>
- <ofidocno/>
- <ofidocarvdd/>
- </hidbatchgrid>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF72101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TXPIF72101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/result"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- zbcfGetCodeList(new Array("P0114"), new Array( "/root/init/P0114list")); // 청구과
- zbcfGetCodeList(new Array("P0242"), new Array( "/root/init/P0242list")); // 사유
- zbcfGetCodeList(new Array("P0121"), new Array( "/root/init/P0121list")); // 반송사유
- // grd_sendreclambookspec.colHidden(13) = true; // 주민번호 필드 감추기(주민보류와 자격보류인 경우만 보임)
- // grd_sendreclambookspec.colHidden(20) = true; // 심사보류 상세사유 감추기(심사보류인 경우만 보임)
- // grd_sendreclambookspec.colHidden(21) = true; // 심사보류 상세설명 감추기(심사보류인 경우만 보임)
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetInAftJudgTrgtManList(){
-
- // 환자단위조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
- model.setValue("/root/send/patunitsrch1", patunitsrch1);
- if (patunitsrch1 == "") {
- model.setValue("/root/send/patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
- 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;
- }
- }
- }
-
- function fPatTypeSrch() {
- var ipt_pid = model.getValue("/root/send/patunitsrch1");
- if (ipt_pid) {
- if(ipt_pid.isNumber()) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
- model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
- }
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
-
- // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
- if (ipt_pid != "") {
- if(ipt_pid.isNumber()) {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- model.setValue("/root/send/patunitsrch1", srch_pid);
- } else {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/send/patunitsrch1", srch_pid);
- }
- } else {
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- model.setValue("/root/send/patunitsrch1", srch_pid);
- }
-
- model.refresh();
- fGetInAftJudgTrgtManList();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">반송재청구장부(산재)</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:752px; width:1195px; height:27px; "/>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
- <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( model.getValue("/root/send/fromdd") == '' || model.getValue("/root/send/todd") == '' ){
- messageBox("시작일자 또는 종료일자를 입력해 주세요", "E999", "");
- return false;
- }
- // 보험유형이 보험인 경우 보호에 해당하는 필드 감추기. 보험에 해당하는 필드 보이기.
- submit("TRPIF72101");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line26" class="line_4" style="x1:1108px; y1:12px; x2:1108px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption31" style="left:281px; top:7px; width:15px; height:15px; ">~</caption>
- <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:70px; top:6px; width:115px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>clamym</value>
- </item>
- <item>
- <label>미수월</label>
- <value>uncoym</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/fromdd","");
- model.setValue("/root/send/todd","");
-
- if(rdo_termflag.value == "clamym" || rdo_termflag.value == "uncoym") {
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- ipt_fromdd.attribute("maxlength") = 6;
- ipt_todd.attribute("maxlength") = 6;
- ipt_fromdd.attribute("inputtype") = "date";
- ipt_todd.attribute("inputtype") = "date";
- } else {
- ipt_fromdd.attribute("format") = "";
- ipt_todd.attribute("format") = "";
- ipt_fromdd.attribute("maxlength") = 8;
- ipt_todd.attribute("maxlength") = 8;
- ipt_fromdd.attribute("inputtype") = "";
- ipt_todd.attribute("inputtype") = "";
- }
- model.setFocus("ipt_fromdd");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption67" class="search_name" style="left:425px; top:5px; width:90px; height:17px; ">내원유형 :</caption>
- <caption id="caption22" class="search_name" style="left:780px; top:5px; width:90px; height:17px; ">완료여부 :</caption>
- <caption id="caption38" class="search_name" style="left:5px; top:35px; width:75px; height:17px; ">심사자 :</caption>
- <caption id="caption39" class="search_name" style="left:425px; top:35px; width:75px; height:17px; ">진료과 :</caption>
- <caption id="caption40" class="search_name" style="left:780px; top:35px; width:112px; height:17px; ">환자단위조회 :</caption>
- <select1 id="cmb_judgrid" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:85px; top:34px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>combo2</label>
- <value>combo2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:505px; top:34px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0114list/P0114">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:192px; top:6px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:295px; top:6px; width:85px; height:19px; "/>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:515px; top:5px; width:135px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_endyn" ref="/root/send/endyn" overflow="visible" appearance="full" cols="3" rows="1" style="left:870px; top:5px; width:145px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>미완료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_patunitsrch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:900px; top:34px; width:90px; height:19px; ">
- <hint>
- <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fPatTypeSrch();
- // fGetInAftJudgTrgtManList();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fPatTypeSrch();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:5px; top:5px; width:60px; height:17px; ">구분 :</caption>
- </group>
- <line id="line28" class="line_1" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
- <caption id="caption37" class="tit_2" style="left:5px; top:85px; width:74px; height:14px; ">반송전체</caption>
- <datagrid id="grd_procsendspec" nodeset="/root/main/list01/gridsendreclambookspec" class="datagrid2" caption="청구월^청구형태^청구
차수^미수월^내원
유형^산재유형^명일련^등록번호^수진자^심사자^사유^사유설명^청구액^재청구여부^부제기사유^보완청구액
-원청구차액^차액발생사유^보완
청구연월^청구
차수^보완
심사자^보완
청구일자^청구액^재반송
여부^실삭감액^비고^비고" colsep="^" colwidth="60, 60, 40, 60, 40, 70, 50, 99, 72, 59, 72, 114, 80, 82, 87, 80, 92, 85, 47, 51, 70, 80, 60, 80, 147" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:105px; width:1194px; height:630px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0121list/P0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="judgrid" style="text-align:center; "/>
- <col ref="reteresn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0242list/P0242">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="reteresnrem"/>
- <col ref="clclamamt" format="#,###" style="text-align:right; "/>
- <col ref="reclamyn" style="text-align:center; "/>
- <col ref="abdresncd" style="text-align:center; "/>
- <col ref="repletclamdifamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="difamtgenrresn" style="text-align:center; "/>
- <col ref="repletclamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="repletclamdg" style="text-align:center; "/>
- <col ref="repletjudgrid" style="text-align:center; "/>
- <col ref="repletacptdd" format="yyyy-mm-dd"/>
- <col ref="repletclamamt" format="#,###" style="text-align:right; "/>
- <col ref="resendyn" style="text-align:center; "/>
- <col ref="repletjrrealcutamt" format="#,###" style="text-align:right; "/>
- <col ref="rem"/>
- </datagrid>
- <button id="button26" class="btn2_letter2" visibility="hidden" style="left:785px; top:80px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/list02/gridsendreclambookspec", grd_sendreclambookspec.getUpdateData());
- if(submit("TXPIF72101")) {
- submit("TRPIF72101");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" style="left:989px; top:80px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_sendreclambookspec.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" style="left:1043px; top:80px; width:86px; height:19px; ">
- <caption>Open Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- try {
- window.exec("excel");
- } catch(e) {
- alert(e);
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:935px; top:80px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_sendreclambookspec.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:881px; top:80px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_sendreclambookspec.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1130px; top:79px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var today = new Date();
-
- var yy = today.getYear()+"";
- var mm = today.getMonth()+1;
- var dd = today.getDate();
-
- if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
- if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
-
- var tmp = yy+mm+dd;
- var title = "";
-
- if(rdo_insukind.value == "00") {
- title = "반송재청구장부(전체)_"+tmp;
- } else {
- title = "반송재청구장부(보험)_"+tmp;
- }
-
- var fileName = window.fileDialog("save", ",", false, title, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_sendreclambookspec.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|