123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- <?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>
- <termflag>clamym</termflag>
- <fromdd/>
- <todd/>
- <insukind>00</insukind>
- <reteflag>1</reteflag>
- <ioflag>A</ioflag>
- <acptno/>
- <judgrid/>
- <endyn/>
- <ordfildcd/>
- <orddeptcd/>
- <patunitsrch1/>
- <patunitsrch2/>
- <insucmpymark/>
- </send>
- <main>
- <list01>
- <gridsendreclambookspec>
- <clamym/>
- <clamflag/>
- <clamdg/>
- <uncoym/>
- <ioflag/>
- <insucmpymark/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <orddeptcd/>
- <judgrid/>
- <reteresn/>
- <reteresnrem/>
- <clamamt/>
- <reclamyn/>
- <abdresncd/>
- <abdresnmemo/>
- <sendamt/>
- <sendresncd/>
- <reclamym/>
- <reclamdg/>
- <rejudgrid/>
- <acptdd/>
- <clamamt/>
- <reclamyn/>
- <orgcutamt/>
- <rem/>
- </gridsendreclambookspec>
- </list01>
- </main>
- <init>
- <P0114list>
- <P0114>
- <cdid/>
- <cdnm/>
- </P0114>
- </P0114list>
- <P0425list>
- <P0425>
- <cdid/>
- <cdnm/>
- </P0425>
- </P0425list>
- <P0242list>
- <P0242>
- <cdid/>
- <cdnm/>
- </P0242>
- </P0242list>
- <U0001list>
- <U0001/>
- </U0001list>
- <P0121list>
- <P0121>
- <cdid/>
- <cdnm/>
- </P0121>
- </P0121list>
- </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="TRPIF72001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TXPIF72001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/result"/>
- <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
- </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작업
- submit("TRPIF70305");
- zbcfGetCodeList(new Array("P0114"), new Array( "/root/init/P0114list")); // 청구과
- zbcfGetCodeList(new Array("P0242"), new Array( "/root/init/P0242list")); // 사유
- zbcfGetCodeList(new Array("U0001"), new Array( "/root/init/U0001list")); // 손보사명
- zbcfGetCodeList(new Array("P0121"), new Array( "/root/init/P0121list")); // 반송사유
-
- submit("TRPID20201"); // 심사자, 진료과
- model.removeNodeset("root/init/judgrid");
- model.makeNode("root/init/judgrid");
- model.copyNode("root/init/judgrid", "root/init/tmp/judgrid");
- model.removeNodeset("root/init/tmp/judgrid");
-
- model.removeNodeset("root/init/orddeptcd");
- model.makeNode("root/init/orddeptcd");
- model.copyNode("root/init/orddeptcd", "root/init/tmp/orddeptcd");
- model.removeNodeset("root/init/tmp/orddeptcd");
-
- model.refresh();
-
- // 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[
- // 보험유형이 보험인 경우 보호에 해당하는 필드 감추기. 보험에 해당하는 필드 보이기.
- submit("TRPIF72001");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line26" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption31" style="left:219px; 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:10px; 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:575px; top:6px; width:90px; height:17px; ">내원유형 :</caption>
- <caption id="caption63" class="search_name" style="left:365px; top:6px; width:90px; height:17px; ">손보사명 :</caption>
- <caption id="caption22" class="search_name" style="left:810px; top:6px; width:90px; height:17px; ">완료여부 :</caption>
- <caption id="caption38" class="search_name" style="left:10px; top:35px; width:75px; height:17px; ">심사자 :</caption>
- <caption id="caption39" class="search_name" style="left:275px; top:35px; width:75px; height:17px; ">진료과 :</caption>
- <caption id="caption40" class="search_name" style="left:575px; top:35px; width:112px; height:17px; ">환자단위조회 :</caption>
- <select1 id="cmb_judgrid" ref="/root/send/judgrid" class="combo_search" appearance="minimal" style="left:90px; top:34px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:355px; top:34px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:130px; 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:233px; top:6px; width:85px; height:19px; "/>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:665px; top:6px; 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:900px; top:6px; 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:695px; 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>
- <select1 id="combo1" ref="/root/send/insucmpymark" class="combo_search" appearance="minimal" style="left:455px; top:5px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="button26" class="btn2_letter2" visibility="hidden" style="left:1152px; top:74px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/list02/gridsendreclambookspec", grd_sendreclambookspec.getUpdateData());
- if(submit("TXPIF72001")) {
- submit("TRPIF72001");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" style="left:989px; top:75px; 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:75px; 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:75px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_sendreclambookspec.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
- <caption id="cap_title" class="tit_2" style="left:0px; top:80px; width:81px; height:13px; ">반송(전체)</caption>
- <datagrid id="grd_sendreclambookspec" nodeset="/root/main/list01/gridsendreclambookspec" class="datagrid2" caption="청구월^청구구분^청구
차수^미수월^내원
유형^손보사명^명일련^등록번호^수진자^진료과^심사자^사유^사유설명^청구액^재청구여부^부제기사유^부제기사유메모^보완청구액 - 
원청구액^차액발생
사유^보왕청구
연월^청구
차수^보완
심사자^보완청구
일자^청구액^재반송
여부^자보실삭감액^비고^비고" colsep="^" colwidth="60, 88, 40, 60, 40, 125, 50, 75, 50, 85, 50, 157, 80, 80, 70, 70, 100, 101, 90, 80, 58, 68, 81, 109, 60, 80, 258" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1195px; 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" 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="insucmpymark" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="judgrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <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" visibility="hidden"/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="reclamyn" style="text-align:center; "/>
- <col ref="abdresncd" style="text-align:center; "/>
- <col ref="abdresnmemo" visibility="hidden"/>
- <col ref="sendamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="sendresncd" visibility="hidden" style="text-align:center; "/>
- <col ref="reclamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="reclamdg" style="text-align:center; "/>
- <col ref="rejudgrid" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="reclamyn" style="text-align:center; "/>
- <col ref="orgcutamt" format="#,###" style="text-align:right; "/>
- <col ref="rem" type="input"/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button10" class="btn2_letter3" style="left:881px; top:75px; 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:74px; 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 = "반송재청구장부(자보)_"+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>
|