123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- [2007.09.08]
- (-) 정보생성 실패 원인 파악
- [2007.09.10]
- 진료월 2006.06 입원데이터만 테스트 할 것
- [2007.09.19]
- (-) 개별생성에서 조회 조건에 손보사 선택 콤보가 필요함
- (-) 김종현 선생님과 상의 후 일괄생성 화면에 대해 회신 할 것임
- -->
- <?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="">
- <main>
- <list01>
- <griduncoinfo>
- <chkbox/>
- <acptrtnflag/>
- <uncoyn/>
- <clamym/>
- <uncoym/>
- <ioflag/>
- <clamflag/>
- <orddeptcd/>
- <clamdg/>
- <insuno/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <patrrgstno/>
- <insuclamamt/>
- <clamno/>
- <insucd/>
- <acdacptno/>
- <cretfromdd/>
- <crettodd/>
- </griduncoinfo>
- <griduncoinfo_prnt>
- <docuseqno/>
- <insucd/>
- <insuno/>
- <patnm/>
- <pid/>
- <patrrgstno/>
- <acdacptno/>
- <cretfromdd/>
- <crettodd/>
- <orddeptcd/>
- <insuclamamt/>
- <choiordamt/>
- </griduncoinfo_prnt>
- </list01>
- <rCSV/>
- </main>
- <send>
- <ioflag>A</ioflag>
- <tmp>
- <list/>
- </tmp>
- <termflag/>
- <fromdd/>
- <todd/>
- <clamdg/>
- <clamflag/>
- <claminsucmpy/>
- <batch>
- <clamym/>
- <reclamflag/>
- <clamdd/>
- </batch>
- <send_clamdgref>
- <dateflag/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <insukind/>
- <clamflag/>
- <ordfildcd/>
- <acptno/>
- </send_clamdgref>
- </send>
- <init>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <U0001list>
- <U0001>
- <cd/>
- <nm/>
- </U0001>
- </U0001list>
- <clamdglist>
- <clamdg>
- <cdid/>
- <cdnm/>
- </clamdg>
- </clamdglist>
- </init>
- <hidden>
- <errormsg>
- <error>
- <error/>
- </error>
- </errormsg>
- <U0001>
- <cd/>
- <nm>전체</nm>
- </U0001>
- <clamdg>
- <cdid/>
- <cdnm/>
- </clamdg>
- <con>
- <acptdd/>
- </con>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- CommCode_Load();
- fInitialize();
- // 청구차수 조회
- fDateChk();
-
- model.refresh();
- cmb_clamdg.select(0);
- cmb_claminsucmpy.select(0);
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF20101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdgref" resultref="/root/init/clamdglist/clamdg"/>
- <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- <submission id="TRPIF70100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TXPIF70101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- <submission id="TXPIF70102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- <submission id="TXPIF70103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/batch" resultref="/root/hidden/errormsg"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0155","P0028"), new Array( "/root/init/P0155list","/root/init/P0028list"));
- //손보사 콤보 data 조회(자보미수관리 참조)
- submit("TRPIF70305");
-
- // 손보자 조회 조건에 전체가없어서 추가 해달라고 했는데 해당 조회 쿼리는 공통으로 쓰는거라
- // 임의로 추가함.
- // 20090108. JHP
- var node = root.init.U0001list;
- var addnode = root.hidden.U0001;
- var refnode = root.init.U0001list.U0001;
- node.insertbefore(addnode,refnode);
-
- // 청구차수 전체 추가
- // fClamDg();
- }
-
- function fClamDg(){
- var node = root.init.clamdglist;
- var addnode = root.hidden.clamdg;
- // 2009.02.11 syjung
- // 청구차수가 없는 경우 clamdglist에 clamdg 하위노드가 없기 때문에 clamdg 하위노드를 먼저 만들어준다.
- var clamdgnode = root.init.clamdglist;
- var hasChild = clamdgnode.hasChildNodes();
- if (hasChild == 0) {
- model.makeNode("/root/init/clamdglist/clamdg");
- }
- var refnode = root.init.clamdglist.clamdg;
- node.insertbefore(addnode,refnode);
- model.makeNode("/root/hidden/clamdg");
- model.copyNode("/root/hidden/clamdg","/root/init/clamdglist/clamdg");
- }
- //초기화
- function fInitialize(){
- //grid제목줄에 checkbox 생성
- grduncoinfo.fixedcellcheckbox(0,1) = true;
-
- rdo_ioflag.select(0);
- rdo_srchym.select(0);
- model.setValue("/root/send/todd", getCurrentDate().substr(0, 6));
- model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
-
- // 그리드 초기화(행을 모두 삭제한다.)
- model.removeNodeset("/root/main/list01/grduncoinfo");
-
- model.setValue("/root/hidden/con/acptdd", "");
- model.refresh();
- }
-
- // 생성할 내역중 이미 생성된 건이 있는지 검색하여 생성자에게 알려준다. 없으면 그대로 진행
- function fCretChk() {
- var rows = grduncoinfo.rows;
- var frows = grduncoinfo.fixedRows;
- var nrows = rows - frows;
- var acptdd2 = model.getValue("/root/hidden/con/acptdd");
-
- for(i = 1; i <= nrows; i++){
- var chkbox = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("chkbox"));
- var uncoyn = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("uncoyn"));
- var acptrtnflag = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("acptrtnflag"));
- var clamflag = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("clamflag"));
- var docuseqno = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("docuseqno"));
- var pid = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("pid"));
- var patnm = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("patnm"));
-
- var clamno = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("clamno"));
-
- //청구일자입력시 해당 청구일자가 그리드의 acptdd 컬럼 세팅된다. 그 값이 정확시 세팅됐는지 확인하기 위한 값
- var acptdd = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("acptdd"));
- var clamym = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("clamym"));
-
- // 2009.02.12 syjung 접수반송증 체크하지 않음.
- // if(chkbox == 'true' && acptrtnflag == 'N'){
- // grduncoinfo.row= i;
- // var ok = messageBox("명일련 : "+ docuseqno +", 등록번호 : "+ pid +", 수진자 : "+ patnm +"은 접수반송증 내용이 없습니다.. 해당건을 취소하고","Q003");
- // if(ok == '6'){
- // grduncoinfo.valueMatrix(i,grduncoinfo.colRef("chkbox")) = 'false';
- // } else{
- // break;
- // return false;
- // }
- // }
- if(chkbox == 'true' && uncoyn == 'Y'){
- var ok = messageBox("명일련 : "+ docuseqno +", 등록번호 : "+ pid +", 수진자 : "+ patnm +" 은(는) 이미 생성된 내역이 존재합니다. 해당건을 취소하고","Q003");
- // 아니오
- if(ok == '7'){
- grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("chkbox")) = 'false';
- grduncoinfo.row = i+1;
- grduncoinfo.topRow = i+1;
- model.setFocus("grduncoinfo");
- return false;
- }
- }
-
- if(chkbox == 'true' && clamno == '-'){
- var ok = messageBox("청구번호 : " + clamno + ", 등록번호 : "+ pid +", 수진자 : "+ patnm +" 은(는) 청구내역이 존재하지 않습니다. 청구내역을","I007");
- grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("chkbox")) = 'false';
- grduncoinfo.row = i+1;
- grduncoinfo.topRow = i+1;
- model.setFocus("grduncoinfo");
- return false;
- }
-
- //생성하기 위해 체크선택된 값 중 청구일자가 정확히 세팅되지 않은 것을 체크
- if(chkbox == 'true' && (acptdd == '-' || acptdd == '' || acptdd != acptdd2) && clamflag != '0'){ //clamflag != '0' 원청구일 경우에는 자기월기준으로 청구를 생성. 그 외의 경우는 입력한 청구일자 기준으로 생성한다.
-
- messageBox("청구일자가 정확히 들어오지 않았습니다. 청구일자를 정확히 선택하신 후에 다시 생성하세요.", "E999", "");
- grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("chkbox")) = 'false';
- grduncoinfo.row = i+1;
- grduncoinfo.topRow = i+1;
- model.setFocus("grduncoinfo");
- return false;
- }
-
- // 2010.03.23 청구구분 상관없이 청구일자로 셋팅하게 변경함.
- //선택된 내역 중 원청구인 경우 접수일자(미수월)을 청구월 + '01' 로 세팅한다.
- // if(chkbox == 'true' && clamflag == '0'){
- //
- // var clamym = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("clamym"));
- // model.makeNode("/root/main/list01/griduncoinfo["+ i +"]/acptdd");
- // model.setValue("/root/main/list01/griduncoinfo["+ i +"]/acptdd", clamym + '01');
- // }
- }
-
- }
-
- // 생성할 내역중 생성되지 않은 건이 있는지 검색하여 삭제자에게 알려준다. 없으면 그대로 진행
- function fDelChk() {
- var rows = grduncoinfo.rows;
- var frows = grduncoinfo.fixedRows;
- var nrows = rows - frows;
-
- for(i = 1; i <= nrows; i++){
- var chkbox = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("chkbox"));
- var uncoyn = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("uncoyn"));
- var acptrtnflag = grduncoinfo.valueMatrix(i+1, grduncoinfo.colRef("acptrtnflag"));
-
- var docuseqno = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("docuseqno"));
- var pid = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("pid"));
- var patnm = grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("patnm"));
-
- // 2009.02.12 syjung 접수반송증 체크하지 않음.
- // if(chkbox == 'true' && acptrtnflag == 'N'){
- // grduncoinfo.row= i;
- // var ok = messageBox("명일련 : "+ docuseqno +", 등록번호 : "+ pid +", 수진자 : "+ patnm +" 은 접수반송증내역이 없습니다. 해당건을 취소하고","Q003");
- // if(ok == '6'){
- // grduncoinfo.valueMatrix(i,grduncoinfo.colRef("chkbox")) = 'false';
- // } else{
- // break;
- // return false;
- // }
- // }
-
- if(chkbox == 'true' && uncoyn == 'N'){
- var ok = messageBox("명일련 : "+ docuseqno +", 등록번호 : "+ pid +", 수진자 : "+ patnm +" 은 생성되지 않은 내역입니다. 미수생성내역을","I007");
- grduncoinfo.valueMatrix(i+1,grduncoinfo.colRef("chkbox")) = 'false';
- }
- }
-
- }
-
- // 청구차수 가져오려고 확인.
- function fDateChk(){
- var dateflag = model.getValue("/root/send/termflag");
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- if(model.getValue("/root/send/ioflag") == "A"){
- var ioflag = '';
- } else {
- var ioflag = model.getValue("/root/send/ioflag")
- }
- var insukind = '31';
- var clamflag = model.getValue("/root/send/clamflag");
- var ordfildcd = '';
- var acptno = '';
-
- if(dateflag == ""){
- messageBox("기간의 월구분을","C001");
- model.setFocus("rdo_ioflag");
- }else if(fromdd == ""){
- messageBox("기간의 시작일자를","C001");
- model.setFocus("ipt_fromdd");
- }else if(todd == ""){
- messageBox("기간의 종료일자를","C001");
- model.setFocus("ipt_todd");
- }else{
- model.setValue("/root/send/send_clamdgref/dateflag",dateflag);
- model.setValue("/root/send/send_clamdgref/fromdd",fromdd);
- model.setValue("/root/send/send_clamdgref/todd",todd);
- model.setValue("/root/send/send_clamdgref/ioflag",ioflag);
- model.setValue("/root/send/send_clamdgref/insukind",insukind);
- model.setValue("/root/send/send_clamdgref/clamflag",clamflag);
- model.setValue("/root/send/send_clamdgref/ordfildcd",ordfildcd);
- model.setValue("/root/send/send_clamdgref/acptno",acptno);
-
- submit("TRPIF20101");
-
- // 청구차수 전체 추가
- fClamDg();
-
- cmb_clamdg.refresh();
- cmb_clamdg.select(0);
- }
- }
-
- // 미수일괄생성처리(자보)시 일괄생성 실행시 오류가 발생하면 해당오류에 대하여 미리 정의해놓은 오류메세지를보여준다.
- function fErrorMsg(){
- var errormsg = model.getValue("/root/hidden/errormsg/error/error");
- if(errormsg != "") {
- messageBox(errormsg,"E001");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" 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:254px; height:14px; ">미수정보생성(자보)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption11" style="left:860px; top:77px; width:80px; height:20px; font-weight:bold; ">* 청구일자 :</caption>
- <caption id="caption1" class="tit_2" style="left:6px; top:80px; width:121px; height:13px; ">미수내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <group id="group4" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:57px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button15" class="btn1_letter2" navindex="4" style="left:1119px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- if(fromdd == "" || todd == "") {
- messageBox("기간은","I003");
- } else {
- if ( submit("TRPIF70100") ) {
-
- // var rows = grduncoinfo.rows -1;
- // for (i = 1; i < rows; i++) {
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/docuseqno" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/docuseqno") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/insucd" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/insucd") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/insuno" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/insuno") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/patnm" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/patnm") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/pid" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/pid") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/patrrgstno" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/patrrgstno") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/acdacptno" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/acdacptno") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/cretfromdd" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/cretfromdd") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/crettodd" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/crettodd") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/orddeptcd" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/orddeptcd") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/insuclamamt" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/insuclamamt") );
- // model.makeValue("/root/main/list01/griduncoinfo_prnt[" + i + "]/choiordamt" , model.getValue("/root/main/list01/griduncoinfo[" + i + "]/choiordamt") );
- // }
-
- model.setValue("/root/hidden/con/acptdd", "");
-
- model.refresh();
- }
- }
-
- // 플래그 색깔 넣기
- //var ROW_POS = 1;
- //var FLAG_POS = 1;
- //var FROZEN_COL = 2;
-
- //int = 0;
- //for(i = 1; i <grduncoinfo.rows; i++){
- // grduncoinfo.frozencols = parseInt(FROZEN_COL);
-
- // if(grduncoinfo.textmatrix(i,FLAG_POS) == "N"){
- // grduncoinfo.forecolorfrozen = "#FF0000";
- // model.refresh();
- // }else if(grduncoinfo.textmatrix(i,FLAG_POS) == "Y"){
- // grduncoinfo.forecolorfrozen = "#0000FF";
- // model.refresh();
- // }
- //}
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1101px; y1:14px; x2:1101px; y2:47px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" maxlength="6" format="yyyy-mm" style="left:400px; top:19px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- fDateChk();
- ]]>
- </script>
- </input>
- <caption id="caption9" class="search_name" style="left:605px; top:32px; width:86px; height:17px; ">청구구분 :</caption>
- <select1 id="cmb_judgdg" ref="/root/send/clamflag" class="combo_search" navindex="3" appearance="minimal" style="left:696px; top:31px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fDateChk();
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">내원유형 :</caption>
- <caption id="caption4" class="search_name" style="left:268px; top:20px; width:66px; height:17px; ">기간 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" appearance="full" cols="3" rows="1" vcellspacing="-2" overflow="visible" style="left:109px; top:21px; width:151px; height:15px; 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDateChk();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_srchym" ref="/root/send/termflag" appearance="full" cols="1" rows="2" vcellspacing="3" overflow="visible" style="left:331px; top:9px; width:66px; height:39px; border-style:none; ">
- <choices>
- <item>
- <label>청구년월</label>
- <value>1</value>
- </item>
- <item>
- <label>미수년월</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_fromdd");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fDateChk();
- ]]>
- </script>
- </select1>
- <caption id="caption2" style="left:474px; top:19px; width:15px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" maxlength="6" format="yyyy-mm" style="left:489px; top:19px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDateChk();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:833px; top:21px; width:86px; height:17px; ">손보사 :</caption>
- <select1 id="cmb_claminsucmpy" ref="/root/send/claminsucmpy" class="combo_search" navindex="3" appearance="minimal" style="left:912px; top:20px; width:151px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_clamdg" ref="/root/send/clamdg" class="combo_search" navindex="3" appearance="minimal" style="left:696px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdglist/clamdg">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:605px; top:9px; width:86px; height:17px; ">청구차수 :</caption>
- </group>
- <col type="checkbox"/>
- <button id="button1" class="btn2_letter2" style="left:1087px; top:74px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 삭제할 건에 대하여 검수
- var boolRet = fDelChk();
-
- if (boolRet != false) {
- // 체크된 행을 가져온다.
- var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.setValue("/root/main/rCSV", rCSV);
-
- // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- var CSV = model.getValue("/root/main/rCSV");
-
- // 노드 초기화
- model.destroy("/root/send/tmp");
- model.makeNode("/root/send/tmp");
-
- setCSVToNode("/root/send/tmp", CSV);
-
- if (submit("TXPIF70102")) {
- submit("TRPIF70100");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" style="left:1130px; top:74px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "자보리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grduncoinfo_prnt.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grduncoinfo" nodeset="/root/main/list01/griduncoinfo" caption="^도착^생성^청구월^미수월^내원유형^청구구분^청구과^청구차수^손보사명^명일련^등록번호^수진자^주민번호^청구액^선택진료료^청구일자^청구번호^조합^사고접수번호^청구시작일자^청구종료일자^청구일자|^도착^생성^청구월^미수월^내원유형^청구구분^청구과^청구차수^손보사명^명일련^등록번호^수진자^주민번호^청구액^선택진료료^청구일자^청구번호^조합^사고접수번호^청구시작일자^청구종료일자^청구일자" colsep="^" colwidth="25, 36, 36, 70, 70, 60, 80, 90, 35, 130, 60, 80, 90, 119, 90, 90, 85, 90, 39, 100, 100, 100, 100" dataheight="25" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:100px; width:1194px; height:642px; ">
- <col checkvalue="true,false" ref="chkbox" type="checkbox"/>
- <col ref="acptrtnflag" visibility="hidden" style="text-align:center; "/>
- <col ref="uncoyn" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0028list/P0028">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="insuno" 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="patrrgstno" format="aaaaaa-aaaa"***"" style="text-align:center; "/>
- <col ref="insuclamamt" format="#,###" style="text-align:right; "/>
- <col ref="choiordamt" format="#,###" style="text-align:right; "/>
- <col ref="clamdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="insucd" style="text-align:center; "/>
- <col ref="acdacptno" style="text-align:center; "/>
- <col ref="cretfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="crettodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="acptdd" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <button id="button14" class="btn2_letter6" visibility="hidden" style="left:767px; top:74px; width:86px; height:19px; ">
- <caption>미수일괄생성</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // ***** *****
- // * *
- // * 사용유보 *
- // * *
- // ***** *****
- // //window.load("SMPIF70200_미수정보일괄생성(자보).xrw", "modal", "pop", "width:1140; height:640;", "/root/send/srchym", "/root/send/clamym");
- //
- // modal("SMPIF70200", "", "400", "400" ,"", "/root/send/srchym", "/root/send/clamym");
- // //modal("SMPIF70200", 1, 1, 1, "SMPIF70200", "", "");
- // //modal("SMPIF70200", "modal", "pop", "width:1140; height:640;", "SMPIF70200", "/root/send/clamym", "/root/send/clamym");
- // submit("TRPIF70100");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:1044px; top:74px; width:42px; height:19px; ">
- <caption>생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 생성할 내역 검수
- fCretChk();
-
- // 체크된 행을 가져온다.
- var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.setValue("/root/main/rCSV", rCSV);
-
- // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- var CSV = model.getValue("/root/main/rCSV");
- // 노드 초기화
- model.destroy("/root/send/tmp");
- model.makeNode("/root/send/tmp");
-
- setCSVToNode("/root/send/tmp", CSV);
- if (submit("TXPIF70101")) {
- model.setValue("/root/hidden/con/acptdd", "");
- submit("TRPIF70100");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <!--
- 미수일괄생성처리(자보)는 원래 팝업화면으로 따로 있었는데 화면을 합쳤다.
- 기존 팝업화면에서의 comment(이종찬작성)를 가져왔다.
- [개발사상]
- 본 업무 화면에서는 접수정보와 검토서정보를 동시에 생성한다.
- [할 일]
- (-) 이전자료 존재여부를 확인 할 수 있도록 하고, 삭제를 가능하도록 할 것인지 고객과 협의 해야 함
- (-) 재청구여부와 청구일자를 구체적으로 어떻게 사용 할 것인지 확인 후 적용해야 함
- [테스트]
- 필수입력: 청구년월('200606')
- 조작: 저장 버튼을 누른다.
- -->
- <group id="grd_batch" visibility="hidden" style="left:846px; top:584px; width:330px; height:140px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:330px; height:140px; background-color:#ffffff; border-color:#000066; "/>
- <group id="group6" style="left:15px; top:13px; width:265px; height:13px; ">
- <caption id="caption5" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">미수일괄생성처리(자보)</caption>
- </group>
- <caption id="caption7" class="tit_2" style="left:20px; top:39px; width:98px; height:13px; ">입력내용</caption>
- <line id="line3" class="line_1" style="x1:15px; y1:54px; x2:315px; y2:54px; "/>
- <caption id="caption66" class="cell_1" style="left:15px; top:59px; width:96px; height:20px; vertical-align:middle; ">미수월</caption>
- <input id="ipt_uncodd" ref="/root/send/batch/clamym" class="input_default" navindex="1" inputtype="date" maxlength="6" format="yyyy-mm" style="left:113px; top:59px; width:100px; height:19px; "/>
- <select id="chk_delfalg" ref="/root/send/batch/reclamflag" disabled="true" navindex="2" overflow="visible" appearance="full" style="left:216px; top:59px; width:84px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>재청구여부</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <line id="line5" class="line_2" style="x1:15px; y1:80px; x2:213px; y2:80px; "/>
- <caption id="caption86" class="cell_1" style="left:15px; top:83px; width:96px; height:20px; vertical-align:middle; ">청구(발송)일자</caption>
- <input id="ipt_delivedd" ref="/root/send/batch/clamdd" class="input_default" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:113px; top:83px; width:100px; height:19px; "/>
- <line id="line4" class="line_3" style="x1:15px; y1:104px; x2:315px; y2:104px; "/>
- <button id="button43" class="btn4_letter2" style="left:201px; top:111px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //submit("TXPIF70200");
- if (submit("TXPIF70103")) {
- submit("TRPIF70100");
- }
-
- fErrorMsg();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:260px; top:111px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_batch.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grduncoinfo_prnt" nodeset="/root/main/list01/griduncoinfo_prnt" visibility="hidden" caption="명세서일련번호^조합^조합명^환자명^등록번호^주민번호^사고접수번호^청구과^청구액^지불종결일^선택진료료^청구일자^청구번호" colsep="^" colwidth="86, 60, 102, 70, 70, 94, 130, 90, 85, 80" dataheight="25" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:40px; top:230px; width:1135px; height:165px; ">
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="insucd" style="text-align:center; "/>
- <col ref="insuno" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patrrgstno" format="aaaaaa-aaaaaaa" style="text-align:center; "/>
- <col ref="acdacptno" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="insuclamamt" format="#,###" style="text-align:right; "/>
- <col ref="aprvtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <input id="input1" ref="/root/hidden/con/acptdd" inputtype="date" format="yyyy-mm-dd" style="left:940px; top:75px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var acptdd = model.getValue("/root/hidden/con/acptdd");
- var cnt = getNodesetCount("/root/main/list01/griduncoinfo/chkbox");
- for( var i = 1; i <= parseInt(cnt); i++ ){
- //if( 'true' = model.getValue("/root/main/list01/griduncoinfo["+ i +"]/chkbox") ){
- model.makeNode("/root/main/list01/griduncoinfo["+ i +"]/acptdd");
- model.setValue("/root/main/list01/griduncoinfo["+ i +"]/acptdd", acptdd);
- //}
- }
- grduncoinfo.rebuild();
- // model.refresh();
- ]]>
- </script>
- </input>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button42" class="btn4_letter2" visibility="hidden" style="left:1032px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // ***** *****
- // * *
- // * 사용유보 *
- // * *
- // ***** *****
- // // 체크된 행을 가져온다.
- // var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- // var rCSV = getNodeListCSV(nodeList);
- //
- // model.setValue("/root/main/rCSV", rCSV);
- //
- // // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- // var CSV = model.getValue("/root/main/rCSV");
- //
- // // 노드 초기화
- // model.destroy("/root/send/tmp");
- // model.makeNode("/root/send/tmp");
- //
- // setCSVToNode("/root/send/tmp", CSV);
- //
- // submit("TXPIF70101");
- // submit("TRPIF70100");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button2" class="btn4_letter6" visibility="hidden" style="left:1089px; top:4px; width:104px; height:22px; ">
- <caption>미수일괄생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_batch.visible = true;
- var dd = getCurrentDate();
- ipt_uncodd.value=dd;
- ipt_delivedd.value= dd;
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:5px; top:5px; width:260px; height:15px; font-family:바탕체; font-weight:bold; color:#0000ff; ">* 청구액 = 총진료비(선택진료료포함) *</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|