123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?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="">
- <main>
- <data1>
- <uncorcptlist/>
- </data1>
- </main>
- <send>
- <pid/>
- <rcptdd/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if (checkOpener()) {
- var vpid = opener.javascript.getParameter("pid");
- var vrcptdd = opener.javascript.getParameter("rcptdd");
-
- if(vpid != null) {
- model.setValue("/root/send/pid", vpid);
- model.setValue("/root/send/rcptdd", vrcptdd);
-
- model.removeNodeset("/root/main/data1/uncorcptlist");
-
- submit("TRPAS00701");
- grd_uncolist.subtotal("sum", -1, grd_uncolist.colRef("rcptamt"), "#,###", "", 5, "입금 합계");
- grd_uncolist.refresh();
- }
- }
- ]]>
- </script>
- <submission id="TRPAS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/data1"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1050" pageheight="343" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1020px; height:316px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:13px; ">미수입금현황</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1019px; y2:20px; "/>
- <datagrid id="grd_uncolist" nodeset="/root/main/data1/uncorcptlist" class="datagrid2" caption="종결^진료
구분^등록번호^이름^미수
코드^미수명^입금
구분^진료일자^진료일자^진료과^진료의^보험
유형^발생일자^입금일자^미수금액^입금금액" colsep="^" colwidth="30, 30, 70, 65, 30, 110, 30, 80, 80, 80, 65, 30, 80, 80, 70, 70" dataheight="23" defaultrows="2" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" subtotalposition="below" navindex="7" style="left:0px; top:25px; width:1020px; height:291px; ">
- <col ref="endyn" style="text-align:center; "/>
- <col ref="ordtype" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="uncocd" style="text-align:center; "/>
- <col ref="discunconm" style="text-align:center; "/>
- <col ref="uncorcptflag" type="combo">
- <choices>
- <item>
- <label>발생</label>
- <value>1</value>
- </item>
- <item>
- <label>입금</label>
- <value>2</value>
- </item>
- <item>
- <label>대손</label>
- <value>3</value>
- </item>
- <item>
- <label>승인</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col ref="rcptamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <!-- 수정이력 20100223 JHP 여의도 기준 다른팀에서 작업하기 싫어서 원무팀에 넘긴 일정임 원무팀에서 본 화면 열때는 원래대로 다른 팀 화면에서 열때는 하단의 그리드 보여지도록 수정함.-->
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:1020px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" visibility="hidden" style="left:900px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- if(PatRefPamFlag == "SMP" || PatRefPamFlag == "SPP"){
- row = grd_patinfo.row;
- }else{
- row = grd_patinfo2.row;
- }
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "cancel");
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/patinfo/patinfolist") > 0 ){
-
- //합번된 등록번호 메세지 처리
- var sPid = model.getValue("/root/main/patinfo/patinfolist[" + row + "]/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist[" + row + "]/hngnm");
- var sBindPid = model.getValue("/root/main/patinfo/patinfolist[" + row + "]/bindpid");
- if( sBindPid != '' && sBindPid != '-' && sBindPid != ' '){
- var retValue = messageBox(sPid + "(" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다. 합번된 등록번호로 재조회 하시겠습니까?", "Q999", "");
- if( retValue == '6' ){
- try{
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/srchcond", "1");
- fChangeSearchCondition( '1' );
- model.setValue("/root/send/pid", sBindPid);
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
- }catch(e){
- return false;
- }
- }
-
- return false;
- }
-
- if(PatRefPamFlag == "SMP" || PatRefPamFlag == "SPP"){
- opener.model.copyNode("/root/main/patinfo/patinfolist", grd_patinfo.getNode( row ));
- }else{
- opener.model.copyNode("/root/main/patinfo/patinfolist", grd_patinfo2.getNode( row ));
- }
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- }
- //else{
- // opener.model.setValue("/root/main/popupendflag", "cancel");
- //}
- //opener.model.refresh();
- //window.close();
-
- }else {
- //opener.model.setValue("/root/main/popupendflag", "cancel");
- messageBox("행이 정확히 선택되지", "E007");
- //opener.model.refresh();
- //window.close();
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- //opener.model.setValue("/root/main/popupendflag", "cancel");
- //opener.model.refresh();
- //window.close();
- }
-
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:959px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // opener.model.makeNode("/root/main/popupendflag");
- // opener.model.setValue("/root/main/popupendflag", "cancel");
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1018px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|