123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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>원내처방 E 삭감내역 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <fromdd/>
- <todd/>
- <sendflag/>
- <data>
- <pid/>
- <srchcond/>
- </data>
- <srchpid/>
- </send>
- <main>
- <outcut>
- <outcutlist/>
- </outcut>
- <patinfo>
- <patinfolist>
- <pid/>
- </patinfolist>
- </patinfo>
- </main>
- <source>
- </source>
- <result/>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRPIR31300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/outcut"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/fromdd", getCurrentDate() );
- model.setValue("/root/send/todd", getCurrentDate() );
- model.refresh();
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("pid")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("patnm")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("orddeptnm")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("orddrnm")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("judgrnm")) = true;
- grd_outcutlist.colDisabled(grd_outcutlist.colRef("insukind")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("insukind")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("clamym")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("acptno")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("docuseqno")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("lnno")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("orddd")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("adjtresncd")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("calcscorcd")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("edicd")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("hngnm")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("ediunitcost")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("edidrugqty")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("tims")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("edidayno")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("ediamt")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("clamamt")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("adjtoneqty")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("adjtdayqty")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("adjttotqty")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("adjtamt")) = false;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("insubramt")) = true;
- grd_outcutlist.mergeCol(grd_outcutlist.colRef("abdresnmemo")) = false;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="784">
- <group id="group2" style="left:0px; top:23px; width:1100px; height:37px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:0px; width:1090px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1025px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPIR31300", true) ;
- var cnt = getNodesetCount("/root/main/outcut/outcutlist/insukind");
- if ( cnt < 1 ) {
- messageBox("조회된 내역이 없습니다.", "I");
- } else {
- for ( i=grd_outcutlist.fixedrows; i<grd_outcutlist.rows; i++ ) {
- var pid = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("pid"));
- var pid_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("pid"));
- var orddeptnm = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("orddeptnm"));
- var orddeptnm_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("orddeptnm"));
- var insu = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("insukind"));
- var insu_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("insukind"));
- var clamym = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("clamym"));
- var clamym_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("clamym"));
- var acptno = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("acptno"));
- var acptno_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("acptno"));
- var docuseqno = grd_outcutlist.valueMatrix(i-1, grd_outcutlist.colRef("docuseqno"));
- var docuseqno_up = grd_outcutlist.valueMatrix(i, grd_outcutlist.colRef("docuseqno"));
-
- if ( insu == insu_up && orddeptnm == orddeptnm_up && pid == pid_up && clamym == clamym_up && acptno == acptno_up && docuseqno == docuseqno_up) {
- grd_outcutlist.mergeRow(i) = true;
- grd_outcutlist.mergeRow(i-1) = true;
- } else {
- grd_outcutlist.mergeRow(i) = false;
- }
-
- }
- }
- grd_outcutlist.mergeCells = "bycol";
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" visibility="visible" style="x1:1015px; y1:10px; x2:1015px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:91px; height:17px; ">일자 :</caption>
- <input id="input1" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:77px; top:9px; width:90px; height:19px; "/>
- <input id="input2" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:190px; top:9px; width:90px; height:19px; "/>
- <caption id="caption1" style="left:172px; top:9px; width:20px; height:20px; font-size:12pt; font-weight:bold; ">~</caption>
- <input id="input3" ref="/root/send/srchpid" class="input_essential" style="left:410px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setValue("/root/send/srchpid", input3.currentText);
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:320px; top:10px; width:100px; height:17px; ">환자번호 :</caption>
- <button id="button3" class="icon_search" style="left:500px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_pid = model.getValue("/root/send/srchpid");
-
- if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
- model.resetInstanceNode("/root/send/data");
- } else {
- model.resetInstanceNode("/root/send/data");
- model.setValue("/root/send/data/pid",model.getValue("/root/send/srchpid"));
- model.setValue("/root/send/data/srchcond","1")
- }
-
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data", "/root/send");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- }
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" style="left:0px; top:0px; width:1100px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">원내처방 E 삭감내역 조회</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:10px; top:68px; width:140px; height:13px; ">원내처방 E 삭감내역</caption>
- <datagrid id="grd_outcutlist" nodeset="/root/main/outcut/outcutlist" autoresize="true" caption="환자번호^환자명^진료과^진료의^심사자^보험유형^청구년월^심사차수^접수번호^명일련^본인추가금^줄^처방일^조정
코드^처방코드^EDI코드^처방명^단가^청구^청구^청구^청구^청구^삭감^삭감^삭감^삭감^삭감|환자번호^환자명^진료과^진료의^심사자^보험유형^청구년월^심사차수^접수번호^명일련^본인추가금^줄^처방일^조정
코드^처방코드^EDI코드^처방명^단가^수량^횟수^날수^금액^청구액^수량^일투^총투^삭감액^부제기 사유" colsep="^" colwidth="60, 60, 90, 50, 50, 70, 55, 65, 65, 55, 75, 30, 70, 35, 70, 70, 200, 70, 33, 33, 33, 75, 75, 33, 33, 33, 75, 500" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1095px; height:662px; text-align:center; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="judgrnm"/>
- <col ref="insukind" type="combo">
- <choices>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </col>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="judgdg"/>
- <col ref="acptno"/>
- <col ref="docuseqno"/>
- <col ref="insubramt" format="#,###" style="text-align:right; "/>
- <col ref="lnno"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="adjtresncd"/>
- <col ref="calcscorcd" style="text-align:left; "/>
- <col ref="edicd" style="text-align:left; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
- <col ref="edidrugqty" format="#,###" style="text-align:right; "/>
- <col ref="tims" style="text-align:right; "/>
- <col ref="edidayno" style="text-align:right; "/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="adjtoneqty" style="text-align:right; "/>
- <col ref="adjtdayqty" format="#,###" style="text-align:right; "/>
- <col ref="adjttotqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="abdresnmemo" visibility="visible" style="text-align:left; "/>
- </datagrid>
- <button id="button2" class="btn2_letter4" style="left:1024px; top:64px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_outcutlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter2" style="left:1040px; top:758px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:1095px; y2:85px; "/>
- </xhtml:body>
- </xhtml:html>
|