123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448 |
- <?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="">
- <CountNode/>
- <main>
- <list1>
- <cretlist/>
- </list1>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- </main>
- <send>
- <clamfromdd/>
- <clamtodd/>
- <insutype/>
- <pid/>
- <name/>
- <orddeptcd/>
- </send>
- <init>
- <P0008list>
- <cdid/>
- <cdnm/>
- </P0008list>
- </init>
- <hidden>
- <list1>
- <dept>
- <depthngnm/>
- <deptcd/>
- <deptengabbr/>
- <reqfild/>
- <reqdeptno/>
- </dept>
- </list1>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <send2>
- <instcd/>
- <basedd/>
- </send2>
- <screen1>
- <checkyn1/>
- </screen1>
- <temp>
- <memo/>
- </temp>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXPID10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list1" replace="instance" resultref="/root/hidden/item1/result"/>
- <submission id="TRPID10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/send2" replace="instance" resultref="/root/hidden/list1"/>
- <submission id="TXPID10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/item1/result"/>
- <submission id="TXPID10103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" replace="instance" resultref="/root/hidden/item1/result"/>
- <submission id="TRPID10103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면을 초기화 기능을 수행.
- function fInitialize() {
-
- // 초기값
- cmb_insutype.select(0); // 보험유형 : -.전체
-
- // 날짜 계산을 위하여 yyyymmdd형태로 오늘 날짜를 구한다.
- var tmp_date = new Date();
- var tmp_year = tmp_date.getYear();
-
- // 월의 경우 0부터 시작이므로 +1을 해준다.
- var tmp_month = tmp_date.getMonth() + 1;
- var tmp_day = tmp_date.getDate();
-
- // 10보다 작은경우는 앞에 '0'을 붙여서 자릿수를 맞춘다.
- if (tmp_month<10) tmp_month = "0" + tmp_month;
- if (tmp_day<10) tmp_day = "0" + tmp_day;
-
- // +"" 을 안해주면 숫자로 인식해서 더해버리므로 꼭 넣어준다.
- ipt_clamtodd.value = tmp_year + "" + tmp_month + "" + tmp_day;
- ipt_clamfromdd.value = tmp_year + "" + tmp_month + "" + tmp_day;
- // 기준일자
- model.setValue("/root/hidden/send2/basedd", ipt_clamfromdd.value);
-
- // 생성된 자료 선택 제외 여부 2008-10-08
- model.setValue("/root/hidden/screen1/checkyn1", "Y");
-
- // 진료과목
- submit("TRPID10102");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1250" pageheight="840" 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:231px; height:15px; ">입원 원무/심사 금액 점검</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1230px; height:817px; ">
- <group id="group2" style="left:0px; top:10px; width:1225px; height:40px; vertical-align:top; background-color:#fffbf2; border-color:#ffd799; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1225px; height:40px; "/>
- <line id="line13" style="x1:1148px; y1:11px; x2:1148px; y2:33px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_insutype" ref="/root/send/insutype" class="combo_search" appearance="minimal" style="left:390px; top:11px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>0.전체</label>
- <value>0</value>
- </item>
- <item>
- <label>1.보험+급여</label>
- <value>1</value>
- </item>
- <item>
- <label>2.보험</label>
- <value>2</value>
- </item>
- <item>
- <label>3.급여</label>
- <value>3</value>
- </item>
- <item>
- <label>4.급여1종</label>
- <value>4</value>
- </item>
- <item>
- <label>5.급여2종</label>
- <value>5</value>
- </item>
- <item>
- <label>6.산재</label>
- <value>6</value>
- </item>
- <item>
- <label>7.자보</label>
- <value>7</value>
- </item>
- </choices>
- <!--choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices-->
- </select1>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">정산일자 :</caption>
- <caption id="caption4" class="search_name" style="left:301px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
- <input id="ipt_clamfromdd" ref="/root/send/clamfromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:11px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (ipt_clamfromdd.value > ipt_clamtodd.value) {
- ipt_clamtodd.value = ipt_clamfromdd.value;
- }
-
- if (ipt_clamfromdd.value.substr(0,6) != ipt_clamtodd.value.substr(0,6)) {
- ipt_clamtodd.value = ipt_clamfromdd.value;
- }
-
- model.setValue("/root/hidden/send2/basedd", ipt_clamfromdd.value);
- ]]>
- </script>
- </input>
- <input id="ipt_clamtodd" ref="/root/send/clamtodd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:192px; top:11px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (ipt_clamtodd.value < ipt_clamfromdd.value) {
- ipt_clamfromdd.value = ipt_clamtodd.value;
-
- if (ipt_clamfromdd.value.substr(0,6) != ipt_clamym.value) {
- ipt_clamym.value = ipt_clamfromdd.value.substr(0,6);
- }
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1158px; top:11px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list1");
- grd_cretlist.rebuildStyle();
-
- // 정산일자 조회 시 동일 월만 조회되도록 하여, 정산월이 다르면서 청구월/차수가 동일한 사후 자료의 발생을 제어한다. (2015.05.28 LEJ)
- var fromdd = model.getValue("/root/send/clamfromdd");
- var todd = model.getValue("/root/send/clamtodd");
- var fromyear = fromdd.substr(0,4);
- var frommonth = fromdd.substr(4,2);
- var fromym = fromyear+frommonth // 조회 시작 월
- var toyear = todd.substr(0,4);
- var tomonth = todd.substr(4,2);
- var toym = toyear+tomonth // 조회 종료 월
-
- if (fromym != toym ) {
- alert("정산월이 동일한 경우만 동시 조회 가능합니다. 조회할 정산일자를 변경하세요");
- model.setFocus("ipt_clamtodd");
- return false;
- }
-
- submit("TRPID10103");
-
- var rowcnt = grd_cretlist.rows;
-
- for (var i = 0; i < rowcnt; i++) {
-
- var checkyn = model.getValue("/root/main/list1/cretlist["+ i +"]/checkyn");
- var memo = model.getValue("/root/main/list1/cretlist["+ i +"]/memo");
- if (checkyn == "Y" && memo =="") {
- grd_cretlist.rowStyle(i+1, "data", "background-color") = "#ffcc00";
- }
- if (memo !="") {
- grd_cretlist.cellStyle("background-color", i+1, grd_cretlist.colRef("memo")) = "#ffff00";
- }
- }
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button27" class="icon_search" style="left:1045px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/pid");
-
- if (ipt_pid) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/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");
- var srch_hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/pid", srch_pid);
- model.setValue("/root/send/name", srch_hngnm);
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:781px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- <input id="ipt_pid" ref="/root/send/pid" class="input_default" style="left:870px; top:11px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // Enter 입력 시에
- if (event.keyCode == '13') {
- // model.setValue("/root/send/pid", ipt_pid.currentText());
- setInputNodeCurText();
-
- var ipt_pid = model.getValue("/root/send/pid");
-
- if (ipt_pid) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/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");
- var srch_hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/pid", srch_pid);
- model.setValue("/root/send/name", srch_hngnm);
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_name" ref="/root/send/name" class="input_default" style="left:958px; top:11px; width:85px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:599px; top:11px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/list1/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:510px; top:9px; width:86px; height:17px; ">진료과목 :</caption>
- </group>
- <line id="line12" class="line_1" style="x1:0px; y1:74px; x2:1225px; y2:75px; "/>
- <caption id="caption32" class="tit_2" style="left:5px; top:59px; width:150px; height:13px; ">퇴원수납 대상자</caption>
- <datagrid id="grd_cretlist" nodeset="/root/main/list1/cretlist" class="datagrid2" caption="등록번호^환자성명^입원일자^CNo^상
태^메모^진료과^유형^보조^수납일자^정산기간^정산기간^원무^원무^원무^원무^원무^원무^원무^자료수집^자료수집^자료수집^자료수집^자료수집^자료수집^자료수집^사후^사후^사후^사후^사후^사후^사후^최종청구월^최초개시일^최종종료일^명세
건수^chk^주
/
부|등록번호^환자성명^입원일자^CNo^상
태^메모^진료과^유형^보조^수납일자^시작일^종료일^급여 총액^본인부담액^청구액^장애인^상한액^지원금^대불금^급여 총액^본인부담액^청구액^장애인^상한액^지원금^대불금^급여 총액^본인부담액^청구액^장애인^상한액^지원금^대불금^최종청구월^최초개시일^최종종료일^명세
건수^chk^주
/
부" colsep="^" colwidth="59, 65, 70, 30, 25, 40, 45, 30, 30, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 33, 27, 25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:79px; width:1225px; height:706px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden" style="text-align:center; "/>
- <col ref="acptstat" style="text-align:center; "/>
- <col ref="memo" type="inputbutton"/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="incalcfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="incalcenddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="payamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="#,###" style="text-align:right; "/>
- <col ref="insubamt" format="#,###" style="text-align:right; "/>
- <col ref="handcapfund" format="#,###" style="text-align:right; "/>
- <col ref="payownblimamt" format="#,###" style="text-align:right; "/>
- <col ref="suppamt" format="#,###" style="text-align:right; "/>
- <col ref="procsubtamt" format="#,###" style="text-align:right; "/>
- <col ref="tot00" format="#,###" style="text-align:right; "/>
- <col ref="ownb00" format="#,###" style="text-align:right; "/>
- <col ref="clam00" format="#,###" style="text-align:right; "/>
- <col ref="handcap00" format="#,###" style="text-align:right; "/>
- <col ref="max00" format="#,###" style="text-align:right; "/>
- <col ref="supp00" format="#,###" style="text-align:right; "/>
- <col ref="subt00" format="#,###" style="text-align:right; "/>
- <col ref="tot12" format="#,###" style="text-align:right; "/>
- <col ref="ownb12" format="#,###" style="text-align:right; "/>
- <col ref="clam12" format="#,###" style="text-align:right; "/>
- <col ref="handcap12" format="#,###" style="text-align:right; "/>
- <col ref="max12" format="#,###" style="text-align:right; "/>
- <col ref="supp12" format="#,###" style="text-align:right; "/>
- <col ref="subt12" format="#,###" style="text-align:right; "/>
- <col ref="clamym_max" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clbscnt" style="text-align:center; "/>
- <col ref="checkyn"/>
- <col ref="mskind"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_cretlist.col == grd_cretlist.colRef("memo")) {
- var afjudgrow = grd_cretlist.row;
- model.removenode("/root/hidden/temp/memo");
- model.makeNode("/root/hidden/temp/memo");
- model.setValue("/root/hidden/temp/memo", grd_cretlist.valueMatrix(afjudgrow, grd_cretlist.colRef("memo")));
- grp_memo.visible = true;
- grp_memo.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1160px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_cretlist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_cretlist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <group id="grp_memo" visibility="hidden" style="left:315px; top:160px; width:370px; height:210px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="caption7" class="tit_2" style="left:5px; top:5px; width:179px; height:13px; ">입원 사후 자료수집 메모</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:22px; x2:365px; y2:22px; "/>
- <textarea id="textarea1" ref="/root/hidden/temp/memo" style="left:4px; top:29px; width:360px; height:150px; "/>
- <button id="button4" class="btn4_letter2" style="left:252px; top:184px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var aftjudgcmt = textarea1.currentText;
- var TotLength = getStringLength(aftjudgcmt);
- if (TotLength > 4000){
- messageBox("메모 내용이 너무길어 저장을 ","E001");
- return false;
- }
-
- for (var k=0; k < grd_cretlist.selectedRows; k++ ) {
- var row = grd_cretlist.selectedRow(k);
- var col = grd_cretlist.colRef("memo");
- grd_cretlist.valueMatrix(row, col) = aftjudgcmt;
-
- model.resetInstanceNode("/root/send/temp");
- model.makeValue("/root/send/temp/spclspec", aftjudgcmt);
- model.makeValue("/root/send/temp/spclmemoflag", 'B');
- model.makeValue("/root/send/temp/m", "i");
- model.makeValue("/root/send/temp/unitflag", "M");
- model.makeValue("/root/send/temp/spclcd", "MX998");
- model.makeValue("/root/send/temp/seqno", "1");
- model.makeValue("/root/send/temp/pid", grd_cretlist.valueMatrix(row, grd_cretlist.colRef("pid")));
- model.makeValue("/root/send/temp/indd", grd_cretlist.valueMatrix(row, grd_cretlist.colRef("indd")));
- model.makeValue("/root/send/temp/mskind", grd_cretlist.valueMatrix(row, grd_cretlist.colRef("mskind")));
- model.makeValue("/root/send/temp/cretno", grd_cretlist.valueMatrix(row, grd_cretlist.colRef("cretno")));
- model.makeValue("/root/send/temp/fromdd", grd_cretlist.valueMatrix(row, grd_cretlist.colRef("indd")));
- model.makeValue("/root/send/temp/instcd", "");
- model.makeValue("/root/send/temp/lastupdtrid", "");
-
- submit("TXPID10103",false);
- }
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:309px; top:184px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption5" style="left:10px; top:790px; width:1165px; height:20px; font-size:9pt; font-weight:bold; color:#ff0000; ">*** 원무 및 자료수집 각 금액항목의 차가 1,000원 이상인 환자 중 심사 메모가 없는 경우 주황색으로 표기함. 자료수집 및 사후의 급여총액/본인부담/청구액에는 선별급여 품목이 포함됨. </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|