123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?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="">
- <main>
- <ptpmlist>
- <grdpatspectlist/>
- </ptpmlist>
- </main>
- <send>
- <data1>
- <srchcond1>1</srchcond1>
- <srchcond2/>
- </data1>
- </send>
- <init>
- <P0350list>
- <P0350>
- <cdnm/>
- <cdid/>
- </P0350>
- </P0350list>
- </init>
- <hidden>
- <uid>
- <myself/>
- <opener/>
- </uid>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset("/root/main/ptpmlist");
- model.makeNode("/root/main/ptpmlist");
-
- /*
- model.setValue("/root/send/data1/srchcond1","1");
- model.setValue("/root/send/data1/srchcond2","00036823");
- */
-
- if(submit("TRPMC03003")){ //TRPMC03005에서 RPMC03003으로 변경
- if( getNodesetCount("/root/hidden/rcv/ptpmlist/grdpatspectlist") > 0 ){
- copyNodeType("/root/main/ptpmlist","/root/hidden/rcv/ptpmlist","replace");
-
- }else{
- model.resetInstanceNode("/root/main/ptpmlist");
- }
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
- </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"/>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="343" guideline="2,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:518px; 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:517px; y2:20px; "/>
- <datagrid id="grd_patspec" nodeset="/root/main/ptpmlist/grdpatspectlist" caption="공문접수일^접수번호^순번^환자번호^환자명^진료기간^처리상태^보험환불예상액^선택진료환불예상액^기관환불액^급여정산환불액^기관종료일^자료제출일^병원종결일자^진료시작일자^진료종료일자" colsep="^" colwidth="80, 60, 40, 65, 60, 120, 60, 100, 120, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:25px; width:517px; height:270px; ">
- <col ref="ofidocacptdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="ofidocdocuno" style="text-align:center; "/>
- <col ref="ofidocretno" visibility="visible" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="orddd" style="text-align:center; "/>
- <col ref="tretflag"/>
- <col ref="insuteamrtnfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
- <col ref="apntordrtnfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
- <col ref="instrtnamt" format="#,###" style="text-align:right; " visibility="hidden"/>
- <col ref="paycalcfcstamt" format="#,###" style="text-align:right; " visibility="hidden"/>
- <col ref="lastenddd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
- <col ref="datadelivedd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
- <col ref="hospenddd" format="yyyy-mm-dd" style="text-align:center; " visibility="hidden"/>
- <col ref="ordfromdd" visibility="hidden"/>
- <col ref="ordtodd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if ( checkOpener() ) {
- row = grd_patspec.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/ptpmlist/grdpatspectlist") > 0 ){
-
- opener.model.setValue("/root/send/data3/ofidocacptdd", grd_patspec.valueMatrix(row,1));
- opener.model.setValue("/root/send/data3/pid", grd_patspec.valueMatrix(row,4));
- opener.model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,3));
-
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- opener.model.refresh();
- window.close();
- }
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:402px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_patspec.row;
- opener.model.setValue("/root/main/popupendflag", "cancel");
- if( row > 0 ){
- if( getNodesetCount("/root/main/ptpmlist/grdpatspectlist") > 0 ){
- opener.model.setValue("/root/send/data5/ofidocacptdd", grd_patspec.valueMatrix(row,1));
- opener.model.setValue("/root/send/data5/pid", grd_patspec.valueMatrix(row,4));
- opener.model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,3));
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
- }
- }else {
- messageBox("행이 정확히 선택되지", "E007");
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:461px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.model.setValue("/root/main/popupendflag", "cancel");
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|